You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fatal error in GC: SuspendThread failed due to race condition #303
Somehow this happens at the same time as the GC_gcollect call within neko_gc_major() while neko is shutting down, which also tries to access the same thread to suspend it.
Can be reproduced by running this program repeatedly:
Activity
tobil4sk commentedon Dec 23, 2025
This original issue should have been fixed with 8.2.10 (or 7.6.24). I tested with boehmgc 8.2.10 (#307) and the error appears to have gone away:
The relevant upstream patches are:
However, in this version there is still a race condition which can cause thread creation to hang:
In this snippet, it eventually gets stuck on the
"Creating thread"message.Further information is found in bdwgc/bdwgc#710.