mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-19 09:00:31 +00:00
Make crash reports reliable in multithreaded case
This commit is contained in:
parent
3b0ea2db4d
commit
bf3531de81
3 changed files with 10 additions and 6 deletions
|
@ -191,6 +191,8 @@ static relegated char *GetSymbolName(struct SymbolTable *st, int symbol) {
|
|||
|
||||
static relegated void __oncrash_impl(int sig, struct siginfo *si,
|
||||
ucontext_t *ctx) {
|
||||
if (sig != SIGTRAP && sig != SIGQUIT)
|
||||
sigaddset(&ctx->uc_sigmask, sig);
|
||||
#pragma GCC push_options
|
||||
#pragma GCC diagnostic ignored "-Walloca-larger-than="
|
||||
long size = __get_safe_size(10000, 4096);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue