More crash catcher fixes
Moderator: GZDoom Developers
- Chris
- Posts: 2971
- Joined: Thu Jul 17, 2003 12:07 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
More crash catcher fixes
Here's another patch for the crash catcher. It aims to fix a number of issues and potential problems. It removes a bunch of potentially-unsafe function calls from the signal handler, and sets it up so the forked process invokes another run of ZDoom with a special switch, which makes it read a bunch of info from the crashed process to do the majority of the work safely, then exit. It also fixes a problem with some distros that prevented GDB from attaching to the crashed process.
- Attachments
-
cc-patch2.zip
- (4.54 KiB) Downloaded 39 times