-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Open
Labels
A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsA-stack-probeArea: Stack probing and guard pagesArea: Stack probing and guard pagesA-threadArea: `std::thread`Area: `std::thread`T-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.
Description
Relevant history:
- -Zsanitizer=address failing to catch SIGSEGV #69524
- unix: Don't override existing SIGSEGV/BUS handlers #69685
It's not clear, to me, why the update of the NEEDS_ALTSTACK
variable is occurring. I don't know everything there is to know about signal handlers, but I do know
- they are terribly underspecified
- they are surprisingly thread-specific in multithreaded programs
- yet some aspects of them remain process-wide in relevance
We have two fairly distinct codepaths for make_handler
. In code we control, we only call one or the other (i.e. a constant input). They're really quite different functions. So it's not clear where the logical dependencies emerge between the two.
Metadata
Metadata
Assignees
Labels
A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsA-stack-probeArea: Stack probing and guard pagesArea: Stack probing and guard pagesA-threadArea: `std::thread`Area: `std::thread`T-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.