Random crashes
Moderator: Raze Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
-
- Posts: 830
- Joined: Sun Jun 16, 2019 9:17 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Gosford NSW, Australia
Re: Random crashes
Just saw your reply on the GLES post. Is this still occurring as of 1.3.0?
-
- Posts: 149
- Joined: Sun Apr 11, 2021 4:20 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Re: Random crashes
Yeah, i just recompiled from git and tried again, the program dies exactly on the same point as always...
-
- Posts: 830
- Joined: Sun Jun 16, 2019 9:17 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Gosford NSW, Australia
Re: Random crashes
Is there anyway you could get me a save just before the crash, then explain what you're doing to cause the crash? I think it's the only way we're going to try and isolate this. I have a Windows and a Linux setup so I can test in both platforms.
-
- Posts: 149
- Joined: Sun Apr 11, 2021 4:20 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Re: Random crashes
I've managed to get a save that seems to isolate the issue : https://www.mediafire.com/file/61yvs09c ... dsave/file. Just fire the napalm gun in the opened hole on the pipe and the game crashes immediately.
The issue now seems to happen on win10, too, here is the crash report. I used the latest drd team 1.4pre-28.
Edit : i also patched the maps to the latest version using this https://www.moddb.com/mods/blood-trauma ... -map-fixes, maybe you need these to load the savegame...
The issue now seems to happen on win10, too, here is the crash report. I used the latest drd team 1.4pre-28.
Edit : i also patched the maps to the latest version using this https://www.moddb.com/mods/blood-trauma ... -map-fixes, maybe you need these to load the savegame...
You do not have the required permissions to view the files attached to this post.
-
- Posts: 830
- Joined: Sun Jun 16, 2019 9:17 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Gosford NSW, Australia
Re: Random crashes
Thanks for the save, its been very much appreciated. I know you gave some saves before but they'd just got a bit stale with all the refactoring.
We've repaired this issue. basically that map in the set isn't constructed right and has either an upper or lower sector link without an appropriate partner. On the original code, this would have been an -1 out of bound access, which could explain why you had it on one system and not another. We've switched everything out to use pointers and they will absolutely crash if a null access occurs, which would be why it happens on Windows.
This fix probably didn't make it into the most recent devbuild, but it sounds like you're building the code from Github anyway. Feel free to spin out another build and test it out
We've repaired this issue. basically that map in the set isn't constructed right and has either an upper or lower sector link without an appropriate partner. On the original code, this would have been an -1 out of bound access, which could explain why you had it on one system and not another. We've switched everything out to use pointers and they will absolutely crash if a null access occurs, which would be why it happens on Windows.
This fix probably didn't make it into the most recent devbuild, but it sounds like you're building the code from Github anyway. Feel free to spin out another build and test it out
-
- Posts: 149
- Joined: Sun Apr 11, 2021 4:20 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Re: Random crashes
Just recompiled and tested, no crash this time, Great ! This was a really nasty bug
-
- Posts: 830
- Joined: Sun Jun 16, 2019 9:17 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Gosford NSW, Australia
Re: Random crashes
Very nasty indeed! Basically all the refactoring that has happened was needed to truly reveal what was going on. Thanks for your patience
-
- Posts: 149
- Joined: Sun Apr 11, 2021 4:20 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Re: Random crashes
Thanks to you for your time