Skip to content

No stackframes recorded for inproc backend #897

Answered by supervacuus
PatrickMIK asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @PatrickMIK,

While the inproc backend can be used on macOS, using either breakpad or crashpad on these systems is much preferable. Both backends implement mach-exception port handling, a much better supported crash-handling approach on Apple's OSes than the signal-handler we use for inproc. They also produce a minidump, providing more crash context data than currently collected via inproc (for instance, you'll get stack traces for all threads).

It seems Apple has abandoned backtrace() support in signal handlers altogether, given that it could never correctly trace signal-handlers stack frames anyway (and backtrace() not being an async-safe function to begin with). This is also why call…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@PatrickMIK
Comment options

Answer selected by PatrickMIK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants