Segmentation violation detected

5 次查看(过去 30 天)
jjibi
jjibi 2012-1-23
$>>A = [-1 1 2 ; -2 3 1 ; 4 0 3]; $>>v = diag(cov(A))'
When I am trying to execute above am getting the following error.
Fault Count: 1
Register State: rax = 0000000000000016 rbx = 0000000000000000 rcx = 0000000000000012 rdx = 0000000000000330 rbp = 0606040402020000 rsi = 2020202020202020 rdi = 2020202020202020 rsp = 0000000001136588 r8 = 0000000000000330 r9 = 0000000000000014 r10 = 0000000000000012 r11 = 0000000000000016 r12 = 1616141412121010 r13 = 0606040402020000 r14 = 1616141412121010 r15 = 0606040402020000 rip = 0000000076dfeba5 flg = 0000000000010206
Stack Trace: [ 0] 0000000076DFEBA5 mkl.dll+322469 (xerbla+248709) [ 1] 0000000077EF3707 ntdll.dll+210695 (RtlAllocateHeap+000295)
***************
MATLAB Version: 7.9.0.529 (R2009b)
Operating System: Microsoft Windows Server 2003
Window System: Version 5.2 (Build 3790: Service Pack 2)
Processor ID: x86 Family 6 Model 14 Stepping 6, GenuineIntel
Virtual Machine: Java 1.6.0_12-b04 with Sun Microsystems Inc. Java HotSpot™ 64-Bit Server VM mixed mode
Default Encoding: windows-1252
Thanks,
  1 个评论
Andreas Goser
Andreas Goser 2012-1-23
I *assume* your question you are not asking is how to get rud of this...

请先登录,再进行评论。

回答(3 个)

Andreas Goser
Andreas Goser 2012-1-23
The crash refers to mkl.dll, the "Intel Math Kernel Library".
I found one bug related to this and also other issues that can be resolved by upgrading.
You may want to try to change that BLAS (here MKL). If you need help for that, please contact Technical Support.

jjibi
jjibi 2012-1-24
Hi Goser,
In my machine I have mklcompat.dll under C:\Program Files\MATLAB\R2009b\bin\win64 and I added new environment variable BLAS_VERSION and gave the value as mklcompat.dll . After this configuration change I am getting below error message
libmwblas: load error: mklcompat: fail to load symbol idamax
Caught std::exception Exception message is:
mklcompat: fail to load symbol idamax
Any clue on this?
  1 个评论
Andreas Goser
Andreas Goser 2012-1-24
Yes and no :-) The clue is "You may want to try to change that BLAS (here MKL). If you need help for that, please contact Technical Support."

请先登录,再进行评论。


