MATLAB Answers

Simulink Crash - Access Violation

42 views (last 30 days)
mclau152
mclau152 on 14 Feb 2016
Answered: Arjan Strijker on 21 May 2019
Hello, I am trying to run a simple simulink program on my school computer but end up with crash and access violation error. Here is the error details:
MATLAB crash file:C:\Users\m\AppData\Local\Temp\matlab_crash_dump.5996-1:
------------------------------------------------------------------------
Access violation detected at Sun Feb 14 14:21:24 2016
------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled
Crash Mode : continue (default)
Current Graphics Driver: Intel Intel(R) HD Graphics 4600 Version 4.3.0 - Build 10.18.14.4080
Default Encoding : windows-1252
Graphics card 1 : Intel Corporation ( 0x8086 ) Intel(R) HD Graphics 4600 Version 10.18.14.4080
Host Name : EB2200P18
MATLAB Architecture : win64
MATLAB Root : C:\Program Files\MATLAB\R2015b
MATLAB Version : 8.6.0.267246 (R2015b)
OpenGL : hardware
Operating System : Microsoft Windows 7 Enterprise
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 6.1 (Build 7601: Service Pack 1)
Fault Count: 1
Abnormal termination:
Access violation
Register State (from fault):
RAX = 00000000040296b0 RBX = 00000000d1c77df0
RCX = 0000000000000000 RDX = 00000000040296b0
RSP = 0000000004029650 RBP = 0000000004029790
RSI = 0000000000000001 RDI = 0000000000000000
R8 = 0000000000000000 R9 = 0000000020376f60
R10 = 00000000f4792de8 R11 = 0000000020376f60
R12 = 0000000000000000 R13 = 0000000004029901
R14 = 0000000020206601 R15 = 00000000040299d0
RIP = 00000000368186f4 EFL = 00010206
CS = 0033 FS = 0053 GS = 002b
Stack Trace (from fault):
[ 0] 0x00000000368186f4 C:\Program Files\MATLAB\R2015b\bin\win64\libmwsqldb.dll+00034548 sqldb::SqlDatabaseInterface::executeStatement+00000036
[ 1] 0x00000000f468c697 C:\Program Files\MATLAB\R2015b\bin\win64\simulation_data_repository.dll+00509591 sdi::ObjectManager::getSchemaPath+00012807
[ 2] 0x00000000f463fc1e C:\Program Files\MATLAB\R2015b\bin\win64\simulation_data_repository.dll+00195614 sdi::SDIInstance::helperGetObjectManager+00000862
[ 3] 0x00000000f463f083 C:\Program Files\MATLAB\R2015b\bin\win64\simulation_data_repository.dll+00192643 sdi::SDIInstance::getObjectManager+00000163
[ 4] 0x00000000f471feed C:\Program Files\MATLAB\R2015b\bin\win64\simulation_data_repository.dll+01113837 sdi::ObjectManagerWrapper::setObjMgr+00057949
[ 5] 0x000000000f29bcfc C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00179452
[ 6] 0x000000000f28fd6d C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00130413
[ 7] 0x000000000f2916b6 C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00136886
[ 8] 0x000000000f290495 C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00132245
[ 9] 0x000000000f291fd7 C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00139223
[ 10] 0x000000000f2b7c23 C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00293923
[ 11] 0x00000000074a5498 C:\Program Files\MATLAB\R2015b\bin\win64\m_dispatcher.dll+00021656 Mfh_MATLAB_fn::dispatch_fh+00000600
[ 12] 0x000000000f2b8ccd C:\Program Files\MATLAB\R2015b\bin\win64\mcos_impl.dll+00298189
[ 13] 0x0000000008b9269c C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00337564
[ 14] 0x0000000008b6a0d8 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00172248
[ 15] 0x0000000008b6a057 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00172119
[ 16] 0x0000000008b69fbb C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00171963
[ 17] 0x0000000008b69ec6 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00171718
[ 18] 0x0000000008b69e2d C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00171565
[ 19] 0x0000000008c8ac93 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+01354899 MathWorks::lxe::ReleaseCurrentMcrContext+00461027
[ 20] 0x0000000008c8ac04 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+01354756 MathWorks::lxe::ReleaseCurrentMcrContext+00460884
[ 21] 0x0000000008b9ab5f C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00371551
[ 22] 0x0000000008b99810 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00366608
[ 23] 0x0000000008bc96e1 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00562913
[ 24] 0x0000000008bc9406 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00562182
[ 25] 0x0000000008b81916 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00268566
[ 26] 0x0000000008b6a1ef C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00172527
[ 27] 0x0000000008cf8048 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+01802312 boost::archive::detail::oserializer<boost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptor>::oserializer<boost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptor>+00218984
[ 28] 0x00000000074a4cc3 C:\Program Files\MATLAB\R2015b\bin\win64\m_dispatcher.dll+00019651 Mfh_file::dispatch_fh_impl+00000531
[ 29] 0x00000000074a483e C:\Program Files\MATLAB\R2015b\bin\win64\m_dispatcher.dll+00018494 Mfh_file::dispatch_fh_with_reuse+00000062
[ 30] 0x0000000008c87aed C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+01342189 MathWorks::lxe::ReleaseCurrentMcrContext+00448317
[ 31] 0x0000000008c87a5d C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+01342045 MathWorks::lxe::ReleaseCurrentMcrContext+00448173
[ 32] 0x0000000008b6a67b C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00173691
[ 33] 0x0000000008b6a5c5 C:\Program Files\MATLAB\R2015b\bin\win64\m_lxe.dll+00173509
[ 34] 0x000000000758432c C:\Program Files\MATLAB\R2015b\bin\win64\m_interpreter.dll+00017196 inCallFcn+00000060
[ 35] 0x00000000363f61cb C:\Program Files\MATLAB\R2015b\bin\win64\sl_services.dll+00418251 SlFeature::operator=+00001131
[ 36] 0x00000000363f7ade C:\Program Files\MATLAB\R2015b\bin\win64\sl_services.dll+00424670 CMatlabCommand::execute+00000206
[ 37] 0x00000000363fb4d4 C:\Program Files\MATLAB\R2015b\bin\win64\sl_services.dll+00439508 slsvFEVAL_NoThrow+00000100
[ 38] 0x00000000f6b34441 C:\Program Files\MATLAB\R2015b\bin\win64\libmwsimulink.dll+07947329 rtwgenGetSlModel+00281537
[ 39] 0x00000000f716a9e3 C:\Program Files\MATLAB\R2015b\bin\win64\libmwsimulink.dll+14461411 slmsg::QueueIntrfBase::getStorageReaderMessageMemoryPoolIndex+00110307
[ 40] 0x00000000f716f290 C:\Program Files\MATLAB\R2015b\bin\win64\libmwsimulink.dll+14480016 slmsg::QueueIntrfBase::getStorageReaderMessageMemoryPoolIndex+00128912
[ 41] 0x00000000f716e7a3 C:\Program Files\MATLAB\R2015b\bin\win64\libmwsimulink.dll+14477219 slmsg::QueueIntrfBase::getStorageReaderMessageMemoryPoolIndex+00126115
[ 42] 0x00000000f69d258b C:\Program Files\MATLAB\R2015b\bin\win64\libmwsimulink.dll+06497675 SetupToQueryCompiledInfo+00008075
[ 43] 0x00000000f63bfbb7 C:\Program Files\MATLAB\R2015b\bin\win64\libmwsimulink.dll+00129975 MaskInterface::getBDLock+00004871
[ 44] 0x00000000fab03c67 C:\Program Files\MATLAB\R2015b\bin\win64\uiw.dll+00146535 set_event_rec+00000935
[ 45] 0x00000000fab0daae C:\Program Files\MATLAB\R2015b\bin\win64\uiw.dll+00187054 UIW_ShowMenuItem+00003726
[ 46] 0x00000000fab0e4cb C:\Program Files\MATLAB\R2015b\bin\win64\uiw.dll+00189643 UIW_ShowMenuItem+00006315
[ 47] 0x0000000008af94ac C:\Program Files\MATLAB\R2015b\bin\win64\libmwbridge.dll+00038060 ioReadLine+00004060
[ 48] 0x0000000008af86b4 C:\Program Files\MATLAB\R2015b\bin\win64\libmwbridge.dll+00034484 ioReadLine+00000484
[ 49] 0x0000000008af83f2 C:\Program Files\MATLAB\R2015b\bin\win64\libmwbridge.dll+00033778 ioCmdLineEditSave+00011986
[ 50] 0x0000000008af84bb C:\Program Files\MATLAB\R2015b\bin\win64\libmwbridge.dll+00033979 ioReadLine+00000107
[ 51] 0x0000000008b03095 C:\Program Files\MATLAB\R2015b\bin\win64\libmwbridge.dll+00077973 mnDebugPrompt+00001509
[ 52] 0x0000000008b02bca C:\Program Files\MATLAB\R2015b\bin\win64\libmwbridge.dll+00076746 mnDebugPrompt+00000282
[ 53] 0x0000000008b032eb C:\Program Files\MATLAB\R2015b\bin\win64\libmwbridge.dll+00078571 mnParser+00000395
[ 54] 0x0000000008a587a4 C:\Program Files\MATLAB\R2015b\bin\win64\mcr.dll+00362404 mcrInstance::mnParser_on_interpreter_thread+00000036
[ 55] 0x0000000008a2c477 C:\Program Files\MATLAB\R2015b\bin\win64\mcr.dll+00181367 mcr::runtime::setInterpreterThreadToCurrent+00019751
[ 56] 0x0000000008a2c4b3 C:\Program Files\MATLAB\R2015b\bin\win64\mcr.dll+00181427 mcr::runtime::setInterpreterThreadToCurrent+00019811
[ 57] 0x0000000008a2ccb1 C:\Program Files\MATLAB\R2015b\bin\win64\mcr.dll+00183473 mcr::runtime::setInterpreterThreadToCurrent+00021857
[ 58] 0x00000000fab62aa6 C:\Program Files\MATLAB\R2015b\bin\win64\uiw.dll+00535206 UIW_AttachThreadInput+00001270
[ 59] 0x00000000fab62335 C:\Program Files\MATLAB\R2015b\bin\win64\uiw.dll+00533301 wsd_to_MSW+00004181
[ 60] 0x00000000fab623b9 C:\Program Files\MATLAB\R2015b\bin\win64\uiw.dll+00533433 wsd_to_MSW+00004313
[ 61] 0x00000000773f8802 C:\WINDOWS\system32\USER32.dll+00165890 GetMenuBarInfo+00000626
[ 62] 0x00000000773df5e7 C:\WINDOWS\system32\USER32.dll+00062951 SystemParametersInfoW+00000247
[ 63] 0x00000000773e4869 C:\WINDOWS\system32\USER32.dll+00084073 IsProcessDPIAware+00000453
[ 64] 0x000000007751ba75 C:\WINDOWS\SYSTEM32\ntdll.dll+00309877 KiUserCallbackDispatcher+00000031
[ 65] 0x00000000773e90ca C:\WINDOWS\system32\USER32.dll+00102602 PeekMessageW+00000186
[ 66] 0x00000000773e50de C:\WINDOWS\system32\USER32.dll+00086238 GetKeyState+00000238
[ 67] 0x00000000773e3a47 C:\WINDOWS\system32\USER32.dll+00080455 PeekMessageA+00000087
[ 68] 0x00000000fab0e1cb C:\Program Files\MATLAB\R2015b\bin\win64\uiw.dll+00188875 UIW_ShowMenuItem+00005547
[ 69] 0x00000000fab634c2 C:\Program Files\MATLAB\R2015b\bin\win64\uiw.dll+00537794 UIW_SuspendAttachThreadInput+00000690
[ 70] 0x0000000004460ad3 C:\Program Files\MATLAB\R2015b\bin\win64\libmwservices.dll+01510099 services::system_events::PpeDispatchHook::dispatchOne+00032291
[ 71] 0x000000000446c785 C:\Program Files\MATLAB\R2015b\bin\win64\libmwservices.dll+01558405 sysq::addProcessPendingEventsUnitTestHook+00006101
[ 72] 0x000000000446c830 C:\Program Files\MATLAB\R2015b\bin\win64\libmwservices.dll+01558576 sysq::addProcessPendingEventsUnitTestHook+00006272
[ 73] 0x000000000446e475 C:\Program Files\MATLAB\R2015b\bin\win64\libmwservices.dll+01565813 sysq::getCondition+00004197
[ 74] 0x000000000446fe22 C:\Program Files\MATLAB\R2015b\bin\win64\libmwservices.dll+01572386 svWS_ProcessPendingEvents+00000162
[ 75] 0x0000000008a2d3cd C:\Program Files\MATLAB\R2015b\bin\win64\mcr.dll+00185293 mcr::runtime::setInterpreterThreadToCurrent+00023677
[ 76] 0x0000000008a2e03a C:\Program Files\MATLAB\R2015b\bin\win64\mcr.dll+00188474 mcr::runtime::setInterpreterThreadToCurrent+00026858
[ 77] 0x0000000008a25c95 C:\Program Files\MATLAB\R2015b\bin\win64\mcr.dll+00154773 mcr_process_events+00007557
[ 78] 0x0000000008a275a2 C:\Program Files\MATLAB\R2015b\bin\win64\mcr.dll+00161186 mcr_process_events+00013970
[ 79] 0x00000000074237ae C:\Program Files\MATLAB\R2015b\bin\win64\MVMLocal.dll+00210862 mvm_server::inproc::LocalFactory::terminate+00081678
[ 80] 0x00000000fa924d99 C:\Program Files\MATLAB\R2015b\bin\win64\mvm.dll+01002905 mvm::detail::initLocalMvmHack+00000537
[ 81] 0x00000000fa925368 C:\Program Files\MATLAB\R2015b\bin\win64\mvm.dll+01004392 mvm::detail::SessionImpl::privateSession+00000376
[ 82] 0x00000000fa9255b2 C:\Program Files\MATLAB\R2015b\bin\win64\mvm.dll+01004978 mvm::detail::SessionImpl::privateSession+00000962
[ 83] 0x0000000140006247 C:\Program Files\MATLAB\R2015b\bin\win64\matlab.exe+00025159
[ 84] 0x0000000140007cf4 C:\Program Files\MATLAB\R2015b\bin\win64\matlab.exe+00031988
[ 85] 0x00000000772c59bd C:\WINDOWS\system32\kernel32.dll+00088509 BaseThreadInitThunk+00000013
[ 86] 0x00000000774fa2e1 C:\WINDOWS\SYSTEM32\ntdll.dll+00172769 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.

  2 Comments

Anish Mitra
Anish Mitra on 23 Feb 2016
From the crash log it looks like it could be due to data being imported/exported from the Simulink model. Are you using the Simulation Data Inspector to log simulation data? If so, could you try turning it off and checking if the model still crashes.
If the error persists and is reproducible, you could contact MathWorks Technical Support in your region with a sample model that produces the crash.
Enrico Mazzocchi
Enrico Mazzocchi on 13 Nov 2017
Hi. I met a similar error. Did you solve the problem??

Sign in to comment.

Answers (2)

Siamak Lotfi
Siamak Lotfi on 11 Jan 2018
still no advice for fix this problem for matlab2016a ?

  0 Comments

Sign in to comment.


Arjan Strijker
Arjan Strijker on 21 May 2019
This issue also occurs in R2019a Update 1 and 2.

  0 Comments

Sign in to comment.

Sign in to answer this question.