I'm having a problem getting Matlab 2012b to start on my brand new MacBook Air. When I click the icon in the Applications folder, the splash screen appears, then disappears a few second later. If I run the command "/Applications/MATLAB_R2012b.app/bin/matlab" from the terminal, I get the segmentation violation below:
------------------------------------------------------------------------ Segmentation violation detected at Fri Aug 30 15:53:17 2013------------------------------------------------------------------------Configuration: Crash Decoding : Disabled Current Visual : None Default Encoding: ISO-8859-1 MATLAB Root : /Applications/MATLAB_R2012b.app MATLAB Version : 8.0.0.783 (R2012b) Operating System: Darwin 12.4.1 Darwin Kernel Version 12.4.1: Tue May 21 17:04:50 PDT 2013; root:xnu-2050.40.51~1/RELEASE_X86_64 x86_64 Processor ID : x86 Family 6 Model 69 Stepping 1, GenuineIntel Virtual Machine : Java 1.6.0_51-b11-457-11M4509 with Apple Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode Window System : No active displayFault Count: 1Abnormal termination:Segmentation violationRegister State (from fault): RAX = 007300650044004c RBX = 0070006f0074006b RCX = 617262694c2f656c RDX = 62696c2f73656972 RSP = 0000000000000000 RBP = 0000000000000000 RSI = 6c61757472695661 RDI = 76614a2f6176614a R8 = 40a0010000000000 R9 = 0000000000000000 R10 = 000000010ded2250 R11 = 0000000103b741f0 R12 = 000000010ded2250 R13 = 0000000103b4c3a1 R14 = 0000000000000000 R15 = 62696c2f73656972 RIP = 0000000000000000 RFL = 6c61757472695661 CS = 0000000000000000 FS = 000000010ded22f0 GS = 000000010ded2300Stack Trace (from fault):[ 0] 0x00000001000e4e46 /Applications/MATLAB_R2012b.app/bin/maci64/libmwfl.dylib+00036422 _ZN2fl4diag15stacktrace_base7captureERKNS0_14thread_contextEm+000150[ 1] 0x00000001000e5af1 /Applications/MATLAB_R2012b.app/bin/maci64/libmwfl.dylib+00039665 fl_diag_terminate+000321[ 2] 0x00000001000e7c34 /Applications/MATLAB_R2012b.app/bin/maci64/libmwfl.dylib+00048180 _ZN2fl4diag13terminate_logEPKcRKNS0_14thread_contextE+000100[ 3] 0x00000001008e125e /Applications/MATLAB_R2012b.app/bin/maci64/libmwmcr.dylib+00315998 mnTrapCtrlc+000254[ 4] 0x00000001008e2d24 /Applications/MATLAB_R2012b.app/bin/maci64/libmwmcr.dylib+00322852 _Z32mnRunPathDependentInitializationv+003492[ 5] 0x00000001008e313d /Applications/MATLAB_R2012b.app/bin/maci64/libmwmcr.dylib+00323901 _Z32mnRunPathDependentInitializationv+004541[ 6] 0x00000001008e37f5 /Applications/MATLAB_R2012b.app/bin/maci64/libmwmcr.dylib+00325621 _Z32mnRunPathDependentInitializationv+006261[ 7] 0x00000001008e3945 /Applications/MATLAB_R2012b.app/bin/maci64/libmwmcr.dylib+00325957 mnFatalSignalHandler+000149[ 8] 0x00007fff9332d4ea /usr/lib/system/libsystem_c.dylib+00013546 _sigtramp+000026[ 9] 0x000000010ded2200 /usr/lib/system/libsystem_c.dylib+18446603342575206912[ 10] 0x0000000107c4fbc1 /Applications/MATLAB_R2012b.app/bin/maci64/libmwudd_mi.dylib+00318401 _Z26buildPotentialPackageTablev+000401[ 11] 0x0000000107c4fdc1 /Applications/MATLAB_R2012b.app/bin/maci64/libmwudd_mi.dylib+00318913 _Z18isPotentialPackagePKc+000017[ 12] 0x0000000107c4fe70 /Applications/MATLAB_R2012b.app/bin/maci64/libmwudd_mi.dylib+00319088 _Z13getUDDPackagePKcb+000144[ 13] 0x0000000107c505c1 /Applications/MATLAB_R2012b.app/bin/maci64/libmwudd_mi.dylib+00320961 _Z11getUDDClassPKc+000289[ 14] 0x0000000107c50808 /Applications/MATLAB_R2012b.app/bin/maci64/libmwudd_mi.dylib+00321544 _Z18ouCreateClassArrayPKc+000072[ 15] 0x000000010037a6d5 /Applications/MATLAB_R2012b.app/bin/maci64/libmx.dylib+00358101 mxCreateClassArray+000053[ 16] 0x00000001007a403a /Applications/MATLAB_R2012b.app/bin/maci64/libmwjmi.dylib+00114746 _Z19mljErrorIfExceptionv+000618[ 17] 0x00000001007b35f5 /Applications/MATLAB_R2012b.app/bin/maci64/libmwjmi.dylib+00177653 _Z16JavaStartDesktopb+000261[ 18] 0x00000001008ad996 /Applications/MATLAB_R2012b.app/bin/maci64/libmwmcr.dylib+00104854 _Z15mcr_initialize0P11MfileReaderP13MexFileReaderPKcPS4_+002070[ 19] 0x000000010089f218 /Applications/MATLAB_R2012b.app/bin/maci64/libmwmcr.dylib+00045592 _ZN3mcr7runtime17InterpreterThread4Impl3runERKN5boost10shared_ptrIS2_EEPNS2_12init_contextE+000104[ 20] 0x0000000100897176 /Applications/MATLAB_R2012b.app/bin/maci64/libmwmcr.dylib+00012662 _Z26run_init_and_handle_eventsPv+000054[ 21] 0x00007fff9333f352 /usr/lib/system/libsystem_c.dylib+00086866 _pthread_start+000327[ 22] 0x00007fff9332bd81 /usr/lib/system/libsystem_c.dylib+00007553 thread_start+000013If 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.** This crash report has been saved to disk as /Users/*/matlab_crash_dump.1930-1 **MATLAB is exiting because of fatal errorKilled: 9
I'm trying to set up 2 new computers and I am having the same problem on both of them. Both systems are up to date with the latest java available from Apple, which is supposed to work.
The reason I think it's a java problem is that I can run the command with the -nojvm switch and it runs normally (for the command line version). Hopefully there is a solution out there someplace.
Best Answer