ruby test.rb ^Ctest.rb:5: [BUG] Segmentation fault at 0x000020a000000008 ruby 2.7.0dev (2018-12-29 trunk 66630) [x86_64-darwin18] -- Crash Report log information -------------------------------------------- See Crash Report log file under the one of following: * ~/Library/Logs/DiagnosticReports * /Library/Logs/DiagnosticReports for more details. Don't forget to include the above Crash Report log file in bug reports. -- Control frame information ----------------------------------------------- c:0003 p:---- s:0011 e:000010 CFUNC :accept c:0002 p:0008 s:0007 e:000005 BLOCK test.rb:5 [FINISH] c:0001 p:---- s:0003 e:000002 (none) [FINISH] -- Ruby level backtrace information ---------------------------------------- test.rb:5:in `block in
' test.rb:5:in `accept' -- Machine register context ------------------------------------------------ rax: 0x000020a000000000 rbx: 0x000000010559d000 rcx: 0x4d55545a00000000 rdx: 0x0000000000000000 rdi: 0x000000010559d000 rsi: 0x0000000104932a55 rbp: 0x0000700002cf6ed0 rsp: 0x0000700002cf6ec0 r8: 0x0000000107dd4a40 r9: 0x0000000000000000 r10: 0x000000010559d118 r11: 0xfffffffffffffff8 r12: 0x0000000104a84f40 r13: 0x000000000000000b r14: 0x0000000000000008 r15: 0x0000000000000000 rip: 0x0000000104a85022 rfl: 0x0000000000010246 -- C level backtrace information ------------------------------------------- /Users/dmitrydedov/projects/ruby-dev/bin/ruby(rb_vm_bugreport+0xba) [0x104ae815a] /Users/dmitrydedov/projects/ruby-dev/bin/ruby(rb_bug_context+0x1d3) [0x104926cf3] /Users/dmitrydedov/projects/ruby-dev/bin/ruby(sigsegv+0x51) [0x104a42a51] /usr/lib/system/libsystem_platform.dylib(_sigtramp+0x1d) [0x7fff64530b3d] /Users/dmitrydedov/projects/ruby-dev/bin/ruby(select_single_cleanup+0x12) [0x104a85022] /Users/dmitrydedov/projects/ruby-dev/bin/ruby(rb_ensure+0x176) [0x104932b16] /Users/dmitrydedov/projects/ruby-dev/bin/ruby(rb_wait_for_single_fd+0x4a5) [0x104a84e95] /Users/dmitrydedov/projects/ruby-dev/bin/ruby(rb_thread_wait_fd+0x14) [0x104a832f4] /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/x86_64-darwin18/socket.bundle(rsock_s_acce pt+0x2b) [0x107bf6d9b] /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/x86_64-darwin18/socket.bundle(tcp_accept+0 x55) [0x107c05d35] /Users/dmitrydedov/projects/ruby-dev/bin/ruby(vm_call_cfunc+0x1b6) [0x104ad9b26] /Users/dmitrydedov/projects/ruby-dev/bin/ruby(vm_exec_core+0x391e) [0x104abdfce] /Users/dmitrydedov/projects/ruby-dev/bin/ruby(rb_vm_exec+0xa43) [0x104ad42b3] /Users/dmitrydedov/projects/ruby-dev/bin/ruby(thread_do_start+0x301) [0x104a8bc11] /Users/dmitrydedov/projects/ruby-dev/bin/ruby(thread_start_func_2+0x1f9) [0x104a8b539] /Users/dmitrydedov/projects/ruby-dev/bin/ruby(thread_start_func_1+0x117) [0x104a8b177] /usr/lib/system/libsystem_pthread.dylib(_pthread_body+0x7e) [0x7fff64539305] /usr/lib/system/libsystem_pthread.dylib(0x7fff6453c26f) [0x7fff6453c26f] -- Other runtime information ----------------------------------------------- * Loaded script: test.rb * Loaded features: 0 enumerator.so 1 thread.rb 2 rational.so 3 complex.so 4 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/x86_64-darwin18/enc/encdb.bundle 5 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/x86_64-darwin18/enc/trans/transdb.bu ndle 6 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/x86_64-darwin18/rbconfig.rb 7 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/rubygems/compatibility.rb 8 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/rubygems/defaults.rb 9 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/rubygems/deprecate.rb 10 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/rubygems/errors.rb 11 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/rubygems/version.rb 12 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/rubygems/requirement.rb 13 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/rubygems/platform.rb 14 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/rubygems/basic_specification.rb 15 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/rubygems/stub_specification.rb 16 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/delegate.rb 17 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/uri/rfc2396_parser.rb 18 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/uri/rfc3986_parser.rb 19 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/uri/common.rb 20 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/uri/generic.rb 21 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/uri/file.rb 22 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/uri/ftp.rb 23 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/uri/http.rb 24 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/uri/https.rb 25 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/uri/ldap.rb 26 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/uri/ldaps.rb 27 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/uri/mailto.rb 28 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/uri.rb 29 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/rubygems/specification_policy.rb 30 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/rubygems/util/list.rb 31 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/x86_64-darwin18/stringio.bundle 32 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/rubygems/specification.rb 33 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/rubygems/exceptions.rb 34 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/rubygems/util.rb 35 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/rubygems/bundler_version_finder.rb 36 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/rubygems/dependency.rb 37 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/rubygems/core_ext/kernel_gem.rb 38 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/monitor.rb 39 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb 40 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/rubygems/core_ext/kernel_warn.rb 41 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/rubygems.rb 42 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/rubygems/path_support.rb 43 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/x86_64-darwin18/socket.bundle 44 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/x86_64-darwin18/io/wait.bundle 45 /Users/dmitrydedov/projects/ruby-dev/lib/ruby/2.7.0/socket.rb [NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome. For details: https://www.ruby-lang.org/bugreport.html [IMPORTANT] Don't forget to include the Crash Report log file under DiagnosticReports directory in bug reports. [1] 29220 abort ruby test.rb