Segmentation Violation when using VideoReader and read command

1 Ansicht (letzte 30 Tage)
An Dang
An Dang am 10 Feb. 2016
Bearbeitet: An Dang am 10 Feb. 2016
**I'm sorry for the messy format of the error code, I don't know how to post it properly! Here's the simple code that causes the error:
a = VideoReader('name.wmv');
b = read(a,1);
Bellow is the detail of my error
Configuration:
Crash Decoding : Disabled
Default Encoding : windows-1252
MATLAB Architecture: win32
MATLAB Root : C:\Program Files (x86)\matlab
MATLAB Version : 8.1.0.604 (R2013a)
Operating System : Microsoft Windows 8
Processor ID : x86 Family 6 Model 60 Stepping 3, GenuineIntel
Virtual Machine : Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot(TM) Client VM mixed mode
Window System : Version 6.2 (Build 9200)
Fault Count: 1
Abnormal termination: Segmentation violation
Register State (from fault): EAX = 00000000 EBX = 00001400 ECX = 00000000 EDX = 00000008 ESP = 00c2b76c EBP = 00c2b778 ESI = 33cec000 EDI = 35cfc020
EIP = 02910a37 EFL = 00210202
CS = 00000023 DS = 0000002b SS = 0000002b
ES = 0000002b FS = 00000053 GS = 0000002b
Stack Trace (from fault): [ 0] 0x02910a37 C:\Program Files (x86)\matlab\bin\win32\MSVCR100.dll+00068151 unlock+00000259 [ 1] 0x02040ccc C:\Program Files (x86)\matlab\bin\win32\tamimframe.dll+00068812 imaqframekit::MemoryLimiter::MemoryLimiter+00007340 [ 2] 0x0221806b C:\Program Files (x86)\matlab\toolbox\shared\multimedia\bin\win32\reader\mediafoundationplugin.dll+00032875 [ 3] 0x02216bcf C:\Program Files (x86)\matlab\toolbox\shared\multimedia\bin\win32\reader\mediafoundationplugin.dll+00027599 [ 4] 0x001a515e C:\Program Files (x86)\matlab\bin\win32\mmreaderudd.dll+00020830 [ 5] 0x001a1867 C:\Program Files (x86)\matlab\bin\win32\mmreaderudd.dll+00006247 [ 6] 0x7f3c8be3 C:\Program Files (x86)\matlab\bin\win32\udd.dll+00232419 UDMethodInfo::invokeMethodE+00000067 [ 7] 0x031bf4b8 C:\Program Files (x86)\matlab\bin\win32\udd_mi.dll+00259256 registerCheckIfHG2ObjectFcn+00027080 [ 8] 0x031bf76c C:\Program Files (x86)\matlab\bin\win32\udd_mi.dll+00259948 registerCheckIfHG2ObjectFcn+00027772 [ 9] 0x723a3616 C:\Program Files (x86)\matlab\bin\win32\mcos.dll+00079382 mcos::COSInterface::getPreGetEvent+00001382 [ 10] 0x7f63cdd8 C:\Program Files (x86)\matlab\bin\win32\m_dispatcher.dll+00052696 Mfh_MATLAB_fn::dispatch_fh+00000728 [ 11] 0x7f63d139 C:\Program Files (x86)\matlab\bin\win32\m_dispatcher.dll+00053561 Mfunction_handle::dispatch+00000745 [ 12] 0x02c85884 C:\Program Files (x86)\matlab\bin\win32\m_interpreter.dll+00481412 inDestroyWS+00203364 [ 13] 0x02c87ae7 C:\Program Files (x86)\matlab\bin\win32\m_interpreter.dll+00490215 inDestroyWS+00212167 [ 14] 0x02c99ce7 C:\Program Files (x86)\matlab\bin\win32\m_interpreter.dll+00564455 inDestroyWS+00286407 [ 15] 0x02c99e02 C:\Program Files (x86)\matlab\bin\win32\m_interpreter.dll+00564738 inDestroyWS+00286690 [ 16] 0x02c7ee57 C:\Program Files (x86)\matlab\bin\win32\m_interpreter.dll+00454231 inDestroyWS+00176183 [ 17] 0x02c844e8 C:\Program Files (x86)\matlab\bin\win32\m_interpreter.dll+00476392 inDestroyWS+00198344 [ 18] 0x02c97abe C:\Program Files (x86)\matlab\bin\win32\m_interpreter.dll+00555710 inDestroyWS+00277662 [ 19] 0x7f63c939 C:\Program Files (x86)\matlab\bin\win32\m_dispatcher.dll+00051513 Mfh_file::dispatch_fh+00000505 [ 20] 0x7f63d139 C:\Program Files (x86)\matlab\bin\win32\m_dispatcher.dll+00053561 Mfunction_handle::dispatch+00000745 [ 21] 0x723c7016 C:\Program Files (x86)\matlab\bin\win32\mcos.dll+00225302 mcos::COSDataType::checkValue+00003878 [ 22] 0x723c3674 C:\Program Files (x86)\matlab\bin\win32\mcos.dll+00210548 mcos::COSJITInterface::isClassHandle+00002196 [ 23] 0x723c4a84 C:\Program Files (x86)\matlab\bin\win32\mcos.dll+00215684 mcos::COSJITInterface::isClassHandle+00007332 [ 24] 0x723c6e55 C:\Program Files (x86)\matlab\bin\win32\mcos.dll+00224853 mcos::COSDataType::checkValue+00003429 [ 25] 0x723c9131 C:\Program Files (x86)\matlab\bin\win32\mcos.dll+00233777 omSetArrayElement+00007633 [ 26] 0x723bd792 C:\Program Files (x86)\matlab\bin\win32\mcos.dll+00186258 mcos::COSJITInterface::getClassOffset+00002338 [ 27] 0x7f63cdd8 C:\Program Files (x86)\matlab\bin\win32\m_dispatcher.dll+00052696 Mfh_MATLAB_fn::dispatch_fh+00000728 [ 28] 0x7f63d139 C:\Program Files (x86)\matlab\bin\win32\m_dispatcher.dll+00053561 Mfunction_handle::dispatch+00000745 [ 29] 0x02c85884 C:\Program Files (x86)\matlab\bin\win32\m_interpreter.dll+00481412 inDestroyWS+00203364 [ 30] 0x02c1cb52 C:\Program Files (x86)\matlab\bin\win32\m_interpreter.dll+00052050 MathWorks::MException::IMExceptionData::IMExceptionData+00025698 [ 31] 0x02c8900d C:\Program Files (x86)\matlab\bin\win32\m_interpreter.dll+00495629 inDestroyWS+00217581 [ 32] 0x02c99ce7 C:\Program Files (x86)\matlab\bin\win32\m_interpreter.dll+00564455 inDestroyWS+00286407 [ 33] 0x02c99e02 C:\Program Files (x86)\matlab\bin\win32\m_interpreter.dll+00564738 inDestroyWS+00286690 [ 34] 0x02c7ee57 C:\Program Files (x86)\matlab\bin\win32\m_interpreter.dll+00454231 inDestroyWS+00176183 [ 35] 0x02c844e8 C:\Program Files (x86)\matlab\bin\win32\m_interpreter.dll+00476392 inDestroyWS+00198344 [ 36] 0x02c97abe C:\Program Files (x86)\matlab\bin\win32\m_interpreter.dll+00555710 inDestroyWS+00277662 [ 37] 0x7f63c939 C:\Program Files (x86)\matlab\bin\win32\m_dispatcher.dll+00051513 Mfh_file::dispatch_fh+00000505 [ 38] 0x7f63d139 C:\Program Files (x86)\matlab\bin\win32\m_dispatcher.dll+00053561 Mfunction_handle::dispatch+00000745 [ 39] 0x02cef80c C:\Program Files (x86)\matlab\bin\win32\m_interpreter.dll+00915468 inMainLoopIdle+00002572 [ 40] 0x02cf6b0f C:\Program Files (x86)\matlab\bin\win32\m_interpreter.dll+00944911 inInitializeParser+00005887 [ 41] 0x02cfaa79 C:\Program Files (x86)\matlab\bin\win32\m_interpreter.dll+00961145 MathWorks::MException::MExceptionEnvelope::Copy+00006953 [ 42] 0x02cfaa55 C:\Program Files (x86)\matlab\bin\win32\m_interpreter.dll+00961109 MathWorks::MException::MExceptionEnvelope::Copy+00006917 [ 43] 0x02cfaa10 C:\Program Files (x86)\matlab\bin\win32\m_interpreter.dll+00961040 MathWorks::MException::MExceptionEnvelope::Copy+00006848 [ 44] 0x02c267ae C:\Program Files (x86)\matlab\bin\win32\m_interpreter.dll+00092078 inClearArraysInDesiredWS+00001854 [ 45] 0x02cf2c10 C:\Program Files (x86)\matlab\bin\win32\m_interpreter.dll+00928784 inEvalCmdWithLocalReturn+00000224 [ 46] 0x02cf2bb9 C:\Program Files (x86)\matlab\bin\win32\m_interpreter.dll+00928697 inEvalCmdWithLocalReturn+00000137 [ 47] 0x02cf2b4e C:\Program Files (x86)\matlab\bin\win32\m_interpreter.dll+00928590 inEvalCmdWithLocalReturn+00000030 [ 48] 0x7e1cba83 C:\Program Files (x86)\matlab\bin\win32\libmwbridge.dll+00047747 mnDebugPrompt+00000163 [ 49] 0x7e1cc9ff C:\Program Files (x86)\matlab\bin\win32\libmwbridge.dll+00051711 mnParser+00000799 [ 50] 0x7f29b273 C:\Program Files (x86)\matlab\bin\win32\mcr.dll+00176755 mcrInstance::mnParser_on_interpreter_thread+00000051 [ 51] 0x7f28112a C:\Program Files (x86)\matlab\bin\win32\mcr.dll+00069930 mcr::setInterpreterThreadToCurrent+00029274 [ 52] 0x7f2811e6 C:\Program Files (x86)\matlab\bin\win32\mcr.dll+00070118 mcr::setInterpreterThreadToCurrent+00029462 [ 53] 0x03272da9 C:\Program Files (x86)\matlab\bin\win32\uiw.dll+00339369 UIW_IsUserMessage+00000121 [ 54] 0x03273358 C:\Program Files (x86)\matlab\bin\win32\uiw.dll+00340824 UIW_SetGLIMUserMsg+00000104 [ 55] 0x75ebfed6 C:\WINDOWS\SYSTEM32\USER32.dll+00196310 LoadStringA+00000422 [ 56] 0x75eaddc6 C:\WINDOWS\SYSTEM32\USER32.dll+00122310 CopyRect+00000358 [ 57] 0x75eadd4b C:\WINDOWS\SYSTEM32\USER32.dll+00122187 CopyRect+00000235 [ 58] 0x77628d86 C:\WINDOWS\SYSTEM32\ntdll.dll+00494982 KiUserCallbackDispatcher+00000054 [ 59] 0x75eacbc4 C:\WINDOWS\SYSTEM32\USER32.dll+00117700 PeekMessageA+00000372 [ 60] 0x0325238d C:\Program Files (x86)\matlab\bin\win32\uiw.dll+00205709 UIW_SetCurrentDialog+00000637 [ 61] 0x03274504 C:\Program Files (x86)\matlab\bin\win32\uiw.dll+00345348 ws_FreeSystemFont+00000452 [ 62] 0x100d3254 C:\Program Files (x86)\matlab\bin\win32\libmwservices.dll+00864852 services::system_events::PpeDispatchHook::~PpeDispatchHook+00055668 [ 63] 0x100d3a6a C:\Program Files (x86)\matlab\bin\win32\libmwservices.dll+00866922 services::system_events::PpeDispatchHook::~PpeDispatchHook+00057738 [ 64] 0x100d23ff C:\Program Files (x86)\matlab\bin\win32\libmwservices.dll+00861183 services::system_events::PpeDispatchHook::~PpeDispatchHook+00051999 [ 65] 0x100d4724 C:\Program Files (x86)\matlab\bin\win32\libmwservices.dll+00870180 services::system_events::PpeDispatchHook::~PpeDispatchHook+00060996 [ 66] 0x100dcb01 C:\Program Files (x86)\matlab\bin\win32\libmwservices.dll+00903937 svWS_ProcessPendingEvents+00000897 [ 67] 0x100dcc92 C:\Program Files (x86)\matlab\bin\win32\libmwservices.dll+00904338 svWS_ProcessPendingEvents+00000018 [ 68] 0x7f282053 C:\Program Files (x86)\matlab\bin\win32\mcr.dll+00073811 mcr::setInterpreterThreadToCurrent+00033155 [ 69] 0x7f28230c C:\Program Files (x86)\matlab\bin\win32\mcr.dll+00074508 mcr::setInterpreterThreadToCurrent+00033852 [ 70] 0x7f27655f C:\Program Files (x86)\matlab\bin\win32\mcr.dll+00025951 mcrInstantiationError::operator=+00003647 [ 71] 0x7f2795fc C:\Program Files (x86)\matlab\bin\win32\mcr.dll+00038396 mcr_invoke_on_interpreter_thread+00001772 [ 72] 0x004051a5 C:\Program Files (x86)\matlab\bin\win32\MATLAB.exe+00020901 [ 73] 0x004057ee C:\Program Files (x86)\matlab\bin\win32\MATLAB.exe+00022510 [ 74] 0x00405c1d C:\Program Files (x86)\matlab\bin\win32\MATLAB.exe+00023581 [ 75] 0x758d38f4 C:\WINDOWS\SYSTEM32\KERNEL32.DLL+00080116 BaseThreadInitThunk+00000036 [ 76] 0x776156c3 C:\WINDOWS\SYSTEM32\ntdll.dll+00415427 RtlUnicodeStringToInteger+00000595 [ 77] 0x7761568e C:\WINDOWS\SYSTEM32\ntdll.dll+00415374 RtlUnicodeStringToInteger+00000542

Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by