BVLC / caffe

Caffe: a fast open framework for deep learning.
http://caffe.berkeleyvision.org/
Other
34.12k stars 18.69k forks source link

matlab crash when use anything about caffe #5802

Open 13971073623 opened 7 years ago

13971073623 commented 7 years ago
------------------------------------------------------------------------
              abort() detected at Wed Jul 26 14:36:09 2017
------------------------------------------------------------------------

Configuration:
  Crash Decoding      : Disabled
  Crash Mode          : continue (default)
  Current Graphics Driver: Unknown hardware 
  Current Visual      : Quartz
  Default Encoding    : US-ASCII
  Host Name           : kimatoMacBook-Pro.local
  MATLAB Architecture : maci64
  MATLAB Root         : /Applications/MATLAB_R2015b.app
  MATLAB Version      : 8.6.0.267246 (R2015b)
  OpenGL              : hardware
  Operating System    : Darwin 16.6.0 Darwin Kernel Version 16.6.0: Fri Apr 14 16:21:16 PDT 2017; root:xnu-3789.60.24~6/RELEASE_X86_64 x86_64
  Processor ID        : x86 Family 6 Model 42 Stepping 7, GenuineIntel
  Virtual Machine     : Java 1.7.0_75-b13 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
  Window System       : Quartz

Fault Count: 1

Abnormal termination:
abort()

Register State (from fault):
  RAX = 7ff0000000000000  RBX = 0000000000000003
  RCX = 0000000000000000  RDX = 00007fff526d3f8c
  RSP = 0000000000000016  RBP = 00007fffb3d1c36c
  RSI = 00007fff526d3f70  RDI = 00007fffbca693c0

   R8 = 0000000000000006   R9 = 0000000000000045
  R10 = 0000000132cc81f0  R11 = 00007fffbca693c0
  R12 = 0000000000000001  R13 = 00007fff526d3fa0
  R14 = 00007fffb3d1e457  R15 = 00007fff526d3fc0

  RIP = 0000030700000045  RFL = 00007fff526d3fc0

   CS = 00007fff526d4008   FS = 00007fff526d3fd0   GS = 00007fffb3b96420

