|
./miniruby -I../lib -I. -I.ext/common -r./x86_64-linux-fake ../test.rb
|
|
========================================================================
|
|
fiber_queue
|
|
completed in 0.00031349004711955786
|
|
========================================================================
|
|
fiber_sized_queue
|
|
../test.rb:62: [BUG] Segmentation fault at 0x0000000000000000
|
|
ruby 3.2.0dev (2022-06-05T06:18:26Z master 5ce0be022f) [x86_64-linux]
|
|
|
|
-- Control frame information -----------------------------------------------
|
|
c:0005 p:---- s:0023 e:000022 CFUNC :%
|
|
c:0004 p:0031 s:0018 e:000015 METHOD ../test.rb:62 [FINISH]
|
|
c:0003 p:---- s:0010 e:000009 CFUNC :pop
|
|
c:0002 p:0009 s:0006 e:000005 BLOCK ../test.rb:154 [FINISH]
|
|
c:0001 p:---- s:0003 e:000002 (none) [FINISH]
|
|
|
|
-- Ruby level backtrace information ----------------------------------------
|
|
../test.rb:154:in `block (2 levels) in <main>'
|
|
../test.rb:154:in `pop'
|
|
../test.rb:62:in `unblock'
|
|
../test.rb:62:in `%'
|
|
|
|
-- Machine register context ------------------------------------------------
|
|
RIP: 0x000055eae9ffa417 RBP: 0x00007f80aba855d8 RSP: 0x00007f80a9789598
|
|
RAX: 0x000000000000009b RBX: 0x00007f80a9789628 RCX: 0x00007f80ab9c37a0
|
|
RDX: 0x00007f80a97895c0 RDI: 0x0000000000000000 RSI: 0x000000000000009b
|
|
R8: 0x0000000000000000 R9: 0x00007f80a97895c0 R10: 0x0000000055550083
|
|
R11: 0x00007f80ac32ace0 R12: 0x00007f80aba855d8 R13: 0x00007f80ab9c3780
|
|
R14: 0x00007f80a97895c0 R15: 0x000000000000009b EFL: 0x0000000000010202
|
|
|
|
-- C level backtrace information -------------------------------------------
|
|
./miniruby(rb_vm_bugreport+0x5cf) [0x55eaea06b0ef]
|
|
./miniruby(rb_bug_for_fatal_signal+0xec) [0x55eae9e4fc2c]
|
|
./miniruby(sigsegv+0x4d) [0x55eae9fba30d]
|
|
[0x7f80ac153520]
|
|
./miniruby(rb_id_table_lookup+0x7) [0x55eae9ffa417]
|
|
./miniruby(callable_method_entry+0x103) [0x55eaea046bd3]
|
|
./miniruby(vm_respond_to+0x3f) [0x55eaea056c1f]
|
|
./miniruby(rb_check_funcall_default_kw+0x19c) [0x55eaea05788c]
|
|
./miniruby(rb_check_convert_type_with_id+0x8e) [0x55eae9f1b85e]
|
|
./miniruby(rb_str_format_m+0x1a) [0x55eae9fce82a]
|
|
./miniruby(vm_call_cfunc_with_frame+0x127) [0x55eaea041ac7]
|
|
./miniruby(vm_exec_core+0x114) [0x55eaea05d684]
|
|
./miniruby(rb_vm_exec+0x187) [0x55eaea04e747]
|
|
./miniruby(rb_funcallv_scope+0x1b0) [0x55eaea05a770]
|
|
./miniruby(rb_fiber_scheduler_unblock+0x3e) [0x55eae9fb979e]
|
|
./miniruby(sync_wakeup+0x10d) [0x55eae9ffd45d]
|
|
./miniruby(rb_szqueue_pop+0xf5) [0x55eae9ffefd5]
|
|
./miniruby(vm_call_cfunc_with_frame+0x127) [0x55eaea041ac7]
|
|
./miniruby(vm_exec_core+0x114) [0x55eaea05d684]
|
|
./miniruby(rb_vm_exec+0x187) [0x55eaea04e747]
|
|
./miniruby(rb_vm_invoke_proc+0x5f) [0x55eaea05584f]
|
|
./miniruby(rb_fiber_start+0x1da) [0x55eae9e1e24a]
|
|
./miniruby(fiber_entry+0x0) [0x55eae9e1e550]
|
|
|
|
-- Other runtime information -----------------------------------------------
|
|
|
|
* Loaded script: ../test.rb
|
|
|
|
* Loaded features:
|
|
|
|
0 enumerator.so
|
|
1 thread.rb
|
|
2 fiber.so
|
|
3 rational.so
|
|
4 complex.so
|
|
5 ruby2_keywords.rb
|
|
6 /home/nick/src/ruby/build/x86_64-linux-fake.rb
|
|
|
|
* Process memory map:
|
|
|
|
55eae9d7e000-55eae9da8000 r--p 00000000 103:03 9702456 /home/nick/src/ruby/build/miniruby
|
|
55eae9da8000-55eaea07a000 r-xp 0002a000 103:03 9702456 /home/nick/src/ruby/build/miniruby
|
|
55eaea07a000-55eaea18f000 r--p 002fc000 103:03 9702456 /home/nick/src/ruby/build/miniruby
|
|
55eaea18f000-55eaea196000 r--p 00410000 103:03 9702456 /home/nick/src/ruby/build/miniruby
|
|
55eaea196000-55eaea197000 rw-p 00417000 103:03 9702456 /home/nick/src/ruby/build/miniruby
|
|
55eaea197000-55eaea1a8000 rw-p 00000000 00:00 0
|
|
55eaeaf96000-55eaeb128000 rw-p 00000000 00:00 0 [heap]
|
|
7f80a6b5d000-7f80a84e3000 r--s 00000000 103:03 9702456 /home/nick/src/ruby/build/miniruby
|
|
7f80a84e3000-7f80a84e6000 r--p 00000000 103:03 5901633 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
|
|
7f80a84e6000-7f80a84fd000 r-xp 00003000 103:03 5901633 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
|
|
7f80a84fd000-7f80a8501000 r--p 0001a000 103:03 5901633 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
|
|
7f80a8501000-7f80a8502000 r--p 0001d000 103:03 5901633 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
|
|
7f80a8502000-7f80a8503000 rw-p 0001e000 103:03 5901633 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
|
|
7f80a8520000-7f80a8550000 rw-p 00000000 00:00 0
|
|
7f80a8550000-7f80a8551000 ---p 00000000 00:00 0
|
|
7f80a8551000-7f80a85f2000 rw-p 00000000 00:00 0
|
|
7f80a85f2000-7f80a85f3000 ---p 00000000 00:00 0
|
|
7f80a85f3000-7f80a8694000 rw-p 00000000 00:00 0
|
|
7f80a8694000-7f80a8695000 ---p 00000000 00:00 0
|
|
7f80a8695000-7f80a8736000 rw-p 00000000 00:00 0
|
|
7f80a8736000-7f80a8737000 ---p 00000000 00:00 0
|
|
7f80a8737000-7f80a87d8000 rw-p 00000000 00:00 0
|
|
7f80a87d8000-7f80a87d9000 ---p 00000000 00:00 0
|
|
7f80a87d9000-7f80a887a000 rw-p 00000000 00:00 0
|
|
7f80a887a000-7f80a887b000 ---p 00000000 00:00 0
|
|
7f80a887b000-7f80a891c000 rw-p 00000000 00:00 0
|
|
7f80a891c000-7f80a891d000 ---p 00000000 00:00 0
|
|
7f80a891d000-7f80a89be000 rw-p 00000000 00:00 0
|
|
7f80a89be000-7f80a89bf000 ---p 00000000 00:00 0
|
|
7f80a89bf000-7f80a8a60000 rw-p 00000000 00:00 0
|
|
7f80a8a60000-7f80a8a61000 ---p 00000000 00:00 0
|
|
7f80a8a61000-7f80a8b02000 rw-p 00000000 00:00 0
|
|
7f80a8b02000-7f80a8b03000 ---p 00000000 00:00 0
|
|
7f80a8b03000-7f80a8ba4000 rw-p 00000000 00:00 0
|
|
7f80a8ba4000-7f80a8ba5000 ---p 00000000 00:00 0
|
|
7f80a8ba5000-7f80a8c46000 rw-p 00000000 00:00 0
|
|
7f80a8c46000-7f80a8c47000 ---p 00000000 00:00 0
|
|
7f80a8c47000-7f80a8ce8000 rw-p 00000000 00:00 0
|
|
7f80a8ce8000-7f80a8ce9000 ---p 00000000 00:00 0
|
|
7f80a8ce9000-7f80a8d8a000 rw-p 00000000 00:00 0
|
|
7f80a8d8a000-7f80a8d8b000 ---p 00000000 00:00 0
|
|
7f80a8d8b000-7f80a8e2c000 rw-p 00000000 00:00 0
|
|
7f80a8e2c000-7f80a8e2d000 ---p 00000000 00:00 0
|
|
7f80a8e2d000-7f80a8ece000 rw-p 00000000 00:00 0
|
|
7f80a8ece000-7f80a8ecf000 ---p 00000000 00:00 0
|
|
7f80a8ecf000-7f80a8f70000 rw-p 00000000 00:00 0
|
|
7f80a8f70000-7f80a8f71000 ---p 00000000 00:00 0
|
|
7f80a8f71000-7f80a9012000 rw-p 00000000 00:00 0
|
|
7f80a9012000-7f80a9013000 ---p 00000000 00:00 0
|
|
7f80a9013000-7f80a90b4000 rw-p 00000000 00:00 0
|
|
7f80a90b4000-7f80a90b5000 ---p 00000000 00:00 0
|
|
7f80a90b5000-7f80a9156000 rw-p 00000000 00:00 0
|
|
7f80a9156000-7f80a9157000 ---p 00000000 00:00 0
|
|
7f80a9157000-7f80a91f8000 rw-p 00000000 00:00 0
|
|
7f80a91f8000-7f80a91f9000 ---p 00000000 00:00 0
|
|
7f80a91f9000-7f80a929a000 rw-p 00000000 00:00 0
|
|
7f80a929a000-7f80a929b000 ---p 00000000 00:00 0
|
|
7f80a929b000-7f80a933c000 rw-p 00000000 00:00 0
|
|
7f80a933c000-7f80a933d000 ---p 00000000 00:00 0
|
|
7f80a933d000-7f80a93de000 rw-p 00000000 00:00 0
|
|
7f80a93de000-7f80a93df000 ---p 00000000 00:00 0
|
|
7f80a93df000-7f80a9480000 rw-p 00000000 00:00 0
|
|
7f80a9480000-7f80a9481000 ---p 00000000 00:00 0
|
|
7f80a9481000-7f80a9522000 rw-p 00000000 00:00 0
|
|
7f80a9522000-7f80a9523000 ---p 00000000 00:00 0
|
|
7f80a9523000-7f80a95c4000 rw-p 00000000 00:00 0
|
|
7f80a95c4000-7f80a95c5000 ---p 00000000 00:00 0
|
|
7f80a95c5000-7f80a9666000 rw-p 00000000 00:00 0
|
|
7f80a9666000-7f80a9667000 ---p 00000000 00:00 0
|
|
7f80a9667000-7f80a9708000 rw-p 00000000 00:00 0
|
|
7f80a9708000-7f80a9709000 ---p 00000000 00:00 0
|
|
7f80a9709000-7f80a97aa000 rw-p 00000000 00:00 0
|
|
7f80a97aa000-7f80a97ab000 ---p 00000000 00:00 0
|
|
7f80a97ab000-7f80a984c000 rw-p 00000000 00:00 0
|
|
7f80a984c000-7f80a984d000 ---p 00000000 00:00 0
|
|
7f80a984d000-7f80a98ee000 rw-p 00000000 00:00 0
|
|
7f80a98ee000-7f80a98ef000 ---p 00000000 00:00 0
|
|
7f80a98ef000-7f80a99c0000 rw-p 00000000 00:00 0
|
|
7f80a99c6000-7f80aba90000 rw-p 00000000 00:00 0
|
|
7f80aba98000-7f80abb99000 rw-p 00000000 00:00 0
|
|
7f80abb99000-7f80ac10c000 r--p 00000000 103:03 5902202 /usr/lib/locale/locale-archive
|
|
7f80ac10c000-7f80ac111000 rw-p 00000000 00:00 0
|
|
7f80ac111000-7f80ac139000 r--p 00000000 103:03 5900633 /usr/lib/x86_64-linux-gnu/libc.so.6
|
|
7f80ac139000-7f80ac2ce000 r-xp 00028000 103:03 5900633 /usr/lib/x86_64-linux-gnu/libc.so.6
|
|
7f80ac2ce000-7f80ac326000 r--p 001bd000 103:03 5900633 /usr/lib/x86_64-linux-gnu/libc.so.6
|
|
7f80ac326000-7f80ac32a000 r--p 00214000 103:03 5900633 /usr/lib/x86_64-linux-gnu/libc.so.6
|
|
7f80ac32a000-7f80ac32c000 rw-p 00218000 103:03 5900633 /usr/lib/x86_64-linux-gnu/libc.so.6
|
|
7f80ac32c000-7f80ac339000 rw-p 00000000 00:00 0
|
|
7f80ac339000-7f80ac347000 r--p 00000000 103:03 5902204 /usr/lib/x86_64-linux-gnu/libm.so.6
|
|
7f80ac347000-7f80ac3c3000 r-xp 0000e000 103:03 5902204 /usr/lib/x86_64-linux-gnu/libm.so.6
|
|
7f80ac3c3000-7f80ac41e000 r--p 0008a000 103:03 5902204 /usr/lib/x86_64-linux-gnu/libm.so.6
|
|
7f80ac41e000-7f80ac41f000 r--p 000e4000 103:03 5902204 /usr/lib/x86_64-linux-gnu/libm.so.6
|
|
7f80ac41f000-7f80ac420000 rw-p 000e5000 103:03 5902204 /usr/lib/x86_64-linux-gnu/libm.so.6
|
|
7f80ac420000-7f80ac422000 r--p 00000000 103:03 5899371 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0
|
|
7f80ac422000-7f80ac436000 r-xp 00002000 103:03 5899371 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0
|
|
7f80ac436000-7f80ac44f000 r--p 00016000 103:03 5899371 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0
|
|
7f80ac44f000-7f80ac450000 ---p 0002f000 103:03 5899371 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0
|
|
7f80ac450000-7f80ac451000 r--p 0002f000 103:03 5899371 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0
|
|
7f80ac451000-7f80ac452000 rw-p 00030000 103:03 5899371 /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0
|
|
7f80ac452000-7f80ac45a000 rw-p 00000000 00:00 0
|
|
7f80ac45a000-7f80ac464000 r--p 00000000 103:03 5901802 /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1
|
|
7f80ac464000-7f80ac4c3000 r-xp 0000a000 103:03 5901802 /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1
|
|
7f80ac4c3000-7f80ac4da000 r--p 00069000 103:03 5901802 /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1
|
|
7f80ac4da000-7f80ac4db000 r--p 0007f000 103:03 5901802 /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1
|
|
7f80ac4db000-7f80ac4dc000 rw-p 00080000 103:03 5901802 /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1
|
|
7f80ac4dc000-7f80ac4de000 r--p 00000000 103:03 5910189 /usr/lib/x86_64-linux-gnu/libz.so.1.2.11
|
|
7f80ac4de000-7f80ac4ef000 r-xp 00002000 103:03 5910189 /usr/lib/x86_64-linux-gnu/libz.so.1.2.11
|
|
7f80ac4ef000-7f80ac4f5000 r--p 00013000 103:03 5910189 /usr/lib/x86_64-linux-gnu/libz.so.1.2.11
|
|
7f80ac4f5000-7f80ac4f6000 ---p 00019000 103:03 5910189 /usr/lib/x86_64-linux-gnu/libz.so.1.2.11
|
|
7f80ac4f6000-7f80ac4f7000 r--p 00019000 103:03 5910189 /usr/lib/x86_64-linux-gnu/libz.so.1.2.11
|
|
7f80ac4f7000-7f80ac4f8000 rw-p 0001a000 103:03 5910189 /usr/lib/x86_64-linux-gnu/libz.so.1.2.11
|
|
7f80ac50e000-7f80ac515000 r--s 00000000 103:03 6425963 /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.c
|
|
ache
|
|
7f80ac515000-7f80ac517000 rw-p 00000000 00:00 0
|
|
7f80ac517000-7f80ac519000 r--p 00000000 103:03 5899239 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2
|
|
7f80ac519000-7f80ac543000 r-xp 00002000 103:03 5899239 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2
|
|
7f80ac543000-7f80ac54e000 r--p 0002c000 103:03 5899239 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2
|
|
7f80ac54f000-7f80ac551000 r--p 00037000 103:03 5899239 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2
|
|
7f80ac551000-7f80ac553000 rw-p 00039000 103:03 5899239 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2
|
|
7ffea3cb6000-7ffea44b5000 rw-p 00000000 00:00 0 [stack]
|
|
7ffea452c000-7ffea4530000 r--p 00000000 00:00 0 [vvar]
|
|
7ffea4530000-7ffea4532000 r-xp 00000000 00:00 0 [vdso]
|
|
ffffffffff600000-ffffffffff601000 --xp 00000000 00:00 0 [vsyscall]
|
|
|
|
|
|
make: *** [uncommon.mk:1247: run] Aborted (core dumped)
|