[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
Mon Mar 28 11:33:58 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=22843
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/druntime pull request #3788 "fix Issue 22843 - Program hangs on full gc
collect with --DRT-gcopt=f…" was merged into master:
- f9e806cc906508199ba96b2d299f2301568a0a19 by human:
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
- 56bf314d41166c61b72a80737d519440647d3dee by human:
add test for issue 22843
- 5fc7da62cc5eab8b422079017dce0d928dd0de0b by human:
install valgrind on cirrus to run the test for issue 22843
https://github.com/dlang/druntime/pull/3788
--
More information about the Digitalmars-d-bugs
mailing list