Project

General

Profile

Bug #16177 » bug-in-docker.txt

znz (Kazuhiro NISHIYAMA), 11/12/2019 10:16 AM

 
% docker run --rm -it ruby-16177
#<Thread:0x0000561c07d622d8@x.rb:3 run> terminated with exception (report_on_exception is true):
Traceback (most recent call last):
2: from x.rb:3:in `block in <main>'
1: from x.rb:3:in `require'
/b.rb:1:in `<top (required)>': do not load b.rb (RuntimeError)
x.rb:4: [BUG] Segmentation fault at 0x0000000000000019
ruby 2.7.0dev (2019-11-11T16:47:18Z master c02de30efb) [x86_64-linux]

-- Control frame information -----------------------------------------------
c:0002 p:0008 s:0008 e:000005 BLOCK x.rb:4 [FINISH]
c:0001 p:---- s:0003 e:000002 (none) [FINISH]

-- Ruby level backtrace information ----------------------------------------
x.rb:4:in `block in <main>'

-- Machine register context ------------------------------------------------
RIP: 0x00007fa709df18ca RBP: 0x0000000000000000 RSP: 0x00007fa704b7e9f0
RAX: 0x0000561c07d81ed0 RBX: 0x0000561c07e9ba40 RCX: 0x0000000000000006
RDX: 0x0000000000000000 RDI: 0x0000561c07e9ba40 RSI: 0x00007fa704c7ecb0
R8: 0x0000000000000011 R9: 0x0000000000000002 R10: 0x00000000001c9200
R11: 0x00007fa709ba5ba0 R12: 0x00007fa704b7e770 R13: 0x0000561c07d620f8
R14: 0x00007fa704c7eca0 R15: 0x00007fa704b7e7d0 EFL: 0x0000000000010246

-- C level backtrace information -------------------------------------------
/usr/local/lib/libruby.so.2.7(rb_vm_bugreport+0x769) [0x7fa709e14089] /usr/src/ruby/vm_dump.c:717
/usr/local/lib/libruby.so.2.7(rb_bug_for_fatal_signal+0xe7) [0x7fa709c2e2c7] /usr/src/ruby/error.c:611
/usr/local/lib/libruby.so.2.7(sigsegv+0x4b) [0x7fa709d75a8b] /usr/src/ruby/signal.c:946
/lib/x86_64-linux-gnu/libc.so.6(0x7fa7097aef20) [0x7fa7097aef20]
/usr/local/lib/libruby.so.2.7(hook_before_rewind+0x12a) [0x7fa709df18ca] /usr/src/ruby/vm.c:1742
/usr/local/lib/libruby.so.2.7(vm_exec_handle_exception+0x2a3) [0x7fa709e02de2] /usr/src/ruby/vm.c:2132
/usr/local/lib/libruby.so.2.7(rb_vm_exec) /usr/src/ruby/vm.c:1914
/usr/local/lib/libruby.so.2.7(invoke_iseq_block_from_c+0x183) [0x7fa709e06a63] /usr/src/ruby/vm.c:1116
/usr/local/lib/libruby.so.2.7(invoke_block_from_c_proc) /usr/src/ruby/vm.c:1216
/usr/local/lib/libruby.so.2.7(vm_invoke_proc) /usr/src/ruby/vm.c:1238
/usr/local/lib/libruby.so.2.7(rb_vm_invoke_proc) /usr/src/ruby/vm.c:1259
/usr/local/lib/libruby.so.2.7(thread_do_start+0x283) [0x7fa709db9063] /usr/src/ruby/thread.c:696
/usr/local/lib/libruby.so.2.7(thread_start_func_2+0x257) [0x7fa709dbb597] /usr/src/ruby/thread.c:744
/usr/local/lib/libruby.so.2.7(rb_native_cond_initialize+0x0) [0x7fa709dbbbcb] /usr/src/ruby/thread_pthread.c:969
/usr/local/lib/libruby.so.2.7(register_cached_thread_and_wait) /usr/src/ruby/thread_pthread.c:1021
/usr/local/lib/libruby.so.2.7(thread_start_func_1) /usr/src/ruby/thread_pthread.c:976
/lib/x86_64-linux-gnu/libpthread.so.0(start_thread+0xdb) [0x7fa70933b6db]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x3f) [0x7fa70989188f]

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

