From: normalperson@... Date: 2018-08-20T21:01:25+00:00 Subject: [ruby-core:88578] [Ruby trunk Bug#15013] thread_pthread.c: reinitialize ubf_list at fork Issue #15013 has been reported by normalperson (Eric Wong). ---------------------------------------- Bug #15013: thread_pthread.c: reinitialize ubf_list at fork https://bugs.ruby-lang.org/issues/15013 * Author: normalperson (Eric Wong) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: * Backport: 2.3: REQUIRED, 2.4: REQUIRED, 2.5: REQUIRED ---------------------------------------- thread_pthread.c: reinitialize ubf_list at fork It's possible for the ubf_list_head to be populated with dead threads at fork or the ubf_list_lock to be held, so reinitialize both at startup. And while we're at it, use a static initializer at startup to save a library call and kill some ifdef. ---Files-------------------------------- 0001-thread_pthread.c-reinitialize-ubf_list-at-fork.patch (2.46 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: