Info

This question is closed. Reopen it to edit or answer.

Matlab r2015a crashes on OS X Yosemite when analyzing a large dataset

1 view (last 30 days)
I have a MATLAB program that is supposed to crank through 50-100 GB of imaging data, do some analyses on each image, and then save the results. It always ran correctly using r2013a on Mac OS X 10.8 (Mountain Lion). Recently I upgraded to Yosemite and r2015a. My program still runs, but MATLAB crashes after working on a dataset for a while. The crashes happen at different points during program execution, suggesting they are not due to a specific bug in my code. They also don't appear to be specific to the data that I'm analyzing, because if I re-start the analysis at the point right before the previous crash, it successfully finishes the image that it was working on when it crashed (but then it crashes again later on).
Although the timing of the crashes is random as far as I can tell, the stack trace (from the crash report) is always the same:
Stack Trace (from fault):
[ 0] 0x00000001012f8964 /Applications/MATLAB_R2015a.app/bin/maci64/libmwfl.dylib+00031076 _ZN2fl4diag15stacktrace_base7captureERKNS0_14thread_contextEm+00000052
[ 1] 0x00000001012fc02b /Applications/MATLAB_R2015a.app/bin/maci64/libmwfl.dylib+00045099 _ZN2fl4test17terminate_handledEv+00000763
[ 2] 0x00000001012fbac7 /Applications/MATLAB_R2015a.app/bin/maci64/libmwfl.dylib+00043719 _ZN2fl4diag13terminate_logEPKcPK17__darwin_ucontext+00000119
[ 3] 0x0000000100e25f9b /Applications/MATLAB_R2015a.app/bin/maci64/libmwmcr.dylib+00380827 _Z32mnRunPathDependentInitializationv+00002875
[ 4] 0x0000000100e26217 /Applications/MATLAB_R2015a.app/bin/maci64/libmwmcr.dylib+00381463 _Z32mnRunPathDependentInitializationv+00003511
[ 5] 0x0000000100e243a6 /Applications/MATLAB_R2015a.app/bin/maci64/libmwmcr.dylib+00373670 mnFatalSignalHandler+00000262
[ 6] 0x00007fff8d642f1a /usr/lib/system/libsystem_platform.dylib+00020250 _sigtramp+00000026
[ 7] 0x0000000100000000 <unknown-module>+00000000
[ 8] 0x00007fff8e123c87 /usr/lib/libobjc.A.dylib+00040071 class_getMethodImplementation+00000000
[ 9] 0x00007fff8e123ac7 /usr/lib/libobjc.A.dylib+00039623 objc_storeWeak+00000233
[ 10] 0x00007fff9061983a /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI+00747578 csiCompressImageProviderCopyImageBlockSetWithOptions+00001008
[ 11] 0x00007fff8f624cac /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics+00224428 img_blocks_create+00000574
[ 12] 0x00007fff8f6137c2 /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics+00153538 img_data_lock+00002073
[ 13] 0x00007fff8f612026 /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics+00147494 CGSImageDataLock+00000151
[ 14] 0x00007fff85354a52 /System/Library/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib+00055890 ripc_AcquireImage+00000906
[ 15] 0x00007fff8535cb73 /System/Library/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib+00088947 ripc_DrawImages+00002209
[ 16] 0x00007fff8f65c3b7 /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics+00451511 CGContextDrawImages+00000210
[ 17] 0x00007fff905fc667 /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI+00628327 DrawThreePartImageWithOperation+00002560
[ 18] 0x00007fff905fbc58 /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI+00625752 DrawThreePartElementFromRenditionWithOperation+00000233
[ 19] 0x00007fff90603ac8 /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI+00658120 -[CUIThemeFacet _drawSpecificRenditionKey:rendition:inFrame:context:alpha:operation:isFocused:isFlipped:]+00000287
[ 20] 0x00007fff906038bb /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI+00657595 -[CUIThemeFacet _drawSpecificRenditionKey:inFrame:context:isFocused:isFlipped:]+00000163
[ 21] 0x00007fff90601c98 /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI+00650392 -[CUIThemeFacet drawInFrame:isFocused:context:]+00000137
[ 22] 0x00007fff9059c95f /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI+00235871 _ZN20CUICoreThemeRenderer15DrawProgressBarEPK13CUIDescriptor+00000797
[ 23] 0x00007fff90598ea9 /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI+00220841 _ZN20CUICoreThemeRenderer4DrawEPK13CUIDescriptor17CGAffineTransformR13CUIReturnInfo+00000405
[ 24] 0x00007fff9056c391 /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI+00037777 _ZN11CUIRenderer4DrawE6CGRectP9CGContextPK14__CFDictionaryPS5_+00002275
[ 25] 0x00007fff905a8d6e /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI+00286062 CUIDraw+00000217
[ 26] 0x00000001178aecec /System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/JavaRuntimeSupport+00015596 -[_JRSYosemiteAndLaterRenderer draw:inContext:withBounds:]+00000324
[ 27] 0x00000001178ae866 /System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/JavaRuntimeSupport+00014438 JRSUIControlDraw+00000061
[ 28] 0x00000001191dd643 /Applications/MATLAB_R2015a.app/sys/java/jre/maci64/jre/lib/libosxui.dylib+00009795 doPaintImage+00000322
[ 29] 0x00000001191dd7b7 /Applications/MATLAB_R2015a.app/sys/java/jre/maci64/jre/lib/libosxui.dylib+00010167 Java_apple_laf_JRSUIControl_paintImage+00000039
[ 30] 0x0000000111585f26 <unknown-module>+00000000
[ 31] 0x0000000111568de4 <unknown-module>+00000000
Thanks for any assistance. Dan

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!