Register Calendar Latest Topics
 
 
 


Reply
  Author   Comment  
celia

Junior Member
Registered:
Posts: 9
Reply with quote  #1 
I'm trying to run an experiment in ML2, which I've been able to successfully run on 'simulate' mode in the past. However, on the same computer, after loading the same conditions file as before, I suddenly started getting the following error: 

errormsg.jpg

I'm able to open the MonkeyLogic GUI, but this error pops up immediately after loading a conditions file. I tried shutting down Matlab and restarting monkeylogic, but the same error came up again.  If I press 'Attempt to Continue', a fatal error message appears in the Matlab command window. 

Any idea what's going on? I'm using Matlab R2017b and MonkeyLogic 2. 

0
Jaewon

Administrator
Registered:
Posts: 615
Reply with quote  #2 
Hi celia,

Thanks for reporting this issue. When you get the error next time, please click the "Details>>" button. Then copy and paste the contents of the resulting window here.

And would you send me your task so that I can test it on my computer? You can do so via Private Messages or by email (jaewon dot hwang at hotmail dot com).
0
celia

Junior Member
Registered:
Posts: 9
Reply with quote  #3 
Thank you for your quick response! I'll send you my task, and the entire error message is copied below:

MATLAB crash file:C:\Users\celia\AppData\Local\Temp\matlab_crash_dump.12508-1:

------------------------------------------------------------------------
Access violation detected at Mon Feb 12 21:19:04 2018
------------------------------------------------------------------------

Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Current Graphics Driver: Intel Intel(R) Iris(TM) Plus Graphics 640 Version 4.5.0 - Build 22.20.16.4749
Default Encoding : windows-1252
Deployed : false
Graphics card 1 : Intel Corporation ( 0x8086 ) Intel(R) Iris(TM) Plus Graphics 640 Version 22.20.16.4749 (2017-7-25)
Host Name : DESKTOP-NR7L0QU
MATLAB Architecture : win64
MATLAB Entitlement ID: 3655685
MATLAB Root : C:\Program Files\MATLAB\R2017b
MATLAB Version : 9.3.0.713579 (R2017b)
OpenGL : hardware
Operating System : Microsoft Windows 10 Pro
Processor ID : x86 Family 6 Model 142 Stepping 9, GenuineIntel
Virtual Machine : Java 1.8.0_121-b13 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
Window System : Version 10.0 (Build 16299)

Fault Count: 1


Abnormal termination:
Access violation

Register State (from fault):
RAX = 0000000000000010 RBX = 0000000000000034
RCX = 0000000000000034 RDX = 00000000043f74d8
RSP = 00000000043f71f0 RBP = 00000000466bd4e0
RSI = 00000000043f7400 RDI = 00000000466bd578

R8 = 0000000000000000 R9 = 0000000000000000
R10 = 0000000000084080 R11 = 00000000043f7370
R12 = 0000000000000000 R13 = 000000013e9e6010
R14 = 00000000466bd400 R15 = 0000000000000010

RIP = 000000002d66c0ff EFL = 00010246

CS = 0033 FS = 0053 GS = 002b

Stack Trace (from fault):
[ 0] 0x000000002d66c0ff bin\win64\pgo\mcos_impl.dll+01949951 QueryMLFcnTable_mcos_impl+01212603
[ 1] 0x000000002d66c086 bin\win64\pgo\mcos_impl.dll+01949830 QueryMLFcnTable_mcos_impl+01212482
[ 2] 0x000000002d668fe8 bin\win64\pgo\mcos_impl.dll+01937384 QueryMLFcnTable_mcos_impl+01200036
[ 3] 0x000000002d6719db bin\win64\pgo\mcos_impl.dll+01972699 QueryMLFcnTable_mcos_impl+01235351
[ 4] 0x0000000012a18411 bin\win64\pgo\libmx.dll+00558097 matrix::serialize::getMatrixHeader+00000833
[ 5] 0x00000000129cb0ef bin\win64\pgo\libmx.dll+00241903 matrix::ArraySizeLimit::getInstance+00056123
[ 6] 0x00000000129ac20c bin\win64\pgo\libmx.dll+00115212 matrix::serialize::getMatrixHeaderAtCurrentOffset+00000032
[ 7] 0x00000000129ac1ac bin\win64\pgo\libmx.dll+00115116 matrix:😃etail::noninlined::mx_array_api::miGetMatrixHeaderAtCurrentOffset+00000044
[ 8] 0x00000000f85df395 bin\win64\libmat.dll+00127893 MatFileMonitor::notifyOpenForWrite+00029957
[ 9] 0x00000000f85d0e56 bin\win64\libmat.dll+00069206 writeMATHeader+00002294
[ 10] 0x00000000f85d703e bin\win64\libmat.dll+00094270 matGetNextVariableInfo+00000046
[ 11] 0x00000000f8573f65 bin\win64\pgo\wkspintrospect.dll+00016229
[ 12] 0x00000000f8573eb7 bin\win64\pgo\wkspintrospect.dll+00016055
[ 13] 0x00000000f85723ff bin\win64\pgo\wkspintrospect.dll+00009215
[ 14] 0x00000000f85744b4 bin\win64\pgo\wkspintrospect.dll+00017588
[ 15] 0x000000001b5cd42e bin\win64\pgo\m_dispatcher.dll+00119854 mdPathNotification::function_rebind_notification+00000158
[ 16] 0x000000001b5ba780 bin\win64\pgo\m_dispatcher.dll+00042880 Mfunction_handle:😃ispatch+00000688
[ 17] 0x000000001c3a9899 bin\win64\pgo\m_lxe.dll+00235673
[ 18] 0x000000001c3ab3a6 bin\win64\pgo\m_lxe.dll+00242598
[ 19] 0x000000001c3abfb3 bin\win64\pgo\m_lxe.dll+00245683
[ 20] 0x000000001c3adff5 bin\win64\pgo\m_lxe.dll+00253941
[ 21] 0x000000001c3ad44f bin\win64\pgo\m_lxe.dll+00250959
[ 22] 0x000000001c3ad822 bin\win64\pgo\m_lxe.dll+00251938
[ 23] 0x000000001c47331b bin\win64\pgo\m_lxe.dll+01061659 boost::serialization::singleton<boost::archive:😃etail:😋ointer_oserializer<boost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree> >::get_instance+00604503
[ 24] 0x000000001c47ad46 bin\win64\pgo\m_lxe.dll+01092934 boost::serialization::singleton<boost::archive:😃etail:😋ointer_oserializer<boost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree> >::get_instance+00635778
[ 25] 0x000000001c47a570 bin\win64\pgo\m_lxe.dll+01090928 boost::serialization::singleton<boost::archive:😃etail:😋ointer_oserializer<boost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree> >::get_instance+00633772
[ 26] 0x000000001c3a1ddb bin\win64\pgo\m_lxe.dll+00204251
[ 27] 0x000000001c474cbe bin\win64\pgo\m_lxe.dll+01068222 boost::serialization::singleton<boost::archive:😃etail:😋ointer_oserializer<boost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree> >::get_instance+00611066
[ 28] 0x000000001c3a1c14 bin\win64\pgo\m_lxe.dll+00203796
[ 29] 0x0000000012a11f48 bin\win64\pgo\libmx.dll+00532296 matrix:😃etail::noninlined::mx_array_api::mxFevalFunctionHandle+00000036
[ 30] 0x000000001bf6ea9a bin\win64\pgo\m_interpreter.dll+00256666 inRegisterMFunctionFromOpaqueArray+00052422
[ 31] 0x00000000fb4015a2 bin\win64\libmwgui.dll+00202146 MCallback::_execute+00000386
[ 32] 0x00000000fb404c2a bin\win64\libmwgui.dll+00216106 MCallback::executeImpl+00000266
[ 33] 0x00000000fb3ebc4b bin\win64\libmwgui.dll+00113739 gui_objects::LightIntegrator::getSpecularContribution+00049947
[ 34] 0x00000000fb404a85 bin\win64\libmwgui.dll+00215685 MCallback::execute+00000165
[ 35] 0x00000000f87b2df8 bin\win64\hgdatatypes.dll+00929272 Java_com_mathworks_test_hg_types_UTF16StringNativeTester_set+00012696
[ 36] 0x00000000f87b1bdc bin\win64\hgdatatypes.dll+00924636 Java_com_mathworks_test_hg_types_UTF16StringNativeTester_set+00008060
[ 37] 0x00000000f87b2801 bin\win64\hgdatatypes.dll+00927745 Java_com_mathworks_test_hg_types_UTF16StringNativeTester_set+00011169
[ 38] 0x00000000f86f20b7 bin\win64\hgdatatypes.dll+00139447 graphics:😃atatype::CallbackDataType:😃estroy+00001255
[ 39] 0x000000002d51af60 bin\win64\pgo\mcos_impl.dll+00569184
[ 40] 0x000000002d51abce bin\win64\pgo\mcos_impl.dll+00568270
[ 41] 0x000000002d50557a bin\win64\pgo\mcos_impl.dll+00480634
[ 42] 0x00000000f903f2b1 bin\win64\hg.dll+04059825 hgTerminate+01694113
[ 43] 0x00000000f8db717e bin\win64\hg.dll+01405310 UIClientComponentInterface::requestFocus+00561278
[ 44] 0x00000000f8db9f3e bin\win64\hg.dll+01417022 UIClientComponentInterface::requestFocus+00572990
[ 45] 0x00000000f8dba19d bin\win64\hg.dll+01417629 UIClientComponentInterface::requestFocus+00573597
[ 46] 0x00000000f8e549a3 bin\win64\hg.dll+02050467 UIClientComponentInterface::requestFocus+01206435
[ 47] 0x000000002464baea bin\win64\graphics_util.dll+00047850
[ 48] 0x000000002465ffe6 bin\win64\graphics_util.dll+00131046 graphics_util::callbackHandler+00000358
[ 49] 0x00000000f8e54e73 bin\win64\hg.dll+02051699 UIClientComponentInterface::requestFocus+01207667
[ 50] 0x00000000f8da0abf bin\win64\hg.dll+01313471 UIClientComponentInterface::requestFocus+00469439
[ 51] 0x00000000f842e4ba bin\win64\gbtcontroller.dll+00124090 JDMFactory:😃estroy+00071834
[ 52] 0x00000000f8423f29 bin\win64\gbtcontroller.dll+00081705 JDMFactory:😃estroy+00029449
[ 53] 0x000000001ee047bc bin\win64\udd.dll+00346044 UDListener::removeListenerContainer+00001676
[ 54] 0x000000001edfcb2c bin\win64\udd.dll+00314156 UDEventInfo::send+00000092
[ 55] 0x000000002d2236b7 bin\win64\udd_jmi.dll+00145079
[ 56] 0x000000002d21ac42 bin\win64\udd_jmi.dll+00109634
[ 57] 0x000000002464baea bin\win64\graphics_util.dll+00047850
[ 58] 0x000000002465ffe6 bin\win64\graphics_util.dll+00131046 graphics_util::callbackHandler+00000358
[ 59] 0x000000002d21a2d4 bin\win64\udd_jmi.dll+00107220
[ 60] 0x00000000fd02cc77 bin\win64\iqm.dll+00642167 iqm::UserEvalPlugin:😋re+00028951
[ 61] 0x00000000fd039cfc bin\win64\iqm.dll+00695548 iqm::UserEvalPlugin:😋re+00082332
[ 62] 0x00000000fd02737f bin\win64\iqm.dll+00619391 iqm::UserEvalPlugin:😋re+00006175
[ 63] 0x00000000fd02cc16 bin\win64\iqm.dll+00642070 iqm::UserEvalPlugin:😋re+00028854
[ 64] 0x00000000fd027863 bin\win64\iqm.dll+00620643 iqm::UserEvalPlugin:😋re+00007427
[ 65] 0x00000000fd03c8b6 bin\win64\iqm.dll+00706742 iqm::UserEvalPlugin:😋re+00093526
[ 66] 0x00000000fd0080f7 bin\win64\iqm.dll+00491767 iqm:😋ackagedTaskPlugin:😋ackagedTaskPlugin+00000759
[ 67] 0x00000000fd0088bf bin\win64\iqm.dll+00493759 iqm:😋ackagedTaskPlugin::execute+00000879
[ 68] 0x00000000fd00817d bin\win64\iqm.dll+00491901 iqm:😋ackagedTaskPlugin:😋ackagedTaskPlugin+00000893
[ 69] 0x00000000fd008708 bin\win64\iqm.dll+00493320 iqm:😋ackagedTaskPlugin::execute+00000440
[ 70] 0x00000000fcfdbd3a bin\win64\iqm.dll+00310586 iqm::Iqm::setupIqmFcnPtrs+00079802
[ 71] 0x00000000fcfdbc06 bin\win64\iqm.dll+00310278 iqm::Iqm::setupIqmFcnPtrs+00079494
[ 72] 0x00000000fcfbeb65 bin\win64\iqm.dll+00191333 iqm::Iqm:😃eliver+00001397
[ 73] 0x00000000fb5fd3c3 bin\win64\libmwbridge.dll+00054211 ioReadLine+00000547
[ 74] 0x00000000fb5fd262 bin\win64\libmwbridge.dll+00053858 ioReadLine+00000194
[ 75] 0x00000000fb60d7de bin\win64\libmwbridge.dll+00120798 mnDebugPrompt+00001966
[ 76] 0x00000000fb60d170 bin\win64\libmwbridge.dll+00119152 mnDebugPrompt+00000320
[ 77] 0x00000000fb60db63 bin\win64\libmwbridge.dll+00121699 mnParser+00000547
[ 78] 0x000000001b3dbdb1 bin\win64\mcr.dll+00245169 mcr::runtime::setInterpreterThreadSingletonToCurrent+00029793
[ 79] 0x000000001b3dace5 bin\win64\mcr.dll+00240869 mcr::runtime::setInterpreterThreadSingletonToCurrent+00025493
[ 80] 0x000000001b3dad53 bin\win64\mcr.dll+00240979 mcr::runtime::setInterpreterThreadSingletonToCurrent+00025603
[ 81] 0x000000001b3db6e1 bin\win64\mcr.dll+00243425 mcr::runtime::setInterpreterThreadSingletonToCurrent+00028049
[ 82] 0x00000000fd02cc77 bin\win64\iqm.dll+00642167 iqm::UserEvalPlugin:😋re+00028951
[ 83] 0x00000000fd039cfc bin\win64\iqm.dll+00695548 iqm::UserEvalPlugin:😋re+00082332
[ 84] 0x00000000fd02737f bin\win64\iqm.dll+00619391 iqm::UserEvalPlugin:😋re+00006175
[ 85] 0x00000000fd02cc16 bin\win64\iqm.dll+00642070 iqm::UserEvalPlugin:😋re+00028854
[ 86] 0x00000000fd027863 bin\win64\iqm.dll+00620643 iqm::UserEvalPlugin:😋re+00007427
[ 87] 0x00000000fd03c8b6 bin\win64\iqm.dll+00706742 iqm::UserEvalPlugin:😋re+00093526
[ 88] 0x00000000fd0080f7 bin\win64\iqm.dll+00491767 iqm:😋ackagedTaskPlugin:😋ackagedTaskPlugin+00000759
[ 89] 0x00000000fd0088bf bin\win64\iqm.dll+00493759 iqm:😋ackagedTaskPlugin::execute+00000879
[ 90] 0x00000000fd00817d bin\win64\iqm.dll+00491901 iqm:😋ackagedTaskPlugin:😋ackagedTaskPlugin+00000893
[ 91] 0x00000000fd008708 bin\win64\iqm.dll+00493320 iqm:😋ackagedTaskPlugin::execute+00000440
[ 92] 0x00000000fcfdbd3a bin\win64\iqm.dll+00310586 iqm::Iqm::setupIqmFcnPtrs+00079802
[ 93] 0x00000000fcfdbc06 bin\win64\iqm.dll+00310278 iqm::Iqm::setupIqmFcnPtrs+00079494
[ 94] 0x00000000fcfbf5be bin\win64\iqm.dll+00193982 iqm::Iqm:😃eliver+00004046
[ 95] 0x00000000fcfc0545 bin\win64\iqm.dll+00197957 iqm::Iqm:😃eliver+00008021
[ 96] 0x00000001001237c1 bin\win64\libmwservices.dll+01259457 services::system_events:😋peDispatchHook:😃ispatchOne+00021505
[ 97] 0x0000000100128663 bin\win64\libmwservices.dll+01279587 sysq::addProcessPendingEventsUnitTestHook+00002211
[ 98] 0x0000000100128850 bin\win64\libmwservices.dll+01280080 sysq::addProcessPendingEventsUnitTestHook+00002704
[ 99] 0x0000000100129c26 bin\win64\libmwservices.dll+01285158 sysq::getCondition+00003462
[100] 0x000000010012ac66 bin\win64\libmwservices.dll+01289318 svWS_ProcessPendingEvents+00000230
[101] 0x000000001b3dc244 bin\win64\mcr.dll+00246340 mcr::runtime::setInterpreterThreadSingletonToCurrent+00030964
[102] 0x000000001b3dc964 bin\win64\mcr.dll+00248164 mcr::runtime::setInterpreterThreadSingletonToCurrent+00032788
[103] 0x000000001b3d2762 bin\win64\mcr.dll+00206690 mcr_process_events+00008818
[104] 0x000000001b2423c5 bin\win64\MVMLocal.dll+00271301 mvm_server::inproc::LocalFactory::terminate+00088005
[105] 0x00000000fa957669 bin\win64\mvm.dll+01209961 mvm:😃etail::initLocalMvmHack+00000569
[106] 0x00000000fa957e2b bin\win64\mvm.dll+01211947 mvm:😃etail::SessionImpl:😋rivateSession+00000555
[107] 0x00000000fa958051 bin\win64\mvm.dll+01212497 mvm:😃etail::SessionImpl:😋rivateSession+00001105
[108] 0x0000000140007833 bin\win64\MATLAB.exe+00030771
[109] 0x000000014000863f bin\win64\MATLAB.exe+00034367
[110] 0x00007ffe37131fe4 C:\WINDOWS\System32\KERNEL32.DLL+00073700 BaseThreadInitThunk+00000020
[111] 0x00007ffe386aefb1 C:\WINDOWS\SYSTEM32\ntdll.dll+00454577 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
Jaewon

Administrator
Registered:
Posts: 615
Reply with quote  #4 
Hi celia,

I tested the files you sent. Although one of your eyejoytrack command is written incorrectly, I didn't get any problem in running your task otherwise.

In your crash dump, I don't see any MonkeyLogic-related file, so I don't have a clue. In my R2017b, mcos_impl.dll and wkspintrospect.dll are installed in bin\win64, not in bin\win64\pgo. I don't know why they are different, but there are many online posts that show bin\win64\pgo, so I guess that is not a critical issue.

You can try switching to a software version of OpenGL. There are some graphics-related calls in your dump and I saw so many times the issues that the hardware OpenGL causes.

>> opengl software
0
celia

Junior Member
Registered:
Posts: 9
Reply with quote  #5 
I installed the Intel Driver and Support Assistant to check whether there was anything wrong with my graphics hardware. The scan indicated that everything I have on my personal computer is up-to-date, but I think I will try running things on a different computer to see if that helps. 
0
Jaewon

Administrator
Registered:
Posts: 615
Reply with quote  #6 
I am not saying that it is an OpenGL problem, but just saying it is something you can try. If it is an OpenGL problem, it is not relevant whether the driver is up-to-date. Simply type 'opengl software' on the MATLAB command window before running ML. If it doesn't change anything, type 'opengl hardward' to revert the setting. That is it.


If you want to help me a little further, you can localize the error and let me know.

You said that the crash occurs when you load the conditions file. Then go to the MonkeyLogic directory, open monkeylogic.m and search the file with 'LoadConditionsFile'. It will lead you to the line like the following. In my version, it is somewhere around Line 896.

            case 'LoadConditionsFile'

You can set a break there and try to run the code step by step. If you can fine which line causes the crash, it will help for me find the cause.
0
celia

Junior Member
Registered:
Posts: 9
Reply with quote  #7 

Update: problem solved! I updated my graphics driver and the error message stopped appearing (I was simulating on a Windows laptop with an i7 processor). 

For future reference: prior to updating the driver, the error message had been appearing across tasks - it popped up as soon as I typed 'monkeylogic' in the command window to open the main menu. So, I think it was an issue with my laptop, not with ML2. 

0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.