* Loaded script: x.rb

* Loaded features:

0 enumerator.so
1 thread.rb
2 rational.so
3 complex.so
4 ruby2_keywords.rb
5 /usr/local/lib/ruby/2.7.0/x86_64-linux/enc/encdb.so
6 /usr/local/lib/ruby/2.7.0/x86_64-linux/enc/trans/transdb.so

* Process memory map:

561c06766000-561c06767000 r-xp 00000000 08:01 2634890 /usr/local/bin/ruby
561c06966000-561c06967000 r--p 00000000 08:01 2634890 /usr/local/bin/ruby
561c06967000-561c06968000 rw-p 00001000 08:01 2634890 /usr/local/bin/ruby
561c07d4c000-561c07d6d000 rw-p 00000000 00:00 0 [heap]
561c07d6d000-561c07ea3000 rw-p 00000000 00:00 0 [heap]
7fa6f8000000-7fa6f8026000 rw-p 00000000 00:00 0
7fa6f8026000-7fa6fc000000 ---p 00000000 00:00 0
7fa6ff746000-7fa6ff76a000 r--s 00000000 08:01 2272346 /lib/x86_64-linux-gnu/libpthread-2.27.so
7fa6ff76a000-7fa6ff95a000 r--s 00000000 08:01 2272285 /lib/x86_64-linux-gnu/libc-2.27.so
7fa6ff95a000-7fa700000000 rw-p 00000000 00:00 0
7fa700000000-7fa700021000 rw-p 00000000 00:00 0
7fa700021000-7fa704000000 ---p 00000000 00:00 0
7fa704014000-7fa704867000 r--s 00000000 08:01 2634933 /usr/local/lib/libruby.so.2.7.0
7fa704867000-7fa70487e000 r-xp 00000000 08:01 2272303 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fa70487e000-7fa704a7d000 ---p 00017000 08:01 2272303 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fa704a7d000-7fa704a7e000 r--p 00016000 08:01 2272303 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fa704a7e000-7fa704a7f000 rw-p 00017000 08:01 2272303 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fa704a7f000-7fa704a80000 ---p 00000000 00:00 0
7fa704a80000-7fa704c80000 rw-p 00000000 00:00 0
7fa704c80000-7fa704c81000 ---p 00000000 00:00 0
7fa704c81000-7fa704e81000 rw-p 00000000 00:00 0
7fa704e81000-7fa704e83000 r-xp 00000000 08:01 2636171 /usr/local/lib/ruby/2.7.0/x86_64-linux/enc/trans/transdb.so
7fa704e83000-7fa705083000 ---p 00002000 08:01 2636171 /usr/local/lib/ruby/2.7.0/x86_64-linux/enc/trans/transdb.so
7fa705083000-7fa705084000 r--p 00002000 08:01 2636171 /usr/local/lib/ruby/2.7.0/x86_64-linux/enc/trans/transdb.so
7fa705084000-7fa705085000 rw-p 00003000 08:01 2636171 /usr/local/lib/ruby/2.7.0/x86_64-linux/enc/trans/transdb.so
7fa705085000-7fa705087000 r-xp 00000000 08:01 2636127 /usr/local/lib/ruby/2.7.0/x86_64-linux/enc/encdb.so
7fa705087000-7fa705286000 ---p 00002000 08:01 2636127 /usr/local/lib/ruby/2.7.0/x86_64-linux/enc/encdb.so
7fa705286000-7fa705287000 r--p 00001000 08:01 2636127 /usr/local/lib/ruby/2.7.0/x86_64-linux/enc/encdb.so
7fa705287000-7fa705288000 rw-p 00002000 08:01 2636127 /usr/local/lib/ruby/2.7.0/x86_64-linux/enc/encdb.so
7fa705288000-7fa705289000 ---p 00000000 00:00 0
7fa705289000-7fa70532a000 rw-p 00000000 00:00 0
7fa70532a000-7fa70532b000 ---p 00000000 00:00 0
7fa70532b000-7fa7053cc000 rw-p 00000000 00:00 0
7fa7053cc000-7fa7053cd000 ---p 00000000 00:00 0
7fa7053cd000-7fa70546e000 rw-p 00000000 00:00 0
7fa70546e000-7fa70546f000 ---p 00000000 00:00 0
7fa70546f000-7fa705510000 rw-p 00000000 00:00 0
7fa705510000-7fa705511000 ---p 00000000 00:00 0
7fa705511000-7fa7055b2000 rw-p 00000000 00:00 0
7fa7055b2000-7fa7055b3000 ---p 00000000 00:00 0
7fa7055b3000-7fa705654000 rw-p 00000000 00:00 0
7fa705654000-7fa705655000 ---p 00000000 00:00 0
7fa705655000-7fa7056f6000 rw-p 00000000 00:00 0
7fa7056f6000-7fa7056f7000 ---p 00000000 00:00 0
7fa7056f7000-7fa705798000 rw-p 00000000 00:00 0
7fa705798000-7fa705799000 ---p 00000000 00:00 0
7fa705799000-7fa70583a000 rw-p 00000000 00:00 0
7fa70583a000-7fa70583b000 ---p 00000000 00:00 0
7fa70583b000-7fa7058dc000 rw-p 00000000 00:00 0
7fa7058dc000-7fa7058dd000 ---p 00000000 00:00 0
7fa7058dd000-7fa70597e000 rw-p 00000000 00:00 0
7fa70597e000-7fa70597f000 ---p 00000000 00:00 0
7fa70597f000-7fa705a20000 rw-p 00000000 00:00 0
7fa705a20000-7fa705a21000 ---p 00000000 00:00 0
7fa705a21000-7fa705ac2000 rw-p 00000000 00:00 0
7fa705ac2000-7fa705ac3000 ---p 00000000 00:00 0
7fa705ac3000-7fa705b64000 rw-p 00000000 00:00 0
7fa705b64000-7fa705b65000 ---p 00000000 00:00 0
7fa705b65000-7fa705c06000 rw-p 00000000 00:00 0
7fa705c06000-7fa705c07000 ---p 00000000 00:00 0
7fa705c07000-7fa705ca8000 rw-p 00000000 00:00 0
7fa705ca8000-7fa705ca9000 ---p 00000000 00:00 0
7fa705ca9000-7fa705d4a000 rw-p 00000000 00:00 0
7fa705d4a000-7fa705d4b000 ---p 00000000 00:00 0
7fa705d4b000-7fa705dec000 rw-p 00000000 00:00 0
7fa705dec000-7fa705ded000 ---p 00000000 00:00 0
7fa705ded000-7fa705e8e000 rw-p 00000000 00:00 0
7fa705e8e000-7fa705e8f000 ---p 00000000 00:00 0
7fa705e8f000-7fa705f30000 rw-p 00000000 00:00 0
7fa705f30000-7fa705f31000 ---p 00000000 00:00 0
7fa705f31000-7fa705fd2000 rw-p 00000000 00:00 0
7fa705fd2000-7fa705fd3000 ---p 00000000 00:00 0
7fa705fd3000-7fa706074000 rw-p 00000000 00:00 0
7fa706074000-7fa706075000 ---p 00000000 00:00 0
7fa706075000-7fa706116000 rw-p 00000000 00:00 0
7fa706116000-7fa706117000 ---p 00000000 00:00 0
7fa706117000-7fa7061b8000 rw-p 00000000 00:00 0
7fa7061b8000-7fa7061b9000 ---p 00000000 00:00 0
7fa7061b9000-7fa70625a000 rw-p 00000000 00:00 0
7fa70625a000-7fa70625b000 ---p 00000000 00:00 0
7fa70625b000-7fa7062fc000 rw-p 00000000 00:00 0
7fa7062fc000-7fa7062fd000 ---p 00000000 00:00 0
7fa7062fd000-7fa70639e000 rw-p 00000000 00:00 0
7fa70639e000-7fa70639f000 ---p 00000000 00:00 0
7fa70639f000-7fa706440000 rw-p 00000000 00:00 0
7fa706440000-7fa706441000 ---p 00000000 00:00 0
7fa706441000-7fa7064e2000 rw-p 00000000 00:00 0
7fa7064e2000-7fa7064e3000 ---p 00000000 00:00 0
7fa7064e3000-7fa706584000 rw-p 00000000 00:00 0
7fa706584000-7fa706585000 ---p 00000000 00:00 0
7fa706585000-7fa706626000 rw-p 00000000 00:00 0
7fa706626000-7fa706627000 ---p 00000000 00:00 0
7fa706627000-7fa7086d1000 rw-p 00000000 00:00 0
7fa7086d1000-7fa70886e000 r-xp 00000000 08:01 2272310 /lib/x86_64-linux-gnu/libm-2.27.so
7fa70886e000-7fa708a6d000 ---p 0019d000 08:01 2272310 /lib/x86_64-linux-gnu/libm-2.27.so
7fa708a6d000-7fa708a6e000 r--p 0019c000 08:01 2272310 /lib/x86_64-linux-gnu/libm-2.27.so
7fa708a6e000-7fa708a6f000 rw-p 0019d000 08:01 2272310 /lib/x86_64-linux-gnu/libm-2.27.so
7fa708a6f000-7fa708a78000 r-xp 00000000 08:01 2272293 /lib/x86_64-linux-gnu/libcrypt-2.27.so
7fa708a78000-7fa708c77000 ---p 00009000 08:01 2272293 /lib/x86_64-linux-gnu/libcrypt-2.27.so
7fa708c77000-7fa708c78000 r--p 00008000 08:01 2272293 /lib/x86_64-linux-gnu/libcrypt-2.27.so
7fa708c78000-7fa708c79000 rw-p 00009000 08:01 2272293 /lib/x86_64-linux-gnu/libcrypt-2.27.so
7fa708c79000-7fa708ca7000 rw-p 00000000 00:00 0
7fa708ca7000-7fa708caa000 r-xp 00000000 08:01 2272295 /lib/x86_64-linux-gnu/libdl-2.27.so
7fa708caa000-7fa708ea9000 ---p 00003000 08:01 2272295 /lib/x86_64-linux-gnu/libdl-2.27.so
7fa708ea9000-7fa708eaa000 r--p 00002000 08:01 2272295 /lib/x86_64-linux-gnu/libdl-2.27.so
7fa708eaa000-7fa708eab000 rw-p 00003000 08:01 2272295 /lib/x86_64-linux-gnu/libdl-2.27.so
7fa708eab000-7fa708f2a000 r-xp 00000000 08:01 2273058 /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.2
7fa708f2a000-7fa70912a000 ---p 0007f000 08:01 2273058 /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.2
7fa70912a000-7fa70912b000 r--p 0007f000 08:01 2273058 /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.2
7fa70912b000-7fa70912c000 rw-p 00080000 08:01 2273058 /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.2
7fa70912c000-7fa709133000 r-xp 00000000 08:01 2272350 /lib/x86_64-linux-gnu/librt-2.27.so
7fa709133000-7fa709332000 ---p 00007000 08:01 2272350 /lib/x86_64-linux-gnu/librt-2.27.so
7fa709332000-7fa709333000 r--p 00006000 08:01 2272350 /lib/x86_64-linux-gnu/librt-2.27.so
7fa709333000-7fa709334000 rw-p 00007000 08:01 2272350 /lib/x86_64-linux-gnu/librt-2.27.so
7fa709334000-7fa70934e000 r-xp 00000000 08:01 2272346 /lib/x86_64-linux-gnu/libpthread-2.27.so
7fa70934e000-7fa70954d000 ---p 0001a000 08:01 2272346 /lib/x86_64-linux-gnu/libpthread-2.27.so
7fa70954d000-7fa70954e000 r--p 00019000 08:01 2272346 /lib/x86_64-linux-gnu/libpthread-2.27.so
7fa70954e000-7fa70954f000 rw-p 0001a000 08:01 2272346 /lib/x86_64-linux-gnu/libpthread-2.27.so
7fa70954f000-7fa709553000 rw-p 00000000 00:00 0
7fa709553000-7fa70956f000 r-xp 00000000 08:01 2272373 /lib/x86_64-linux-gnu/libz.so.1.2.11
7fa70956f000-7fa70976e000 ---p 0001c000 08:01 2272373 /lib/x86_64-linux-gnu/libz.so.1.2.11
7fa70976e000-7fa70976f000 r--p 0001b000 08:01 2272373 /lib/x86_64-linux-gnu/libz.so.1.2.11
7fa70976f000-7fa709770000 rw-p 0001c000 08:01 2272373 /lib/x86_64-linux-gnu/libz.so.1.2.11
7fa709770000-7fa709957000 r-xp 00000000 08:01 2272285 /lib/x86_64-linux-gnu/libc-2.27.so
7fa709957000-7fa709b57000 ---p 001e7000 08:01 2272285 /lib/x86_64-linux-gnu/libc-2.27.so
7fa709b57000-7fa709b5b000 r--p 001e7000 08:01 2272285 /lib/x86_64-linux-gnu/libc-2.27.so
7fa709b5b000-7fa709b5d000 rw-p 001eb000 08:01 2272285 /lib/x86_64-linux-gnu/libc-2.27.so
7fa709b5d000-7fa709b61000 rw-p 00000000 00:00 0
7fa709b61000-7fa709f13000 r-xp 00000000 08:01 2634933 /usr/local/lib/libruby.so.2.7.0
7fa709f13000-7fa70a113000 ---p 003b2000 08:01 2634933 /usr/local/lib/libruby.so.2.7.0
7fa70a113000-7fa70a119000 r--p 003b2000 08:01 2634933 /usr/local/lib/libruby.so.2.7.0
7fa70a119000-7fa70a11c000 rw-p 003b8000 08:01 2634933 /usr/local/lib/libruby.so.2.7.0
7fa70a11c000-7fa70a138000 rw-p 00000000 00:00 0
7fa70a138000-7fa70a15f000 r-xp 00000000 08:01 2272267 /lib/x86_64-linux-gnu/ld-2.27.so
7fa70a166000-7fa70a31d000 rw-p 00000000 00:00 0
7fa70a31d000-7fa70a324000 r--s 00000000 08:01 2273037 /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
7fa70a324000-7fa70a355000 r--p 00000000 08:01 2272763 /usr/lib/locale/C.UTF-8/LC_CTYPE
7fa70a355000-7fa70a359000 rw-p 00000000 00:00 0
7fa70a359000-7fa70a35d000 r--s 00000000 08:01 2634890 /usr/local/bin/ruby
7fa70a35d000-7fa70a35f000 rw-p 00000000 00:00 0
7fa70a35f000-7fa70a360000 r--p 00027000 08:01 2272267 /lib/x86_64-linux-gnu/ld-2.27.so
7fa70a360000-7fa70a361000 rw-p 00028000 08:01 2272267 /lib/x86_64-linux-gnu/ld-2.27.so
7fa70a361000-7fa70a362000 rw-p 00000000 00:00 0
7ffd27f33000-7ffd28732000 rw-p 00000000 00:00 0 [stack]
7ffd287d0000-7ffd287d2000 r--p 00000000 00:00 0 [vvar]
7ffd287d2000-7ffd287d4000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]


Aborted
(2-2/2)