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

Add signal handler to catch errant signals and provide a backtrace #533

Open
kengorab opened this issue Jan 2, 2025 · 0 comments
Open
Labels

Comments

@kengorab
Copy link
Owner

kengorab commented Jan 2, 2025

Right now it's still possible to get a segfault under the hood (though usually it's indicative of a compiler bug rather than user error). To make this a bit more ergonomic (and to provide a better debugging experience), it'd be cool if there were a signal handler for SIGSEGV which printed the stacktrace before exiting the program.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant