SDirickson Posted December 4, 2022 Share Posted December 4, 2022 Since 2.8, I get a crash on mission start in the Su-25 (and only the Su-25). The mission will load and sit at mission start, waiting for the 'Fly' button to be clicked. I can change the view and look around. The moment I hit 'Fly', DCS crashes. It happens ever time, no matter the map, and only with the Su-25. All other modules (Flaming Cliffs or 3rd party) work just fine. All mods removed, Open Beta 2.8, cleaned and repaired. Latest crashlog attached. dcs.log-20221204-011009.zip Link to comment Share on other sites More sharing options...
Solution Flappie Posted December 4, 2022 Solution Share Posted December 4, 2022 Hi. It seems that one of your sim shaker script is causing this (look at the last lines below): 2022-12-04 01:10:08.465 INFO EDCORE (Main): try to write dump information 2022-12-04 01:10:08.466 INFO EDCORE (Main): # -------------- 20221204-011009 -------------- 2022-12-04 01:10:08.466 INFO EDCORE (Main): DCS/2.8.0.33006 (x86_64; Windows NT 10.0.22000) 2022-12-04 01:10:08.467 INFO EDCORE (Main): D:\DCS\DCS World Open Beta\bin\DCS.exe 2022-12-04 01:10:08.467 INFO EDCORE (Main): # C0000005 ACCESS_VIOLATION at 29B2C020 00:00000000 2022-12-04 01:10:08.470 INFO EDCORE (Main): SymInit: Symbol-SearchPath: '.;D:\DCS\DCS World Open Beta;D:\DCS\DCS World Open Beta\bin;C:\Windows;C:\Windows\system32;SRV*C:\websymbols*https://msdl.microsoft.com/download/symbols;', symOptions: 528, UserName: 'Sam' 2022-12-04 01:10:08.470 INFO EDCORE (Main): OS-Version: 10.0.22000 () 0x100-0x1 2022-12-04 01:10:08.727 INFO EDCORE (Main): 0x000000000076C020 (DCS): SW + 0x32C530 2022-12-04 01:10:08.727 INFO EDCORE (Main): 0x00000000006045C7 (DCS): SW + 0x1C4AD7 2022-12-04 01:10:08.728 INFO EDCORE (Main): 0x0000000000007195 (lua): luaD_growstack + 0x4B5 2022-12-04 01:10:08.728 INFO EDCORE (Main): 0x00000000000133C9 (lua): luaS_newlstr + 0x3EE9 2022-12-04 01:10:08.728 INFO EDCORE (Main): 0x0000000000006B5B (lua): lua_setlocal + 0xA0B 2022-12-04 01:10:08.728 INFO EDCORE (Main): 0x000000000000737F (lua): luaD_growstack + 0x69F 2022-12-04 01:10:08.728 INFO EDCORE (Main): 0x0000000000006D4E (lua): luaD_growstack + 0x6E 2022-12-04 01:10:08.728 INFO EDCORE (Main): 0x0000000000001C00 (lua): lua_pcall + 0x60 2022-12-04 01:10:08.728 INFO EDCORE (Main): 0x0000000000064DB9 (edCore): ED_lua_pcall + 0x59 2022-12-04 01:10:08.728 INFO EDCORE (Main): 0x00000000000606CB (edCore): Lua::Config::call_func + 0xEB 2022-12-04 01:10:08.728 INFO EDCORE (Main): 0x00000000009167D9 (DCS): SW + 0x4D6CE9 2022-12-04 01:10:08.729 INFO EDCORE (Main): 0x000000000082F2D9 (DCS): SW + 0x3EF7E9 2022-12-04 01:10:08.729 INFO EDCORE (Main): 0x00000000007EE914 (DCS): SW + 0x3AEE24 2022-12-04 01:10:08.729 INFO EDCORE (Main): 0x00000000007EF7E4 (DCS): SW + 0x3AFCF4 2022-12-04 01:10:08.729 INFO EDCORE (Main): 0x0000000002289650 (DCS): AmdPowerXpressRequestHighPerformance + 0xF6064C 2022-12-04 01:10:08.729 INFO EDCORE (Main): 0x0000000000BDCB52 (DCS): SW + 0x79D062 2022-12-04 01:10:08.729 INFO EDCORE (Main): 0x0000000000015550 (KERNEL32): BaseThreadInitThunk + 0x10 2022-12-04 01:10:08.729 INFO EDCORE (Main): 0x000000000000485B (ntdll): RtlUserThreadStart + 0x2B 2022-12-04 01:10:08.916 INFO EDCORE (Main): Minidump created. 2022-12-04 01:10:08.917 INFO Lua::Config (Main): stack traceback: 2022-12-04 01:10:08.917 WARNING LOG (14444): 2 duplicate message(s) skipped. 2022-12-04 01:10:08.917 INFO Lua::Config (Main): stack traceback: [C]: in function 'LoGetFMData' [string "C:\Users\Sam\Saved Games\DCS.openbeta\Scripts\Export_BEH_Motion_Cls.lua"]:120: in function 'SimLuaExportAfterNextFrame' [string "C:\Users\Sam\Saved Games\DCS.openbeta\Scripts/SimShaker.lua"]:537: in function 'LuaExportAfterNextFrame' [string "C:\Users\Sam\Saved Games\DCS.openbeta\Scripts\SimShaker-export-core\ExportCore.lua"]:62: in function <[string "C:\Users\Sam\Saved Games\DCS.openbeta\Scripts\SimShaker-export-core\ExportCore.lua"]:56> First things first: Go to "Saved Games/DCS.../Scripts". Rename "Export.lua"to "Export.lua.bak". Ensure the problem is gone. If my diagnosis is correct, you should ask for help in the Sim Shaker thread. Don't accept indie game testing requests from friends in Discord. Ever. Link to comment Share on other sites More sharing options...
SDirickson Posted December 11, 2022 Author Share Posted December 11, 2022 That did the trick, thank you very much! Link to comment Share on other sites More sharing options...
Flappie Posted December 11, 2022 Share Posted December 11, 2022 You're welcome. Thanks for your feedback. Don't accept indie game testing requests from friends in Discord. Ever. Link to comment Share on other sites More sharing options...
Abburo Posted February 11, 2023 Share Posted February 11, 2023 Hi there, I am encountering the very same issue with SU25T and SU25, only difference in my case is about a BRUNNER CLS-E joystick base. The workaround with renaming export is working for me as well. Going to ask Brunner have a look anyway Romanian Community for DCS World HW Specs: AMD 7900X, 64GB RAM, RTX 4090, HOTAS Virpil, MFG, CLS-E, custom Link to comment Share on other sites More sharing options...
Abburo Posted February 11, 2023 Share Posted February 11, 2023 Adding my logs, where it seems the error is related to a corupt damage model. Anyway, by removin the export.lua SU25's are working just fine... no other repair/clean/update required. dcs.log-20230206-170544.zip Romanian Community for DCS World HW Specs: AMD 7900X, 64GB RAM, RTX 4090, HOTAS Virpil, MFG, CLS-E, custom Link to comment Share on other sites More sharing options...
Abburo Posted February 14, 2023 Share Posted February 14, 2023 @Flappie I went to Brunner support describing this issue and they've been answering as following: Quote - Has nothing to do with drivers . Is not a fault of, or solvable by, neither SimShaker nor Brunner. - The Access Violation crashing the game is the result of the function call LoGetFMData in the DCS Lua API. This is the function call that reads out the state of the flight model (speed, accceleration, etc). - The fix simply disables any LUA extension so that function doesn't get called. - The only ones able to fix this are Eagle Dynamics. This error appeared to me after 2.8 version of DCS as well, before my SU25s were working just fine. Would you be able to report this to ED directly? Would be better as I am not the only one affected. IIn the error logs can be found very easily there are some errors regarding a corrupted damage model for SU25s... don't know if those are related, but without that export.lua everything is working fine, but no force feedback... Romanian Community for DCS World HW Specs: AMD 7900X, 64GB RAM, RTX 4090, HOTAS Virpil, MFG, CLS-E, custom Link to comment Share on other sites More sharing options...
Flappie Posted February 14, 2023 Share Posted February 14, 2023 Hi @Abburo. You should have opened a new thread. I see you're using the FrenchPack mod and it generates several Lua errors: 2023-02-06 16:52:34.670 ALERT Scripting (Main): loadfile: [string "C:\Users\adria\Saved Games\DCS.openbeta\Mods/tech/FRENCHPACK 49..."]:161: unexpected symbol near ',' ... 2023-02-06 16:52:37.947 ERROR SOUNDER (Main): Failed to load /sounds/60/Sounders/GroundUnits/IFV/amx10rcr.lua: [string "/sounds/60/Sounders/GroundUnits/IFV/amx10rcr.lua"]:2: '=' expected near 'dofile' 2023-02-06 16:52:37.950 ERROR SOUNDER (Main): Failed to load /sounds/60/Sounders/GroundUnits/WeaponSystem/IFV/toyota_desert.lua: [string "/sounds/60/Sounders/GroundUnits/WeaponSystem/IFV/toyota_desert...."]:9: '=' expected near '-' ... You're also having a Combined Arms error: 2023-02-06 17:01:29.372 ERROR Lua::Config (Main): load error ./Mods/tech/CombinedArms/Cockpit/Rangefinder_page.lua:can't open './Mods/tech/CombinedArms/Cockpit/Rangefinder_page.lua'. You should try to: Disable FrenchPack, Run a DCS repair in "slow" mode. Don't accept indie game testing requests from friends in Discord. Ever. Link to comment Share on other sites More sharing options...
Abburo Posted February 14, 2023 Share Posted February 14, 2023 @FlappieDid that already .. clean/slow, repair, disabled all mods... by the point where i have reinstalled DCS and tried it on completely fresh version... same story... Romanian Community for DCS World HW Specs: AMD 7900X, 64GB RAM, RTX 4090, HOTAS Virpil, MFG, CLS-E, custom Link to comment Share on other sites More sharing options...
Abburo Posted February 14, 2023 Share Posted February 14, 2023 dcs.log-20230214-224105.zip @FlappieReattaching error reproduction with the clean version of DCS. The error is consistent, while the export.lua is present. Loosing export.lua I am loosing its functionalities. Romanian Community for DCS World HW Specs: AMD 7900X, 64GB RAM, RTX 4090, HOTAS Virpil, MFG, CLS-E, custom Link to comment Share on other sites More sharing options...
Flappie Posted February 14, 2023 Share Posted February 14, 2023 Ah, here we go: 2023-02-14 22:41:04.988 INFO Lua::Config (Main): stack traceback: [C]: in function 'LoGetFMData' [string "C:\Users\user\Saved Games\DCS.openbeta\Scripts\Export_BEH_Motion_Cls.lua"]:120: in function <[string "C:\Users\user\Saved Games\DCS.openbeta\Scripts\Export_BEH_Motion_Cls.lua"]:42> Please attach your "Export_BEH_Motion_Cls.lua" file. Don't accept indie game testing requests from friends in Discord. Ever. Link to comment Share on other sites More sharing options...
Abburo Posted February 14, 2023 Share Posted February 14, 2023 (edited) Export_BEH_Motion_Cls.lua @Flappie is about "cls_data_table["FMData"] = LoGetFMData()" as per Brunner support findings as well... Edited February 14, 2023 by Abburo Romanian Community for DCS World HW Specs: AMD 7900X, 64GB RAM, RTX 4090, HOTAS Virpil, MFG, CLS-E, custom Link to comment Share on other sites More sharing options...
Abburo Posted February 14, 2023 Share Posted February 14, 2023 Looks like that LoGetFMData function was changed or broken in some of the previous updates... I used Su25s before 2.8 ... Strange part is all other planes from FC3 are working fine, no issue... is just about SU25s Romanian Community for DCS World HW Specs: AMD 7900X, 64GB RAM, RTX 4090, HOTAS Virpil, MFG, CLS-E, custom Link to comment Share on other sites More sharing options...
Flappie Posted February 14, 2023 Share Posted February 14, 2023 OK. I'll try to reproduce your issue. If I suceeed, I'll report and we'll see what devs can find. Please attach your "Export.lua" file. Don't accept indie game testing requests from friends in Discord. Ever. Link to comment Share on other sites More sharing options...
Abburo Posted February 15, 2023 Share Posted February 15, 2023 Export.lua @Flappie here it is the export.lua file. Thank you in advance Romanian Community for DCS World HW Specs: AMD 7900X, 64GB RAM, RTX 4090, HOTAS Virpil, MFG, CLS-E, custom Link to comment Share on other sites More sharing options...
Flappie Posted February 15, 2023 Share Posted February 15, 2023 Issue reproduced and reported. 1 Don't accept indie game testing requests from friends in Discord. Ever. Link to comment Share on other sites More sharing options...
Flappie Posted February 17, 2023 Share Posted February 17, 2023 (edited) Hi @Abburo. Good news: a fix is coming to prevent DCS to crash. Bad news: the ExportBEH_Motion_Cls.lua script springs an error that guys at BRUNNER will need to fix. Here it is: 2023-02-17 20:42:28.571 ERROR Lua::Config (Main): Call error LuaExportStop:[string "C:\Users\user\Saved Games\DCS\Scripts\Export_BEH_Motion_Cls.lua"]:133: attempt to index global 'c' (a nil value) stack traceback: [C]: ? [string "C:\Users\user\Saved Games\DCS\Scripts\Export_BEH_Motion_Cls.lua"]:133: in function <[string "C:\Users\Flav\Saved Games\DCS.nightly\Scripts\Export_BEH_Motion_Cls.lua"]:132>. The script "c:close()" call fails, because "c" has not been declared. Please show them this error message so they can fix their script, and maybe you won't need to wait for ED's fix. Edited February 17, 2023 by Flappie 1 Don't accept indie game testing requests from friends in Discord. Ever. Link to comment Share on other sites More sharing options...
Brunner Posted February 20, 2023 Share Posted February 20, 2023 Hi, Diego from Brunner here The above mentioned ExportBEH_Motion_Cls.lua script is an older version. The current version works fine with the P-51D and only crashes with the Su-25, the culprit being LoGetFMData() The current version of ExportBEH_Motion_Cls.lua, is shipped with the CLS2Sim installer. After installing CLS2Sim, check the simulation folder for the subdirectory "Simulator plugin installers". For convenience purposes I have also uploaded a mirror here: https://cloud.brunner-innovation.swiss/static/downloads/DCS World plugin installer.exe Best Regards Diego 1 Link to comment Share on other sites More sharing options...
Abburo Posted February 20, 2023 Share Posted February 20, 2023 @Flappie I just want to confirm that the fix provided by @Brunner sorted out the error you've highlighted earlier. Thank you both for your support ! Now, I'm just sitting cool and await ED fix for SU25s Romanian Community for DCS World HW Specs: AMD 7900X, 64GB RAM, RTX 4090, HOTAS Virpil, MFG, CLS-E, custom Link to comment Share on other sites More sharing options...
Flappie Posted February 20, 2023 Share Posted February 20, 2023 @Brunner Many thanks. No more error message on internal build either. @Abburo The fix should be in the next OB update. 1 Don't accept indie game testing requests from friends in Discord. Ever. Link to comment Share on other sites More sharing options...
Abburo Posted March 13, 2023 Share Posted March 13, 2023 @FlappieJust to confirm that v2.8 with MT solved the SU-25 crash as well. I'll keep you posted if I would find anything else related. Thank you all for support! 1 Romanian Community for DCS World HW Specs: AMD 7900X, 64GB RAM, RTX 4090, HOTAS Virpil, MFG, CLS-E, custom Link to comment Share on other sites More sharing options...
Flappie Posted March 13, 2023 Share Posted March 13, 2023 You're welcome. Don't accept indie game testing requests from friends in Discord. Ever. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now