Skip to content
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

If you ever suffer from recursive or looping crashes, this is the (tr… #644

Merged
merged 3 commits into from
Apr 29, 2024

Conversation

rfortier
Copy link
Contributor

…ivial) patch for you.

If there's a crash cycle or recursive crash, "the real problem crash dump" is overwritten by a "subsequent problem crash dump," hiding the real problem. And the loop may go on forever. Stop after first crash dump.

@Dragonisser
Copy link
Collaborator

Wrong branch

@rfortier rfortier changed the base branch from master to dev March 15, 2024 16:32
@rfortier
Copy link
Contributor Author

OK, moved to /dev branch. Next time I'll know.

@rfortier
Copy link
Contributor Author

This PR doesn't change anything in imgui, so that compile eror is elsewhere.

@RobbeBryssinck
Copy link
Member

The latest dev branch needs to be merged with this PR first, as the GLM issue has been fixed there, and the additional define here is not required anymore.

As for the fix itself: there was a bug in the latest distribution where IS_MASTER was not defined. This meant that debug menus, the console and the local crash handler referenced here were included. The crash handler won't be included in 1.6. Still for debug purposes, this PR can be pushed through.

@rfortier
Copy link
Contributor Author

With the update to xmake /dev branch, this should compile and be good to merge now.

I just rebuilt a full releasedbg build, which still includes the code, on today's dev branch and it compiles fine.

@rfortier rfortier force-pushed the fix-recursive-crashdump branch from 98ffbf8 to 981de9a Compare April 18, 2024 21:36
The added #define is no longer necessary to compile successfully.

This reverts commit 981de9a.
@rfortier
Copy link
Contributor Author

Updated the PR to revert the added #define as it is no longer needed.

The build is failing on the gamenetworkingsockets / protobuf / xmake fix we're all waiting on.

@RobbeBryssinck RobbeBryssinck merged commit 5c68b91 into tiltedphoques:dev Apr 29, 2024
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants