-
Notifications
You must be signed in to change notification settings - Fork 17
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 fatal signal bactrace #350
base: main
Are you sure you want to change the base?
Conversation
ba332e6
to
5c6381d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
5c6381d
to
a136792
Compare
a136792
to
f977609
Compare
This now only depends on the 4 commits in #357 |
a4dc3f7
to
6d24179
Compare
musl lacks backtrace() and backtrace_symbols() functions. There are replacement libraries (libexecinfo and libbacktrace) but libexecinfo was archived and removed from Alpine. Libbacktrace is not even packaged. With that this branch is now on hold. |
90aac6c
to
ed52606
Compare
Signed-off-by: Balazs Scheidler <balazs.scheidler@axoflow.com>
Signed-off-by: Balazs Scheidler <balazs.scheidler@axoflow.com>
ed52606
to
bc5c4fd
Compare
There's now a new iteration that should also work on Alpine Linux and uses libunwind to produce the backtrace. |
This adds handlers for SIGSEGV and SIGABRT at least on x86_64/arm based linux systems and then reports a crash report in case these signals are triggered.