From: nagachika00@... Date: 2019-01-14T09:23:50+00:00 Subject: [ruby-core:91073] [Ruby trunk Bug#15041] [PATCH] cont.c: set th->root_fiber to current fiber at fork Issue #15041 has been updated by nagachika (Tomoyuki Chikanaga). Backport changed from 2.3: REQUIRED, 2.4: REQUIRED, 2.5: REQUIRED to 2.3: REQUIRED, 2.4: REQUIRED, 2.5: DONE ruby_2_5 r66818 merged revision(s) 64589,64593. ---------------------------------------- Bug #15041: [PATCH] cont.c: set th->root_fiber to current fiber at fork https://bugs.ruby-lang.org/issues/15041#change-76304 * Author: normalperson (Eric Wong) * Status: Closed * Priority: Normal * Assignee: * Target version: * ruby -v: * Backport: 2.3: REQUIRED, 2.4: REQUIRED, 2.5: DONE ---------------------------------------- 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: