From: Kevin on
I get a crash while trying to start Matlab 2009b on my Mac laptop. It crashes immediately after opening the initial window. Below is the first part of the crash report. Until I can figure this out, I'm completely dead in the water because I can't run Matlab at all. I can't make any sense out of the traceback to even tell what the problem is though.

Process: MATLAB [1619]
Path: /Applications/MATLAB_R2009b.app/bin/maci64/MATLAB.app/Contents/MacOS/MATLAB
Identifier: com.mathworks.matlab
Version: MATLAB version 7.1 (2.1)
Code Type: X86-64 (Native)
Parent Process: ??? [1]

Date/Time: 2010-02-18 22:24:18.972 -0600
OS Version: Mac OS X 10.6.2 (10C540)
Report Version: 6

Interval Since Last Report: 3260176 sec
Crashes Since Last Report: 31
Per-App Interval Since Last Report: 159 sec
Per-App Crashes Since Last Report: 24
Anonymous UUID: 8187165E-6CE0-4D73-8124-521CE0434DF5

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread: 3

Application Specific Information:
abort() called

Thread 0: Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib 0x00007fff8833fe3a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff883404ad mach_msg + 59
2 com.apple.CoreFoundation 0x00007fff846db7a2 __CFRunLoopRun + 1698
3 com.apple.CoreFoundation 0x00007fff846dac2f CFRunLoopRunSpecific + 575
4 com.apple.HIToolbox 0x00007fff8544ca4e RunCurrentEventLoopInMode + 333
5 com.apple.HIToolbox 0x00007fff8544c853 ReceiveNextEventCommon + 310
6 com.apple.HIToolbox 0x00007fff8544c70c BlockUntilNextEventMatchingListInMode + 59
7 com.apple.AppKit 0x00007fff85ccc1f2 _DPSNextEvent + 708
8 com.apple.AppKit 0x00007fff85ccbb41 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
9 com.apple.AppKit 0x00007fff85c91747 -[NSApplication run] + 395
10 libmwuix.dylib 0x0000000102d3d490 MacSetMcrGetAppNameProc(std::string (*)()) + 352
11 com.apple.Foundation 0x00007fff837ce85a _nsnote_callback + 167
12 com.apple.CoreFoundation 0x00007fff846e7e3a __CFXNotificationPost + 954
13 com.apple.CoreFoundation 0x00007fff846d43e8 _CFXNotificationPostNotification + 200
14 com.apple.Foundation 0x00007fff837c57c4 -[NSNotificationCenter postNotificationName:object:userInfo:] + 101
15 com.apple.AppKit 0x00007fff85cfc772 -[NSApplication _postDidFinishNotification] + 100
16 com.apple.AppKit 0x00007fff85cfc6a7 -[NSApplication _sendFinishLaunchingNotification] + 66
17 com.apple.AppKit 0x00007fff85dc7645 -[NSApplication(NSAppleEventHandling) _handleAEOpen:] + 219
18 com.apple.AppKit 0x00007fff85dc72c1 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 77
19 com.apple.Foundation 0x00007fff837fd156 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 360
20 com.apple.Foundation 0x00007fff837fcf86 _NSAppleEventManagerGenericHandler + 114
21 com.apple.AE 0x00007fff86e3b292 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned char*) + 162
22 com.apple.AE 0x00007fff86e3b18b dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 32
23 com.apple.AE 0x00007fff86e3b095 aeProcessAppleEvent + 210
24 com.apple.HIToolbox 0x00007fff85452879 AEProcessAppleEvent + 48
25 com.apple.AppKit 0x00007fff85ccc3d5 _DPSNextEvent + 1191
26 com.apple.AppKit 0x00007fff85ccbb41 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
27 com.apple.AppKit 0x00007fff85c91747 -[NSApplication run] + 395
28 com.apple.AppKit 0x00007fff85c8a468 NSApplicationMain + 364
29 libmwmcr.dylib 0x000000010045c42a mcr_run_main(int (*)(int, char const**), bool, int, char const**, bool) + 90
30 com.mathworks.matlab 0x0000000100001354 start + 52
From: Brian Arnold on
Hi Kevin,

Most startup issues are triggered by one of the following:

1) A bad Preferences setting
(try renaming or deleting ~/.matlab/R2009b)
2) A problem in a MATLAB startup.m file
(search using Spotlight for it, then rename or delete it)
3) An interaction with a third party extension
(boot in safe mode, with the shift key down, to check)
4) An incompatible Java library on the system
(check /Library/Java and ~/Library/Java for installed libraries)
5) A conflicting shell environment setting
(check ~/.bashrc, ~/.cshrc, ~/.zshrc, 'printenv', etc.)

The most common failure mode with users moving to Snow Leopard is a
shell initialization file that defines DYLD_LIBRARY_PATH. If 'printenv'
in Terminal or xterm indicates that DYLD_LIBRARY_PATH is defined prior
to launching MATLAB, that's the most likely trigger. Find out what's
defining it, and avoid defining it in a shell initialization file.

If none of that helps, then more details from the crash log file may
help. The most interesting thread from the crash log will be the MATLAB
thread (the second thread on Leopard, the fourth thread on Snow
Leopard), and/or the thread actually calling "abort". If you could
provide that, it may help in the diagnosis, because it may indicate
approximately where and when during initialization that the problem
occurred.

