matlab crash when I used API in system verilog

Hi, I want to use the API C functions from matlab to import them in a system verilog environment. I succeed to do that. I also can access the variables from matlab environment, but if I want to dump some simulation waves in IUS ( Cadence simulator) I get a crash from Matlab.
------------------------------------------------------------------------ Segmentation violation detected at Wed Apr 3 10:28:48 2013 ------------------------------------------------------------------------
Configuration: Crash Decoding : Disabled Current Visual : 0x21 (class 4, depth 24) Default Encoding: UTF-8 GNU C Library : 2.5 stable MATLAB Root : /net/fileserver/share/tools/eda/tools/Linux/mathworks/matlab-simulink-R2011b MATLAB Version : 7.13.0.564 (R2011b) Operating System: Linux 2.6.18-348.1.1.el5 #1 SMP Tue Jan 22 16:19:19 EST 2013 x86_64 Processor ID : x86 Family 6 Model 10 Stepping 9, GenuineIntel Virtual Machine : Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot™ 64-Bit Server VM mixed mode Window System : The X.Org Foundation (70101000), display :0.0
Fault Count: 1
Abnormal termination: Segmentation violation
Register State (from fault): RAX = 000000000000f199 RBX = 000000001bac4c60 RCX = 000000001bb4e360 RDX = 000000001badc380 RSP = 00002b702551ebf0 RBP = 000000001badc048 RSI = 0000000000000000 RDI = 00000000006acfc0
R8 = 000000001bb4dc86 R9 = 000000001bac2fa0
R10 = 000000001bac2f38 R11 = 000000001badc3b8
R12 = 0000000000000000 R13 = 0000000000000002
R14 = 000000001bab76e0 R15 = 000000001bac43f0
RIP = 000000001bb4e373 EFL = 0000000000010206
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault): [ 0] 0x00002b70273275de /net/fileserver/share/tools/eda/tools/Linux/mathworks/matlab-simulink-R2011b/bin/glnxa64/libmwfl.so+00210398 _ZN2fl4diag15stacktrace_base7captureERKNS0_14thread_contextEm+000158 [ 1] 0x00002b702732962d /net/fileserver/share/tools/eda/tools/Linux/mathworks/matlab-simulink-R2011b/bin/glnxa64/libmwfl.so+00218669 [ 2] 0x00002b70273298f5 /net/fileserver/share/tools/eda/tools/Linux/mathworks/matlab-simulink-R2011b/bin/glnxa64/libmwfl.so+00219381 _ZN2fl4diag13terminate_logEPKcRKNS0_14thread_contextEb+000165 [ 3] 0x00002b702b2aa4f5 /net/fileserver/share/tools/eda/tools/Linux/mathworks/matlab-simulink-R2011b/bin/glnxa64/libmwmcr.so+00447733 _ZN2fl4diag13terminate_logEPKcPK8ucontextb+000085 [ 4] 0x00002b702b2a75b4 /net/fileserver/share/tools/eda/tools/Linux/mathworks/matlab-simulink-R2011b/bin/glnxa64/libmwmcr.so+00435636 [ 5] 0x00002b702b2a8333 /net/fileserver/share/tools/eda/tools/Linux/mathworks/matlab-simulink-R2011b/bin/glnxa64/libmwmcr.so+00439091 [ 6] 0x00002b702b2a84c7 /net/fileserver/share/tools/eda/tools/Linux/mathworks/matlab-simulink-R2011b/bin/glnxa64/libmwmcr.so+00439495 [ 7] 0x00002b702b2a985f /net/fileserver/share/tools/eda/tools/Linux/mathworks/matlab-simulink-R2011b/bin/glnxa64/libmwmcr.so+00444511 [ 8] 0x00002b702b2a9a15 /net/fileserver/share/tools/eda/tools/Linux/mathworks/matlab-simulink-R2011b/bin/glnxa64/libmwmcr.so+00444949 [ 9] 0x000000325e40eca0 /lib64/libpthread.so.0+00060576 [ 10] 0x000000001bb4e373 /lib64/libpthread.so.0+18446743857844773747
If this problem is reproducible, please submit a Service Request via: http://www.mathworks.com/support/contact_us/
A technical support engineer might contact you with further information.
I'm not sure if it is a matlab issue or a IUS issue but I want your opinion.
Thank you !

Answers (1)

Please open a case with MathWorks Technical Support to report this crash.

Categories

Tags

Asked:

on 3 Apr 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!