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

Improve crash handling on macOS #362

Merged
merged 2 commits into from
Dec 18, 2024
Merged

Improve crash handling on macOS #362

merged 2 commits into from
Dec 18, 2024

Conversation

nazar-pc
Copy link
Member

In #361 it was discovered that on macOS segfault causes process to exit with code 11, while on Linux it exits with SIGSEGV.

This change will support exit with unexpected status codes (like 11 on macOS) as a reason for application restart like like termination with a signal on Linux.

The first commit here improves logs handling by capturing supervisor logs in log file, which were missing previously, this will help with debugging in the future by providing details about why process exited.

Copy link
Member

@teor2345 teor2345 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@nazar-pc nazar-pc merged commit 414fe13 into main Dec 18, 2024
7 checks passed
@nazar-pc nazar-pc deleted the improve-crash-handling branch December 18, 2024 22:04
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.

2 participants