Azzera filtri
Azzera filtri

Crash dump interpretation from the log

13 visualizzazioni (ultimi 30 giorni)
Marco Coppola
Marco Coppola il 17 Apr 2024
Risposto: Gyan Vaibhav il 23 Apr 2024
Matlab generate a fatal error on certain files that I work on, not them all.
How am I able to understand the source of the error from this crash dump file?
The error is generated in a Linux ssh server.
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : UTF-8
Deployed : false
GNU C Library : 2.35 stable
Graphics Driver : Unknown software
Graphics card 1 : 0x1a03 ( 0x1a03 ) 0x2000 Version 0.0.0.0 (0-0-0)
Java Version : Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Architecture : glnxa64
MATLAB Entitlement ID : 1923608
MATLAB Root : /usr/local/matlab/R2020a
MATLAB Version : 9.8.0.1323502 (R2020a)
OpenGL : software
Operating System : Ubuntu 22.04.2 LTS
Process ID : 1796339
Processor ID : x86 Family 143 Model 49 Stepping 0, AuthenticAMD
Session Key : 52ebcb1c-83c3-4726-af29-8d2bdda8d976
Static TLS mitigation : Disabled: Unnecessary
Window System : No active display
Fault Count: 1
Abnormal termination:
abort()
Register State (from fault):
RAX = 0000000000000000 RBX = 000013787bfff640
RCX = 00001378a10969fc RDX = 0000000000000006
RSP = 000013787bff4b10 RBP = 00000000001b6af8
RSI = 00000000001b6af8 RDI = 00000000001b68f3
R8 = 000013787bff4be0 R9 = 0000000000000000
R10 = 0000000000000008 R11 = 0000000000000246
R12 = 0000000000000006 R13 = 0000000000000016
R14 = 0000000000000001 R15 = 0000000000000001
RIP = 00001378a10969fc EFL = 0000000000000246
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault):
[ 0] 0x00001378a10969fc /lib/x86_64-linux-gnu/libc.so.6+00616956 pthread_kill+00000300
[ 1] 0x00001378a1042476 /lib/x86_64-linux-gnu/libc.so.6+00271478 raise+00000022
[ 2] 0x00001378a10287f3 /lib/x86_64-linux-gnu/libc.so.6+00165875 abort+00000211
[ 3] 0x00001378a1089676 /lib/x86_64-linux-gnu/libc.so.6+00562806
[ 4] 0x00001378a10a0cfc /lib/x86_64-linux-gnu/libc.so.6+00658684
[ 5] 0x00001378a10a0fdc /lib/x86_64-linux-gnu/libc.so.6+00659420
[ 6] 0x00001378a10a549a /lib/x86_64-linux-gnu/libc.so.6+00677018 free+00000186
[ 7] 0x00001377ca11367e /usr/local/matlab/R2020a/bin/glnxa64/builtins/matlab_toolbox_iofun_builtins/../../../../bin/glnxa64/libhdf5.so.8+01128062 H5MM_xfree+00000014
[ 8] 0x00001377ca137495 /usr/local/matlab/R2020a/bin/glnxa64/builtins/matlab_toolbox_iofun_builtins/../../../../bin/glnxa64/libhdf5.so.8+01275029
[ 9] 0x00001377ca139066 /usr/local/matlab/R2020a/bin/glnxa64/builtins/matlab_toolbox_iofun_builtins/../../../../bin/glnxa64/libhdf5.so.8+01282150 H5O_msg_reset+00000038
[ 10] 0x00001377ca0d4010 /usr/local/matlab/R2020a/bin/glnxa64/builtins/matlab_toolbox_iofun_builtins/../../../../bin/glnxa64/libhdf5.so.8+00868368 H5G__link_release_table+00000064
[ 11] 0x00001377ca0cd2dc /usr/local/matlab/R2020a/bin/glnxa64/builtins/matlab_toolbox_iofun_builtins/../../../../bin/glnxa64/libhdf5.so.8+00840412 H5G__dense_get_name_by_idx+00000268
[ 12] 0x00001377ca0da455 /usr/local/matlab/R2020a/bin/glnxa64/builtins/matlab_toolbox_iofun_builtins/../../../../bin/glnxa64/libhdf5.so.8+00894037 H5G_obj_get_name_by_idx+00000117
[ 13] 0x00001377ca107587 /usr/local/matlab/R2020a/bin/glnxa64/builtins/matlab_toolbox_iofun_builtins/../../../../bin/glnxa64/libhdf5.so.8+01078663
[ 14] 0x00001377ca0e12a9 /usr/local/matlab/R2020a/bin/glnxa64/builtins/matlab_toolbox_iofun_builtins/../../../../bin/glnxa64/libhdf5.so.8+00922281
[ 15] 0x00001377ca0e1841 /usr/local/matlab/R2020a/bin/glnxa64/builtins/matlab_toolbox_iofun_builtins/../../../../bin/glnxa64/libhdf5.so.8+00923713 H5G_traverse+00000113
[ 16] 0x00001377ca108e19 /usr/local/matlab/R2020a/bin/glnxa64/builtins/matlab_toolbox_iofun_builtins/../../../../bin/glnxa64/libhdf5.so.8+01084953 H5Lget_name_by_idx+00000265
[ 17] 0x00001377ca4e7561 /usr/local/matlab/R2020a/toolbox/matlab/imagesci/private/h5infoc.mexa64+00095585
[ 18] 0x00001377ca4e8175 /usr/local/matlab/R2020a/toolbox/matlab/imagesci/private/h5infoc.mexa64+00098677
[ 19] 0x00001377ca4e8723 /usr/local/matlab/R2020a/toolbox/matlab/imagesci/private/h5infoc.mexa64+00100131
[ 20] 0x00001377ca4e8e5a /usr/local/matlab/R2020a/toolbox/matlab/imagesci/private/h5infoc.mexa64+00101978 mexFunction+00000394
[ 21] 0x000013789a3c1213 /usr/local/matlab/R2020a/bin/glnxa64/libmex.so+00582163
[ 22] 0x000013789a3c1315 /usr/local/matlab/R2020a/bin/glnxa64/libmex.so+00582421
[ 23] 0x000013789a3c2363 /usr/local/matlab/R2020a/bin/glnxa64/libmex.so+00586595
[ 24] 0x000013789a3ae84c /usr/local/matlab/R2020a/bin/glnxa64/libmex.so+00505932
[ 25] 0x0000137899fa90ef /usr/local/matlab/R2020a/bin/glnxa64/libmwm_dispatcher.so+01110255 _ZN8Mfh_file20dispatch_file_commonEMS_FviPP11mxArray_tagiS2_EiS2_iS2_+00000207
[ 26] 0x0000137899faac6a /usr/local/matlab/R2020a/bin/glnxa64/libmwm_dispatcher.so+01117290
[ 27] 0x0000137899fab151 /usr/local/matlab/R2020a/bin/glnxa64/libmwm_dispatcher.so+01118545 _ZN8Mfh_file8dispatchEiPSt10unique_ptrI11mxArray_tagN6matrix6detail17mxDestroy_deleterEEiPPS1_+00000033
[ 28] 0x0000137890db135d /usr/local/matlab/R2020a/bin/glnxa64/libmwm_lxe.so+10163037
[ 29] 0x0000137890db5e96 /usr/local/matlab/R2020a/bin/glnxa64/libmwm_lxe.so+10182294
[ 30] 0x0000137890ec267e /usr/local/matlab/R2020a/bin/glnxa64/libmwm_lxe.so+11282046
[ 31] 0x0000137890eb5701 /usr/local/matlab/R2020a/bin/glnxa64/libmwm_lxe.so+11228929
[ 32] 0x0000137890e23474 /usr/local/matlab/R2020a/bin/glnxa64/libmwm_lxe.so+10630260
[ 33] 0x0000137890e49a7d /usr/local/matlab/R2020a/bin/glnxa64/libmwm_lxe.so+10787453
[ 34] 0x000013789095e667 /usr/local/matlab/R2020a/bin/glnxa64/libmwm_lxe.so+05629543
[ 35] 0x00001378909608f4 /usr/local/matlab/R2020a/bin/glnxa64/libmwm_lxe.so+05638388
[ 36] 0x000013789095d5cd /usr/local/matlab/R2020a/bin/glnxa64/libmwm_lxe.so+05625293
[ 37] 0x00001378909551b1 /usr/local/matlab/R2020a/bin/glnxa64/libmwm_lxe.so+05591473
[ 38] 0x00001378909553e9 /usr/local/matlab/R2020a/bin/glnxa64/libmwm_lxe.so+05592041
[ 39] 0x000013789095cdd6 /usr/local/matlab/R2020a/bin/glnxa64/libmwm_lxe.so+05623254
[ 40] 0x000013789095ced6 /usr/local/matlab/R2020a/bin/glnxa64/libmwm_lxe.so+05623510
[ 41] 0x0000137890a9658d /usr/local/matlab/R2020a/bin/glnxa64/libmwm_lxe.so+06907277
[ 42] 0x0000137890a99d05 /usr/local/matlab/R2020a/bin/glnxa64/libmwm_lxe.so+06921477
[ 43] 0x0000137890cc0c61 /usr/local/matlab/R2020a/bin/glnxa64/libmwm_lxe.so+09178209
[ 44] 0x0000137890c6d633 /usr/local/matlab/R2020a/bin/glnxa64/libmwm_lxe.so+08836659
[ 45] 0x0000137890c717ff /usr/local/matlab/R2020a/bin/glnxa64/libmwm_lxe.so+08853503
[ 46] 0x0000137890c74332 /usr/local/matlab/R2020a/bin/glnxa64/libmwm_lxe.so+08864562
[ 47] 0x0000137890d0e13f /usr/local/matlab/R2020a/bin/glnxa64/libmwm_lxe.so+09494847
[ 48] 0x0000137890d0e60b /usr/local/matlab/R2020a/bin/glnxa64/libmwm_lxe.so+09496075
[ 49] 0x0000137892d460d0 /usr/local/matlab/R2020a/bin/glnxa64/libmwm_interpreter.so+01335504 _Z51inEvalCmdWithLocalReturnInDesiredWSAndPublishEventsRKNSt7__cxx1112basic_stringIDsSt11char_traitsIDsESaIDsEEEPibbP15inWorkSpace_tagN9MathWorks3lxe10EvalSourceE+00000064
[ 50] 0x000013789af8e95c /usr/local/matlab/R2020a/bin/glnxa64/libmwiqm.so+00751964 _ZNK3iqm18InternalEvalPlugin24inEvalCmdWithLocalReturnERKNSt7__cxx1112basic_stringIDsSt11char_traitsIDsESaIDsEEEP15inWorkSpace_tag+00000092
[ 51] 0x000013789af8fbce /usr/local/matlab/R2020a/bin/glnxa64/libmwiqm.so+00756686 _ZN3iqm18InternalEvalPlugin7executeEP15inWorkSpace_tag+00000222
[ 52] 0x000013789ab52735 /usr/local/matlab/R2020a/bin/glnxa64/libmwmcr.so+00952117
[ 53] 0x000013789af7a690 /usr/local/matlab/R2020a/bin/glnxa64/libmwiqm.so+00669328
[ 54] 0x000013789af5b01c /usr/local/matlab/R2020a/bin/glnxa64/libmwiqm.so+00540700
[ 55] 0x000013789af5b421 /usr/local/matlab/R2020a/bin/glnxa64/libmwiqm.so+00541729
[ 56] 0x000013789f7371bc /usr/local/matlab/R2020a/bin/glnxa64/libmwmlutil.so+07565756 _ZNK14cmddistributor16IIPRunNowMessage7deliverERKN10foundation7msg_svc8exchange7RoutingE+00000044
[ 57] 0x00001378a02823cf /usr/local/matlab/R2020a/bin/glnxa64/libmwms.so+02630607 _ZN10foundation7msg_svc8exchange12MessageQueue7deliverERKN7mwboost10shared_ptrIKNS1_8EnvelopeEEE+00000207
[ 58] 0x00001378a02843e0 /usr/local/matlab/R2020a/bin/glnxa64/libmwms.so+02638816
[ 59] 0x00001378a026d4fb /usr/local/matlab/R2020a/bin/glnxa64/libmwms.so+02544891
[ 60] 0x00001378a026fe67 /usr/local/matlab/R2020a/bin/glnxa64/libmwms.so+02555495
[ 61] 0x00001378a0269da3 /usr/local/matlab/R2020a/bin/glnxa64/libmwms.so+02530723
[ 62] 0x000013789f694451 /usr/local/matlab/R2020a/bin/glnxa64/libmwmlutil.so+06898769
[ 63] 0x000013789f6947da /usr/local/matlab/R2020a/bin/glnxa64/libmwmlutil.so+06899674
[ 64] 0x00001378a248dd33 /usr/local/matlab/R2020a/bin/glnxa64/libmwmvm.so+02678067 _ZN7mwboost6detail8function26void_function_obj_invoker0INS_3_bi6bind_tINS3_11unspecifiedENS4_IS5_NS_8functionIFvvEEENS3_5list0EEENS3_5list1INS_17reference_wrapperINS_7promiseIvEEEEEEEEvE6invokeERNS1_15function_bufferE+00000035
[ 65] 0x00001378a24831a5 /usr/local/matlab/R2020a/bin/glnxa64/libmwmvm.so+02634149 _ZN7mwboost13unique_futureIvE3getEv+00000853
[ 66] 0x000013789ab140f7 /usr/local/matlab/R2020a/bin/glnxa64/libmwmcr.so+00696567
[ 67] 0x00001378a251167b /usr/local/matlab/R2020a/bin/glnxa64/libmwmvm.so+03217019 _ZN14cmddistributor15PackagedTaskIIP10invokeFuncIN7mwboost8functionIFvvEEEEENS2_10shared_ptrINS2_13unique_futureIDTclfp_EEEEEERKT_+00000059
[ 68] 0x00001378a2511768 /usr/local/matlab/R2020a/bin/glnxa64/libmwmvm.so+03217256 _ZNSt17_Function_handlerIFN7mwboost3anyEvEZN14cmddistributor15PackagedTaskIIP10createFuncINS0_8functionIFvvEEEEESt8functionIS2_ET_EUlvE_E9_M_invokeERKSt9_Any_data+00000024
[ 69] 0x000013789af9935c /usr/local/matlab/R2020a/bin/glnxa64/libmwiqm.so+00795484 _ZN7mwboost6detail8function21function_obj_invoker0ISt8functionIFNS_3anyEvEES4_E6invokeERNS1_15function_bufferE+00000028
[ 70] 0x000013789af99017 /usr/local/matlab/R2020a/bin/glnxa64/libmwiqm.so+00794647 _ZN3iqm18PackagedTaskPlugin7executeEP15inWorkSpace_tag+00000439
[ 71] 0x000013789ab52a05 /usr/local/matlab/R2020a/bin/glnxa64/libmwmcr.so+00952837
[ 72] 0x000013789af7a690 /usr/local/matlab/R2020a/bin/glnxa64/libmwiqm.so+00669328
[ 73] 0x000013789af601e8 /usr/local/matlab/R2020a/bin/glnxa64/libmwiqm.so+00561640
[ 74] 0x000013789ae9d78b /usr/local/matlab/R2020a/bin/glnxa64/libmwbridge.so+00321419
[ 75] 0x000013789ae9e2d4 /usr/local/matlab/R2020a/bin/glnxa64/libmwbridge.so+00324308
[ 76] 0x000013789aea6136 /usr/local/matlab/R2020a/bin/glnxa64/libmwbridge.so+00356662
[ 77] 0x000013789aea6489 /usr/local/matlab/R2020a/bin/glnxa64/libmwbridge.so+00357513
[ 78] 0x000013789aea6a08 /usr/local/matlab/R2020a/bin/glnxa64/libmwbridge.so+00358920 _Z8mnParserv+00000344
[ 79] 0x000013789ab54ee3 /usr/local/matlab/R2020a/bin/glnxa64/libmwmcr.so+00962275
[ 80] 0x00001378a251167b /usr/local/matlab/R2020a/bin/glnxa64/libmwmvm.so+03217019 _ZN14cmddistributor15PackagedTaskIIP10invokeFuncIN7mwboost8functionIFvvEEEEENS2_10shared_ptrINS2_13unique_futureIDTclfp_EEEEEERKT_+00000059
[ 81] 0x00001378a2511768 /usr/local/matlab/R2020a/bin/glnxa64/libmwmvm.so+03217256 _ZNSt17_Function_handlerIFN7mwboost3anyEvEZN14cmddistributor15PackagedTaskIIP10createFuncINS0_8functionIFvvEEEEESt8functionIS2_ET_EUlvE_E9_M_invokeERKSt9_Any_data+00000024
[ 82] 0x000013789af9935c /usr/local/matlab/R2020a/bin/glnxa64/libmwiqm.so+00795484 _ZN7mwboost6detail8function21function_obj_invoker0ISt8functionIFNS_3anyEvEES4_E6invokeERNS1_15function_bufferE+00000028
[ 83] 0x000013789af99017 /usr/local/matlab/R2020a/bin/glnxa64/libmwiqm.so+00794647 _ZN3iqm18PackagedTaskPlugin7executeEP15inWorkSpace_tag+00000439
[ 84] 0x000013789ab52a05 /usr/local/matlab/R2020a/bin/glnxa64/libmwmcr.so+00952837
[ 85] 0x000013789af7a690 /usr/local/matlab/R2020a/bin/glnxa64/libmwiqm.so+00669328
[ 86] 0x000013789af5e199 /usr/local/matlab/R2020a/bin/glnxa64/libmwiqm.so+00553369
[ 87] 0x000013789af5eddb /usr/local/matlab/R2020a/bin/glnxa64/libmwiqm.so+00556507
[ 88] 0x000013789ab37018 /usr/local/matlab/R2020a/bin/glnxa64/libmwmcr.so+00839704
[ 89] 0x000013789ab37632 /usr/local/matlab/R2020a/bin/glnxa64/libmwmcr.so+00841266
[ 90] 0x000013789ab37ea4 /usr/local/matlab/R2020a/bin/glnxa64/libmwmcr.so+00843428
[ 91] 0x00001378a080fa02 /usr/local/matlab/R2020a/bin/glnxa64/libmwboost_thread.so.1.70.0+00064002
[ 92] 0x00001378a1094ac3 /lib/x86_64-linux-gnu/libc.so.6+00608963
[ 93] 0x00001378a1126850 /lib/x86_64-linux-gnu/libc.so.6+01206352
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.

Risposte (1)

Gyan Vaibhav
Gyan Vaibhav il 23 Apr 2024
Hi Marco,
Apprehending the error from stack trace can be difficult, however seeing when the program throws an error and moves on to abort can give us some idea of the root of the error.
Here upon seeing I understand you are working with the HDF5 library, and it seems to me, the last call in this instance was to some memory management functions, within this library (H5MM_xfree). This could indicate that the fault occurred duse to some dynamic memory management logic.
Please verify upon your program, and make sure, your data (if provided) is always valid. You can try finding patterns or differences between the files on which MATLAB crashes and on the ones which it works fine.
Hope this provides some insight. If this doesn't work, I would suggest reaching out to Mathworks Technical Support for better help.
Thanks
Gyan

Prodotti


Release

R2020a

Community Treasure Hunt

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

Start Hunting!