cat matlab_crash_dump.29063-1
------------------------------------------------------------------------
std::terminate() detected at Mon Jul 18 16:20:41 2016
------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled
Crash Mode : continue (default)
Current Graphics Driver: Brian Paul Mesa X11 Version 2.1 Mesa 7.2
Current Visual : 0x21 (class 4, depth 24)
Default Encoding : UTF-8
GNU C Library : 2.20 stable
Host Name : radon.seas.wustl.edu
MATLAB Architecture : glnxa64
MATLAB Root : /home/opt/MATLAB/R2015a
MATLAB Version : 8.5.0.197613 (R2015a)
OpenGL : software
Operating System : Linux 4.1.13-100.fc21.x86_64 #1 SMP Tue Nov 10 13:13:20 UTC 2015 x86_64
Processor ID : x86 Family 6 Model 63 Stepping 2, GenuineIntel
Virtual Machine : Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
Window System : The X.Org Foundation (11501000), display localhost:16.0
Fault Count: 1
Abnormal termination:
std::terminate()
Register State (captured):
RAX = ffffffffffffffff RBX = 00007ff8ea597d68
RCX = 000000000000000a RDX = 00007ff8ea586f38
RSP = 00007ff8ccae93b0 RBP = 00007ff8ccae9770
RSI = 00007ff8ea33b212 RDI = 00007ff8ccae93c0
R8 = 0000000000000000 R9 = 00007ff8e8ac7cd0
R10 = 00007ff8e926f692 R11 = 00007ff8e926f693
R12 = 00007ff8ea5a7da0 R13 = 00007ff8ccaea3b0
R14 = 00007ff8ccaea390 R15 = 00007ff8ccaea770
RIP = 00007ff8ea29670e EFL = 0000000000000c78
CS = e638 FS = ea1a GS = 7ff8
Stack Trace (captured):
[ 0] 0x00007ff8ea29670e /home/opt/MATLAB/R2015a/bin/glnxa64/libmwfl.so+00988942 _ZN2fl4diag5linux6x86_6412context_base12capture_dataEv+00000030
[ 1] 0x00007ff8ea293be4 /home/opt/MATLAB/R2015a/bin/glnxa64/libmwfl.so+00977892
[ 2] 0x00007ff8e9260615 /home/opt/MATLAB/R2015a/bin/glnxa64/libmwmcr.so+00894485
[ 3] 0x00007ff8e926288a /home/opt/MATLAB/R2015a/bin/glnxa64/libmwmcr.so+00903306
[ 4] 0x00007ff8e9262981 /home/opt/MATLAB/R2015a/bin/glnxa64/libmwmcr.so+00903553
[ 5] 0x00007ff8e9262d03 /home/opt/MATLAB/R2015a/bin/glnxa64/libmwmcr.so+00904451
[ 6] 0x00007ff8e9262d73 /home/opt/MATLAB/R2015a/bin/glnxa64/libmwmcr.so+00904563
[ 7] 0x00007ff8e883b386 /home/opt/MATLAB/R2015a/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6+00385926
[ 8] 0x00007ff8e883a439 /home/opt/MATLAB/R2015a/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6+00382009
[ 9] 0x00007ff8e883afd1 /home/opt/MATLAB/R2015a/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6+00384977 __gxx_personality_v0+00001153
[ 10] 0x00007ff8e82cf82b /home/opt/MATLAB/R2015a/bin/glnxa64/../../sys/os/glnxa64/libgcc_s.so.1+00063531
[ 11] 0x00007ff8e82cfacd /home/opt/MATLAB/R2015a/bin/glnxa64/../../sys/os/glnxa64/libgcc_s.so.1+00064205 _Unwind_RaiseException+00000269
[ 12] 0x00007ff8e883b5d1 /home/opt/MATLAB/R2015a/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6+00386513 __cxa_throw+00000081
[ 13] 0x00007ff756c0f06e /home/louy/Plugins/mcx/mcxlab/mcxlab.mexa64+00020590
[ 14] 0x00007ff756c1024f /home/louy/Plugins/mcx/mcxlab/mcxlab.mexa64+00025167
[ 15] 0x00007ff756c12481 /home/louy/Plugins/mcx/mcxlab/mcxlab.mexa64+00033921
[ 16] 0x00007ff756c0d263 /home/louy/Plugins/mcx/mcxlab/mcxlab.mexa64+00012899
[ 17] 0x00007ff75f346bbf /lib64/libgomp.so.1+00039871 GOMP_parallel+00000063
[ 18] 0x00007ff756c0f929 /home/louy/Plugins/mcx/mcxlab/mcxlab.mexa64+00022825 mexFunction+00002212
[ 19] 0x00007ff8dd90bcea /home/opt/MATLAB/R2015a/bin/glnxa64/libmex.so+00150762 mexRunMexFile+00000090
[ 20] 0x00007ff8dd908a74 /home/opt/MATLAB/R2015a/bin/glnxa64/libmex.so+00137844
[ 21] 0x00007ff8dd909684 /home/opt/MATLAB/R2015a/bin/glnxa64/libmex.so+00140932
[ 22] 0x00007ff8dcc41aea /home/opt/MATLAB/R2015a/bin/glnxa64/libmwm_dispatcher.so+00813802 _ZN8Mfh_file16dispatch_fh_implEMS_FviPP11mxArray_tagiS2_EiS2_iS2_+00000762
[ 23] 0x00007ff8dcc41fb0 /home/opt/MATLAB/R2015a/bin/glnxa64/libmwm_dispatcher.so+00815024 _ZN8Mfh_file11dispatch_fhEiPP11mxArray_tagiS2_+00000032
[ 24] 0x00007ff8dbeb1d20 /home/opt/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+04189472
[ 25] 0x00007ff8dbe324b3 /home/opt/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+03667123
[ 26] 0x00007ff8dbe626ee /home/opt/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+03864302
[ 27] 0x00007ff8dbe69597 /home/opt/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+03892631
[ 28] 0x00007ff8dbe64cff /home/opt/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+03874047
[ 29] 0x00007ff8dbe65934 /home/opt/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+03877172
[ 30] 0x00007ff8dbedb2ce /home/opt/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+04358862
[ 31] 0x00007ff8dcc41c39 /home/opt/MATLAB/R2015a/bin/glnxa64/libmwm_dispatcher.so+00814137 _ZN8Mfh_file16dispatch_fh_implEMS_FviPP11mxArray_tagiS2_EiS2_iS2_+00001097
[ 32] 0x00007ff8dcc41fb0 /home/opt/MATLAB/R2015a/bin/glnxa64/libmwm_dispatcher.so+00815024 _ZN8Mfh_file11dispatch_fhEiPP11mxArray_tagiS2_+00000032
[ 33] 0x00007ff8dbeb1d20 /home/opt/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+04189472
[ 34] 0x00007ff8dbe324b3 /home/opt/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+03667123
[ 35] 0x00007ff8dbe626ee /home/opt/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+03864302
[ 36] 0x00007ff8dbe69597 /home/opt/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+03892631
[ 37] 0x00007ff8dbe64cff /home/opt/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+03874047
[ 38] 0x00007ff8dbe65934 /home/opt/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+03877172
[ 39] 0x00007ff8dbedb2ce /home/opt/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+04358862
[ 40] 0x00007ff8dcc41c39 /home/opt/MATLAB/R2015a/bin/glnxa64/libmwm_dispatcher.so+00814137 _ZN8Mfh_file16dispatch_fh_implEMS_FviPP11mxArray_tagiS2_EiS2_iS2_+00001097
[ 41] 0x00007ff8dcc41fb0 /home/opt/MATLAB/R2015a/bin/glnxa64/libmwm_dispatcher.so+00815024 _ZN8Mfh_file11dispatch_fhEiPP11mxArray_tagiS2_+00000032
[ 42] 0x00007ff8dbe9a495 /home/opt/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+04093077
[ 43] 0x00007ff8dbe5afb9 /home/opt/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+03833785
[ 44] 0x00007ff8dbe573f5 /home/opt/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+03818485
[ 45] 0x00007ff8dbe57ad3 /home/opt/MATLAB/R2015a/bin/glnxa64/libmwm_interpreter.so+03820243
[ 46] 0x00007ff8ddb4db6c /home/opt/MATLAB/R2015a/bin/glnxa64/libmwbridge.so+00228204
[ 47] 0x00007ff8ddb4e751 /home/opt/MATLAB/R2015a/bin/glnxa64/libmwbridge.so+00231249 _Z8mnParserv+00000737
[ 48] 0x00007ff8e92493af /home/opt/MATLAB/R2015a/bin/glnxa64/libmwmcr.so+00799663 _ZN11mcrInstance30mnParser_on_interpreter_threadEv+00000031
[ 49] 0x00007ff8e9229133 /home/opt/MATLAB/R2015a/bin/glnxa64/libmwmcr.so+00667955
[ 50] 0x00007ff8e922afd9 /home/opt/MATLAB/R2015a/bin/glnxa64/libmwmcr.so+00675801 _ZN5boost6detail11task_objectIvNS_3_bi6bind_tIvPFvRKNS_8functionIFvvEEEENS2_5list1INS2_5valueIS6_EEEEEEE6do_runEv+00000025
[ 51] 0x00007ff8e922b9a7 /home/opt/MATLAB/R2015a/bin/glnxa64/libmwmcr.so+00678311 _ZN5boost6detail9task_baseIvE3runEv+00000071
[ 52] 0x00007ff8e922ba07 /home/opt/MATLAB/R2015a/bin/glnxa64/libmwmcr.so+00678407
[ 53] 0x00007ff8e9226d8a /home/opt/MATLAB/R2015a/bin/glnxa64/libmwmcr.so+00658826
[ 54] 0x00007ff8db1eda56 /home/opt/MATLAB/R2015a/bin/glnxa64/libmwuix.so+00334422
[ 55] 0x00007ff8db1d53a2 /home/opt/MATLAB/R2015a/bin/glnxa64/libmwuix.so+00234402
[ 56] 0x00007ff8e9a17f1f /home/opt/MATLAB/R2015a/bin/glnxa64/libmwservices.so+02621215
[ 57] 0x00007ff8e9a1808c /home/opt/MATLAB/R2015a/bin/glnxa64/libmwservices.so+02621580
[ 58] 0x00007ff8e9a19bdf /home/opt/MATLAB/R2015a/bin/glnxa64/libmwservices.so+02628575
[ 59] 0x00007ff8e9a1a61c /home/opt/MATLAB/R2015a/bin/glnxa64/libmwservices.so+02631196 _Z25svWS_ProcessPendingEventsiib+00000092
[ 60] 0x00007ff8e9227408 /home/opt/MATLAB/R2015a/bin/glnxa64/libmwmcr.so+00660488
[ 61] 0x00007ff8e9227724 /home/opt/MATLAB/R2015a/bin/glnxa64/libmwmcr.so+00661284
[ 62] 0x00007ff8e9213b0d /home/opt/MATLAB/R2015a/bin/glnxa64/libmwmcr.so+00580365
[ 63] 0x00007ff8e80ab52a /lib64/libpthread.so.0+00029994
[ 64] 0x00007ff8e7de722d /lib64/libc.so.6+01049133 clone+00000109
[ 65] 0x0000000000000000 <unknown-module>+00000000
This error was detected while a MEX-file was running. If the MEX-file
is not an official MathWorks function, please examine its source code
for errors. Please consult the External Interfaces Guide for information
on debugging MEX-files.
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.
Hi Dr. Fang, I have been using MCXLAB for a while and it worked great. But since I upgraded to the new 2016.4 version, I'm running into weird problems. So when I run an old script which run nicely with old MCXLAB (I think it's Dark Matter Alpha? ), it just hangs forever. And when I test the demo_mcxlab_basic.m, I get the following error:
demo_mcxlab_basicLaunching MCXLAB - Monte Carlo eXtreme for MATLAB & GNU Octave ...Running simulations for configuration #1 ...mcx.nphoton=1e+07;mcx.dim=[60 60 60];mcx.srcpos=[30 30 1];mcx.srcdir=[0 0 1];mcx.gpuid=1;mcx.autopilot=1;mcx.medianum=2;mcx.tstart=0;mcx.tend=5e-09;mcx.tstep=5e-10;autopilot mode: setting thread number to 23040, block size to 64 and time gates to 10################################################################################ Monte Carlo eXtreme (MCX) -- CUDA ## Copyright (c) 2009-2013 Qianqian Fang <fangq at nmr.mgh.harvard.edu> ## ## Martinos Center for Biomedical Imaging, Massachusetts General Hospital ################################################################################$MCX $Rev:: 325 $ Last Commit $Date:: 2014-09-23 13:34:57#$ by $Author:: fangq$###############################################################################
--
You received this message because you are subscribed to the Google Groups "mcx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mcx-users+...@googlegroups.com.
To post to this group, send email to mcx-...@googlegroups.com.
Visit this group at https://groups.google.com/group/mcx-users.
For more options, visit https://groups.google.com/d/optout.
SCRP_GenAbsorption_Benign
**************** Monte Carlo simulation started ******************
Launching MCXLAB - Monte Carlo eXtreme for MATLAB & GNU Octave ...
Running simulations for configuration #1 ...
mcx.nphoton=1e+07;
mcx.respin=1;
mcx.gpuid=1;
mcx.autopilot=1;
mcx.tstart=0;
mcx.tend=5e-09;
mcx.tstep=5e-10;
mcx.isgpuinfo=1;
mcx.medianum=8;
mcx.dim=[120 120 52];
mcx.srctype='pencil';
mcx.srcpos=[60 10 26];
mcx.srcdir=[0 1 0];
nvidia-smi
Mon Jul 18 18:35:51 2016
+------------------------------------------------------+
| NVIDIA-SMI 346.75 Driver Version: 346.75 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 Tesla K40c Off | 0000:02:00.0 Off | 0 |
| 29% 63C P0 92W / 235W | 167MiB / 11519MiB | 99% Default |
+-------------------------------+----------------------+----------------------+
| 1 Tesla K40c Off | 0000:03:00.0 Off | 0 |
| 23% 42C P8 23W / 235W | 23MiB / 11519MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
| 2 Tesla K40c Off | 0000:83:00.0 Off | 0 |
| 23% 42C P8 22W / 235W | 23MiB / 11519MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 14177 C /home/opt/MATLAB/R2015a/bin/glnxa64/MATLAB 142MiB |
Hi Dr. Fang, thanks for your reply!
I somehow fixed that address misalignment problem by recompiling the mex file, and I'm able to run all the examples with no problem.
Now with my own script, MATLAB simply hangs after calling mcxlab. The scripts (along with the phantom file) that are causing the problem are attached with this post. The output of MATLAB after the hang is:
Configuration:
Crash Decoding : Disabled
Crash Mode : continue (default)
Current Graphics Driver: Unknown software
Current Visual : 0x21 (class 4, depth 24)
Default Encoding : UTF-8
GNU C Library : 2.20 stable
Host Name : radon.seas.wustl.edu
MATLAB Architecture : glnxa64
MATLAB Root : /home/opt/MATLAB/R2015a
MATLAB Version : 8.5.0.197613 (R2015a)
OpenGL : software
Operating System : Linux 4.1.13-100.fc21.x86_64 #1 SMP Tue Nov 10 13:13:20 UTC 2015 x86_64
Processor ID : x86 Family 6 Model 63 Stepping 2, GenuineIntel
Virtual Machine : Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
Window System : The X.Org Foundation (11501000), display localhost:16.0
Fault Count: 1
Abnormal termination:
Floating point exception
Register State (from fault):
RAX = 0000000000000000 RBX = 0000000000000000
RCX = 00007f39b7df94a8 RDX = 0000000000000000
RSP = 00007f3b0d3f5dd0 RBP = 00007f3b0d3f6170
RSI = 0000000000000081 RDI = 00007f3a76cf2164
R8 = 00000000000000ca R9 = 0000000000000000
R10 = 0000000001c90810 R11 = 0000000000000212
R12 = 00007f3b0d3f79e0 R13 = 0000000000000000
R14 = 000000000000000d R15 = 00007f3b0d3f63f0
RIP = 00007f3acc08bcfe EFL = 0000000000010202
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault):
[ 0] 0x00007f3acc08bcfe /home/louy/Plugins/mcxlab_nightly/mcxlab.mexa64+00048382
[ 1] 0x00007f3acc09ae73 /home/louy/Plugins/mcxlab_nightly/mcxlab.mexa64+00110195
[ 2] 0x00007f3acc09d6b9 /home/louy/Plugins/mcxlab_nightly/mcxlab.mexa64+00120505 mexFunction+00002278
[ 3] 0x00007f3b1e213cea /home/opt/MATLAB/R2015a/bin/glnxa64/libmex.so+00150762 mexRunMexFile+00000090
[ 4] 0x00007f3b1e210a74 /home/opt/MATLAB/R2015a/bin/glnxa64/libmex.so+00137844
[ 5] 0x00007f3b1e211684 /home/opt/MATLAB/R2015a/bin/glnxa64/libmex.so+00140932