FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
6355 Discussions

Matlab simulink crash - Segmentation violation - with DSP Builder

Altera_Forum
Honored Contributor II
1,497 Views

Hello, 

 

when using simulink (Matlab R2011a in Linux 2.6.18-164.el5) with DSP Builder (12.1sp2) I receive almost continually errors like the ones reported below. 

 

Similar crashes force me to re-launch matlab again and to start the simulation from the beginning. 

 

I noted that, in order to reduce the crash probability, I need to reduce the complexity of the design (for example by simulating just a small part of the entire design) and above all to reduce the numbers of scopes. 

 

I encounter this problem also with simple designs, so I guess if I am making some mistakes or if there is some way to reduce the number of memory used (the problem might be due to a sort of out of memory). 

 

Did anyone have similar problems or does anyone have any hint to solve it? 

 

Thanks on advance. 

A_G76 

 

 

 

MATLAB crash file:/home/abc/matlab_crash_dump.31353-1: 

 

 

 

 

------------------------------------------------------------------------ 

Segmentation violation detected at Wed Dec 23 11:54:39 2015 

------------------------------------------------------------------------ 

 

 

Configuration: 

Crash Decoding : Disabled 

Current Visual : 0x21 (class 4, depth 24) 

Default Encoding: US-ASCII 

GNU C Library : 2.5 stable 

MATLAB License : 356848 

MATLAB Root : /opt/tools/MatlabR2011a 

MATLAB Version : 7.12.0.635 (R2011a) 

Operating System: Linux 2.6.18-164.el5# 1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 

Processor ID : x86 Family 6 Model 10 Stepping 5, GenuineIntel 

Virtual Machine : Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode 

Window System : Moba/X (11405000), display localhost:13.0 

 

 

Fault Count: 1 

 

 

 

 

 

 

Abnormal termination: 

Segmentation violation 

 

 

Register State (from fault): 

RAX = 0000000000000001 RBX = 0000000000000000 

RCX = 00002aaaaf4a1ff0 RDX = 00002b30e0e6c270 

RSP = 000000004249fcf0 RBP = 0000000000000001 

RSI = 00002b30e0eb6dbf RDI = 0000000000000000 

 

 

R8 = 0000000000000000 R9 = 0000000000000000 

R10 = 00002aaaadfe6559 R11 = 00002b30e0e3afc0 

R12 = 00002aaaaf4a1ff0 R13 = 00002b30e0e6c270 

R14 = 00002b30e0eb6dbf R15 = 000000004249ff7f 

 

 

RIP = 0000003ca021d881 EFL = 0000000000010206 

 

 

CS = 0033 FS = 0000 GS = 0000 

 

 

 

 

Stack Trace (from fault): 

[ 0] 0x00002b30d7a79f49 /opt/tools/MatlabR2011a/bin/glnxa64/../../bin/glnxa64/libmwfl.so+00474953 fl::sysdep::linux::unwind_stack(void const**, unsigned long, unsigned long, fl::diag::thread_context const&)+000009 

[ 1] 0x00002b30d7a2fdc1 /opt/tools/MatlabR2011a/bin/glnxa64/../../bin/glnxa64/libmwfl.so+00171457 fl::diag::stacktrace_base::capture(fl::diag::thread_context const&, unsigned long)+000161 

[ 2] 0x00002b30d7a390dd /opt/tools/MatlabR2011a/bin/glnxa64/../../bin/glnxa64/libmwfl.so+00209117 

[ 3] 0x00002b30d7a39364 /opt/tools/MatlabR2011a/bin/glnxa64/../../bin/glnxa64/libmwfl.so+00209764 fl::diag::terminate_log(char const*, fl::diag::thread_context const&, bool)+000100 

[ 4] 0x00002b30d8a55be5 /opt/tools/MatlabR2011a/bin/glnxa64/../../bin/glnxa64/libmwmcr.so+00420837 fl::diag::terminate_log(char const*, ucontext const*, bool)+000085 

[ 5] 0x00002b30d8a52b54 /opt/tools/MatlabR2011a/bin/glnxa64/../../bin/glnxa64/libmwmcr.so+00408404 

[ 6] 0x00002b30d8a5403d /opt/tools/MatlabR2011a/bin/glnxa64/../../bin/glnxa64/libmwmcr.so+00413757 

[ 7] 0x00002b30d8a54197 /opt/tools/MatlabR2011a/bin/glnxa64/../../bin/glnxa64/libmwmcr.so+00414103 

[ 8] 0x00002b30d8a54b1d /opt/tools/MatlabR2011a/bin/glnxa64/../../bin/glnxa64/libmwmcr.so+00416541 

[ 9] 0x00002b30d8a55435 /opt/tools/MatlabR2011a/bin/glnxa64/../../bin/glnxa64/libmwmcr.so+00418869 

[ 10] 0x0000003c8c00e7c0 /lib64/libpthread.so.0+00059328 

[ 11] 0x0000003ca021d881 /usr/lib64/libXt.so.6+00120961 XtWidgetToApplicationContext+000001 

[ 12] 0x0000003ca02148ce /usr/lib64/libXt.so.6+00084174 XtAddCallback+000046 

[ 13] 0x0000003ca02212f5 /usr/lib64/libXt.so.6+00135925 XtDispatchEventToWidget+000533 

[ 14] 0x0000003ca0221c20 /usr/lib64/libXt.so.6+00138272 

[ 15] 0x0000003ca0220ccb /usr/lib64/libXt.so.6+00134347 XtDispatchEvent+000219 

[ 16] 0x00002b30e0e6dd83 /opt/tools/MatlabR2011a/bin/glnxa64/../../bin/glnxa64/../../bin/glnxa64/libmwuix.so+00437635 

[ 17] 0x00002b30e0e7bd60 /opt/tools/MatlabR2011a/bin/glnxa64/../../bin/glnxa64/../../bin/glnxa64/libmwuix.so+00494944 

[ 18] 0x00002b30e0e7c05c /opt/tools/MatlabR2011a/bin/glnxa64/../../bin/glnxa64/../../bin/glnxa64/libmwuix.so+00495708 

[ 19] 0x00002b30d87d6d67 /opt/tools/MatlabR2011a/bin/glnxa64/../../bin/glnxa64/libmwbridge.so+00093543 

[ 20] 0x00002b30d87d6f31 /opt/tools/MatlabR2011a/bin/glnxa64/../../bin/glnxa64/libmwbridge.so+00094001 

[ 21] 0x00002b30d87d744c /opt/tools/MatlabR2011a/bin/glnxa64/../../bin/glnxa64/libmwbridge.so+00095308 

[ 22] 0x00002b30d87d7856 /opt/tools/MatlabR2011a/bin/glnxa64/../../bin/glnxa64/libmwbridge.so+00096342 ioReadLine(bool, _IO_FILE*, char*, char*, int, bool*, boost::optional<inWorkSpace_tag* const> const&, bool)+000134 

[ 23] 0x00002b30d87d7985 /opt/tools/MatlabR2011a/bin/glnxa64/../../bin/glnxa64/libmwbridge.so+00096645 

[ 24] 0x00002b30d87dad3a /opt/tools/MatlabR2011a/bin/glnxa64/../../bin/glnxa64/libmwbridge.so+00109882 

[ 25] 0x00002b30d87daefd /opt/tools/MatlabR2011a/bin/glnxa64/../../bin/glnxa64/libmwbridge.so+00110333 

[ 26] 0x00002b30d87db503 /opt/tools/MatlabR2011a/bin/glnxa64/../../bin/glnxa64/libmwbridge.so+00111875 mnParser+000707 

[ 27] 0x00002b30d8a3dd39 /opt/tools/MatlabR2011a/bin/glnxa64/../../bin/glnxa64/libmwmcr.so+00322873 mcrInstance::mnParser_on_interpreter_thread()+000041 

[ 28] 0x00002b30d8a20db2 /opt/tools/MatlabR2011a/bin/glnxa64/../../bin/glnxa64/libmwmcr.so+00204210 

[ 29] 0x00002b30d8a20ec0 /opt/tools/MatlabR2011a/bin/glnxa64/../../bin/glnxa64/libmwmcr.so+00204480 

[ 30] 0x00002b30e0e6ddb6 /opt/tools/MatlabR2011a/bin/glnxa64/../../bin/glnxa64/../../bin/glnxa64/libmwuix.so+00437686 

[ 31] 0x00002b30e0e7bd60 /opt/tools/MatlabR2011a/bin/glnxa64/../../bin/glnxa64/../../bin/glnxa64/libmwuix.so+00494944 

[ 32] 0x00002b30e0e76f12 /opt/tools/MatlabR2011a/bin/glnxa64/../../bin/glnxa64/../../bin/glnxa64/libmwuix.so+00474898 

[ 33] 0x00002b30e04ed23a /opt/tools/MatlabR2011a/bin/glnxa64/../../bin/glnxa64/../../bin/glnxa64/libuij.so+00217658 sysq::wait_F<boost::weak_ptr<sysq::ws_ppeHook>, boost::shared_ptr<sysq::ws_ppeHook> > std::for_each<__gnu_cxx::__normal_iterator<boost::weak_ptr<sysq::ws_ppeHook>*, std::vector<boost::weak_ptr<sysq::ws_ppeHook>, std::allocator<boost::weak_ptr<sysq::ws_ppeHook> > > >, sysq::wait_F<boost::weak_ptr<sysq::ws_ppeHook>, boost::shared_ptr<sysq::ws_ppeHook> > >(__gnu_cxx::__normal_iterator<boost::weak_ptr<sysq::ws_ppeHook>*, std::vector<boost::weak_ptr<sysq::ws_ppeHook>, std::allocator<boost::weak_ptr<sysq::ws_ppeHook> > > >, __gnu_cxx::__normal_iterator<boost::weak_ptr<sysq::ws_ppeHook>*, std::vector<boost::weak_ptr<sysq::ws_ppeHook>, std::allocator<boost::weak_ptr<sysq::ws_ppeHook> > > >, sysq::wait_F<boost::weak_ptr<sysq::ws_ppeHook>, boost::shared_ptr<sysq::ws_ppeHook> >)+000074 

[ 34] 0x00002b30e04edec2 /opt/tools/MatlabR2011a/bin/glnxa64/../../bin/glnxa64/../../bin/glnxa64/libuij.so+00220866 

[ 35] 0x00002b30e04eb502 /opt/tools/MatlabR2011a/bin/glnxa64/../../bin/glnxa64/../../bin/glnxa64/libuij.so+00210178 svWS_ProcessPendingEvents(int, int, bool)+000578 

[ 36] 0x00002b30d8a1f1c7 /opt/tools/MatlabR2011a/bin/glnxa64/../../bin/glnxa64/libmwmcr.so+00197063 

[ 37] 0x00002b30d8a1f60a /opt/tools/MatlabR2011a/bin/glnxa64/../../bin/glnxa64/libmwmcr.so+00198154 

[ 38] 0x00002b30d8a1fd6f /opt/tools/MatlabR2011a/bin/glnxa64/../../bin/glnxa64/libmwmcr.so+00200047 

[ 39] 0x0000003c8c0064a7 /lib64/libpthread.so.0+00025767 

[ 40] 0x0000003c8b4d3c2d /lib64/libc.so.6+00867373 clone+000109
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
582 Views

You'd probably have more luck on a Matlab related forum than you will here.

0 Kudos
Reply