Matlab encounter an internal error and needs to close - on Mac OSX Sierra, after reopening the mac from sleep.

2 Ansichten (letzte 30 Tage)
MATLAB 2017a: almost every time the computer lid is closed when a MATLAB window is open (just open, NOT running a program), when the computer is opened the MATLAB process will crash.
MacBook Pro (Retina, 15-inch, Mid 2014), 2.8 GHz Intel Core i7, 16 GB 1600 MHz DDR3, NVIDIA GeForce GT 750M 2048 MB, Intel Iris Pro 1536 MB, MacOS Sierra 10.12.3 (16D32)

Antworten (2)

Michelle Wu
Michelle Wu am 28 Apr. 2017
The error message is just a generic one indicating that there was an exception or problem within MATLAB that caused it to crash, and there could be many possible reasons for this. Please locate the MATLAB crash log or crash dump file and attach it in the post if you would like the community to take a look. For more information, please refer to this MATLAB Answers post:
In some cases, the graphics driver could be the cause for such crashes. To work around using your machines graphics hardware, you can execute the following command in MATLAB:
opengl('save','software')
This command sets your OpenGL preferences so that future sessions of MATLAB on this computer use the preferred version (i.e. 'software') of OpenGL. Please note that it does not affect the current session. After changing OpenGL to 'software', restart MATLAB and see if the issue presists.
Updating the NVIDIA graphics driver to a current version may also help.
  3 Kommentare
Xu Claire
Xu Claire am 22 Sep. 2018
Matlab document: opengl software forces the MATLAB software to use software OpenGL rendering instead of hardware OpenGL. Note that Macintosh systems do not support software OpenGL
Mars
Mars am 13 Jan. 2019
Hi, Michelle. My matlab 2018b has a simillar problem. Could you do me a favor to solve it? Thank you.
MATLAB crash file:/Users/mars/matlab_crash_dump.498-1:
--------------------------------------------------------------------------------
std::terminate() detected at Sun Jan 13 16:57:59 2019 +0800
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : UTF-8
Deployed : false
Graphics Driver : Unknown hardware
Java Version : Java 1.8.0_152-b16 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Architecture : maci64
MATLAB Entitlement ID : 6257193
MATLAB Root : /Applications/MATLAB_R2018b.app
MATLAB Version : 9.5.0.944444 (R2018b)
OpenGL : hardware
Operating System : Mac OS Version 10.14.2 (Build 18C54)
Process ID : 498
Processor ID : x86 Family 6 Model 158 Stepping 10, GenuineIntel
Session Key : 33ac01a8-3605-48e0-ac51-5dc388273abd
Window System : Quartz
Fault Count: 1
Abnormal termination
Register State (captured):
RAX = 0000000118607bc6 RBX = 0000700006e549e0
RCX = 0000000118670380 RDX = 000000011867a108
RSP = 0000700006e546b0 RBP = 0000700006e549c0
RSI = 0000700006e54a20 RDI = 000000011867ac88
R8 = 000000011860dfbd R9 = 00007fffdeddc74d
R10 = 0000000000000001 R11 = 000000011867a108
R12 = 0000000000000000 R13 = 0000000000000000
R14 = 0000000000000000 R15 = 0000700006e54ec0
RIP = 00000001111fb839 RFL = 0000000111312b24
CS = 0000700006e54820 FS = 0000700006e54800 GS = 000000011860e7c7
Stack Trace (captured):
[ 0] 0x00000001111f4d84 bin/maci64/libmwfl.dylib+00007556 _ZN10foundation4core4diag15stacktrace_base7captureEm+00000020
[ 1] 0x00000001111fa588 bin/maci64/libmwfl.dylib+00030088 _ZN10foundation4core4test17terminate_handledEv+00006392
[ 2] 0x00000001111f89f5 bin/maci64/libmwfl.dylib+00023029 _ZN10foundation4core4diag13terminate_logEPKcPK17__darwin_ucontext+00000149
[ 3] 0x0000000115df267b bin/maci64/libmwmcr.dylib+00632443 _Z19mnPrintErrorMessageRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE+00012635
[ 4] 0x0000000115df0207 bin/maci64/libmwmcr.dylib+00623111 _Z19mnPrintErrorMessageRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE+00003303
[ 5] 0x0000000115df5200 bin/maci64/libmwmcr.dylib+00643584 _Z19mnPrintErrorMessageRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE+00023776
[ 6] 0x0000000115def3df bin/maci64/libmwmcr.dylib+00619487 _Z22mnInstallCrashHandlersv+00000495
[ 7] 0x00007fff7245bdfe /usr/lib/libc++abi.dylib+00060926 _ZSt11__terminatePFvvE+00000008
[ 8] 0x00007fff7245bbe2 /usr/lib/libc++abi.dylib+00060386 __cxa_get_exception_ptr+00000000
[ 9] 0x00007fff7244ebb9 /usr/lib/libc++abi.dylib+00007097 __cxa_get_globals+00000000
[ 10] 0x00007fff73c5885a /usr/lib/libobjc.A.dylib+00092250 objc_exception_throw+00000362
[ 11] 0x00007fff47ba0cff /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation+00994559 +[NSException raise:format:]+00000201
[ 12] 0x00007fff49e37724 /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation+00018212 -[NSPlaceholderString initWithFormat:locale:arguments:]+00000115
[ 13] 0x00007fff49e37681 /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation+00018049 +[NSString stringWithFormat:]+00000169
[ 14] 0x000000011fa79ffe bin/maci64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.dylib+01863678 wuusgJAD+00000558
[ 15] 0x000000011fa75729 bin/maci64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.dylib+01845033 bKQIstXI+00000009
[ 16] 0x000000011fb4876a bin/maci64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.dylib+02709354 PfahsAce+00000570
[ 17] 0x000000011fa79050 bin/maci64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.dylib+01859664 kjvRvBnv+00000704
[ 18] 0x000000011fa78ead bin/maci64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.dylib+01859245 kjvRvBnv+00000285
[ 19] 0x000000011fa792b2 bin/maci64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.dylib+01860274 jpORHPny+00000130
[ 20] 0x00007fff74f1a305 /usr/lib/system/libsystem_pthread.dylib+00013061 _pthread_body+00000126
[ 21] 0x00007fff74f1d26f /usr/lib/system/libsystem_pthread.dylib+00025199 _pthread_start+00000070
[ 22] 0x00007fff74f19415 /usr/lib/system/libsystem_pthread.dylib+00009237 thread_start+00000013

Melden Sie sich an, um zu kommentieren.


PARAM JIT
PARAM JIT am 7 Apr. 2019
Hi Has Anyone solved this problem?
  1 Kommentar
Walter Roberson
Walter Roberson am 7 Apr. 2019
Which operating system version are you using ? Which MATLAB release are you using? Which graphics card are you using? Which graphics driver version do you have installed?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by