From: usa@... Date: 2019-01-31T11:02:57+00:00 Subject: [ruby-core:91360] [Ruby trunk Bug#15041] [PATCH] cont.c: set th->root_fiber to current fiber at fork Issue #15041 has been updated by usa (Usaku NAKAMURA). Backport changed from 2.3: REQUIRED, 2.4: REQUIRED, 2.5: DONE to 2.3: REQUIRED, 2.4: DONE, 2.5: DONE ruby_2_4 r66968 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-76613 * Author: normalperson (Eric Wong) * Status: Closed * Priority: Normal * Assignee: * Target version: * ruby -v: * Backport: 2.3: REQUIRED, 2.4: DONE, 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: