g+
g+ Communities
Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
<== Date ==> <== Thread ==>

Subject: RE: The crash of Matlab using LabCA
From: Mark Rivers <rivers@cars.uchicago.edu>
To: "'?'" <dupeng_84@163.com>, "'tech-talk@aps.anl.gov'" <tech-talk@aps.anl.gov>
Date: Thu, 5 Jan 2012 00:37:53 +0000

Following up on Jeff Hill’s message, did you set the environment variable EPICS_CA_MAX_ARRAY_BYTES to a value at least slightly larger than the size of the image array in bytes?  That environment variable needs to be set on both the computer running the areaDetector IOC and the computer running the Matlib client.

 

Mark

 

 

From: tech-talk-bounces@aps.anl.gov [mailto:tech-talk-bounces@aps.anl.gov] On Behalf Of ?
Sent: Wednesday, December 28, 2011 8:20 PM
To: tech-talk@aps.anl.gov
Subject: The crash of Matlab using LabCA

 

Hello all

    I compiled areaDetector modules to link CCD detector. But when I run program in the Matlab by LabCA , the Matlab crash . The error code as follows. Does anyone know why?

[  0] 0x0057c422 /usr/local/matlab/bin/glnx86/../../bin/glnx86/libmwfl.so+00496674 fl::sysdep::linux::unwind_stack(void const**, unsigned int, unsigned int)+000036
[  1] 0x0051d8f4 /usr/local/matlab/bin/glnx86/../../bin/glnx86/libmwfl.so+00108788 fl::diag::stacktrace_base::capture(unsigned int)+000046
[  2] 0x00826d50 /usr/local/matlab/bin/glnx86/../../bin/glnx86/libmwmcr.so+00302416
[  3] 0x008274b7 /usr/local/matlab/bin/glnx86/../../bin/glnx86/libmwmcr.so+00304311
[  4] 0x00405835 /usr/local/matlab/bin/glnx86/../../sys/os/glnx86/libstdc++.so.6+00739381
[  5] 0x00405872 /usr/local/matlab/bin/glnx86/../../sys/os/glnx86/libstdc++.so.6+00739442
[  6] 0x0040599a /usr/local/matlab/bin/glnx86/../../sys/os/glnx86/libstdc++.so.6+00739738
[  7] 0x03300d65 /home/xxxx/shiyan/epics/src/base-3-14-11/lib/linux-x86/libca.so.3.14+00204133 tcpiiu::readNotifyRequest(epicsGuard<epicsMutex>&, nciu&, netReadNotifyIO&, unsigned int, unsigned long)+000357
[  8] 0xa0ef1f38 /home/xxxx/shiyan/epics/src/base-3-14-11/lib/linux-x86/libca.so.3.14+2646748984

 

 

[  0] 0x0057c422 /usr/local/matlab/bin/glnx86/../../bin/glnx86/libmwfl.so+00496674 fl::sysdep::linux::unwind_stack(void const**, unsigned int, unsigned int)+000036
[  1] 0x0051d8f4 /usr/local/matlab/bin/glnx86/../../bin/glnx86/libmwfl.so+00108788 fl::diag::stacktrace_base::capture(unsigned int)+000046
[  2] 0x00826d50 /usr/local/matlab/bin/glnx86/../../bin/glnx86/libmwmcr.so+00302416
[  3] 0x008274f4 /usr/local/matlab/bin/glnx86/../../bin/glnx86/libmwmcr.so+00304372
[  4] 0x006ce40c __kernel_rt_sigreturn+000000
[  5] 0x006ce416 __kernel_vsyscall+000002
[  6] 0x037b0e71                      /lib/i386-linux-gnu/libc.so.6+00175729 gsignal+000081
[  7] 0x037b434e                      /lib/i386-linux-gnu/libc.so.6+00189262 abort+000382
[  8] 0x0040583a /usr/local/matlab/bin/glnx86/../../sys/os/glnx86/libstdc++.so.6+00739386
[  9] 0x00405872 /usr/local/matlab/bin/glnx86/../../sys/os/glnx86/libstdc++.so.6+00739442
[ 10] 0x0040599a /usr/local/matlab/bin/glnx86/../../sys/os/glnx86/libstdc++.so.6+00739738
[ 11] 0x03300d65 /home/xxxx/shiyan/epics/src/base-3-14-11/lib/linux-x86/libca.so.3.14+00204133 tcpiiu::readNotifyRequest(epicsGuard<epicsMutex>&, nciu&, netReadNotifyIO&, unsigned int, unsigned long)+000357
[ 12] 0x032eed95 /home/xxxx/shiyan/epics/src/base-3-14-11/lib/linux-x86/libca.so.3.14+00130453 cac::readNotifyRequest(epicsGuard<epicsMutex>&, nciu&, privateInterfaceForIO&, unsigned int, unsigned long, cacReadNotify&)+000197
[ 13] 0x032fbd4a /home/xxxx/shiyan/epics/src/base-3-14-11/lib/linux-x86/libca.so.3.14+00183626 nciu::read(epicsGuard<epicsMutex>&, unsigned int, unsigned long, cacReadNotify&, unsigned int*)+000186
[ 14] 0x0330e71a /home/xxxx/shiyan/epics/src/base-3-14-11/lib/linux-x86/libca.so.3.14+00259866 ca_array_get_callback+000186
[ 15] 0x07631716 /home/xxxx/shiyan/epics/src/extensions/src/labca_3_3/lib/linux-x86/libezcamt.so.0+00022294
[ 16] 0x076329b9 /home/xxxx/shiyan/epics/src/extensions/src/labca_3_3/lib/linux-x86/libezcamt.so.0+00027065 ezcaEndGroupWithReport+002345
[ 17] 0x01bd026f /home/xxxx/shiyan/epics/src/extensions/src/labca_3_3/lib/linux-x86/libmezcaglue.so.0+00012911 multi_ezca_get+001247
[ 18] 0x01b40cc8 /home/xxxx/shiyan/epics/src/extensions/src/labca_3_3/bin/linux-x86/labca/lcaGet.mexglx+00003272 mexFunction+000536
[ 19] 0x0078f8fb /usr/local/matlab/bin/glnx86/../../bin/glnx86/../../bin/glnx86/libmex.so+00039163 mexRunMexFile+000109
[ 20] 0x0078c459 /usr/local/matlab/bin/glnx86/../../bin/glnx86/../../bin/glnx86/libmex.so+00025689
[ 21] 0x0078db69 /usr/local/matlab/bin/glnx86/../../bin/glnx86/../../bin/glnx86/libmex.so+00031593
[ 22] 0x001fe982 /usr/local/matlab/bin/glnx86/../../bin/glnx86/libmwm_dispatcher.so+00432514 Mfh_file::dispatch_fh(int, mxArray_tag**, int, mxArray_tag**)+000318
[ 23] 0x00df420f /usr/local/matlab/bin/glnx86/../../bin/glnx86/libmwm_interpreter.so+03146255
[ 24] 0x00df99b2 /usr/local/matlab/bin/glnx86/../../bin/glnx86/libmwm_interpreter.so+03168690
[ 25] 0x00dfa5fa /usr/local/matlab/bin/glnx86/../../bin/glnx86/libmwm_interpreter.so+03171834
[ 26] 0x00c2ee57 /usr/local/matlab/bin/glnx86/../../bin/glnx86/libmwm_interpreter.so+01289815
[ 27] 0x00c50054 /usr/local/matlab/bin/glnx86/../../bin/glnx86/libmwm_interpreter.so+01425492
[ 28] 0x00c50113 /usr/local/matlab/bin/glnx86/../../bin/glnx86/libmwm_interpreter.so+01425683
[ 29] 0x00d988c8 /usr/local/matlab/bin/glnx86/../../bin/glnx86/libmwm_interpreter.so+02771144
[ 30] 0x00bc3988 /usr/local/matlab/bin/glnx86/../../bin/glnx86/libmwm_interpreter.so+00850312
[ 31] 0x00c2c6e4 /usr/local/matlab/bin/glnx86/../../bin/glnx86/libmwm_interpreter.so+01279716
[ 32] 0x00c01634 /usr/local/matlab/bin/glnx86/../../bin/glnx86/libmwm_interpreter.so+01103412
[ 33] 0x00c004fe /usr/local/matlab/bin/glnx86/../../bin/glnx86/libmwm_interpreter.so+01099006
[ 34] 0x001fe982 /usr/local/matlab/bin/glnx86/../../bin/glnx86/libmwm_dispatcher.so+00432514 Mfh_file::dispatch_fh(int, mxArray_tag**, int, mxArray_tag**)+000318
[ 35] 0x00c06f3b /usr/local/matlab/bin/glnx86/../../bin/glnx86/libmwm_interpreter.so+01126203
[ 36] 0x00bb5578 /usr/local/matlab/bin/glnx86/../../bin/glnx86/libmwm_interpreter.so+00791928
[ 37] 0x00bb9c96 /usr/local/matlab/bin/glnx86/../../bin/glnx86/libmwm_interpreter.so+00810134
[ 38] 0x00bba3b9 /usr/local/matlab/bin/glnx86/../../bin/glnx86/libmwm_interpreter.so+00811961
[ 39] 0x00b76cdf /usr/local/matlab/bin/glnx86/../../bin/glnx86/libmwm_interpreter.so+00535775 inEvalCmdWithLocalReturn+000081
[ 40] 0x00181758 /usr/local/matlab/bin/glnx86/../../bin/glnx86/libmwbridge.so+00091992
[ 41] 0x00182763 /usr/local/matlab/bin/glnx86/../../bin/glnx86/libmwbridge.so+00096099 mnParser+000333
[ 42] 0x0080de57 /usr/local/matlab/bin/glnx86/../../bin/glnx86/libmwmcr.so+00200279 mcrInstance::mnParser_on_interpreter_thread()+000051
[ 43] 0x00816f54 /usr/local/matlab/bin/glnx86/../../bin/glnx86/libmwmcr.so+00237396
[ 44] 0x007f5abe /usr/local/matlab/bin/glnx86/../../bin/glnx86/libmwmcr.so+00101054
[ 45] 0x007f5ba1 /usr/local/matlab/bin/glnx86/../../bin/glnx86/libmwmcr.so+00101281
[ 46] 0x007f05ef /usr/local/matlab/bin/glnx86/../../bin/glnx86/libmwmcr.so+00079343
[ 47] 0x0181b591 /usr/local/matlab/bin/glnx86/../../bin/glnx86/../../bin/glnx86/libmwuix.so+00390545
[ 48] 0x018163b8 /usr/local/matlab/bin/glnx86/../../bin/glnx86/../../bin/glnx86/libmwuix.so+00369592
[ 49] 0x0181e366 /usr/local/matlab/bin/glnx86/../../bin/glnx86/../../bin/glnx86/libmwuix.so+00402278
[ 50] 0x0625863c /usr/local/matlab/bin/glnx86/../../bin/glnx86/../../bin/glnx86/libuij.so+00251452
[ 51] 0x06254d8f /usr/local/matlab/bin/glnx86/../../bin/glnx86/../../bin/glnx86/libuij.so+00236943 svWS_ProcessPendingEvents(int, int, bool)+000595
[ 52] 0x0625820a /usr/local/matlab/bin/glnx86/../../bin/glnx86/../../bin/glnx86/libuij.so+00250378 UIJ_WS_ProcessPendingEvents(int, int)+000044
[ 53] 0x0094673f /usr/local/matlab/bin/glnx86/../../bin/glnx86/libmwservices.so+00378687 svWS_ProcessPendingEvents+000037
[ 54] 0x007f0e55 /usr/local/matlab/bin/glnx86/../../bin/glnx86/libmwmcr.so+00081493
[ 55] 0x007f117a /usr/local/matlab/bin/glnx86/../../bin/glnx86/libmwmcr.so+00082298
[ 56] 0x007f13ab /usr/local/matlab/bin/glnx86/../../bin/glnx86/libmwmcr.so+00082859
[ 57] 0x0024de99                /lib/i386-linux-gnu/libpthread.so.0+00024217
[ 58] 0x0385673e                      /lib/i386-linux-gnu/libc.so.6+00853822 clone+000094
Best wishes

                                                                                                                                 peng

 

 


Navigate by Date:
Prev: RE: Building base-3.14.12.2 on windows-x64 Jeff Hill
Next: Re: assert(!epicsThreadPrivateGet(caClientContextId)) failed when loading mrfioc2 王林
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
Navigate by Thread:
Prev: RE: The crash of Matlab using LabCA Jeff Hill
Next: Re: Peculiar SNL behaviour Josh Stein
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·