https://issues.dlang.org/show_bug.cgi?id=22222
Issue ID: 22222
Summary: Custom unittest runner on phobos fails due to segfault
on fork() exiting
Product: D
Version: D2
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P1
Component: phobos
Assignee: [email protected]
Reporter: [email protected]
This
(https://github.com/dlang/phobos/blob/6bd92f053f564e3f20db137d11a2679320d9702e/std/stdio.d#L1659)
`exit(0)` call from libc does an exit sequence before exit and therefore
doesn't exit immediately. This causes some unittest runners on phobos to fail
due to segfault on the exit sequence.
--