[Solved] [Bug] Crash at mission restart (B3M1)

Any issues with the XWAU or X-Wing Alliance? Please let us know here!
Post Reply

[Solved] [Bug] Crash at mission restart (B3M1)

GABICV
Cadet 3rd Class
Posts: 30
Joined: Wed Mar 17, 2021 1:47 pm

Post by GABICV » Wed Apr 21, 2021 8:30 am

Hello all,

The game crashed on me yesterday when I was trying to restart a mission. I don't remember for sure if it happened when I hit H + spacebar or when I hit enter to Launch once I was back in the hangar.
It happened on B3M1 "Liberate Slave Convoy", if ever it is mission-related. And I'm playing on a Steam version with Mega Patch and Update 2.1.

I had 3 reports in the event log. Here they are, in chronological order:

Event 1026 at 17:38:37
Source: .NET Runtime
Application: XWingAlliance.exe
Framework Version: v4.0.30319
Description: the process was stopped due to an unknown exception.
Information about the exception : exception code c0000005, exception address 72A90468

Event 1000 at 17:38:40
Source: Application Error
Faulting application name: XWingAlliance.exe, version: 2.0.0.2, timestamp: 0x3765a9b7
Faulting module name: d3d11.dll, version: 6.2.9200.16570, timestamp: 0x5153774d
Exception code: 0xc0000005
Fault offset: 0x000c0468
Faulting process ID: 0xf4c
Faulting application start time: 0x01d735f8b58106b6
Faulting application path: C:\Program Files (x86)\Star Wars X-Wing Alliance\XWingAlliance.exe
Faulting module path: C:\Windows\system32\d3d11.dll
Report ID: 7a768d7c-a1ee-11eb-ba19-e03f496e6cce

Event 1000 at 17:38:42
Source: Application Error
Faulting application name: XWingAlliance.exe, version: 2.0.0.2, timestamp: 0x3765a9b7
Faulting module name: Hook_Normals.dll, version: 1.0.0.1, timestamp: 0x6019a256
Exception code: 0xc0000005
Fault offset: 0x00013be5
Faulting process ID: 0xf4c
Faulting application start time: 0x01d735f8b58106b6
Faulting application path: C:\Program Files (x86)\Star Wars X-Wing Alliance\XWingAlliance.exe
Faulting module path: C:\Program Files (x86)\Star Wars X-Wing Alliance\Hook_Normals.dll
Report ID: 7bc97842-a1ee-11eb-ba19-e03f496e6cce

It is not a big burden since I could just relaunch the game and the mission. But it could be good to fix this, if it is not specific to my config/install.
Last edited by GABICV on Tue Apr 27, 2021 3:47 pm, edited 1 time in total.

User avatar
JeremyaFr
XWAU Member
Posts: 3921
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Wed Apr 21, 2021 8:38 am

Hello,
Can you reproduce the crash and create a crash dump?
See viewtopic.php?p=180489#p180489 for instructions.

GABICV
Cadet 3rd Class
Posts: 30
Joined: Wed Mar 17, 2021 1:47 pm

Post by GABICV » Wed Apr 21, 2021 8:50 am

I will try!

GABICV
Cadet 3rd Class
Posts: 30
Joined: Wed Mar 17, 2021 1:47 pm

Post by GABICV » Wed Apr 21, 2021 4:17 pm

I was able to reproduce the crash twice. But the symptoms are not always the same.
And I got 1 dump file.

What I did is I launched the same mission (B3M1), restarted it right away before hyper-ing to the combat zone, launched again from the Liberty and went to the combat zone. The crash happened about 3 minutes after restarting the mission, apparently at a random moment where nothing particular was happening.

Here are the event logs, different from my first post.

Event 1026 at 11:31:35
Source: .NET Runtime
Application: XWingAlliance.exe
Framework Version: v4.0.30319
Description: the process was stopped due to an unknown exception.
Information about the exception: exception code c0000005, exception address 71996735

Event 1000 at 11:31:37
Source: Application Error
Faulting application name: XWingAlliance.exe, version: 2.0.0.2, timestamp: 0x3765a9b7
Faulting module name: d3d11.dll, version : 6.2.9200.16570, timestamp: 0x5153774d
Exception code: 0xc0000005
Fault offset: 0x000a6735
Faulting process ID: 0x1564
Faulting application start time: 0x01d73690885d266f
Faulting application path: C:\Program Files (x86)\Star Wars X-Wing Alliance\XWingAlliance.exe
Faulting module path: C:\Windows\system32\d3d11.dll
Report ID: 5e3f404a-a284-11eb-901f-e03f496e6cce