If you need more advice than this, try searching searching for these and
other suggestions for more details on the MathWorks support web site.

Good luck,

- Brian


Kevin wrote:
> I get a crash while trying to start Matlab 2009b on my Mac laptop. It
> crashes immediately after opening the initial window. Below is the
> first part of the crash report. Until I can figure this out, I'm
> completely dead in the water because I can't run Matlab at all. I can't
> make any sense out of the traceback to even tell what the problem is
> though.
>
> Process: MATLAB [1619]
> Path:
> /Applications/MATLAB_R2009b.app/bin/maci64/MATLAB.app/Contents/MacOS/MATLAB
> Identifier: com.mathworks.matlab
> Version: MATLAB version 7.1 (2.1)
> Code Type: X86-64 (Native)
> Parent Process: ??? [1]
>
> Date/Time: 2010-02-18 22:24:18.972 -0600
> OS Version: Mac OS X 10.6.2 (10C540)
> Report Version: 6
>
> Interval Since Last Report: 3260176 sec
> Crashes Since Last Report: 31
> Per-App Interval Since Last Report: 159 sec
> Per-App Crashes Since Last Report: 24
> Anonymous UUID: 8187165E-6CE0-4D73-8124-521CE0434DF5
>
> Exception Type: EXC_CRASH (SIGABRT)
> Exception Codes: 0x0000000000000000, 0x0000000000000000
> Crashed Thread: 3
>
> Application Specific Information:
> abort() called
>
> Thread 0: Dispatch queue: com.apple.main-thread
> 0 libSystem.B.dylib 0x00007fff8833fe3a mach_msg_trap + 10
> 1 libSystem.B.dylib 0x00007fff883404ad mach_msg + 59
> 2 com.apple.CoreFoundation 0x00007fff846db7a2 __CFRunLoopRun
> + 1698
> 3 com.apple.CoreFoundation 0x00007fff846dac2f
> CFRunLoopRunSpecific + 575
> 4 com.apple.HIToolbox 0x00007fff8544ca4e
> RunCurrentEventLoopInMode + 333
> 5 com.apple.HIToolbox 0x00007fff8544c853
> ReceiveNextEventCommon + 310
> 6 com.apple.HIToolbox 0x00007fff8544c70c
> BlockUntilNextEventMatchingListInMode + 59
> 7 com.apple.AppKit 0x00007fff85ccc1f2 _DPSNextEvent +
> 708
> 8 com.apple.AppKit 0x00007fff85ccbb41 -[NSApplication
> nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
> 9 com.apple.AppKit 0x00007fff85c91747 -[NSApplication
> run] + 395
> 10 libmwuix.dylib 0x0000000102d3d490
> MacSetMcrGetAppNameProc(std::string (*)()) + 352
> 11 com.apple.Foundation 0x00007fff837ce85a
> _nsnote_callback + 167
> 12 com.apple.CoreFoundation 0x00007fff846e7e3a
> __CFXNotificationPost + 954
> 13 com.apple.CoreFoundation 0x00007fff846d43e8
> _CFXNotificationPostNotification + 200
> 14 com.apple.Foundation 0x00007fff837c57c4
> -[NSNotificationCenter postNotificationName:object:userInfo:] + 101
> 15 com.apple.AppKit 0x00007fff85cfc772 -[NSApplication
> _postDidFinishNotification] + 100
> 16 com.apple.AppKit 0x00007fff85cfc6a7 -[NSApplication
> _sendFinishLaunchingNotification] + 66
> 17 com.apple.AppKit 0x00007fff85dc7645
> -[NSApplication(NSAppleEventHandling) _handleAEOpen:] + 219
> 18 com.apple.AppKit 0x00007fff85dc72c1
> -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:]
> + 77
> 19 com.apple.Foundation 0x00007fff837fd156
> -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:]
> + 360
> 20 com.apple.Foundation 0x00007fff837fcf86
> _NSAppleEventManagerGenericHandler + 114
> 21 com.apple.AE 0x00007fff86e3b292
> aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned
> char*) + 162
> 22 com.apple.AE 0x00007fff86e3b18b
> dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 32
> 23 com.apple.AE 0x00007fff86e3b095
> aeProcessAppleEvent + 210
> 24 com.apple.HIToolbox 0x00007fff85452879
> AEProcessAppleEvent + 48
> 25 com.apple.AppKit 0x00007fff85ccc3d5 _DPSNextEvent +
> 1191
> 26 com.apple.AppKit 0x00007fff85ccbb41 -[NSApplication
> nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
> 27 com.apple.AppKit 0x00007fff85c91747 -[NSApplication
> run] + 395
> 28 com.apple.AppKit 0x00007fff85c8a468
> NSApplicationMain + 364
> 29 libmwmcr.dylib 0x000000010045c42a
> mcr_run_main(int (*)(int, char const**), bool, int, char const**, bool)
> + 90
> 30 com.mathworks.matlab 0x0000000100001354 start + 52
 | 
Pages: 1
Prev: Tridiagonal Solver
Next: ear detection