Stack Trace (from fault):
[  0] 0x000000010e175a34 /Applications/MATLAB_R2015b.app/bin/maci64/libmwfl.dylib+00027188 _ZN2fl4diag15stacktrace_base7captureERKNS0_14thread_contextEm+00000052
[  1] 0x000000010e17935a /Applications/MATLAB_R2015b.app/bin/maci64/libmwfl.dylib+00041818 _ZN2fl4test17terminate_handledEv+00000746
[  2] 0x000000010e178e08 /Applications/MATLAB_R2015b.app/bin/maci64/libmwfl.dylib+00040456 _ZN2fl4diag13terminate_logEPKcPK17__darwin_ucontext+00000152
[  3] 0x000000010f067316 /Applications/MATLAB_R2015b.app/bin/maci64/libmwmcr.dylib+00336662 _Z32mnRunPathDependentInitializationv+00002806
[  4] 0x000000010f0675a9 /Applications/MATLAB_R2015b.app/bin/maci64/libmwmcr.dylib+00337321 _Z32mnRunPathDependentInitializationv+00003465
[  5] 0x000000010f066c2a /Applications/MATLAB_R2015b.app/bin/maci64/libmwmcr.dylib+00334890 _Z32mnRunPathDependentInitializationv+00001034
[  6] 0x000000010f06666e /Applications/MATLAB_R2015b.app/bin/maci64/libmwmcr.dylib+00333422 _Z22mnInstallCrashHandlersv+00000270
[  7] 0x00007fffb3d11b3a           /usr/lib/system/libsystem_platform.dylib+00011066 _sigtramp+00000026
[  8] 0x00007fff9deebfbd /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation+00114621 CFEqual+00000429
[  9] 0x00007fffb3b96420                  /usr/lib/system/libsystem_c.dylib+00390176 abort+00000129
[ 10] 0x0000000132b0c22a  /usr/local/opt/gperftools/lib/libtcmalloc.4.dylib+00025130 _ZN8tcmalloc3LogENS_7LogModeEPKciNS_7LogItemES3_S3_S3_+00000650
[ 11] 0x0000000132b0895b  /usr/local/opt/gperftools/lib/libtcmalloc.4.dylib+00010587 _ZN12_GLOBAL__N_111InvalidFreeEPv+00000114
[ 12] 0x00007fff9df54589 /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation+00542089 CFRunLoopRunSpecific+00000489
[ 13] 0x00007fff9d4b4ebc /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox+00200380 RunCurrentEventLoopInMode+00000240
[ 14] 0x00007fff9d4b4cf1 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox+00199921 ReceiveNextEventCommon+00000432
[ 15] 0x00007fff9d4b4b26 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox+00199462 _BlockUntilNextEventMatchingListInModeWithFilter+00000071
[ 16] 0x00007fff9ba4da54 /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit+00289364 _DPSNextEvent+00001120
[ 17] 0x00007fff9c1c97ee /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit+08136686 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]+00002796
[ 18] 0x00007fff9ba423db /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit+00242651 -[NSApplication run]+00000926
[ 19] 0x000000011583332c /Applications/MATLAB_R2015b.app/bin/maci64/libmwuix.dylib+00062252 _Z23MacSetMcrGetAppNameProcPFNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEvE+00004188
[ 20] 0x00007fff9df6a54c /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation+00632140 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__+00000012
[ 21] 0x00007fff9df6a44b /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation+00631883 _CFXRegistrationPost+00000427
[ 22] 0x00007fff9df6a1b2 /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation+00631218 ___CFXNotificationPost_block_invoke+00000050
[ 23] 0x00007fff9df28782 /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation+00362370 -[_CFXNotificationRegistrar find:object:observer:enumerator:]+00002018
[ 24] 0x00007fff9df2776b /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation+00358251 _CFXNotificationPost+00000667
[ 25] 0x00007fff9f969907 /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation+00026887 -[NSNotificationCenter postNotificationName:object:userInfo:]+00000066
[ 26] 0x00007fff9bb8f74f /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit+01607503 -[NSApplication _postDidFinishNotification]+00000297
[ 27] 0x00007fff9bb8f4b4 /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit+01606836 -[NSApplication _sendFinishLaunchingNotification]+00000208
[ 28] 0x00007fff9ba52819 /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit+00309273 -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:]+00000552
[ 29] 0x00007fff9ba5246b /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit+00308331 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:]+00000661
[ 30] 0x00007fff9f9b4d8d /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation+00335245 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:]+00000290
[ 31] 0x00007fff9f9b4c07 /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation+00334855 _NSAppleEventManagerGenericHandler+00000102
[ 32] 0x00007fff9edb8f26 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE+00032550 _Z20aeDispatchAppleEventPK6AEDescPS_jPh+00000544
[ 33] 0x00007fff9edb8c9d /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE+00031901 _ZL25dispatchEventAndSendReplyPK6AEDescPS_+00000039
[ 34] 0x00007fff9edb8ba9 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE+00031657 aeProcessAppleEvent+00000312
[ 35] 0x00007fff9d4c5ddf /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox+00269791 AEProcessAppleEvent+00000055
[ 36] 0x00007fff9ba4dd1d /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit+00290077 _DPSNextEvent+00001833
[ 37] 0x00007fff9c1c97ee /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit+08136686 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]+00002796
[ 38] 0x00007fff9ba423db /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit+00242651 -[NSApplication run]+00000926
[ 39] 0x00007fff9ba0ce0e /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit+00024078 NSApplicationMain+00001237
[ 40] 0x00000001158337ac /Applications/MATLAB_R2015b.app/bin/maci64/libmwuix.dylib+00063404 _Z21MacRunApplicationMainb+00000076
[ 41] 0x000000010f037e90 /Applications/MATLAB_R2015b.app/bin/maci64/libmwmcr.dylib+00142992 _ZN3mcr7runtime10MainThread7runMainERKN5boost9function0IiEEbb+00000432
[ 42] 0x000000010f037baf /Applications/MATLAB_R2015b.app/bin/maci64/libmwmcr.dylib+00142255 _Z12mcr_run_mainRKN5boost9function0IiEEbb+00000095
[ 43] 0x000000010edea502 /Applications/MATLAB_R2015b.app/bin/maci64/libmwMVMLocal.dylib+00124162 _ZN3mvm6detail11SessionImpl12localRunMainEPS1_RKN5boost9function1IiRKNSt3__16vectorINS5_12basic_stringIDsNS5_11char_traitsIDsEENS5_9allocatorIDsEEEENSA_ISC_EEEEEESG_+00000786
[ 44] 0x000000010d683faf /Applications/MATLAB_R2015b.app/bin/maci64/libmwmvm.dylib+00597935 _ZN3mvm6detail11SessionImpl7runMainERKN5boost9function1IiRKNSt3__16vectorINS4_12basic_stringIDsNS4_11char_traitsIDsEENS4_9allocatorIDsEEEENS9_ISB_EEEEEESF_+00000095
[ 45] 0x000000010d6847af /Applications/MATLAB_R2015b.app/bin/maci64/libmwmvm.dylib+00599983 _ZN3mvm6detail11SessionImpl16runMatlabDesktopEv+00000527
[ 46] 0x000000010d529f0d /Applications/MATLAB_R2015b.app/bin/maci64/../../Contents/MacOS/MATLAB_maci64+00003853 main+00000493
[ 47] 0x00007fffb3b02235                      /usr/lib/system/libdyld.dylib+00021045 start+00000001

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.

Please use the caffe-users list for usage, installation, or modeling questions, or other requests for help. Do not post such requests to Issues. Doing so interferes with the development of Caffe.

Please read the guidelines for contributing before submitting this issue.

Issue summary

Steps to reproduce

If you are having difficulty building Caffe or training a model, please ask the caffe-users mailing list. If you are reporting a build error that seems to be due to a bug in Caffe, please attach your build configuration (either Makefile.config or CMakeCache.txt) and the output of the make (or cmake) command.

Your system configuration

Operating system: Compiler: CUDA version (if applicable): CUDNN version (if applicable): BLAS: Python or MATLAB version (for pycaffe and matcaffe respectively):

hongjiang-ye commented 6 years ago

Rebuild matcaffe without LEVELDB solves this problem. # uncomment to disable IO dependencies and corresponding data layers USE_LEVELDB := 0