Access Violation using VideoReader when opening large avi files
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Sean
le 26 Juil 2017
Réponse apportée : Sindhuja Parimalarangan
le 28 Juil 2017
I'm getting a repeatable access violation when I create a VideoReader object with a large avi file (3.3GB). The error is not reproducible on second machine, and is only produced from large avi files. The code I am trying to run:
reader = VideoReader('experiment.avi');
and the corresponding crash report
------------------------------------------------------------------------ Access violation detected at Tue Jul 25 19:35:27 2017 ------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Current Graphics Driver: Unknown hardware
Default Encoding : windows-1252
Deployed : false
Graphics card 1 : Intel Corporation ( 0x8086 ) Intel(R) HD Graphics 4600 Version 20.19.15.4549
Graphics card 2 : NVIDIA ( 0x10de ) NVIDIA GeForce GTX 870M Version 21.21.13.6909
Host Name : slourette-asus
MATLAB Architecture : win64
MATLAB Entitlement ID: 3655683
MATLAB Root : C:\Program Files\MATLAB\R2017a
MATLAB Version : 9.2.0.556344 (R2017a)
OpenGL : hardware
Operating System : Microsoft Windows 10 Home
Processor ID : x86 Family 6 Model 60 Stepping 3, GenuineIntel
Virtual Machine : Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
Window System : Version 10.0 (Build 14393)
Fault Count: 1
Abnormal termination: Access violation
Register State (from fault):
RAX = 0000000000000400 RBX = 000000007696d560
RCX = 0000000000000000 RDX = 00000000043faab0
RSP = 00000000043faa80 RBP = 0000000000000000
RSI = 0000000000000000 RDI = 0000000000000001
R8 = 00000000043faab0 R9 = 00000000e247af00
R10 = 000000001aedc780 R11 = 00000000043faa00
R12 = 000000007696da60 R13 = 000000007696de10
R14 = 000000000d620900 R15 = 0000000000000001
RIP = 00007ff8b65684a3 EFL = 00010206
CS = 0033 FS = 0053 GS = 002b
Stack Trace (from fault):
[ 0] 0x00007ff8b65684a3 C:\Program Files\Intel\Media SDK\mfx_mft_mjpgvd_64.dll+00296099
[ 1] 0x00007ff8b65689d1 C:\Program Files\Intel\Media SDK\mfx_mft_mjpgvd_64.dll+00297425
[ 2] 0x00007ff8b36a4f0a C:\WINDOWS\SYSTEM32\MFReadWrite.dll+00085770
[ 3] 0x00007ff8b36a1dc9 C:\WINDOWS\SYSTEM32\MFReadWrite.dll+00073161
[ 4] 0x00007ff8b36b5486 C:\WINDOWS\SYSTEM32\MFReadWrite.dll+00152710 DllCanUnloadNow+00026998
[ 5] 0x00007ff8b36a6d99 C:\WINDOWS\SYSTEM32\MFReadWrite.dll+00093593
[ 6] 0x00007ff8b369eb4e C:\WINDOWS\SYSTEM32\MFReadWrite.dll+00060238
[ 7] 0x00007ff8b369b2b2 C:\WINDOWS\SYSTEM32\MFReadWrite.dll+00045746
[ 8] 0x00007ff8b369b87f C:\WINDOWS\SYSTEM32\MFReadWrite.dll+00047231
[ 9] 0x00007ff8b3696d37 C:\WINDOWS\SYSTEM32\MFReadWrite.dll+00027959
[ 10] 0x000000009f851535 toolbox\shared\multimedia\bin\win64\reader\mediafoundationplugin.dll+00070965
[ 11] 0x000000009f842943 toolbox\shared\multimedia\bin\win64\reader\mediafoundationplugin.dll+00010563
[ 12] 0x000000009f85195f toolbox\shared\multimedia\bin\win64\reader\mediafoundationplugin.dll+00072031
[ 13] 0x000000009f84f8e2 toolbox\shared\multimedia\bin\win64\reader\mediafoundationplugin.dll+00063714
[ 14] 0x000000009f4f8fe3 bin\win64\mmreaderudd.dll+00036835
[ 15] 0x000000009f4f8a6f bin\win64\mmreaderudd.dll+00035439
[ 16] 0x000000009f4fd0f8 bin\win64\mmreaderudd.dll+00053496
[ 17] 0x000000000b194c8f bin\win64\udd.dll+00281743 UDClass::createObject+00000159
[ 18] 0x00000000fb1441cd bin\win64\udd_mi.dll+00344525 ouConstructObjectWithErrorTrap+00001165
[ 19] 0x00000000fb143cf6 bin\win64\udd_mi.dll+00343286 ouAddBuiltInMethod+00003766
[ 20] 0x000000000cc5d322 bin\win64\pgo\mcos_impl.dll+00971554 QueryMLFcnTable_mcos_impl+00337478
[ 21] 0x0000000008029be1 bin\win64\pgo\m_dispatcher.dll+00039905 Mfh_MATLAB_fn::dispatch_fh+00000641
[ 22] 0x000000000cba81e4 bin\win64\pgo\mcos_impl.dll+00229860
[ 23] 0x0000000008d4a61c bin\win64\pgo\m_lxe.dll+00108060
[ 24] 0x0000000008ea1ffb bin\win64\pgo\m_lxe.dll+01515515 boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,std::vector<MathWorks::lxe::MatlabIrTree * __ptr64,std::allocator<MathWorks::lxe::MatlabIrTree * __ptr64> > >::load_object_data+00013323
[ 25] 0x0000000008ea0aa7 bin\win64\pgo\m_lxe.dll+01510055 boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,std::vector<MathWorks::lxe::MatlabIrTree * __ptr64,std::allocator<MathWorks::lxe::MatlabIrTree * __ptr64> > >::load_object_data+00007863
[ 26] 0x0000000008d4a717 bin\win64\pgo\m_lxe.dll+00108311
[ 27] 0x0000000008dd9eb5 bin\win64\pgo\m_lxe.dll+00695989
[ 28] 0x0000000008d68e6a bin\win64\pgo\m_lxe.dll+00233066
[ 29] 0x0000000008eaa423 bin\win64\pgo\m_lxe.dll+01549347 boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,std::vector<MathWorks::lxe::MatlabIrTree * __ptr64,std::allocator<MathWorks::lxe::MatlabIrTree * __ptr64> > >::load_object_data+00047155
[ 30] 0x0000000008f11a97 bin\win64\pgo\m_lxe.dll+01972887 boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,std::vector<MathWorks::lxe::MatlabIrTree * __ptr64,std::allocator<MathWorks::lxe::MatlabIrTree * __ptr64> > >::load_object_data+00470695
[ 31] 0x0000000008f11a05 bin\win64\pgo\m_lxe.dll+01972741 boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,std::vector<MathWorks::lxe::MatlabIrTree * __ptr64,std::allocator<MathWorks::lxe::MatlabIrTree * __ptr64> > >::load_object_data+00470549
[ 32] 0x0000000008d526c9 bin\win64\pgo\m_lxe.dll+00141001
[ 33] 0x0000000008d532f3 bin\win64\pgo\m_lxe.dll+00144115
[ 34] 0x0000000008d5474c bin\win64\pgo\m_lxe.dll+00149324
[ 35] 0x0000000008d55288 bin\win64\pgo\m_lxe.dll+00152200
[ 36] 0x0000000008d5498f bin\win64\pgo\m_lxe.dll+00149903
[ 37] 0x0000000008d48c4b bin\win64\pgo\m_lxe.dll+00101451
[ 38] 0x0000000008d5004a bin\win64\pgo\m_lxe.dll+00131146
[ 39] 0x0000000008d4f7d0 bin\win64\pgo\m_lxe.dll+00128976
[ 40] 0x0000000008ea5d0f bin\win64\pgo\m_lxe.dll+01531151 boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,std::vector<MathWorks::lxe::MatlabIrTree * __ptr64,std::allocator<MathWorks::lxe::MatlabIrTree * __ptr64> > >::load_object_data+00028959
[ 41] 0x0000000008ea52d3 bin\win64\pgo\m_lxe.dll+01528531 boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,std::vector<MathWorks::lxe::MatlabIrTree * __ptr64,std::allocator<MathWorks::lxe::MatlabIrTree * __ptr64> > >::load_object_data+00026339
[ 42] 0x0000000008ea51b9 bin\win64\pgo\m_lxe.dll+01528249 boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,std::vector<MathWorks::lxe::MatlabIrTree * __ptr64,std::allocator<MathWorks::lxe::MatlabIrTree * __ptr64> > >::load_object_data+00026057
[ 43] 0x0000000008f30ea9 bin\win64\pgo\m_lxe.dll+02100905 boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,MathWorks::lxe::MatlabIrTree>::load_object_data+00015609
[ 44] 0x0000000008f30e32 bin\win64\pgo\m_lxe.dll+02100786 boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,MathWorks::lxe::MatlabIrTree>::load_object_data+00015490
[ 45] 0x0000000008ea30dd bin\win64\pgo\m_lxe.dll+01519837 boost::archive::detail::iserializer<boost::archive::binaryTerm_iarchive,std::vector<MathWorks::lxe::MatlabIrTree * __ptr64,std::allocator<MathWorks::lxe::MatlabIrTree * __ptr64> > >::load_object_data+00017645
[ 46] 0x000000000830d0cb bin\win64\pgo\m_interpreter.dll+00446667 inEvalCmdWithLocalReturn+00000063
[ 47] 0x00000000fb60923d bin\win64\libmwbridge.dll+00102973 mnGetPrompt+00013165
[ 48] 0x00000000fb60a2f3 bin\win64\libmwbridge.dll+00107251 mnParser+00001107
[ 49] 0x0000000007ec75f1 bin\win64\mcr.dll+00226801 mcr::runtime::setInterpreterThreadSingletonToCurrent+00027889
[ 50] 0x0000000007ec64e7 bin\win64\mcr.dll+00222439 mcr::runtime::setInterpreterThreadSingletonToCurrent+00023527
[ 51] 0x0000000007ec6563 bin\win64\mcr.dll+00222563 mcr::runtime::setInterpreterThreadSingletonToCurrent+00023651
[ 52] 0x0000000007ec6e81 bin\win64\mcr.dll+00224897 mcr::runtime::setInterpreterThreadSingletonToCurrent+00025985
[ 53] 0x00000000fd01e647 bin\win64\iqm.dll+00583239 iqm::UserEvalPlugin::pre+00030695
[ 54] 0x00000000fd02af8c bin\win64\iqm.dll+00634764 iqm::UserEvalPlugin::pre+00082220
[ 55] 0x00000000fd018770 bin\win64\iqm.dll+00558960 iqm::UserEvalPlugin::pre+00006416
[ 56] 0x00000000fd02de9a bin\win64\iqm.dll+00646810 iqm::UserEvalPlugin::pre+00094266
[ 57] 0x00000000fcffad17 bin\win64\iqm.dll+00437527 iqm::PackagedTaskPlugin::PackagedTaskPlugin+00000727
[ 58] 0x00000000fcffb36f bin\win64\iqm.dll+00439151 iqm::PackagedTaskPlugin::execute+00000575
[ 59] 0x00000000fcffad89 bin\win64\iqm.dll+00437641 iqm::PackagedTaskPlugin::PackagedTaskPlugin+00000841
[ 60] 0x00000000fcffb1e4 bin\win64\iqm.dll+00438756 iqm::PackagedTaskPlugin::execute+00000180
[ 61] 0x00000000fcfd111a bin\win64\iqm.dll+00266522 iqm::Iqm::setupIqmFcnPtrs+00072250
[ 62] 0x00000000fcfd0ff3 bin\win64\iqm.dll+00266227 iqm::Iqm::setupIqmFcnPtrs+00071955
[ 63] 0x00000000fcfb7b95 bin\win64\iqm.dll+00162709 iqm::Iqm::deliver+00003349
[ 64] 0x00000000fcfb8815 bin\win64\iqm.dll+00165909 iqm::Iqm::deliver+00006549
[ 65] 0x0000000180106383 bin\win64\libmwservices.dll+01074051 services::system_events::PpeDispatchHook::dispatchOne+00019811
[ 66] 0x000000018010abe3 bin\win64\libmwservices.dll+01092579 sysq::addProcessPendingEventsUnitTestHook+00002099
[ 67] 0x000000018010add0 bin\win64\libmwservices.dll+01093072 sysq::addProcessPendingEventsUnitTestHook+00002592
[ 68] 0x000000018010c095 bin\win64\libmwservices.dll+01097877 sysq::getCondition+00003269
[ 69] 0x000000018010cf8f bin\win64\libmwservices.dll+01101711 svWS_ProcessPendingEvents+00000287
[ 70] 0x0000000007ec795e bin\win64\mcr.dll+00227678 mcr::runtime::setInterpreterThreadSingletonToCurrent+00028766
[ 71] 0x0000000007ec8046 bin\win64\mcr.dll+00229446 mcr::runtime::setInterpreterThreadSingletonToCurrent+00030534
[ 72] 0x0000000007ebe832 bin\win64\mcr.dll+00190514 mcr_process_events+00010210
[ 73] 0x0000000007ec0782 bin\win64\mcr.dll+00198530 mcr_process_events+00018226
[ 74] 0x0000000007dac21e bin\win64\MVMLocal.dll+00246302 mvm_server::inproc::LocalFactory::terminate+00073982
[ 75] 0x00000000fa95a3d9 bin\win64\mvm.dll+01221593 mvm::detail::initLocalMvmHack+00000521
[ 76] 0x00000000fa95ab25 bin\win64\mvm.dll+01223461 mvm::detail::SessionImpl::privateSession+00000533
[ 77] 0x00000000fa95ad31 bin\win64\mvm.dll+01223985 mvm::detail::SessionImpl::privateSession+00001057
[ 78] 0x0000000140006fd5 bin\win64\MATLAB.exe+00028629
[ 79] 0x0000000140007661 bin\win64\MATLAB.exe+00030305
[ 80] 0x00007ff8f9838364 C:\WINDOWS\System32\KERNEL32.DLL+00033636 BaseThreadInitThunk+00000020
[ 81] 0x00007ff8fbe570d1 C:\WINDOWS\SYSTEM32\ntdll.dll+00422097 RtlUserThreadStart+00000033
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.
0 commentaires
Réponse acceptée
Sindhuja Parimalarangan
le 28 Juil 2017
The crash here appears to be an Intel Graphics card issue, as indicated by the crash log : C:\Program Files\Intel\Media SDK\mfx_mft_mjpgvd_64.dll
Disabling hardware acceleration has been known to prevent such crashes while reading:
matlab.video.read.UseHardwareAcceleration('off')
Hardware acceleration can be reenabled by typing:
matlab.video.read.UseHardwareAcceleration('on')
Alternately, you can disable the Interl graphics card and use just the NVIDIA card while performing video read operations.
0 commentaires
Plus de réponses (0)
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!