Jehu Damian  Lugo Hernandez
I have a problem with the program there someone who can help
the problem shows me this way.
Segmentation violation detected at Thu Jul 14 17:24:48 2016
------------------------------------------------------------------------
Configuration: Crash Decoding : Disabled Crash Mode : continue (default) Current Graphics Driver: Intel Inc. Intel Iris OpenGL Engine Version 2.1 INTEL-10.14.66 Current Visual : Quartz Default Encoding : ISO-8859-1 Host Name : MacBook-Pro-de-Hermes-2.local MATLAB Architecture : maci64 MATLAB Root : /Applications/MATLAB_R2015b.app MATLAB Version : 8.6.0.267246 (R2015b) OpenGL : hardware Operating System : Darwin 15.5.0 Darwin Kernel Version 15.5.0: Tue Apr 19 18:36:36 PDT 2016; root:xnu-3248.50.21~8/RELEASE_X86_64 x86_64 Processor ID : x86 Family 6 Model 69 Stepping 1, GenuineIntel Virtual Machine : Java 1.7.0_75-b13 with Oracle Corporation Java HotSpot™ 64-Bit Server VM mixed mode Window System : Quartz
Fault Count: 1
Abnormal termination: Segmentation violation
Register State (from fault): RAX = 0000000000000000 RBX = 0000000000000000 RCX = 0000000000000000 RDX = 0000000000000000 RSP = 00007f994e0ac8c0 RBP = 00000001447b7bc8 RSI = 000000014472aee0 RDI = 00000001447b9158
R8 = 00007000056e3e10 R9 = 00007fff81df49e2
R10 = 00007000056e3e30 R11 = 00007fff96e32721
R12 = 00007f994e21c428 R13 = 00007f994e0adfa0
R14 = 00007000056e3e30 R15 = 00000001447592b1
RIP = 00007f994e088ff0 RFL = 00007f994e21c428
CS = 00007000056eba60 FS = 00000001446b40bc GS = 0000000000000000
Stack Trace (from fault): [ 0] 0x000000010688da34 /Applications/MATLAB_R2015b.app/bin/maci64/libmwfl.dylib+00027188 ZN2fl4diag15stacktrace_base7captureERKNS0_14thread_contextEm+00000052 [ 1] 0x000000010689135a /Applications/MATLAB_R2015b.app/bin/maci64/libmwfl.dylib+00041818 _ZN2fl4test17terminate_handledEv+00000746 [ 2] 0x0000000106890e08 /Applications/MATLAB_R2015b.app/bin/maci64/libmwfl.dylib+00040456 _ZN2fl4diag13terminate_logEPKcPK17_darwin_ucontext+00000152 [ 3] 0x0000000108615316 /Applications/MATLAB_R2015b.app/bin/maci64/libmwmcr.dylib+00336662 Z32mnRunPathDependentInitializationv+00002806 [ 4] 0x00000001086155a9 /Applications/MATLAB_R2015b.app/bin/maci64/libmwmcr.dylib+00337321 _Z32mnRunPathDependentInitializationv+00003465 [ 5] 0x00000001086138ca /Applications/MATLAB_R2015b.app/bin/maci64/libmwmcr.dylib+00329930 mnFatalSignalHandler+00000282 [ 6] 0x00007fff91a0052a /usr/lib/system/libsystem_platform.dylib+00009514 _sigtramp+00000026 [ 7] 0x0000000000000000 unknown-module+00000000 [ 8] 0x00000001447592b1 /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+01118897 CMIOUnitASCInputEntry+00128717 [ 9] 0x00000001446b40bc /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00442556 CMIOUnitDALInputEntry+00013810 [ 10] 0x00000001446b2bba /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00437178 CMIOUnitDALInputEntry+00008432 [ 11] 0x00000001446c13df /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00496607 CMIOUnitInputFromProcsEntry+00000935 [ 12] 0x00000001446532c7 /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00045767 [ 13] 0x00000001446932e6 /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00307942 CMIOUnitMPEG2DemuxEntry+00064570 [ 14] 0x00000001446cc638 /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00542264 CMIOUnitInputFromTSFileEntry+00003624 [ 15] 0x00000001446de5e7 /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00615911 CMIOUnitMPEG2MuxEntry+00017495 [ 16] 0x00000001446532c7 /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00045767 [ 17] 0x00000001446932e6 /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00307942 CMIOUnitMPEG2DemuxEntry+00064570 [ 18] 0x00000001446cc638 /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00542264 CMIOUnitInputFromTSFileEntry+00003624 [ 19] 0x00000001446e0b4e /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00625486 CMIOUnitMPEG2MuxEntry+00027070 [ 20] 0x00000001446532c7 /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00045767 [ 21] 0x00000001446932e6 /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00307942 CMIOUnitMPEG2DemuxEntry+00064570 [ 22] 0x00000001446cc638 /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00542264 CMIOUnitInputFromTSFileEntry+00003624 [ 23] 0x00000001446de5e7 /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00615911 CMIOUnitMPEG2MuxEntry+00017495 [ 24] 0x00000001446532c7 /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00045767 [ 25] 0x00000001446932e6 /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00307942 CMIOUnitMPEG2DemuxEntry+00064570 [ 26] 0x00000001446cc638 /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00542264 CMIOUnitInputFromTSFileEntry+00003624 [ 27] 0x00000001446e0b4e /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00625486 CMIOUnitMPEG2MuxEntry+00027070 [ 28] 0x00000001446532c7 /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00045767 [ 29] 0x00000001446932e6 /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00307942 CMIOUnitMPEG2DemuxEntry+00064570 [ 30] 0x00000001446cc638 /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00542264 CMIOUnitInputFromTSFileEntry+00003624 [ 31] 0x00000001446e0b4e /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00625486 CMIOUnitMPEG2MuxEntry+00027070 [ 32] 0x00000001446532c7 /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00045767 [ 33] 0x00000001446932e6 /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00307942 CMIOUnitMPEG2DemuxEntry+00064570 [ 34] 0x00000001446cc638 /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00542264 CMIOUnitInputFromTSFileEntry+00003624 [ 35] 0x00000001446de5e7 /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00615911 CMIOUnitMPEG2MuxEntry+00017495 [ 36] 0x00000001446532c7 /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00045767 [ 37] 0x00000001446932e6 /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00307942 CMIOUnitMPEG2DemuxEntry+00064570 [ 38] 0x00000001446cc638 /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00542264 CMIOUnitInputFromTSFileEntry+00003624 [ 39] 0x00000001446e0b4e /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00625486 CMIOUnitMPEG2MuxEntry+00027070 [ 40] 0x00000001446532c7 /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00045767 [ 41] 0x00000001446932e6 /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00307942 CMIOUnitMPEG2DemuxEntry+00064570 [ 42] 0x00000001446cc638 /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00542264 CMIOUnitInputFromTSFileEntry+00003624 [ 43] 0x00000001446e0b4e /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00625486 CMIOUnitMPEG2MuxEntry+00027070 [ 44] 0x00000001446532c7 /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00045767 [ 45] 0x00000001446932e6 /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00307942 CMIOUnitMPEG2DemuxEntry+00064570 [ 46] 0x00000001446cc638 /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00542264 CMIOUnitInputFromTSFileEntry+00003624 [ 47] 0x00000001446ec01e /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00671774 CMIOUnitAudioOutputEntry+00045806 [ 48] 0x00000001446532c7 /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00045767 [ 49] 0x00000001446ec841 /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00673857 CMIOUnitAudioOutputEntry+00047889 [ 50] 0x0000000144694108 /System/Library/Frameworks/CoreMediaIO.framework/Resources/CMIOUnits.bundle/Contents/MacOS/CMIOUnits+00311560 CMIOUnitMPEG2DemuxEntry+00068188 [ 51] 0x00007fff938fa3c0 /System/Library/Frameworks/CoreMediaIO.framework/Versions/A/CoreMediaIO+00148416 _ZN9CMIOGraph15PullOutputUnitsEbRbS0_S0+00000534 [ 52] 0x00007fff938fa704 /System/Library/Frameworks/CoreMediaIO.framework/Versions/A/CoreMediaIO+00149252 _ZN9CMIOGraph6DoWorkEj+00000320 [ 53] 0x00007fff938fd463 /System/Library/Frameworks/CoreMediaIO.framework/Versions/A/CoreMediaIO+00160867 _ZN4CMIO6Thread17QueuedTWorkThreadIjE6DoWorkEv+00000125 [ 54] 0x00007fff939063cb /System/Library/Frameworks/CoreMediaIO.framework/Versions/A/CoreMediaIO+00197579 _ZN4CMIO6Thread14SignaledThread10ThreadLoopEv+00000253 [ 55] 0x00007fff939062b1 /System/Library/Frameworks/CoreMediaIO.framework/Versions/A/CoreMediaIO+00197297 _ZN4CMIO6Thread14SignaledThread24WorkQueuedThreadCallbackEPv+00000159 [ 56] 0x00007fff81e2582e /System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia+00321582 figThreadMain+00000616 [ 57] 0x00007fff8cc6099d /usr/lib/system/libsystem_pthread.dylib+00014749 _pthread_body+00000131 [ 58] 0x00007fff8cc6091a /usr/lib/system/libsystem_pthread.dylib+00014618 _pthread_body+00000000 [ 59] 0x00007fff8cc5e351 /usr/lib/system/libsystem_pthread.dylib+00004945 thread_start+00000013
  1 个评论
Steven Lord
Steven Lord 2016-7-15
This stack trace doesn't appear to be the same issue as the stack trace in the original question. Please send the steps you were using when you received this crash report along with the crash report itself to Technical Support (using the Contact Us link in the upper-right corner of this page) and work with them to determine the cause.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by