[Issue 22222] New: Custom unittest runner on phobos fails due to segfault on fork() exiting
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Aug 19 00:59:11 UTC 2021
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: nobody at puremagic.com
Reporter: lsferreira169 at gmail.com
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.
--
More information about the Digitalmars-d-bugs
mailing list