Skip to content

[SR-1701] Fatal errors in foundation should report backtraces #4143

Open
@phausler

Description

@phausler
Previous ID SR-1701
Radar None
Original Reporter @phausler
Type Bug
Additional Detail from JIRA
Votes 0
Component/s Foundation
Labels Bug, StarterBug
Assignee None
Priority Medium

md5: ff5b9e13cf14794077788059c1f04d7d

Issue Description:

Most reasonable linux distributions have the function backtrace_symbols which can produce a sensible backtrace. It would be useful to emit failures with some call stack information (even if it was still mangled)

Likely this API would have to be added as a helper function in CoreFoundation due to it's funky syntax and requirements. But the call for this could encapsulate a fatal error and emit the debug information before terminating.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions