How to solve access violation? QueryMLFcnTable_sl_autosar
5 views (last 30 days)
Show older comments
Hi,
When I save model, access violation has occured.
------------------------------------------------------------------------ Access violation detected at Fri Nov 2 10:55:23 2018 ------------------------------------------------------------------------ Configuration: Crash Decoding : Disabled - No sandbox or build area path Crash Mode : continue (default) Current Graphics Driver: NVIDIA Corporation GeForce 940MX/PCIe/SSE2 Version 4.5.0 NVIDIA 359.30 Default Encoding : windows-1252 Deployed : false Graphics card 1 : Intel Corporation ( 0x8086 ) Intel® HD Graphics 520 Version 20.19.15.4352 (2015-12-15) Graphics card 2 : NVIDIA ( 0x10de ) NVIDIA GeForce 940MX Version 10.18.13.5930 (2016-1-3) Host Name : LGRnD-PC MATLAB Architecture : win64 MATLAB Entitlement ID: 2136498 MATLAB Root : C:\Program Files\MATLAB\R2017b MATLAB Version : 9.3.0.713579 (R2017b) OpenGL : hardware Operating System : Microsoft Windows 7 Professional K Processor ID : x86 Family 6 Model 78 Stepping 3, GenuineIntel Virtual Machine : Java 1.8.0_121-b13 with Oracle Corporation Java HotSpot™ 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 = 000000002c29d360 RBX = 0000000198392840 RCX = 00000001db643160 RDX = 00000000c9640e2c RSP = 00000000040217a8 RBP = 0000000004021a89 RSI = 0000000000000000 RDI = 0000000198392848
R8 = 0000000000000000 R9 = 0000000000000008
R10 = 0000000000000000 R11 = 00000000040217a0
R12 = 0000000000000000 R13 = 000000002c29d360
R14 = 0000000004021800 R15 = 00000001db6416b8
RIP = 0000000000000020 EFL = 00010293
CS = 0033 FS = 0053 GS = 002b
Stack Trace (from fault):
[ 0] 0x0000000000000020 <unknown-module>+00000000
[ 1] 0x00000001ba6df52f bin\win64\sl_autosar.dll+00587055 QueryMLFcnTable_sl_autosar+00159231
[ 2] 0x00000001ba70340c bin\win64\sl_autosar.dll+00734220 QueryMLFcnTable_sl_autosar+00306396
[ 3] 0x00000001ba6f7e4b bin\win64\sl_autosar.dll+00687691 QueryMLFcnTable_sl_autosar+00259867
[ 4] 0x00000001ba6f831d bin\win64\sl_autosar.dll+00688925 QueryMLFcnTable_sl_autosar+00261101
[ 5] 0x00000001ba6fa639 bin\win64\sl_autosar.dll+00697913 QueryMLFcnTable_sl_autosar+00270089
[ 6] 0x00000000c9532d7d bin\win64\libmwsl_services.dll+01191293 sl::mi::PropInfo::getValue+00000029
[ 7] 0x00000001622f6763 bin\win64\sl_loadsave.dll+01664867 slsWriteObject+00000483
[ 8] 0x000000000f61b1b6 bin\win64\pgo\mcos_impl.dll+00373174
[ 9] 0x000000000f61c53b bin\win64\pgo\mcos_impl.dll+00378171
[ 10] 0x00000001622f6449 bin\win64\sl_loadsave.dll+01664073 slsWriteCOSObject+00002249
[ 11] 0x00000001622f591f bin\win64\sl_loadsave.dll+01661215 slsWriteCOSArray+00000239
[ 12] 0x00000000f2096485 bin\win64\sl_graphical_classes.dll+04154501 slWritePrmDesc+00000293
[ 13] 0x00000000fd5ce4e8 bin\win64\sl_prm_descriptor.dll+00058600 SLCOSPrmDesc::bdWrite_Impl+00000168
[ 14] 0x00000000f209642a bin\win64\sl_graphical_classes.dll+04154410 slWritePrmDesc+00000202
[ 15] 0x00000000f2092eef bin\win64\sl_graphical_classes.dll+04140783 slBasicParamGroup::saveOneParameter+00000063
[ 16] 0x00000000f2092ab5 bin\win64\sl_graphical_classes.dll+04139701 slBasicParamGroup::doSave+00000149
[ 17] 0x00000000f2092e71 bin\win64\sl_graphical_classes.dll+04140657 slBasicParamGroup::save+00000113
[ 18] 0x000000017ce8f942 bin\win64\libmwsimulink.dll+15071554 SlBdDomainEventHandler::registerListener+00086002
[ 19] 0x00000000f1db10fa bin\win64\sl_graphical_classes.dll+01118458 slParamGroup::saveAll+00000042
[ 20] 0x000000017c683731 bin\win64\libmwsimulink.dll+06633265 sl::simharness::SlSigDescriptor::setUsed+00003857
[ 21] 0x000000017c6827a0 bin\win64\libmwsimulink.dll+06629280 SLGlue::getShowSigGenName+00000896
[ 22] 0x000000017c681d46 bin\win64\libmwsimulink.dll+06626630 SlGraphDomainTypeReg::operator=+00313270
[ 23] 0x000000017c688745 bin\win64\libmwsimulink.dll+06653765 sl::simharness::SlSigDescriptor::setUsed+00024357
[ 24] 0x00000000f1e38783 bin\win64\sl_graphical_classes.dll+01673091 SLXSinglePartHandler::doSave+00000243
[ 25] 0x00000000f1e38591 bin\win64\sl_graphical_classes.dll+01672593 slBlockDiagramMatData::writeMDL+00014913
[ 26] 0x00000000f1e398de bin\win64\sl_graphical_classes.dll+01677534 SLXPartHandler::getSaveOptions+00001582
[ 27] 0x000000000f64705d bin\win64\pgo\mcos_impl.dll+00553053
[ 28] 0x000000000f646848 bin\win64\pgo\mcos_impl.dll+00550984
[ 29] 0x000000000f61524d bin\win64\pgo\mcos_impl.dll+00348749
[ 30] 0x000000000f615b11 bin\win64\pgo\mcos_impl.dll+00350993
[ 31] 0x000000000f669930 bin\win64\pgo\mcos_impl.dll+00694576
[ 32] 0x000000000f7ce41d bin\win64\pgo\mcos_impl.dll+02155549 QueryMLFcnTable_mcos_impl+01418201
[ 33] 0x000000000f7d7385 bin\win64\pgo\mcos_impl.dll+02192261 QueryMLFcnTable_mcos_impl+01454913
[ 34] 0x0000000008d89095 bin\win64\mcos.dll+00102549 omDirectCallMethod+00000069
[ 35] 0x000000000c6f45ee bin\win64\pgo\libmwlxeindexing.dll+00345582 MathWorks::lxe::MatrixModuleImplementation::SetHeterogeneousArray+00010378
[ 36] 0x000000000c7753eb bin\win64\pgo\libmwlxeindexing.dll+00873451 MathWorks::lxe::assign_paren_shared_xvalue_ptr_uninitialized_to_struct+00006091
[ 37] 0x000000000c6ad374 bin\win64\pgo\libmwlxeindexing.dll+00054132 MathWorks::lxe::at_paren_pointer+00001268
[ 38] 0x000000000c6ad374 bin\win64\pgo\libmwlxeindexing.dll+00054132 MathWorks::lxe::at_paren_pointer+00001268
[ 39] 0x000000000c6abf14 bin\win64\pgo\libmwlxeindexing.dll+00048916 MathWorks::lxe::IndexingEnvironmentImplementation::IndexingEnvironmentImplementation+00000628
[ 40] 0x000000000c6e6f42 bin\win64\pgo\libmwlxeindexing.dll+00290626 MathWorks::lxe::IndexingEnvironmentImplementation::HandleUnassignedXvalue+00031466
[ 41] 0x000000000c6e8ab3 bin\win64\pgo\libmwlxeindexing.dll+00297651 MathWorks::lxe::at_rparen_nargout+00000139
[ 42] 0x000000000b94a052 bin\win64\pgo\m_lxe.dll+27500626 boost::archive::detail::pointer_oserializer<boost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+00383342
[ 43] 0x000000000a013d07 bin\win64\pgo\m_lxe.dll+01064199 boost::serialization::singleton<boost::archive::detail::pointer_oserializer<boost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree> >::get_instance+00607043
[ 44] 0x000000000a012a29 bin\win64\pgo\m_lxe.dll+01059369 boost::serialization::singleton<boost::archive::detail::pointer_oserializer<boost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree> >::get_instance+00602213
[ 45] 0x000000000a01ad46 bin\win64\pgo\m_lxe.dll+01092934 boost::serialization::singleton<boost::archive::detail::pointer_oserializer<boost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree> >::get_instance+00635778
[ 46] 0x000000000a01a570 bin\win64\pgo\m_lxe.dll+01090928 boost::serialization::singleton<boost::archive::detail::pointer_oserializer<boost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree> >::get_instance+00633772
[ 47] 0x0000000009f3fec8 bin\win64\pgo\m_lxe.dll+00196296
[ 48] 0x0000000009f3f8ff bin\win64\pgo\m_lxe.dll+00194815
[ 49] 0x0000000009f3f925 bin\win64\pgo\m_lxe.dll+00194853
[ 50] 0x00000000089bca93 bin\win64\pgo\m_dispatcher.dll+00117395 Mfh_file::dispatch_fh_impl+00000835
[ 51] 0x00000000089bc73e bin\win64\pgo\m_dispatcher.dll+00116542 Mfh_file::dispatch_fh+00000062
[ 52] 0x00000000089aa8d8 bin\win64\pgo\m_dispatcher.dll+00043224 Mfunction_handle::dispatch+00001032
[ 53] 0x000000000f669c4f bin\win64\pgo\mcos_impl.dll+00695375
[ 54] 0x000000000f614eb3 bin\win64\pgo\mcos_impl.dll+00347827
[ 55] 0x00000000089a8f74 bin\win64\pgo\m_dispatcher.dll+00036724 Mfh_MATLAB_fn::dispatch_fh+00000660
[ 56] 0x000000000f613ab0 bin\win64\pgo\mcos_impl.dll+00342704
[ 57] 0x000000000a01526f bin\win64\pgo\m_lxe.dll+01069679 boost::serialization::singleton<boost::archive::detail::pointer_oserializer<boost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree> >::get_instance+00612523
[ 58] 0x0000000009faa767 bin\win64\pgo\m_lxe.dll+00632679 boost::serialization::singleton<boost::archive::detail::pointer_oserializer<boost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree> >::get_instance+00175523
[ 59] 0x0000000009fa73a1 bin\win64\pgo\m_lxe.dll+00619425 boost::serialization::singleton<boost::archive::detail::pointer_oserializer<boost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree> >::get_instance+00162269
[ 60] 0x0000000008ee9d3b bin\win64\pgo\m_interpreter.dll+00040251 inFullFevalFcn+00000523
[ 61] 0x00000000089bd42e bin\win64\pgo\m_dispatcher.dll+00119854 mdPathNotification::function_rebind_notification+00000158
[ 62] 0x00000000089aa780 bin\win64\pgo\m_dispatcher.dll+00042880 Mfunction_handle::dispatch+00000688
[ 63] 0x0000000009f4794e bin\win64\pgo\m_lxe.dll+00227662
[ 64] 0x0000000009f43747 bin\win64\pgo\m_lxe.dll+00210759
[ 65] 0x000000000b5af94d bin\win64\pgo\m_lxe.dll+23722317 boost::serialization::singleton<boost::archive::detail::archive_serializer_map<boost::archive::binaryTerm_oarchive> >::get_instance+21386593
[ 66] 0x000000000a1158a5 bin\win64\pgo\m_lxe.dll+02119845 MathWorks::lxe::StartupLxeEngine+00021357
[ 67] 0x000000000a013d07 bin\win64\pgo\m_lxe.dll+01064199 boost::serialization::singleton<boost::archive::detail::pointer_oserializer<boost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree> >::get_instance+00607043
[ 68] 0x000000000a012a29 bin\win64\pgo\m_lxe.dll+01059369 boost::serialization::singleton<boost::archive::detail::pointer_oserializer<boost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree> >::get_instance+00602213
[ 69] 0x000000000a01ad46 bin\win64\pgo\m_lxe.dll+01092934 boost::serialization::singleton<boost::archive::detail::pointer_oserializer<boost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree> >::get_instance+00635778
[ 70] 0x000000000a01a570 bin\win64\pgo\m_lxe.dll+01090928 boost::serialization::singleton<boost::archive::detail::pointer_oserializer<boost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree> >::get_instance+00633772
[ 71] 0x0000000009f3fd9c bin\win64\pgo\m_lxe.dll+00195996
[ 72] 0x0000000009f3f8e5 bin\win64\pgo\m_lxe.dll+00194789
[ 73] 0x0000000009f3f944 bin\win64\pgo\m_lxe.dll+00194884
[ 74] 0x00000000089bca93 bin\win64\pgo\m_dispatcher.dll+00117395 Mfh_file::dispatch_fh_impl+00000835
[ 75] 0x00000000089bc6fa bin\win64\pgo\m_dispatcher.dll+00116474 Mfh_file::dispatch_fh_with_reuse+00000062
[ 76] 0x000000000a01526f bin\win64\pgo\m_lxe.dll+01069679 boost::serialization::singleton<boost::archive::detail::pointer_oserializer<boost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree> >::get_instance+00612523
[ 77] 0x0000000009faa767 bin\win64\pgo\m_lxe.dll+00632679 boost::serialization::singleton<boost::archive::detail::pointer_oserializer<boost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree> >::get_instance+00175523
[ 78] 0x0000000009fa73a1 bin\win64\pgo\m_lxe.dll+00619425 boost::serialization::singleton<boost::archive::detail::pointer_oserializer<boost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree> >::get_instance+00162269
[ 79] 0x0000000008ee9f17 bin\win64\pgo\m_interpreter.dll+00040727 inCallFcn+00000119
[ 80] 0x00000000c95292c5 bin\win64\libmwsl_services.dll+01151685 slsvFEVAL+00001397
[ 81] 0x00000000f1e39b71 bin\win64\sl_graphical_classes.dll+01678193 SLXPartHandler::getSaveOptions+00002241
[ 82] 0x00000000f1e29b0c bin\win64\sl_graphical_classes.dll+01612556 slBlockDiagramLoadSave::callSaveFcnCallbacks+00000204
[ 83] 0x000000017c688429 bin\win64\libmwsimulink.dll+06652969 sl::simharness::SlSigDescriptor::setUsed+00023561
[ 84] 0x000000017c67f2cc bin\win64\libmwsimulink.dll+06615756 SlGraphDomainTypeReg::operator=+00302396
[ 85] 0x000000017c67f681 bin\win64\libmwsimulink.dll+06616705 SlGraphDomainTypeReg::operator=+00303345
[ 86] 0x000000017c2a74bc bin\win64\libmwsimulink.dll+02585788 SLGlue::SLGlueServicesRegistry::operator=+00021868
[ 87] 0x000000017cd3c4cc bin\win64\libmwsimulink.dll+13681868 SLGlue::saveModelForGraph+00000252
[ 88] 0x00000001bd2ca6fc bin\win64\sl_editor.dll+02533116 Simulink::saveBlockDiagram+00000060
[ 89] 0x00000001d197dd7f bin\win64\sl_mi.dll+00253311 SLM3I::mi::initCosSFBlockOpenNotification+00000671
[ 90] 0x000000000f64705d bin\win64\pgo\mcos_impl.dll+00553053
[ 91] 0x000000000f646848 bin\win64\pgo\mcos_impl.dll+00550984
[ 92] 0x000000000f61524d bin\win64\pgo\mcos_impl.dll+00348749
[ 93] 0x000000000f614b80 bin\win64\pgo\mcos_impl.dll+00347008
[ 94] 0x000000000f615de5 bin\win64\pgo\mcos_impl.dll+00351717
[ 95] 0x000000000f616f4e bin\win64\pgo\mcos_impl.dll+00356174
[ 96] 0x00000000089a8f74 bin\win64\pgo\m_dispatcher.dll+00036724 Mfh_MATLAB_fn::dispatch_fh+00000660
[ 97] 0x000000000f613ab0 bin\win64\pgo\mcos_impl.dll+00342704
[ 98] 0x00000000089aa8d8 bin\win64\pgo\m_dispatcher.dll+00043224 Mfunction_handle::dispatch+00001032
[ 99] 0x0000000009f4794e bin\win64\pgo\m_lxe.dll+00227662
[100] 0x0000000009f43747 bin\win64\pgo\m_lxe.dll+00210759
[101] 0x0000000009f4348a bin\win64\pgo\m_lxe.dll+00210058
[102] 0x0000000009f4339b bin\win64\pgo\m_lxe.dll+00209819
[103] 0x0000000009f432fa bin\win64\pgo\m_lxe.dll+00209658
[104] 0x0000000009f4b3a6 bin\win64\pgo\m_lxe.dll+00242598
[105] 0x0000000009f4bfb3 bin\win64\pgo\m_lxe.dll+00245683
[106] 0x0000000009f4dff5 bin\win64\pgo\m_lxe.dll+00253941
[107] 0x0000000009f4d44f bin\win64\pgo\m_lxe.dll+00250959
[108] 0x0000000009f4d822 bin\win64\pgo\m_lxe.dll+00251938
[109] 0x000000000a01331b bin\win64\pgo\m_lxe.dll+01061659 boost::serialization::singleton<boost::archive::detail::pointer_oserializer<boost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree> >::get_instance+00604503
[110] 0x000000000a01ad46 bin\win64\pgo\m_lxe.dll+01092934 boost::serialization::singleton<boost::archive::detail::pointer_oserializer<boost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree> >::get_instance+00635778
[111] 0x000000000a01a570 bin\win64\pgo\m_lxe.dll+01090928 boost::serialization::singleton<boost::archive::detail::pointer_oserializer<boost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree> >::get_instance+00633772
[112] 0x0000000009f3fec8 bin\win64\pgo\m_lxe.dll+00196296
[113] 0x0000000009f3f8ff bin\win64\pgo\m_lxe.dll+00194815
[114] 0x0000000009f3f925 bin\win64\pgo\m_lxe.dll+00194853
[115] 0x00000000089bca93 bin\win64\pgo\m_dispatcher.dll+00117395 Mfh_file::dispatch_fh_impl+00000835
[116] 0x00000000089bc73e bin\win64\pgo\m_dispatcher.dll+00116542 Mfh_file::dispatch_fh+00000062
[117] 0x00000000089aa8d8 bin\win64\pgo\m_dispatcher.dll+00043224 Mfunction_handle::dispatch+00001032
[118] 0x000000000f65171a bin\win64\pgo\mcos_impl.dll+00595738
[119] 0x000000000f647af7 bin\win64\pgo\mcos_impl.dll+00555767
[120] 0x000000000f646a6f bin\win64\pgo\mcos_impl.dll+00551535
[121] 0x000000000f61524d bin\win64\pgo\mcos_impl.dll+00348749
[122] 0x000000000f614b80 bin\win64\pgo\mcos_impl.dll+00347008
[123] 0x000000000f615de5 bin\win64\pgo\mcos_impl.dll+00351717
[124] 0x000000000c6a2d24 bin\win64\pgo\libmwlxeindexing.dll+00011556
[125] 0x000000000c6a9712 bin\win64\pgo\libmwlxeindexing.dll+00038674 MathWorks::lxe::assign_paren_reference_alphanumeric_logical_cell_or_function+00000222
[126] 0x000000000c709294 bin\win64\pgo\libmwlxeindexing.dll+00430740 MathWorks::lxe::DereferenceRplaceToXvalueZeroOutputs+00000040
[127] 0x000000000c6e8945 bin\win64\pgo\libmwlxeindexing.dll+00297285 MathWorks::lxe::at_rparen0+00000257
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
Mohamed Jmari
on 1 Jul 2019
Edited: Mohamed Jmari
on 1 Jul 2019
Hello,
Did you find any solution? I'm currently having the same problem.
BR
Walter Roberson
on 11 Jun 2021
Mathworks asks for help in tracking this; see https://www.mathworks.com/matlabcentral/answers/511755-why-is-my-autosar-model-crashing-with-std-terminate-in-autosar-blockmapping-or-autosar-modelmap
Answers (1)
Jiajun Ma
on 16 Sep 2021
Hi,
SuHo
I had similar issue in 2018B.
And I found the reason of my crash might be "autosar.xmi" file is missing in APPDATA/LOCAL/Temp/mwslx_XXX Folder
After installing embedded coder support package for Autosar, this file can be generated.
And my crash issue is sloved.
Hope this infomation helps
0 Comments
See Also
Categories
Find more on AUTOSAR Blockset in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!