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

linux: avoid using signal-unsafe functions in signal handler #254

Merged
merged 2 commits into from
Jan 18, 2025

Conversation

dbartolini
Copy link
Collaborator

No description provided.

Use backtrace_symbols_fd() and demangle symbols in a separate
process to avoid malloc()s in signal handler.

Fixes: crownengine#255
@dbartolini dbartolini merged commit 341e8b3 into crownengine:master Jan 18, 2025
6 checks passed
@dbartolini dbartolini deleted the linux-backtrace-fd branch January 18, 2025 23:13
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.

1 participant