Issue #15763 has been updated by alexagranov (Alex Agranov). A valid workaround until this is fixed in MacOS - if you can get away without ipv6 - is to have your web server like Puma bind to an ipv4 address like `-b 127.0.0.1` or `-b 0.0.0.0` upon boot and then all is :rainbows:. ---------------------------------------- Bug #15763: Segmentation fault in timeout.rb / sleep https://bugs.ruby-lang.org/issues/15763#change-78598 * Author: stan-envato (Stan Pitucha) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: ruby 2.6.2p47 (2019-03-13 revision 67232) [x86_64-darwin18] * Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN ---------------------------------------- I'm running into crashes on both ruby 2.6.1 and 2.6.2 (2.5.x is all good). I'm on OSX / mojave with ruby installed via rbenv / ruby-build. Confirmed on two different machines. The crash happens through the parallel gem, but it happens even if the number of processes is reduced to 1. Short summary: -- Control frame information ----------------------------------------------- c:0003 p:---- s:0011 e:000010 CFUNC :sleep c:0002 p:0025 s:0006 e:000005 BLOCK /Users/viraptor/.rbenv/versions/2.6.2/lib/ruby/2.6.0/timeout.rb:86 [FINISH] c:0001 p:---- s:0003 e:000002 (none) [FINISH] -- Ruby level backtrace information ---------------------------------------- /Users/viraptor/.rbenv/versions/2.6.2/lib/ruby/2.6.0/timeout.rb:86:in `block (2 levels) in timeout' /Users/viraptor/.rbenv/versions/2.6.2/lib/ruby/2.6.0/timeout.rb:86:in `sleep' The rest is in the logs. ---Files-------------------------------- crash_log (68.9 KB) ruby_2019-04-11-101832-3_Stans-MacBook-Pro.crash (44.7 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>