[Issue 21066] Druntime SIGSEGV / SIGBUS unittest signal handler should emit the stack trace for all threads

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jul 23 10:43:33 UTC 2020


https://issues.dlang.org/show_bug.cgi?id=21066

FeepingCreature <default_357-line at yahoo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |default_357-line at yahoo.de

--- Comment #1 from FeepingCreature <default_357-line at yahoo.de> ---
SIGSEGV will only be delivered to the thread that caused the segfault.

As per 'man 7 signal':

> A signal may be process-directed or thread-directed. [...] A thread-directed signal is one that is targeted at a specific thread. A signal may be thread-directed because it was generated as a consequence of executing a specific machine-language instruction that triggered a hardware exception (e.g., SIGSEGV for an invalid memory access, or SIGFPE for a math error)

--


More information about the Digitalmars-d-bugs mailing list