matlab compiled application crashes after macos signing
40 views (last 30 days)
Show older comments
My application works fine before signing, but after signing, it crashes during the start.
Stack Trace (from fault):
[ 0] 0x0000000101746ca0 /Applications/MATLAB/MATLAB_Runtime/R2024a/bin/maca64/libmwfl.dylib+00011424 _ZN10foundation4core4diag15stacktrace_base7captureERKNS1_14thread_contextEm+00000064
[ 1] 0x0000000101749b68 /Applications/MATLAB/MATLAB_Runtime/R2024a/bin/maca64/libmwfl.dylib+00023400 _ZN10foundation4core4test17terminate_handledERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE+00002144
[ 2] 0x0000000101749028 /Applications/MATLAB/MATLAB_Runtime/R2024a/bin/maca64/libmwfl.dylib+00020520 _ZN10foundation4core4diag13terminate_logEPKcPK17__darwin_ucontext+00000140
[ 3] 0x0000000104661de0 /Applications/MATLAB/MATLAB_Runtime/R2024a/bin/maca64/libmwmcr.dylib+00482784 _Z19mnPrintErrorMessageRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE+00011892
[ 4] 0x000000010465fc80 /Applications/MATLAB/MATLAB_Runtime/R2024a/bin/maca64/libmwmcr.dylib+00474240 _Z19mnPrintErrorMessageRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE+00003348
[ 5] 0x000000010465d720 /Applications/MATLAB/MATLAB_Runtime/R2024a/bin/maca64/libmwmcr.dylib+00464672 mnFatalSignalHandler+00000140
[ 6] 0x000000019eb57584 /usr/lib/system/libsystem_platform.dylib+00017796 _sigtramp+00000056
[ 7] 0x000000012599351c /Library/Java/JavaVirtualMachines/amazon-corretto-11.jdk/Contents/Home/lib/server/libjvm.dylib+07222556 _ZN7Threads9create_vmEP14JavaVMInitArgsPb+00000096
[ 8] 0x000000012599351c /Library/Java/JavaVirtualMachines/amazon-corretto-11.jdk/Contents/Home/lib/server/libjvm.dylib+07222556 _ZN7Threads9create_vmEP14JavaVMInitArgsPb+00000096
[ 9] 0x00000001256406d4 /Library/Java/JavaVirtualMachines/amazon-corretto-11.jdk/Contents/Home/lib/server/libjvm.dylib+03737300 JNI_CreateJavaVM+00000120
[ 10] 0x000000010e780814 /Applications/MATLAB/MATLAB_Runtime/R2024a/bin/maca64/libmwjmi.dylib+00395284 _Z9InitSunVMRKN7mwboost8optionalINSt3__16vectorINS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS6_IS8_EEEEEE+00001392
[ 11] 0x000000010e783b8c /Applications/MATLAB/MATLAB_Runtime/R2024a/bin/maca64/libmwjmi.dylib+00408460 _Z16InitJavaExtendedbRKN8services6config14JmiInitOptionsE+00000372
[ 12] 0x000000010e74bfe4 /Applications/MATLAB/MATLAB_Runtime/R2024a/bin/maca64/libmwjmi.dylib+00180196 _Z15mljInitExtendedRKN8services6config14JmiInitOptionsE+00000044
[ 13] 0x0000000123398054 /Applications/MATLAB/MATLAB_Runtime/R2024a/bin/maca64/matlab_startup_plugins/jmi/mwjmiloader.dylib+00016468 _ZN9jmiloader15createJmiLoaderEN16cppmicroservices13BundleContextE+00006044
[ 14] 0x000000010462fd30 /Applications/MATLAB/MATLAB_Runtime/R2024a/bin/maca64/libmwmcr.dylib+00277808 _ZN3mcr7runtime9jmi_proxy7mljInitEv+00000244
[ 15] 0x0000000104625f24 /Applications/MATLAB/MATLAB_Runtime/R2024a/bin/maca64/libmwmcr.dylib+00237348 _Z15mcr_initialize0PKDsPS0_RKN7mwboost10shared_ptrIN10foundation7msg_svc8eventmgr8EventMgrEEEN6mlutil10contextmgr5MvmIDE+00002952
[ 16] 0x0000000104641cc4 /Applications/MATLAB/MATLAB_Runtime/R2024a/bin/maca64/libmwmcr.dylib+00351428 _ZN3tbb10interface519concurrent_hash_mapIlP11mcrInstanceNS_16tbb_hash_compareIlEENS_13tbb_allocatorINSt3__14pairIKlS3_EEEEE28allocate_node_move_constructERNS6_INSC_4nodeEEERS9_PKS3_+00002452
[ 17] 0x000000010461a03c /Applications/MATLAB/MATLAB_Runtime/R2024a/bin/maca64/libmwmcr.dylib+00188476 _ZN3mcr7runtime22InterpreterThreadMulti10threadMainENSt3__18functionIFvvEEENS2_7promiseIvEE+00000348
[ 18] 0x000000010461b908 /Applications/MATLAB/MATLAB_Runtime/R2024a/bin/maca64/libmwmcr.dylib+00194824 _ZN3mcr7runtime22InterpreterThreadMulti10threadMainENSt3__18functionIFvvEEENS2_7promiseIvEE+00006696
[ 19] 0x0000000100abe868 /Applications/MATLAB/MATLAB_Runtime/R2024a/bin/maca64/libmwboost_thread.dylib+00010344 _ZN7mwboost6thread21start_thread_noexceptEv+00000444
[ 20] 0x000000019eb26f94 /usr/lib/system/libsystem_pthread.dylib+00028564 _pthread_start+00000136
[ 21] 0x000000019eb21d34 /usr/lib/system/libsystem_pthread.dylib+00007476 thread_start+00000008
I tried reinstalling Amazon Corretto and updating Matlab to the latest version, but nothing worked.
I tried using the most basic applications with no code, even if it was crashing.
Attached is the code, compiled unsigned application, logs, crash dump, and entitlements file.
0 Comments
Answers (0)
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!