[Issue 22843] Program hangs on full gc collect with --DRT-gcopt=fork:1 if run under valgrind/callgrind
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Mar 26 19:02:34 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=22843
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@huglovefan created dlang/druntime pull request #3788 "fix Issue 22843 -
Program hangs on full gc collect with --DRT-gcopt=f…" fixing this issue:
- fix Issue 22843 - Program hangs on full gc collect with --DRT-gcopt=fork:1 if
run under valgrind/callgrind
the clone() call was using the `CLONE_CHILD_CLEARTID` flag without passing
it a thread id pointer in the optional argument
based on the comment `// child thread id not needed`, the flag was probably
intended to disable any passing of a thread id which is already the
default if neither of `CLONE_CHILD_CLEARTID` and `CLONE_CHILD_SETTID` are
used, so just remove the flag
https://github.com/dlang/druntime/pull/3788
--
More information about the Digitalmars-d-bugs
mailing list