Project

General

Profile

Bug #15406 » test.log

wanabe (_ wanabe), 12/12/2018 08:46 PM

 
test.rb:14: [BUG] Segmentation fault at 0x0000000000000010
ruby 2.6.0dev (2018-12-13 trunk 66370) [x86_64-linux]

-- Control frame information -----------------------------------------------
c:0003 p:---- s:0015 e:000014 CFUNC :load_from_binary
c:0002 p:0092 s:0010 E:000480 EVAL test.rb:14 [FINISH]
c:0001 p:0000 s:0003 E:0026a0 (none) [FINISH]

-- Ruby level backtrace information ----------------------------------------
test.rb:14:in `<main>'
test.rb:14:in `load_from_binary'

-- Machine register context ------------------------------------------------
RIP: 0x000056086eef222b RBP: 0x00005608709db1b0 RSP: 0x00007ffe7e95c0c0
RAX: 0x0000000000000000 RBX: 0x0000000000000010 RCX: 0x000056086f090780
RDX: 0x000000000000000b RDI: 0x00005608709db1b0 RSI: 0x0000000000000010
R8: 0x00005608709db780 R9: 0x000056086f090580 R10: 0x000000000000001a
R11: 0x000056086eef23d0 R12: 0x000056086f0905e3 R13: 0x0000000000000013
R14: 0x0000560870aff000 R15: 0x0000560870afeb40 EFL: 0x0000000000010202

-- C level backtrace information -------------------------------------------
/home/wanabe/work/prog/ruby/ruby/tmp/trunk/miniruby(rb_vm_bugreport+0x554) [0x56086f0798f4] ../../vm_dump.c:715
[0x56086eed6738]
/home/wanabe/work/prog/ruby/ruby/tmp/trunk/miniruby(sigsegv+0x42) [0x56086efe7122] ../../signal.c:998
/lib/x86_64-linux-gnu/libpthread.so.0(__restore_rt+0x0) [0x7fb3fcaa2dd0]
[0x56086eef222b]
/home/wanabe/work/prog/ruby/ruby/tmp/trunk/miniruby(each_insn_value+0x5) [0x56086ef254d7] ../../iseq.c:206
/home/wanabe/work/prog/ruby/ruby/tmp/trunk/miniruby(iseq_extract_values) ../../iseq.c:164
/home/wanabe/work/prog/ruby/ruby/tmp/trunk/miniruby(rb_iseq_each_value) ../../iseq.c:199
/home/wanabe/work/prog/ruby/ruby/tmp/trunk/miniruby(rb_iseq_mark) ../../iseq.c:220
/home/wanabe/work/prog/ruby/ruby/tmp/trunk/miniruby(gc_marks_rest+0x80) [0x56086eef5ac0] ../../gc.c:4876
/home/wanabe/work/prog/ruby/ruby/tmp/trunk/miniruby(gc_rest+0xd2) [0x56086eef6772] ../../gc.c:6679
/home/wanabe/work/prog/ruby/ruby/tmp/trunk/miniruby(garbage_collect+0x34) [0x56086eef6944] ../../gc.c:6553
/home/wanabe/work/prog/ruby/ruby/tmp/trunk/miniruby(garbage_collect_with_gvl+0x7a) [0x56086eef69da] ../../gc.c:6811
/home/wanabe/work/prog/ruby/ruby/tmp/trunk/miniruby(ruby_xcalloc+0xb4) [0x56086eefb9f4] ../../gc.c:7988
/home/wanabe/work/prog/ruby/ruby/tmp/trunk/miniruby(rb_ibf_load_iseq_complete+0x68) [0x56086eea2278] ../../compile.c:9096
/home/wanabe/work/prog/ruby/ruby/tmp/trunk/miniruby(ibf_load_iseq+0xa9) [0x56086eea3229] ../../compile.c:10014
/home/wanabe/work/prog/ruby/ruby/tmp/trunk/miniruby(rb_ibf_load_iseq_complete+0xac2) [0x56086eea2cd2] ../../compile.c:8757
/home/wanabe/work/prog/ruby/ruby/tmp/trunk/miniruby(rb_iseq_ibf_load+0xea) [0x56086eea332a] ../../compile.c:10014
/home/wanabe/work/prog/ruby/ruby/tmp/trunk/miniruby(iseqw_s_load_from_binary+0xc) [0x56086ef2154c] ../../iseq.c:3222
[0x56086f05b61b]
[0x56086f06526c]
/home/wanabe/work/prog/ruby/ruby/tmp/trunk/miniruby(vm_call_method+0x55) [0x56086f065925] ../../vm_insnhelper.c:2369
[0x56086f06bb13]
[0x56086f063cf8]
/home/wanabe/work/prog/ruby/ruby/tmp/trunk/miniruby(ruby_exec_internal+0xd3) [0x56086eedaf43] ../../eval.c:261
/home/wanabe/work/prog/ruby/ruby/tmp/trunk/miniruby(ruby_exec_node+0x11) [0x56086eedeb3b] ../../eval.c:325
/home/wanabe/work/prog/ruby/ruby/tmp/trunk/miniruby(ruby_run_node) ../../eval.c:317
/home/wanabe/work/prog/ruby/ruby/tmp/trunk/miniruby(main+0x6f) [0x56086ee50b2f] ../../main.c:42

-- Other runtime information -----------------------------------------------

* Loaded script: test.rb

* Loaded features:

0 enumerator.so
1 thread.rb
2 rational.so
3 complex.so

* Process memory map:

56086ee2a000-56086ee4d000 r--p 00000000 103:05 3163264 /home/wanabe/work/prog/ruby/ruby/tmp/trunk/miniruby
56086ee4d000-56086f086000 r-xp 00023000 103:05 3163264 /home/wanabe/work/prog/ruby/ruby/tmp/trunk/miniruby
56086f086000-56086f16a000 r--p 0025c000 103:05 3163264 /home/wanabe/work/prog/ruby/ruby/tmp/trunk/miniruby
56086f16a000-56086f170000 r--p 0033f000 103:05 3163264 /home/wanabe/work/prog/ruby/ruby/tmp/trunk/miniruby
56086f170000-56086f171000 rw-p 00345000 103:05 3163264 /home/wanabe/work/prog/ruby/ruby/tmp/trunk/miniruby
56086f171000-56086f182000 rw-p 00000000 00:00 0
5608709da000-560870b1c000 rw-p 00000000 00:00 0 [heap]
7fb3f8e8a000-7fb3f9072000 r--s 00000000 103:06 3425916 /lib/x86_64-linux-gnu/libc-2.28.so
7fb3f9072000-7fb3f9097000 r--s 00000000 103:06 3425930 /lib/x86_64-linux-gnu/libpthread-2.28.so
7fb3f9097000-7fb3fa5a6000 r--s 00000000 103:05 3163264 /home/wanabe/work/prog/ruby/ruby/tmp/trunk/miniruby
7fb3fa5a6000-7fb3fa5a9000 r--p 00000000 103:06 3401495 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fb3fa5a9000-7fb3fa5ba000 r-xp 00003000 103:06 3401495 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fb3fa5ba000-7fb3fa5bd000 r--p 00014000 103:06 3401495 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fb3fa5bd000-7fb3fa5be000 ---p 00017000 103:06 3401495 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fb3fa5be000-7fb3fa5bf000 r--p 00017000 103:06 3401495 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fb3fa5bf000-7fb3fa5c0000 rw-p 00018000 103:06 3401495 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fb3fa5c0000-7fb3fc6cd000 rw-p 00000000 00:00 0
7fb3fc6cd000-7fb3fc6ef000 r--p 00000000 103:06 3425916 /lib/x86_64-linux-gnu/libc-2.28.so
7fb3fc6ef000-7fb3fc860000 r-xp 00022000 103:06 3425916 /lib/x86_64-linux-gnu/libc-2.28.so
7fb3fc860000-7fb3fc8ac000 r--p 00193000 103:06 3425916 /lib/x86_64-linux-gnu/libc-2.28.so
7fb3fc8ac000-7fb3fc8ad000 ---p 001df000 103:06 3425916 /lib/x86_64-linux-gnu/libc-2.28.so
7fb3fc8ad000-7fb3fc8b1000 r--p 001df000 103:06 3425916 /lib/x86_64-linux-gnu/libc-2.28.so
7fb3fc8b1000-7fb3fc8b3000 rw-p 001e3000 103:06 3425916 /lib/x86_64-linux-gnu/libc-2.28.so
7fb3fc8b3000-7fb3fc8b9000 rw-p 00000000 00:00 0
7fb3fc8b9000-7fb3fc8c6000 r--p 00000000 103:06 3425919 /lib/x86_64-linux-gnu/libm-2.28.so
7fb3fc8c6000-7fb3fc971000 r-xp 0000d000 103:06 3425919 /lib/x86_64-linux-gnu/libm-2.28.so
7fb3fc971000-7fb3fca44000 r--p 000b8000 103:06 3425919 /lib/x86_64-linux-gnu/libm-2.28.so
7fb3fca44000-7fb3fca45000 r--p 0018a000 103:06 3425919 /lib/x86_64-linux-gnu/libm-2.28.so
7fb3fca45000-7fb3fca46000 rw-p 0018b000 103:06 3425919 /lib/x86_64-linux-gnu/libm-2.28.so
7fb3fca46000-7fb3fca47000 r--p 00000000 103:06 3425917 /lib/x86_64-linux-gnu/libcrypt-2.28.so
7fb3fca47000-7fb3fca4d000 r-xp 00001000 103:06 3425917 /lib/x86_64-linux-gnu/libcrypt-2.28.so
7fb3fca4d000-7fb3fca4f000 r--p 00007000 103:06 3425917 /lib/x86_64-linux-gnu/libcrypt-2.28.so
7fb3fca4f000-7fb3fca50000 ---p 00009000 103:06 3425917 /lib/x86_64-linux-gnu/libcrypt-2.28.so
7fb3fca50000-7fb3fca51000 r--p 00009000 103:06 3425917 /lib/x86_64-linux-gnu/libcrypt-2.28.so
7fb3fca51000-7fb3fca52000 rw-p 0000a000 103:06 3425917 /lib/x86_64-linux-gnu/libcrypt-2.28.so
7fb3fca52000-7fb3fca80000 rw-p 00000000 00:00 0
7fb3fca80000-7fb3fca81000 r--p 00000000 103:06 3425918 /lib/x86_64-linux-gnu/libdl-2.28.so
7fb3fca81000-7fb3fca83000 r-xp 00001000 103:06 3425918 /lib/x86_64-linux-gnu/libdl-2.28.so
7fb3fca83000-7fb3fca84000 r--p 00003000 103:06 3425918 /lib/x86_64-linux-gnu/libdl-2.28.so
7fb3fca84000-7fb3fca85000 r--p 00003000 103:06 3425918 /lib/x86_64-linux-gnu/libdl-2.28.so
7fb3fca85000-7fb3fca86000 rw-p 00004000 103:06 3425918 /lib/x86_64-linux-gnu/libdl-2.28.so
7fb3fca86000-7fb3fca88000 r--p 00000000 103:06 3425932 /lib/x86_64-linux-gnu/librt-2.28.so
7fb3fca88000-7fb3fca8c000 r-xp 00002000 103:06 3425932 /lib/x86_64-linux-gnu/librt-2.28.so
7fb3fca8c000-7fb3fca8e000 r--p 00006000 103:06 3425932 /lib/x86_64-linux-gnu/librt-2.28.so
7fb3fca8e000-7fb3fca8f000 r--p 00007000 103:06 3425932 /lib/x86_64-linux-gnu/librt-2.28.so
7fb3fca8f000-7fb3fca90000 rw-p 00008000 103:06 3425932 /lib/x86_64-linux-gnu/librt-2.28.so
7fb3fca90000-7fb3fca96000 r--p 00000000 103:06 3425930 /lib/x86_64-linux-gnu/libpthread-2.28.so
7fb3fca96000-7fb3fcaa5000 r-xp 00006000 103:06 3425930 /lib/x86_64-linux-gnu/libpthread-2.28.so
7fb3fcaa5000-7fb3fcaab000 r--p 00015000 103:06 3425930 /lib/x86_64-linux-gnu/libpthread-2.28.so
7fb3fcaab000-7fb3fcaac000 r--p 0001a000 103:06 3425930 /lib/x86_64-linux-gnu/libpthread-2.28.so
7fb3fcaac000-7fb3fcaad000 rw-p 0001b000 103:06 3425930 /lib/x86_64-linux-gnu/libpthread-2.28.so
7fb3fcaad000-7fb3fcab1000 rw-p 00000000 00:00 0
7fb3fcab1000-7fb3fcacd000 r-xp 00000000 103:06 3406806 /lib/x86_64-linux-gnu/libz.so.1.2.11
7fb3fcacd000-7fb3fcccc000 ---p 0001c000 103:06 3406806 /lib/x86_64-linux-gnu/libz.so.1.2.11
7fb3fcccc000-7fb3fcccd000 r--p 0001b000 103:06 3406806 /lib/x86_64-linux-gnu/libz.so.1.2.11
7fb3fcccd000-7fb3fccce000 rw-p 0001c000 103:06 3406806 /lib/x86_64-linux-gnu/libz.so.1.2.11
7fb3fccce000-7fb3fccd0000 rw-p 00000000 00:00 0
7fb3fcce9000-7fb3fccea000 r--p 00000000 103:06 3412042 /lib/x86_64-linux-gnu/ld-2.28.so
7fb3fccea000-7fb3fcd0a000 r-xp 00001000 103:06 3412042 /lib/x86_64-linux-gnu/ld-2.28.so
7fb3fcd0a000-7fb3fcd12000 r--p 00021000 103:06 3412042 /lib/x86_64-linux-gnu/ld-2.28.so
7fb3fcd12000-7fb3fcd13000 r--p 00028000 103:06 3412042 /lib/x86_64-linux-gnu/ld-2.28.so
7fb3fcd13000-7fb3fcd14000 rw-p 00029000 103:06 3412042 /lib/x86_64-linux-gnu/ld-2.28.so
7fb3fcd14000-7fb3fcd15000 rw-p 00000000 00:00 0
7ffe7e160000-7ffe7e95f000 rw-p 00000000 00:00 0 [stack]
7ffe7e9c9000-7ffe7e9cc000 r--p 00000000 00:00 0 [vvar]
7ffe7e9cc000-7ffe7e9ce000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]


[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

Aborted (core dumped)
(2-2/2)