-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Game crashing at random using dethrace-e757db4-windows-x64 #396
Comments
Hello everyone, I have found this project yesterday and I felt in love with it immediately. Kudos to @dethrace-labs for titan's work done reverse-engineering the old, good Carma. I think I'm facing similar issue to the one reported in this ticket, although I have used dethrace-6e6ce12-windows-x64.zip The sympthoms Double press of "S" key right before CDA comes to and end workarounds the issue. Code analysis I have found that:
I have a memory dump. Please let me know if you would like it, then I will try to share it somehow. |
Thanks very much for the analysis! That does sound suspicious and matches the behavior I saw during development where ma_sound_unint wasn’t being called at all. I’ll take a look at the above memory dump and hopefully that might point to the same root cause. Double pressing S is a good indicator that you’ve found the cause of (at least one!) problem. |
Looking at the minidump, the crash is coming from deep inside |
Hi @dethrace-labs , I just poke a bit with my local copy and I can confirm that adding missing call to |
I have the GOG version of Carmageddon setup previously with the Windows 95 Restoration Pack and now I'm using dethrace on top of that. Hopefully the patch isn't affecting it but otherwise using a non audio release of dethrace didn't crash in the same setup.
I use a .bat file to launch the game setup like such
cd /d "D:\GOG Games\Carmageddon Max Pack\CARMA"
procdump64.exe dethrace.exe -hires --full-screen
I do get audio so that's at least working but I seem to get random crashes that are unprompted.
I get a terminal readout like this upon crashing
D:\GOG Games\Carmageddon Max Pack\CARMA>procdump64.exe dethrace.exe -hires --full-screen
Dethrace version: e757db4
Game mode: Carmageddon
[WARN] S3StopMIDIOutlets stubbed
[INFO] AudioBackend_Init Playback device: 'Speakers (Realtek(R) Audio)'
[SDLPROCDUMP] EXCEPTION_DEBUG_EVENT
[SDLPROCDUMP] ExceptionCode: 0xc0000005 (EXCEPTION_ACCESS_VIOLATION)
[SDLPROCDUMP] ExceptionFlags: 0x00000000 ()
[SDLPROCDUMP] FirstChance: 1
[SDLPROCDUMP] ExceptionAddress: 0x39fcac0b
[SDLPROCDUMP] (Non-continuable exception debug event)
[SDLPROCDUMP]
[SDLPROCDUMP] Writing minidump to "minidumps/dethrace_2024-07-17_16-57-42.dmp"
[SDLPROCDUMP]
The exact dethrace version I'm using is from here https://github.com/dethrace-labs/dethrace/actions/runs/9962726905
I'm on Windows 11 so I'm using dethrace-e757db4-windows-x64.zip
I have uploaded a .dmp file as well https://drive.google.com/file/d/1EhuQ7XAeLv9Ux1AEVvKUjP9XKgWzd6sh/view?usp=sharing
The text was updated successfully, but these errors were encountered: