From: Eric Wong Date: 2017-10-01T02:32:35+00:00 Subject: [ruby-core:83069] Re: [Ruby trunk Bug#13794] Infinite loop of sched_yield xkernigh@netscape.net wrote: > But I might have found a different bug. I did kill -ABRT a > spinning child and gave the core dump to gdb; it seemed that > both threads were stuck inside OpenBSD's thread library. The > main thread was stuck in pthread_join(), and the other thread > was stuck in _rthread_tls_destructors(). I did not find any > thread stuck in the loop `while > (ATOMIC_CAS(timer_thread_pipe.writing, (rb_atomic_t)0, 0))` > identified by Charlie Smurthwaite in the original bug report. Oh, it might be related to wanabe's patch for [Bug #13887] for systems with FIBER_USE_NATIVE=0 https://bugs.ruby-lang.org/issues/13887 https://80x24.org/spew/20170928004228.4538-2-e@80x24.org/raw Unsubscribe: