Hello All,
I am running Matlab R2011A on a 64-bit Debian Linux System. I also have
tested this issue in two other machines, one running Ubuntu (64 bit as
well), and the other running Windows XP-64 with similar results. The
Xilinx System Generator version in all cases is 13.3.4175.
I have successfully created, compiled and programmed our ROACH board
with tutorials 1 and 2. I am able to download the tutorial model files
from the CASPER website and open Tutorials 1 and 2, and compile/simulate
them. However, when I download the r_spec_2048_103.mdl or the
r_spec_2048_105.mdl (both are tutorial 3 files) from the CASPER git
site, and open within simulink, immediately I get a segfault crash in
matlab.
I attach the crash dump for my ubuntu machine with this. I contacted
Matlab technical support, but after looking at it, they blame Xilinx
System Generator for this problem even indicating an url that apparently
show memory leaks in sysgen:
http://www.xilinx.com/support/answers/34287.htm
I thought I would write to you all to find if anyone has had issues like
mine. And if you have some helpful tips to fix the issue. Alternatively,
if someone could send me an updated saved version of the tutorial 3 file
saved with a more recent system generator version, I would appreciate
it! Maybe I could try with this updated version.
Thanks a bunch.
Gopal
--
Gopal Narayanan Ph #: (413) 545 0925
Department of Astronomy e-mail: [email protected]
University of Massachusetts Amherst MA 01003
------------------------------------------------------------------------
Segmentation violation detected at Fri May 4 14:55:20 2012
------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled
Current Visual : 0x21 (class 4, depth 24)
Default Encoding: UTF-8
GNU C Library : 2.13 stable
MATLAB License : 59778
MATLAB Root : /usr/local/MATLAB/R2011a
MATLAB Version : 7.12.0.635 (R2011a)
Operating System: Linux 3.0.0-19-generic #33-Ubuntu SMP Thu Apr 19 19:05:14
UTC 2012 x86_64
Processor ID : x86 Family 6 Model 7 Stepping 10, GenuineIntel
Virtual Machine : Java 1.6.0_17-b04 with Sun Microsystems Inc. Java
HotSpot(TM) 64-Bit Server VM mixed mode
Window System : The X.Org Foundation (11004000), display :0
Fault Count: 1
Abnormal termination:
Segmentation violation
Register State (from fault):
RAX = 00007f7700000000 RBX = 0000000000000000
RCX = 00007f77ba312f50 RDX = 0000000000000014
RSP = 00007f7808336e40 RBP = 00007f7808336f50
RSI = 00007f77ba314520 RDI = 00007f77ba313d78
R8 = 0000000000000000 R9 = 00007f78166abd10
R10 = 00007f78166a7e90 R11 = 00007f77ce46ea50
R12 = 0000000000000000 R13 = 00007f77ba22a5a0
R14 = 00007f77ba3137b0 R15 = 0000000000000014
RIP = 00007f77e152152e EFL = 0000000000010246
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault):
[ 0] 0x00007f7818da6f49
/usr/local/MATLAB/R2011a/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] 0x00007f7818d5cdc1
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwfl.so+00171457
fl::diag::stacktrace_base::capture(fl::diag::thread_context const&, unsigned
long)+000161
[ 2] 0x00007f7818d660dd
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwfl.so+00209117
[ 3] 0x00007f7818d66364
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwfl.so+00209764
fl::diag::terminate_log(char const*, fl::diag::thread_context const&,
bool)+000100
[ 4] 0x00007f7817dd2be5
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwmcr.so+00420837
fl::diag::terminate_log(char const*, ucontext const*, bool)+000085
[ 5] 0x00007f7817dcfb54
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwmcr.so+00408404
[ 6] 0x00007f7817dd103d
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwmcr.so+00413757
[ 7] 0x00007f7817dd1197
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwmcr.so+00414103
[ 8] 0x00007f7817dd1b1d
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwmcr.so+00416541
[ 9] 0x00007f7817dd2435
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwmcr.so+00418869
[ 10] 0x00007f781692a060
/lib/x86_64-linux-gnu/libpthread.so.0+00065632
[ 11] 0x00007f77e152152e
/usr/local/MATLAB/R2011a/bin/glnxa64/libmwsimulink.so+16213294
[ 12] 0x00007f77e0d1d115
/usr/local/MATLAB/R2011a/bin/glnxa64/libmwsimulink.so+07807253
[ 13] 0x00007f77e0d1d797
/usr/local/MATLAB/R2011a/bin/glnxa64/libmwsimulink.so+07808919
[ 14] 0x00007f77e0e86597
/usr/local/MATLAB/R2011a/bin/glnxa64/libmwsimulink.so+09287063
[ 15] 0x00007f77e1521438
/usr/local/MATLAB/R2011a/bin/glnxa64/libmwsimulink.so+16213048
[ 16] 0x00007f77e0d1d115
/usr/local/MATLAB/R2011a/bin/glnxa64/libmwsimulink.so+07807253
[ 17] 0x00007f77e0d1d797
/usr/local/MATLAB/R2011a/bin/glnxa64/libmwsimulink.so+07808919
[ 18] 0x00007f77e15cb7b2
/usr/local/MATLAB/R2011a/bin/glnxa64/libmwsimulink.so+16910258
[ 19] 0x00007f77e15d3d26
/usr/local/MATLAB/R2011a/bin/glnxa64/libmwsimulink.so+16944422
[ 20] 0x00007f77e15d8834
/usr/local/MATLAB/R2011a/bin/glnxa64/libmwsimulink.so+16963636
[ 21] 0x00007f77e0e46657
/usr/local/MATLAB/R2011a/bin/glnxa64/libmwsimulink.so+09025111
[ 22] 0x00007f77e0e46aa0
/usr/local/MATLAB/R2011a/bin/glnxa64/libmwsimulink.so+09026208
[ 23] 0x00007f77e0e8a457
/usr/local/MATLAB/R2011a/bin/glnxa64/libmwsimulink.so+09303127
[ 24] 0x00007f77e1894ca4
/usr/local/MATLAB/R2011a/bin/glnxa64/libmwsimulink.so+19831972
[ 25] 0x00007f77e0e43d70
/usr/local/MATLAB/R2011a/bin/glnxa64/libmwsimulink.so+09014640
[ 26] 0x00007f77e0e46de0
/usr/local/MATLAB/R2011a/bin/glnxa64/libmwsimulink.so+09027040
[ 27] 0x00007f77e0e8c4c1
/usr/local/MATLAB/R2011a/bin/glnxa64/libmwsimulink.so+09311425
[ 28] 0x00007f7817b18d43
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwm_dispatcher.so+00200003
[ 29] 0x00007f7817b1a355
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwm_dispatcher.so+00205653
[ 30] 0x00007f7817b0e6ee
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwm_dispatcher.so+00157422
Mfh_MATLAB_fn::dispatch_fh(int, mxArray_tag**, int, mxArray_tag**)+000462
[ 31] 0x00007f7817435572
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so+01430898
[ 32] 0x00007f78174343e0
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so+01426400
[ 33] 0x00007f78173bd773
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so+00939891
inCallFcnWithTrap+000083
[ 34] 0x00007f77ce74cfbb
/usr/local/MATLAB/R2011a/bin/glnxa64/libmwsl_lib_browse.so+00638907
LibraryBrowser::BrowserUtils::openSystem(char const*, char const*)+000123
[ 35] 0x00007f77ce74ec14
/usr/local/MATLAB/R2011a/bin/glnxa64/libmwsl_lib_browse.so+00646164
LibraryBrowser::BrowserUtils::mdlFileOpenDialog()+000356
[ 36] 0x00007f77ce764d4e
/usr/local/MATLAB/R2011a/bin/glnxa64/libmwsl_lib_browse.so+00736590
LibraryBrowser::StandaloneBrowser::Open()+000030
[ 37] 0x00007f77ce78d967
/usr/local/MATLAB/R2011a/bin/glnxa64/libmwsl_lib_browse.so+00903527
[ 38] 0x00007f781047d2ac
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/../../bin/glnxa64/libmwmcos.so+00975532
[ 39] 0x00007f781047f0c7
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/../../bin/glnxa64/libmwmcos.so+00983239
[ 40] 0x00007f78104811e7
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/../../bin/glnxa64/libmwmcos.so+00991719
[ 41] 0x00007f781054c55e
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/../../bin/glnxa64/libmwmcos.so+01824094
[ 42] 0x00007f7817b0e6ee
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwm_dispatcher.so+00157422
Mfh_MATLAB_fn::dispatch_fh(int, mxArray_tag**, int, mxArray_tag**)+000462
[ 43] 0x00007f781744dce5
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so+01531109
[ 44] 0x00007f781745cef2
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so+01593074
[ 45] 0x00007f781745d796
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so+01595286
[ 46] 0x00007f781745f861
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so+01603681
[ 47] 0x00007f78173f5272
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so+01167986
[ 48] 0x00007f78173f1cfa
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so+01154298
[ 49] 0x00007f781740994b
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so+01251659
[ 50] 0x00007f781740e0ec
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so+01269996
[ 51] 0x00007f781740bc7a
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so+01260666
[ 52] 0x00007f781740c741
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so+01263425
[ 53] 0x00007f78174657d9
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so+01628121
[ 54] 0x00007f7817b477ef
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwm_dispatcher.so+00391151
Mfh_file::dispatch_fh(int, mxArray_tag**, int, mxArray_tag**)+000511
[ 55] 0x00007f7817b179b7
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwm_dispatcher.so+00194999
[ 56] 0x00007f7817b18d43
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwm_dispatcher.so+00200003
[ 57] 0x00007f7817b1a355
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwm_dispatcher.so+00205653
[ 58] 0x00007f7817b0e6ee
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwm_dispatcher.so+00157422
Mfh_MATLAB_fn::dispatch_fh(int, mxArray_tag**, int, mxArray_tag**)+000462
[ 59] 0x00007f7817435572
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so+01430898
[ 60] 0x00007f78174343e0
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so+01426400
[ 61] 0x00007f78173bd773
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwm_interpreter.so+00939891
inCallFcnWithTrap+000083
[ 62] 0x00007f77ddda55a5
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwdastudio.so+03687845
SafeCallMatlab(int, mxArray_tag**, int, mxArray_tag**, char const*)+000133
[ 63] 0x00007f77ddd9ccbb
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwdastudio.so+03652795
ActionSchema::invokeCallback(mxArray_tag*)+000107
[ 64] 0x00007f77ddda8e0d
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwdastudio.so+03702285
DigMenuItem::doCallback(DigManager::RecursiveCreateType)+000141
[ 65] 0x00007f77dddb2ecd
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwdastudio.so+03743437
GLDigManager::executeAccelerator(std::string const&)+000621
[ 66] 0x00007f77dddb316f
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwdastudio.so+03744111
GLDigManager::executeKeyPress(GLEE::GLKeyEvent2)+000255
[ 67] 0x00007f77ce77808e
/usr/local/MATLAB/R2011a/bin/glnxa64/libmwsl_lib_browse.so+00815246
LibraryBrowser::StandaloneBrowser::executeKeyPress(GLEE::GLKeyEvent2)+000254
[ 68] 0x00007f77ce7782c5
/usr/local/MATLAB/R2011a/bin/glnxa64/libmwsl_lib_browse.so+00815813
LibraryBrowser::StandaloneBrowser::executeTreeKeyPress(GLEE::Key,
GLEE::GLFlags<GLEE::Modifier>, bool)+000133
[ 69] 0x00007f77ce77becc
/usr/local/MATLAB/R2011a/bin/glnxa64/libmwsl_lib_browse.so+00831180
GLIM::ConnectionImpl3<LibraryBrowser::StandaloneBrowser, void, GLEE::Key,
GLEE::GLFlags<GLEE::Modifier>, bool>::send(GLEE::Key,
GLEE::GLFlags<GLEE::Modifier>, bool)+000044
[ 70] 0x00007f77de888969
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwglee.so+03414377
GLIM::Payload3<void, GLEE::Key, GLEE::GLFlags<GLEE::Modifier>,
bool>::performDeliver(GLIM::Connection*)+000041
[ 71] 0x00007f77de2c0137
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwglee_util.so+00491831
GLIM::Payload::deliver(GLIM::Connection*)+000023
[ 72] 0x00007f77de2c019f
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwglee_util.so+00491935
GLIM::ConnectedPacket::deliver()+000031
[ 73] 0x00007f77de2c0e91
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwglee_util.so+00495249
[ 74] 0x00007f77de2c0f91
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwglee_util.so+00495505
GLIM::Thread::processCurrentQueue()+000081
[ 75] 0x00007f77ddd57128
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwdastudio.so+03367208
[ 76] 0x00007f780e617db6
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/../../bin/glnxa64/libmwuix.so+00437686
[ 77] 0x00007f780e625d60
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/../../bin/glnxa64/libmwuix.so+00494944
[ 78] 0x00007f780e62605c
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/../../bin/glnxa64/libmwuix.so+00495708
[ 79] 0x00007f781850e632
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwservices.so+00546354
ioGetCharNoEcho(bool, bool)+000050
[ 80] 0x00007f781800ce2d
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwbridge.so+00089645
[ 81] 0x00007f781800decc
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwbridge.so+00093900
[ 82] 0x00007f781800e44c
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwbridge.so+00095308
[ 83] 0x00007f781800e856
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwbridge.so+00096342
ioReadLine(bool, _IO_FILE*, char*, char*, int, bool*,
boost::optional<inWorkSpace_tag* const> const&, bool)+000134
[ 84] 0x00007f781800e985
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwbridge.so+00096645
[ 85] 0x00007f7818011d3a
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwbridge.so+00109882
[ 86] 0x00007f7818011efd
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwbridge.so+00110333
[ 87] 0x00007f7818012503
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwbridge.so+00111875
mnParser+000707
[ 88] 0x00007f7817dbad39
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwmcr.so+00322873
mcrInstance::mnParser_on_interpreter_thread()+000041
[ 89] 0x00007f7817d9ddb2
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwmcr.so+00204210
[ 90] 0x00007f7817d9dec0
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwmcr.so+00204480
[ 91] 0x00007f780e617db6
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/../../bin/glnxa64/libmwuix.so+00437686
[ 92] 0x00007f780e62113d
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/../../bin/glnxa64/libmwuix.so+00475453
[ 93] 0x00007f780f06d0bd
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/../../bin/glnxa64/libuij.so+00217277
sysq::during_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::during_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::during_F<boost::weak_ptr<sysq::ws_ppeHook>,
boost::shared_ptr<sysq::ws_ppeHook> >)+000077
[ 94] 0x00007f780f06e989
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/../../bin/glnxa64/libuij.so+00223625
[ 95] 0x00007f780f06b4ae
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/../../bin/glnxa64/libuij.so+00210094
svWS_ProcessPendingEvents(int, int, bool)+000494
[ 96] 0x00007f7817d9c1c7
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwmcr.so+00197063
[ 97] 0x00007f7817d9c60a
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwmcr.so+00198154
[ 98] 0x00007f7817d9cd6f
/usr/local/MATLAB/R2011a/bin/glnxa64/../../bin/glnxa64/libmwmcr.so+00200047
[ 99] 0x00007f7816921efc
/lib/x86_64-linux-gnu/libpthread.so.0+00032508
[100] 0x00007f781665c59d
/lib/x86_64-linux-gnu/libc.so.6+00931229 clone+000109
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.
Thank you for your help.