Actions
Bug #22389
closedHang on GC.compact
Bug #22389:
Hang on GC.compact
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 4.1.0dev (2026-09-29T07:26:07Z master 64a4a372d7) +PRISM [arm64-darwin25]
Actions
Added by rkh (Konstantin Haase) 21 days ago. Updated 20 days ago.
Applied in changeset git|e131720215251851efab1811a24c4d59a0fc979d.
Use pthread_sigmask in the GC read barrier signal handler
sigprocmask() is unspecified in multithreaded processes; on macOS it
left SIGSEGV/SIGBUS blocked on the faulting thread, so a second
read-barrier fault was never delivered and the process hung on the
faulting instruction. [Bug #22389]