Event 1000 at 11:31:40
Source: Application Error
Nom de l’application défaillante XWingAlliance.exe, version : 2.0.0.2, timestamp: 0x3765a9b7
Faulting module name: rtutils.dll, version : 6.1.7601.17514, timestamp: 0x4ce7b9ac
Exception code: 0xc0000005
Fault offset: 0x00003c97
Faulting process ID: 0x1564
Faulting application start time: 0x01d73690885d266f
Faulting application path: C:\Program Files (x86)\Star Wars X-Wing Alliance\XWingAlliance.exe
Faulting module path: C:\Windows\system32\rtutils.dll
Report ID: 602b38fe-a284-11eb-901f-e03f496e6cce

Unfortunately I messed up ProcDump so I didn't get a crash dump.


So I launched the game and mission again, went straight to the combat zone, intentionally got killed and restarted the mission. This time the game crashed right away when I tried to launch from the Liberty.

The event logs were again different, but the sequence always begins by the same .NET error:

Event 1026 at 11:48:20
Source: .NET Runtime
Application: XWingAlliance.exe
Framework Version: v4.0.30319
Description: the process was stopped due to an unknown exception.
Information about the exception: exception code c0000005, exception address 76EDE496

Event 1000 at 11:48:21
Source: Application Error
Nom de l’application défaillante XWingAlliance.exe, version : 2.0.0.2, timestamp: 0x3765a9b7
Faulting module name: ntdll.dll, version : 6.1.7601.24545, timestamp: 0x5e0eb751
Exception code: 0xc0000005
Fault offset: 0x0002e496
Faulting process ID: 0xe2c
Faulting application start time: 0x01d73691ad0e80c2
Faulting application path: C:\Program Files (x86)\Star Wars X-Wing Alliance\XWingAlliance.exe
Faulting module path: C:\Windows\SysWOW64\ntdll.dll
Report ID: b4c5ff4c-a286-11eb-901f-e03f496e6cce

Event 1000 at 11:48:25
Source: Application Error
Nom de l’application défaillante XWingAlliance.exe, version : 2.0.0.2, timestamp: 0x3765a9b7
Faulting module name: Hook_Normals.dll, version : 1.0.0.1, timestamp: 0x6019a256
Exception code: 0xc0000005
Fault offset: 0x00013be5
Faulting process ID: 0xe2c
Faulting application start time: 0x01d73691ad0e80c2
Faulting application path: C:\Program Files (x86)\Star Wars X-Wing Alliance\XWingAlliance.exe
Faulting module path: C:\Program Files (x86)\Star Wars X-Wing Alliance\Hook_Normals.dll
Report ID: b700dc78-a286-11eb-901f-e03f496e6cce

This time I managed to get a crash dump: Crash Dump file (on Dropbox)

User avatar
JeremyaFr
XWAU Member
Posts: 3921
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Thu Apr 22, 2021 4:50 pm

Hello,
Here is something you can try:

- rename dinput.dll with a different extension
- download xwa_hook_main_no_dinput.zip from xwa_hook_main_no_dinput
- copy hooks_main.dll in your xwa directory
- run XwaExePatcher and apply the patch to XWingAlliance.exe

GABICV
Cadet 3rd Class
Posts: 30
Joined: Wed Mar 17, 2021 1:47 pm

Post by GABICV » Fri Apr 23, 2021 3:23 pm

Hi,

I'm not sure what all this changed but it seemed to work.
I mean, I tried B3M1 only once but was available to restart it right away before jumping into hyperspace and then complete it successfully with no crash.

I will try later on to restart a few missions here and there and close the topic if all is good.

Thanks!

GABICV
Cadet 3rd Class
Posts: 30
Joined: Wed Mar 17, 2021 1:47 pm

Post by GABICV » Tue Apr 27, 2021 3:47 pm

I tried to restart a few missions in both the tour of duty and the simulator. No crash encountered.

Thanks again @JeremyaFr!

Post Reply