MATLAB crash on startup

3 views (last 30 days)
Brandon
Brandon on 12 Jan 2018
Answered: Brandon on 1 Mar 2018
MATLAB crashes on startup with fresh install. Tried the fix from bug report 1549820 without success. Any help would be appreciated.
MATLAB crash file:/Users/nganbithiah/matlab_crash_dump.4586-1:
------------------------------------------------------------------------
Segmentation violation detected at Fri Jan 12 09:44:11 2018
------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Current Graphics Driver: Unknown hardware
Current Visual : Quartz
Default Encoding : ISO-8859-1
Deployed : false
Host Name : Ngans-MacBook-Air.local
MATLAB Architecture : maci64
MATLAB Entitlement ID: 2335226
MATLAB Root : /Applications/MATLAB_R2017b.app
MATLAB Version : 9.3.0.713579 (R2017b)
OpenGL : hardware
Operating System : Darwin 14.5.0 Darwin Kernel Version 14.5.0: Sun Jun 4 21:40:08 PDT 2017; root:xnu-2782.70.3~1/RELEASE_X86_64 x86_64
Processor ID : x86 Family 6 Model 61 Stepping 4, GenuineIntel
Virtual Machine : Java 1.8.0_121-b13 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
Window System : Quartz
Fault Count: 1
Abnormal termination:
Segmentation violation
Register State (from fault):
RAX = 00007fff5b6da630 RBX = 00007fff8bc7021a
RCX = 0000000000000000 RDX = 0000000108a54000
RSP = 0000000000000002 RBP = 0000000000000002
RSI = 00007fff8bc6ab90 RDI = 00007fff5b6da660
R8 = 8500aa4470af4714 R9 = 000000012bc3599a
R10 = 0000000000000010 R11 = 00007fff797ff958
R12 = 0000000000000000 R13 = 000060000327ab80
R14 = 00007fff5b6dbdc0 R15 = 00007fff8ae8184c
RIP = 00007fff5b6dab40 RFL = 00007fff8ae83447
CS = 00007fff79817bc0 FS = 00007fff798178c0 GS = 00007fff7983a8a8
Stack Trace (from fault):
[ 0] 0x0000000106d1d124 bin/maci64/libmwfl.dylib+00049444 _ZN10foundation4core4diag15stacktrace_base7captureERKNS1_14thread_contextEm+00000052
[ 1] 0x0000000106d219aa bin/maci64/libmwfl.dylib+00068010 _ZN10foundation4core4test17terminate_handledEv+00003626
[ 2] 0x0000000106d20919 bin/maci64/libmwfl.dylib+00063769 _ZN10foundation4core4diag13terminate_logEPKcPK17__darwin_ucontext+00000185
[ 3] 0x0000000108f448f2 bin/maci64/libmwmcr.dylib+00420082 _Z19mnPrintErrorMessageRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE+00009890
[ 4] 0x0000000108f426b2 bin/maci64/libmwmcr.dylib+00411314 _Z19mnPrintErrorMessageRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE+00001122
[ 5] 0x0000000108f40c54 bin/maci64/libmwmcr.dylib+00404564 mnFatalSignalHandler+00000148
[ 6] 0x00007fff94d54f1a /usr/lib/system/libsystem_platform.dylib+00020250 _sigtramp+00000026
[ 7] 0x0000000000000000 <unknown-module>+00000000
[ 8] 0x00007fff8ae8184c /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation+00256076 __CFStringAppendFormatCore+00008524
[ 9] 0x00007fff8af773a0 /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation+01262496 _CFStringCreateWithFormatAndArgumentsAux2+00000256
[ 10] 0x00007fff901fa4e1 /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation+00042209 -[NSPlaceholderString initWithFormat:locale:arguments:]+00000153
[ 11] 0x00007fff90213ec9 /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation+00147145 +[NSString stringWithFormat:]+00000174
[ 12] 0x000000012bc32fce /System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/JavaRuntimeSupport+00020430 -[JRSInputMethodController availableInputMethodLocales]+00000253
[ 13] 0x000000012e143459 /Applications/MATLAB_R2017b.app/sys/java/jre/maci64/jre/lib/libawt_lwawt.dylib+00128089 __Java_sun_lwawt_macosx_CInputMethodDescriptor_nativeGetAvailableLocales_block_invoke_1+00000124
[ 14] 0x00007fff90282da0 /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation+00601504 __NSThreadPerformPerform+00000293
[ 15] 0x00007fff8aec3821 /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation+00526369 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__+00000017
[ 16] 0x00007fff8aeb59ad /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation+00469421 __CFRunLoopDoSources0+00000269
[ 17] 0x00007fff8aeb4fdf /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation+00466911 __CFRunLoopRun+00000927
[ 18] 0x00007fff8aeb49f8 /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation+00465400 CFRunLoopRunSpecific+00000296
[ 19] 0x00007fff8b78156f /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox+00206191 RunCurrentEventLoopInMode+00000235
[ 20] 0x00007fff8b7812ea /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox+00205546 ReceiveNextEventCommon+00000431
[ 21] 0x00007fff8b78112b /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox+00205099 _BlockUntilNextEventMatchingListInModeWithFilter+00000071
[ 22] 0x00007fff8e7a28ab /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit+00596139 _DPSNextEvent+00000978
[ 23] 0x00007fff8e7a1e58 /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit+00593496 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]+00000346
[ 24] 0x00007fff8e797af3 /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit+00551667 -[NSApplication run]+00000594
[ 25] 0x000000010e0c7d6c bin/maci64/libmwuix.dylib+00056684 _Z23MacSetMcrGetAppNameProcPFNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEvE+00004412
[ 26] 0x00007fff8af6345c /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation+01180764 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__+00000012
[ 27] 0x00007fff8ae53444 /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation+00066628 _CFXNotificationPost+00003140
[ 28] 0x00007fff901f7881 /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation+00030849 -[NSNotificationCenter postNotificationName:object:userInfo:]+00000066
[ 29] 0x00007fff8e7aca8b /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit+00637579 -[NSApplication _postDidFinishNotification]+00000291
[ 30] 0x00007fff8e7ac7f6 /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit+00636918 -[NSApplication _sendFinishLaunchingNotification]+00000191
[ 31] 0x00007fff8e7a9946 /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit+00624966 -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:]+00000574
[ 32] 0x00007fff8e7a9385 /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit+00623493 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:]+00000244
[ 33] 0x00007fff9022a7e8 /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation+00239592 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:]+00000290
[ 34] 0x00007fff9022a659 /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation+00239193 _NSAppleEventManagerGenericHandler+00000102
[ 35] 0x00007fff8bb7343c /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE+00042044 _Z20aeDispatchAppleEventPK6AEDescPS_jPh+00000531
[ 36] 0x00007fff8bb731b9 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE+00041401 _ZL25dispatchEventAndSendReplyPK6AEDescPS_+00000031
[ 37] 0x00007fff8bb730c3 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE+00041155 aeProcessAppleEvent+00000295
[ 38] 0x00007fff8b78fc6e /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox+00265326 AEProcessAppleEvent+00000056
[ 39] 0x00007fff8e7a2da2 /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit+00597410 _DPSNextEvent+00002249
[ 40] 0x00007fff8e7a1e58 /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit+00593496 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]+00000346
[ 41] 0x00007fff8e797af3 /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit+00551667 -[NSApplication run]+00000594
[ 42] 0x00007fff8e714244 /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit+00012868 NSApplicationMain+00001832
[ 43] 0x000000010e0c830c bin/maci64/libmwuix.dylib+00058124 _Z21MacRunApplicationMainb+00000076
[ 44] 0x0000000108f48044 bin/maci64/libmwmcr.dylib+00434244 _ZN3mcr7runtime9uix_proxy21MacRunApplicationMainEb+00000036
[ 45] 0x0000000108f05109 bin/maci64/libmwmcr.dylib+00160009 _ZN3mcr7runtime10MainThread7runMainERKN5boost9function0IiEEbb+00000281
[ 46] 0x0000000108f04daf bin/maci64/libmwmcr.dylib+00159151 _Z12mcr_run_mainRKN5boost9function0IiEEbb+00000095
[ 47] 0x0000000108cd5135 bin/maci64/libmwMVMLocal.dylib+00139573 _ZN3mvm6detail11SessionImpl12localRunMainEPS1_RKN5boost9function1IiRKNSt3__16vectorINS5_12basic_stringIDsNS5_11char_traitsIDsEENS5_9allocatorIDsEEEENSA_ISC_EEEEEESG_+00000821
[ 48] 0x00000001046d4a5f bin/maci64/libmwmvm.dylib+00662111 _ZN3mvm6detail11SessionImpl7runMainERKN5boost9function1IiRKNSt3__16vectorINS4_12basic_stringIDsNS4_11char_traitsIDsEENS4_9allocatorIDsEEEENS9_ISB_EEEEEESF_+00000095
[ 49] 0x00000001046d5037 bin/maci64/libmwmvm.dylib+00663607 _ZN3mvm6detail11SessionImpl16runMatlabDesktopEv+00000503
[ 50] 0x0000000104521ead /Applications/MATLAB_R2017b.app/Contents/MacOS/MATLAB+00003757 main+00000845
[ 51] 0x00007fff8c7c35c9 /usr/lib/system/libdyld.dylib+00013769 start+00000001
[ 52] 0x0000000000000001 <unknown-module>+00000000
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.
  1 Comment
Walter Roberson
Walter Roberson on 12 Jan 2018
Darwin 14.5.0 is OS-X Yosemite, which is an earlier version than the error report talks about (Sierra), which could make the difference. I recommend contacting Mathworks.

Sign in to comment.

Accepted Answer

Brandon
Brandon on 1 Mar 2018
Student fixed the issue by updating MacOS. Thanks for the replies!

More Answers (1)

Wilson A N
Wilson A N on 17 Jan 2018
If you are using external monitors, then connecting the external monitors while the system is sleeping or shut down and then starting MATLAB may help reduce the occurrence of the issue. Additionally, disconnecting the external monitors may also help.
If you are still facing the issue, then start MATLAB from a Terminal window using the one or more of the following flags
-nojvm : Starts MATLAB without the JVM software. Due to this flag, some of the features that require Java software (such as the desktop tools and graphics) are not supported.
-nodisplay : Starts the JVM software without starting the MATLAB desktop.

Community Treasure Hunt

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

Start Hunting!

Translated by