Jump to content

Su-25 - Crash On Mission Start


Go to solution Solved by Flappie,

Recommended Posts

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

  • Solution

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:

  1. Go to "Saved Games/DCS.../Scripts".
  2. Rename "Export.lua"to "Export.lua.bak".
  3. 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

  • 1 month later...

@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

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:

  1. Disable FrenchPack,
  2. 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

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

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 by Flappie
  • Thanks 1

Don't accept indie game testing requests from friends in Discord. Ever.

Link to comment
Share on other sites

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

  • Thanks 1
Link to comment
Share on other sites

  • 3 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...