XPACT Posted April 14, 2021 Posted April 14, 2021 (edited) As the title says I get DCS to crash everytime when I try to load mission for the second time, it doesn't have to be exact same mission. First time it will always load fine and work without issues. dcs.log-20210414-155935.zip DxDiag.txt EDIT: Issue is actually not occuring everytime you launch the game but is much more likely to happen than working fine. Edited April 14, 2021 by XPACT 8
Flappie Posted April 14, 2021 Posted April 14, 2021 Hi, please try emptying this folder: "C:\Users\your-name\AppData\Local\Temp\DCS.openbeta" ---
XPACT Posted April 14, 2021 Author Posted April 14, 2021 (edited) 18 minutes ago, Flappie said: Hi, please try emptying this folder: "C:\Users\your-name\AppData\Local\Temp\DCS.openbeta" I only have folder named DCS there, I deleted it, issue remains. I looked at the logs it points to a broken usage of d3d11.dll, game is trying to access stuff that isn't there anymore on the second load by the looks of it EDIT: just checked, DirectX is up to date Edited April 14, 2021 by XPACT
Flappie Posted April 14, 2021 Posted April 14, 2021 The address was changed some time ago. Please make sure you're looking into "...\Local\Temp\DCS.openbeta" instead of "...\Local\DCS.openbeta". When DCS OpenBeta loads a mission, it unpacks it the "C:\Users\your-name\AppData\Local\Temp\DCS.openbeta" folder. Launch a mission and check this folder. You should see something like this: If you don't, that's weird. ---
XPACT Posted April 14, 2021 Author Posted April 14, 2021 (edited) 13 minutes ago, Flappie said: If you don't, that's weird. In my case it was again recreated as DCS EDIT: maybe because I am using steam version? Edited April 14, 2021 by XPACT
Flappie Posted April 14, 2021 Posted April 14, 2021 2 minutes ago, XPACT said: EDIT: maybe because I am using steam version? Precisely. Now that we've solved the mystery, you can try emptying this folder, and then see if DCS still crashes when loading a mission twice. ---
XPACT Posted April 14, 2021 Author Posted April 14, 2021 Just now, Flappie said: Precisely. Now that we've solved the mystery, you can try emptying this folder, and then see if DCS still crashes when loading a mission twice. 5 minutes ago, XPACT said: In my case it was again recreated as DCS Already did that issue remains Don't know if it was clear that I can reopen the game after crash and again load any mission without issues, but second try will crash it again
Flappie Posted April 14, 2021 Posted April 14, 2021 OK. I can't find a previous crash report dealing with "D3D11CoreCreateDevice". This looks new from DCS perspective. I copy-paste your crashlog here to ease discussion: 2021-04-14 15:59:33.688 INFO WORLDGENERAL: loaded from mission Scripts/World/birds.lua 2021-04-14 15:59:33.703 INFO TACVIEW.EXPORT: Loading C++ flight data recorder from [C:\Users\XPACT\Saved Games\DCS\Mods\tech\Tacview\bin\] 2021-04-14 15:59:33.703 INFO TACVIEW.EXPORT: Tacview 1.8.2 C++ flight data recorder successfully loaded 2021-04-14 15:59:33.823 INFO VISUALIZER: Preload() camera=-199523.829366, 500.757416, 518005.373777 radius=150000.000000 2021-04-14 15:59:33.823 INFO EDTERRAINGRAPHICS41: ITerrainGraphicsImpl4::forceLoading(): pos=(-199524, 500.757, 518005), radius=150000 2021-04-14 15:59:34.031 INFO EDTERRAINGRAPHICS41: surface5 clean up LOD 0: left 8 released 78 2021-04-14 15:59:34.032 INFO EDTERRAINGRAPHICS41: surface5 clean up LOD 1: left 10 released 76 2021-04-14 15:59:34.032 INFO EDTERRAINGRAPHICS41: surface5 clean up 3.203700 ms 2021-04-14 15:59:34.993 INFO VISUALIZER: Preload() finished 2021-04-14 15:59:35.008 INFO TACVIEW.DLL: Tacview Flight Data Recorder 1.8.2 Loaded 2021-04-14 15:59:35.008 INFO TACVIEW.DLL: Config={bookmarkShortcut=0, compressionLevel=1, dataRecordingEnabled=0, debugModeEnabled=0, hostTelemetryPassword="", playbackDelay=600, profilingPeriod=600, realTimeTelemetryPort=42674, recordClientsSessionsEnabled=0, remoteControlPassword="", remoteControlPort=42675} 2021-04-14 15:59:35.008 INFO DCS: Screen: mission_offline 2021-04-14 15:59:35.009 INFO EDCORE: try to write dump information 2021-04-14 15:59:35.010 INFO EDCORE: # -------------- 20210414-155935 -------------- 2021-04-14 15:59:35.011 INFO EDCORE: DCS/2.7.0.4625 (x86_64; Windows NT 10.0.19042) 2021-04-14 15:59:35.011 INFO EDCORE: C:\Windows\SYSTEM32\d3d11.dll 2021-04-14 15:59:35.012 INFO EDCORE: # C0000005 ACCESS_VIOLATION at 27946BAE 00:00000000 2021-04-14 15:59:35.013 INFO EDCORE: SymInit: Symbol-SearchPath: '.;F:\Games\SteamLibrary\steamapps\common\DCSWorld;F:\Games\SteamLibrary\steamapps\common\DCSWorld\bin;C:\Windows;C:\Windows\system32;SRV*C:\websymbols*http://msdl.microsoft.com/download/symbols;', symOptions: 530, UserName: 'XPACT' 2021-04-14 15:59:35.014 INFO EDCORE: OS-Version: 10.0.19042 () 0x100-0x1 2021-04-14 15:59:35.547 INFO EDCORE: 0x0000000000016BAE (d3d11): (function-name not available) + 0x0 2021-04-14 15:59:35.547 INFO EDCORE: 0x00000000000169F9 (d3d11): (function-name not available) + 0x0 2021-04-14 15:59:35.547 INFO EDCORE: 0x0000000000029EE3 (d3d11): D3D11CoreCreateDevice + 0x9823 2021-04-14 15:59:35.547 INFO EDCORE: 0x0000000000028C25 (d3d11): D3D11CoreCreateDevice + 0x8565 2021-04-14 15:59:35.547 INFO EDCORE: 0x00000000000295A6 (d3d11): D3D11CoreCreateDevice + 0x8EE6 2021-04-14 15:59:35.547 INFO EDCORE: 0x000000000004B65B (d3d11): D3D11CoreCreateDevice + 0x2AF9B 2021-04-14 15:59:35.547 INFO EDCORE: 0x0000000000043525 (d3d11): D3D11CoreCreateDevice + 0x22E65 2021-04-14 15:59:35.548 INFO EDCORE: 0x0000000000042D16 (dx11backend): createRenderer + 0x2AFA6 2021-04-14 15:59:35.548 INFO EDCORE: 0x0000000000042E82 (dx11backend): createRenderer + 0x2B112 2021-04-14 15:59:35.548 INFO EDCORE: 0x000000000002DDC5 (NGModel): model::ModelMaterial::draw + 0x2595 2021-04-14 15:59:35.548 INFO EDCORE: 0x00000000000315E0 (NGModel): model::ModelMaterial::draw + 0x5DB0 2021-04-14 15:59:35.548 INFO EDCORE: 0x0000000000034F54 (NGModel): model::ModelMaterial::draw + 0x9724 2021-04-14 15:59:35.549 INFO EDCORE: 0x0000000000020ED3 (NGModel): model::graph::GraphNodesFactory::bootstrap + 0x473 2021-04-14 15:59:35.549 INFO EDCORE: 0x0000000000037E02 (NGModel): model::ModelMaterial::draw + 0xC5D2 2021-04-14 15:59:35.549 INFO EDCORE: 0x0000000000041EF5 (NGModel): init_graphics_plugin + 0x2EE5 2021-04-14 15:59:35.549 INFO EDCORE: 0x0000000000042038 (NGModel): model::NGModelLods::~NGModelLods + 0x48 2021-04-14 15:59:35.549 INFO EDCORE: 0x000000000004286E (NGModel): model::NGModelLods::~NGModelLods + 0x87E 2021-04-14 15:59:35.550 INFO EDCORE: 0x0000000000036B73 (GraphicsVista): Graphics::Models::gc + 0x1B3 2021-04-14 15:59:35.550 INFO EDCORE: 0x0000000000032970 (GraphicsVista): Graphics::Renderer::FreeUnusedResources + 0x20 2021-04-14 15:59:35.550 INFO EDCORE: 0x0000000000801B04 (DCS): ?? + 0x801B04 2021-04-14 15:59:35.550 INFO EDCORE: 0x00000000007E91C9 (DCS): ?? + 0x7E91C9 2021-04-14 15:59:35.550 INFO EDCORE: 0x000000000011743A (edCore): Common::FSM::sendOutputSymbol_ + 0x4A 2021-04-14 15:59:35.550 INFO EDCORE: 0x0000000000116AD2 (edCore): Common::FSM::enterToState_ + 0xC2 2021-04-14 15:59:35.551 INFO EDCORE: 0x00000000001172B9 (edCore): Common::FSM::onSymbol_ + 0x1A9 2021-04-14 15:59:35.551 INFO EDCORE: 0x00000000007FF141 (DCS): ?? + 0x7FF141 2021-04-14 15:59:35.551 INFO EDCORE: 0x00000000007D0174 (DCS): ?? + 0x7D0174 2021-04-14 15:59:35.551 INFO EDCORE: 0x00000000007D0544 (DCS): ?? + 0x7D0544 2021-04-14 15:59:35.551 INFO EDCORE: 0x0000000001C22FC2 (DCS): AmdPowerXpressRequestHighPerformance + 0xE29FBE 2021-04-14 15:59:35.551 INFO EDCORE: 0x0000000000A060DE (DCS): ?? + 0xA060DE 2021-04-14 15:59:35.552 INFO EDCORE: 0x0000000000017034 (KERNEL32): BaseThreadInitThunk + 0x14 2021-04-14 15:59:35.552 INFO EDCORE: 0x0000000000052651 (ntdll): RtlUserThreadStart + 0x21 2021-04-14 15:59:35.859 INFO EDCORE: Minidump created. I tried to reproduce from my end but I can't. What mission are you using for your test exactly? ---
XPACT Posted April 14, 2021 Author Posted April 14, 2021 I will do complete reinstall and start the game without previous user data and report back, just to clear that variable out of the way.
Flappie Posted April 14, 2021 Posted April 14, 2021 Someone else is having the exact same crash doing the same thing. At least, you're not alone. ---
crousti Posted April 14, 2021 Posted April 14, 2021 i,ve deleted the user/app/temp/dcs openbeta, and did a repair (by ED start menu), i did a mission created/p47 in normandy, all run fine....
XPACT Posted April 14, 2021 Author Posted April 14, 2021 Good news, reinstall and no previous user data fixed it, I will try to add my old user data and see if it does it again. 2
Flappie Posted April 14, 2021 Posted April 14, 2021 (edited) @croustiThanks for your feedback. If it happens to you again, please report back here. @XPACTGreat. Edited April 14, 2021 by Flappie ---
XPACT Posted April 14, 2021 Author Posted April 14, 2021 After adding back my old user data to the SavedGames/DCS folder it started crashing again. I found out it was something in the old Config folder that is causing it, I only transfered my old per jet inputs, inputuserprofiles, snapviews and options.lua Everything is working now. Thanks everyone for the help, if others have the same issue now we know where to look for 4
Flappie Posted April 14, 2021 Posted April 14, 2021 Thank you very much for your detailed feedback. ---
Sonoda Umi Posted April 14, 2021 Posted April 14, 2021 So, those files "inputs, inputuserprofiles, snapviews and options.lua" can be saved but ohters should be deleted?
crousti Posted April 14, 2021 Posted April 14, 2021 just now, second attempt with the mission (after dcs fail), i fly 20' without any troubles ! the DCS channel map seem to be more optimized, graphics & clouds are sweet , no significant fps drops ( wth cpu 6700k, gpu 1080,16 gb ram, res 1920x1200 natve res of my monitor 60hz
XPACT Posted April 14, 2021 Author Posted April 14, 2021 (edited) 3 minutes ago, Sonoda Umi said: So, those files "inputs, inputuserprofiles, snapviews and options.lua" can be saved but ohters should be deleted? Those are 100% safe to save in my case, there is probably only 1 file in that whole Config folder that is creating some conflict but currently I don't have energy and time to find out which specific one it is EDIT: those 4 were just most important to me so I tested it with them first and got it working Edited April 14, 2021 by XPACT
Sonoda Umi Posted April 14, 2021 Posted April 14, 2021 49 minutes ago, XPACT said: Those are 100% safe to save in my case, there is probably only 1 file in that whole Config folder that is creating some conflict but currently I don't have energy and time to find out which specific one it is EDIT: those 4 were just most important to me so I tested it with them first and got it working I deleted the "options.lua", and it worked. Thanks for answer. 1
-REDMAN- Posted April 14, 2021 Posted April 14, 2021 (edited) I have the same crash but you guys are talking about different folders in different areas but I'm unclear what the actual fix is. exactly which folder should be deleted. Edited April 14, 2021 by -REDMAN- not finished Salute -REDMAN-
Flappie Posted April 14, 2021 Posted April 14, 2021 @-REDMAN-Try renaming this file: "C:\Users\username\Saved Games\DCS...\Config\options.lua You'll have to reset your ingame options after this (graphics, gameplay...) but your controls will be OK. ---
XPACT Posted April 14, 2021 Author Posted April 14, 2021 1 minute ago, -REDMAN- said: I have the same crash but you guys are talking about different folders in different areas but I'm unclear what the actual fix is. It's something in C:\Users\yourusername\Saved Games\DCS\Config folder that is causing the crash.
-REDMAN- Posted April 14, 2021 Posted April 14, 2021 (edited) I did save my input folder before update but that's all. The folder I saved doesn't have the Camera Free and Camera Local folders in it. Edited April 14, 2021 by -REDMAN- Salute -REDMAN-
XPACT Posted April 14, 2021 Author Posted April 14, 2021 (edited) Sadly it seems that issue is random and sometimes game will launch and work perfectly and sometimes it will crash at second mission load multiple times in a row independent of options.lua, we are at square one. EDIT: At least it works when you first start a mission so, it's not completely broken Edited April 14, 2021 by XPACT 1
Snakedoc Posted April 14, 2021 Posted April 14, 2021 Same here, loading any second mission will cause the game to crash 2 ASUS ROG STRIX Z490 F-GAMING | i7-10700K | RTX3090 TUF OC | 32GB DDR4 3200Mhz | Windows 10 64bit | Acer Predator X34P | TrackIR 5 | TM Warthog | TM T.Flight Rudder Pedals A-10C | A-10C II | F/A-18C | F-16C | FC3 | PG | Syria | SC Home made F-16C simulator Forum Thread: DCS World forum - The Viper Project - Home Cockpits Instagram: The Viper Project YouTube The Viper Project - Youtube channel
Recommended Posts