August 19, 2021 [Issue 22222] New: Custom unittest runner on phobos fails due to segfault on fork() exiting | ||||
|---|---|---|---|---|
| ||||
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@puremagic.com Reporter: lsferreira169@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. -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply