Igneous01 Posted December 22, 2017 Posted December 22, 2017 (edited) Got a crash when trying to exit out of an mp mission i was hosting. Attached DCS generated dump. Looks to be something in LUA Scripting causing the crash: 00169.403 INFO EDCORE: try to write dump information 00169.472 INFO EDCORE: # -------------- 20171222-024906 -------------- 00169.520 INFO EDCORE: D:\DCS World 1.5\bin\Scripting.dll 00169.572 INFO EDCORE: # C0000005 ACCESS_VIOLATION at 92596436 00:00000000 00169.736 INFO EDCORE: 00000000 00000000 0000:00000000 00170.060 INFO EDCORE: 92596436 010FE270 0000:00000000 D:\DCS World 1.5\bin\Scripting.dll ?regLuaTime@Scripting@@YAXPEAUlua_State@@@Z()+1F76 00170.115 INFO EDCORE: A1227294 010FE2B0 0000:00000000 D:\DCS World 1.5\bin\lua.dll luaD_growstack()+7A4 00170.222 INFO EDCORE: A12372E5 010FE4C0 0000:00000000 D:\DCS World 1.5\bin\lua.dll luaS_newlstr()+4EC5 00170.288 INFO EDCORE: A1227581 010FE4F0 0000:00000000 D:\DCS World 1.5\bin\lua.dll luaD_growstack()+A91 00170.325 INFO EDCORE: A122688F 010FE670 0000:00000000 D:\DCS World 1.5\bin\lua.dll lua_getinfo()+11CF 00170.420 INFO EDCORE: A122789E 010FE6B0 0000:00000000 D:\DCS World 1.5\bin\lua.dll lua_yield()+9E 00170.492 INFO EDCORE: A1222450 010FE700 0000:00000000 D:\DCS World 1.5\bin\lua.dll lua_pcall()+60 00170.546 INFO EDCORE: 7C634A3D 010FE730 0000:00000000 D:\DCS World 1.5\bin\AsyncNet.dll 00170.547 INFO EDCORE: A1227294 010FE770 0000:00000000 D:\DCS World 1.5\bin\lua.dll luaD_growstack()+7A4 00170.600 INFO EDCORE: A123727B 010FE980 0000:00000000 D:\DCS World 1.5\bin\lua.dll luaS_newlstr()+4E5B 00170.601 INFO EDCORE: A1227581 010FE9B0 0000:00000000 D:\DCS World 1.5\bin\lua.dll luaD_growstack()+A91 00170.602 INFO EDCORE: A122688F 010FEB30 0000:00000000 D:\DCS World 1.5\bin\lua.dll lua_getinfo()+11CF 00170.603 INFO EDCORE: A122789E 010FEB70 0000:00000000 D:\DCS World 1.5\bin\lua.dll lua_yield()+9E 00170.604 INFO EDCORE: A123CD43 010FEBC0 0000:00000000 D:\DCS World 1.5\bin\lua.dll luaL_newstate()+20E3 00170.605 INFO EDCORE: A1227294 010FEC00 0000:00000000 D:\DCS World 1.5\bin\lua.dll luaD_growstack()+7A4 00170.606 INFO EDCORE: A123727B 010FEE10 0000:00000000 D:\DCS World 1.5\bin\lua.dll luaS_newlstr()+4E5B 00170.607 INFO EDCORE: A1227581 010FEE40 0000:00000000 D:\DCS World 1.5\bin\lua.dll luaD_growstack()+A91 00170.608 INFO EDCORE: A122688F 010FEFC0 0000:00000000 D:\DCS World 1.5\bin\lua.dll lua_getinfo()+11CF 00170.608 INFO EDCORE: A122789E 010FF000 0000:00000000 D:\DCS World 1.5\bin\lua.dll lua_yield()+9E 00170.615 INFO EDCORE: A1222450 010FF050 0000:00000000 D:\DCS World 1.5\bin\lua.dll lua_pcall()+60 00170.679 INFO EDCORE: 7D93C050 010FF0A0 0000:00000000 D:\DCS World 1.5\bin\edCore.dll ?call_func@Config@Lua@@AEAA_NPEBDPEAV?$basic_string@D@ed@@HH@Z()+E0 00170.680 INFO EDCORE: E50E47E4 010FF0F0 0000:00000000 D:\DCS World 1.5\bin\DCS.exe 00170.680 INFO EDCORE: E50E517A 010FF180 0000:00000000 D:\DCS World 1.5\bin\DCS.exe 00170.681 INFO EDCORE: E50E45DE 010FF1B0 0000:00000000 D:\DCS World 1.5\bin\DCS.exe 00170.681 INFO EDCORE: E50E07A9 010FF210 0000:00000000 D:\DCS World 1.5\bin\DCS.exe 00170.682 INFO EDCORE: E4D508CB 010FF240 0000:00000000 D:\DCS World 1.5\bin\DCS.exe 00170.682 INFO EDCORE: E4D5221A 010FF8F0 0000:00000000 D:\DCS World 1.5\bin\DCS.exe 00170.691 INFO EDCORE: E525AB73 010FF930 0000:00000000 D:\DCS World 1.5\bin\DCS.exe 00170.694 INFO EDCORE: C2701FE4 010FF960 0000:00000000 C:\Windows\System32\KERNEL32.DLL BaseThreadInitThunk()+14 00170.694 INFO EDCORE: C4DBEF91 010FF9B0 0000:00000000 C:\Windows\SYSTEM32\ntdll.dll RtlUserThreadStart()+21 00174.980 INFO EDCORE: Minidump created. 00174.984 INFO DCS: try to write track file 00174.987 INFO DCS: 'C:\Users\david\Saved Games\DCS\Logs\dcs.20171222-024906.crash' deleted successfully 00175.099 INFO DCS: 'C:\Users\david\Saved Games\DCS\Logs\dcs.20171222-024906.dmp' deleted successfully 00175.099 INFO DCS: failed to open '' for reading dcs.log-20171222-024120.zip Edited December 22, 2017 by Igneous01 Developer of Kaukasus Insurgency - a customizable Dynamic PvE Campaign with cloud hosting and stats tracking. (Alpha) http://kaukasusinsurgency.com/
Igneous01 Posted December 22, 2017 Author Posted December 22, 2017 You can ignore this - this was actually my fault. I was invoking dostring_in to read the mission flag value after the mission had already ended (which makes sense now why the error was an access violation -> dostring_in was attempting to read a null pointer to the mission). I corrected this in my scripts and the CTD no longer occurs. Developer of Kaukasus Insurgency - a customizable Dynamic PvE Campaign with cloud hosting and stats tracking. (Alpha) http://kaukasusinsurgency.com/
Recommended Posts