From: ko1@... Date: 2018-08-29T07:20:59+00:00 Subject: [ruby-core:88723] [Ruby trunk Bug#15041] [PATCH] cont.c: set th->root_fiber to current fiber at fork Issue #15041 has been updated by ko1 (Koichi Sasada). (I'm not sure why fork removes other fibers, but) I think it is okay. let's try. ---------------------------------------- Bug #15041: [PATCH] cont.c: set th->root_fiber to current fiber at fork https://bugs.ruby-lang.org/issues/15041#change-73777 * Author: normalperson (Eric Wong) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: * Backport: 2.3: REQUIRED, 2.4: REQUIRED, 2.5: REQUIRED ---------------------------------------- cont.c: set th->root_fiber to current fiber at fork Otherwise, th->root_fiber can point to an invalid Fiber, because Fibers do not live across fork. So consider whatever Fiber is running the root fiber. ---Files-------------------------------- 0001-cont.c-set-th-root_fiber-to-current-fiber-at-fork.patch (2.13 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: