|
$ ruby a.rb
|
|
a.rb:10: [BUG] Segmentation fault at 0x000055b0ca7f305d
|
|
ruby 2.5.0dev (2017-05-01 trunk 58531) [x86_64-linux]
|
|
|
|
-- Control frame information -----------------------------------------------
|
|
c:0002 p:0053 s:0006 e:000005 BLOCK a.rb:10 [FINISH]
|
|
c:0001 p:---- s:0003 e:000002 (none) [FINISH]
|
|
|
|
-- Ruby level backtrace information ----------------------------------------
|
|
a.rb:10:in `block (2 levels) in <main>'
|
|
|
|
-- Machine register context ------------------------------------------------
|
|
RIP: 0x000055b0ca814b3f RBP: 0x00007fbb3e13e7a0 RSP: 0x00007fbb3e13e7a0
|
|
RAX: 0x000055b0ca7f3055 RBX: 0x00000000fffffff7 RCX: 0x00007fbb3e240f80
|
|
RDX: 0x000055b0ccaf57d0 RDI: 0x00007fbb3e946a18 RSI: 0x000055b0ca8ec056
|
|
R8: 0x0000000000000011 R9: 0x000000000000002b R10: 0x0000000000000000
|
|
R11: 0x0000000000000206 R12: 0x000055b0ccc6ce88 R13: 0x00007fffaf2458ff
|
|
R14: 0x000055b0cce28148 R15: 0x00007fbb3e240f80 EFL: 0x0000000000010206
|
|
|
|
-- C level backtrace information -------------------------------------------
|
|
/home/wanabe/.rbenv/versions/trunk/bin/ruby(rb_print_backtrace+0x19) [0x55b0ca84120a] ../../vm_dump.c:683
|
|
/home/wanabe/.rbenv/versions/trunk/bin/ruby(rb_vm_bugreport+0xa4) [0x55b0ca841671] ../../vm_dump.c:953
|
|
/home/wanabe/.rbenv/versions/trunk/bin/ruby(rb_bug_context+0x114) [0x55b0ca8b2353] ../../error.c:534
|
|
/home/wanabe/.rbenv/versions/trunk/bin/ruby(sigsegv+0x60) [0x55b0ca7bc000] ../../signal.c:928
|
|
/lib/x86_64-linux-gnu/libpthread.so.0 [0x7fbb4075a670]
|
|
/home/wanabe/.rbenv/versions/trunk/bin/ruby(list_del_+0x1b) [0x55b0ca814b3f] ../../ccan/list/list.h:258
|
|
/home/wanabe/.rbenv/versions/trunk/bin/ruby(autoload_reset+0x148) [0x55b0ca81910d] ../../variable.c:2098
|
|
/home/wanabe/.rbenv/versions/trunk/bin/ruby(rb_ensure+0x1f4) [0x55b0ca6d03e6] ../../eval.c:913
|
|
/home/wanabe/.rbenv/versions/trunk/bin/ruby(rb_autoload_load+0x186) [0x55b0ca8192f8] ../../variable.c:2158
|
|
/home/wanabe/.rbenv/versions/trunk/bin/ruby(rb_const_search+0x104) [0x55b0ca8195a8] ../../variable.c:2225
|
|
/home/wanabe/.rbenv/versions/trunk/bin/ruby(rb_const_get_0+0x36) [0x55b0ca819473] ../../variable.c:2197
|
|
/home/wanabe/.rbenv/versions/trunk/bin/ruby(rb_const_get+0x30) [0x55b0ca8196cc] ../../variable.c:2259
|
|
/home/wanabe/.rbenv/versions/trunk/bin/ruby(vm_get_ev_const+0x234) [0x55b0ca81e6b2] ../../vm_insnhelper.c:850
|
|
/home/wanabe/.rbenv/versions/trunk/bin/ruby(vm_exec_core+0x572) [0x55b0ca828850] ../../insns.def:184
|
|
/home/wanabe/.rbenv/versions/trunk/bin/ruby(vm_exec+0xe4) [0x55b0ca839a9d] ../../vm.c:1769
|
|
/home/wanabe/.rbenv/versions/trunk/bin/ruby(invoke_block+0xe0) [0x55b0ca83769f] ../../vm.c:963
|
|
/home/wanabe/.rbenv/versions/trunk/bin/ruby(invoke_iseq_block_from_c+0x185) [0x55b0ca8379ee] ../../vm.c:1012
|
|
/home/wanabe/.rbenv/versions/trunk/bin/ruby(invoke_block_from_c_unsplattable+0x73) [0x55b0ca837d74] ../../vm.c:1099
|
|
/home/wanabe/.rbenv/versions/trunk/bin/ruby(vm_invoke_proc+0x14e) [0x55b0ca837f43] ../../vm.c:1124
|
|
/home/wanabe/.rbenv/versions/trunk/bin/ruby(rb_vm_invoke_proc+0x83) [0x55b0ca838079] ../../vm.c:1154
|
|
/home/wanabe/.rbenv/versions/trunk/bin/ruby(thread_do_start+0x103) [0x55b0ca7f1ade] ../../thread.c:582
|
|
/home/wanabe/.rbenv/versions/trunk/bin/ruby(thread_start_func_2+0x1fc) [0x55b0ca7f1d65] ../../thread.c:624
|
|
/home/wanabe/.rbenv/versions/trunk/bin/ruby(thread_start_func_1+0x46) [0x55b0ca7ee225] ../../thread_pthread.c:887
|
|
/lib/x86_64-linux-gnu/libpthread.so.0 [0x7fbb407506da]
|
|
/lib/x86_64-linux-gnu/libc.so.6(clone+0x5f) [0x7fbb3fd4517f] ../sysdeps/unix/sysv/linux/x86_64/clone.S:105
|
|
|
|
-- Other runtime information -----------------------------------------------
|
|
|
|
* Loaded script: a.rb
|
|
|
|
* Loaded features:
|
|
|
|
0 enumerator.so
|
|
1 thread.rb
|
|
2 rational.so
|
|
3 complex.so
|
|
4 /home/wanabe/.rbenv/versions/trunk/lib/ruby/2.5.0/x86_64-linux/enc/encdb.so
|
|
5 /home/wanabe/.rbenv/versions/trunk/lib/ruby/2.5.0/x86_64-linux/enc/trans/transdb.so
|
|
6 /home/wanabe/.rbenv/versions/trunk/lib/ruby/2.5.0/unicode_normalize.rb
|
|
7 /home/wanabe/.rbenv/versions/trunk/lib/ruby/2.5.0/x86_64-linux/rbconfig.rb
|
|
8 /home/wanabe/.rbenv/versions/trunk/lib/ruby/2.5.0/rubygems/compatibility.rb
|
|
9 /home/wanabe/.rbenv/versions/trunk/lib/ruby/2.5.0/rubygems/defaults.rb
|
|
10 /home/wanabe/.rbenv/versions/trunk/lib/ruby/2.5.0/rubygems/deprecate.rb
|
|
11 /home/wanabe/.rbenv/versions/trunk/lib/ruby/2.5.0/rubygems/errors.rb
|
|
12 /home/wanabe/.rbenv/versions/trunk/lib/ruby/2.5.0/rubygems/version.rb
|
|
13 /home/wanabe/.rbenv/versions/trunk/lib/ruby/2.5.0/rubygems/requirement.rb
|
|
14 /home/wanabe/.rbenv/versions/trunk/lib/ruby/2.5.0/rubygems/platform.rb
|
|
15 /home/wanabe/.rbenv/versions/trunk/lib/ruby/2.5.0/rubygems/basic_specification.rb
|
|
16 /home/wanabe/.rbenv/versions/trunk/lib/ruby/2.5.0/rubygems/stub_specification.rb
|
|
17 /home/wanabe/.rbenv/versions/trunk/lib/ruby/2.5.0/rubygems/util/list.rb
|
|
18 /home/wanabe/.rbenv/versions/trunk/lib/ruby/2.5.0/x86_64-linux/stringio.so
|
|
19 /home/wanabe/.rbenv/versions/trunk/lib/ruby/2.5.0/rubygems/specification.rb
|
|
20 /home/wanabe/.rbenv/versions/trunk/lib/ruby/2.5.0/rubygems/exceptions.rb
|
|
21 /home/wanabe/.rbenv/versions/trunk/lib/ruby/2.5.0/rubygems/dependency.rb
|
|
22 /home/wanabe/.rbenv/versions/trunk/lib/ruby/2.5.0/rubygems/core_ext/kernel_gem.rb
|
|
23 /home/wanabe/.rbenv/versions/trunk/lib/ruby/2.5.0/monitor.rb
|
|
24 /home/wanabe/.rbenv/versions/trunk/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb
|
|
25 /home/wanabe/.rbenv/versions/trunk/lib/ruby/2.5.0/rubygems.rb
|
|
26 /home/wanabe/.rbenv/versions/trunk/lib/ruby/2.5.0/rubygems/path_support.rb
|
|
|
|
* Process memory map:
|
|
|
|
55b0ca6aa000-55b0ca99a000 r-xp 00000000 08:05 3688025 /home/wanabe/.rbenv/versions/trunk/bin/ruby
|
|
55b0cab9a000-55b0cab9f000 r--p 002f0000 08:05 3688025 /home/wanabe/.rbenv/versions/trunk/bin/ruby
|
|
55b0cab9f000-55b0caba0000 rw-p 002f5000 08:05 3688025 /home/wanabe/.rbenv/versions/trunk/bin/ruby
|
|
55b0caba0000-55b0cabb3000 rw-p 00000000 00:00 0
|
|
55b0ccac0000-55b0ccea3000 rw-p 00000000 00:00 0 [heap]
|
|
7fbb10000000-7fbb10021000 rw-p 00000000 00:00 0
|
|
7fbb10021000-7fbb14000000 ---p 00000000 00:00 0
|
|
7fbb18000000-7fbb18021000 rw-p 00000000 00:00 0
|
|
7fbb18021000-7fbb1c000000 ---p 00000000 00:00 0
|
|
7fbb1c000000-7fbb1c021000 rw-p 00000000 00:00 0
|
|
7fbb1c021000-7fbb20000000 ---p 00000000 00:00 0
|
|
7fbb20000000-7fbb20021000 rw-p 00000000 00:00 0
|
|
7fbb20021000-7fbb24000000 ---p 00000000 00:00 0
|
|
7fbb24000000-7fbb24021000 rw-p 00000000 00:00 0
|
|
7fbb24021000-7fbb28000000 ---p 00000000 00:00 0
|
|
7fbb28000000-7fbb28021000 rw-p 00000000 00:00 0
|
|
7fbb28021000-7fbb2c000000 ---p 00000000 00:00 0
|
|
7fbb2c000000-7fbb2c021000 rw-p 00000000 00:00 0
|
|
7fbb2c021000-7fbb30000000 ---p 00000000 00:00 0
|
|
7fbb30000000-7fbb30021000 rw-p 00000000 00:00 0
|
|
7fbb30021000-7fbb34000000 ---p 00000000 00:00 0
|
|
7fbb34000000-7fbb34021000 rw-p 00000000 00:00 0
|
|
7fbb34021000-7fbb38000000 ---p 00000000 00:00 0
|
|
7fbb38000000-7fbb38021000 rw-p 00000000 00:00 0
|
|
7fbb38021000-7fbb3c000000 ---p 00000000 00:00 0
|
|
7fbb3d436000-7fbb3d5fc000 r--s 00000000 08:05 6948398 /lib/x86_64-linux-gnu/libc-2.24.so
|
|
7fbb3d5fc000-7fbb3dc27000 r--s 00000000 08:05 3688025 /home/wanabe/.rbenv/versions/trunk/bin/ruby
|
|
7fbb3dc27000-7fbb3dc3d000 r-xp 00000000 08:05 6947017 /lib/x86_64-linux-gnu/libgcc_s.so.1
|
|
7fbb3dc3d000-7fbb3de3c000 ---p 00016000 08:05 6947017 /lib/x86_64-linux-gnu/libgcc_s.so.1
|
|
7fbb3de3c000-7fbb3de3d000 r--p 00015000 08:05 6947017 /lib/x86_64-linux-gnu/libgcc_s.so.1
|
|
7fbb3de3d000-7fbb3de3e000 rw-p 00016000 08:05 6947017 /lib/x86_64-linux-gnu/libgcc_s.so.1
|
|
7fbb3de3e000-7fbb3de3f000 ---p 00000000 00:00 0
|
|
7fbb3de3f000-7fbb3e040000 rw-p 00000000 00:00 0
|
|
7fbb3e040000-7fbb3e041000 ---p 00000000 00:00 0
|
|
7fbb3e041000-7fbb3e242000 rw-p 00000000 00:00 0
|
|
7fbb3e242000-7fbb3e243000 ---p 00000000 00:00 0
|
|
7fbb3e243000-7fbb3e444000 rw-p 00000000 00:00 0
|
|
7fbb3e444000-7fbb3e445000 ---p 00000000 00:00 0
|
|
7fbb3e445000-7fbb3e646000 rw-p 00000000 00:00 0
|
|
7fbb3e646000-7fbb3e647000 ---p 00000000 00:00 0
|
|
7fbb3e647000-7fbb3e848000 rw-p 00000000 00:00 0
|
|
7fbb3e848000-7fbb3e849000 ---p 00000000 00:00 0
|
|
7fbb3e849000-7fbb3ea4a000 rw-p 00000000 00:00 0
|
|
7fbb3ea4a000-7fbb3ea4b000 ---p 00000000 00:00 0
|
|
7fbb3ea4b000-7fbb3ec4c000 rw-p 00000000 00:00 0
|
|
7fbb3ec4c000-7fbb3ec4d000 ---p 00000000 00:00 0
|
|
7fbb3ec4d000-7fbb3ee4e000 rw-p 00000000 00:00 0
|
|
7fbb3ee4e000-7fbb3ee4f000 ---p 00000000 00:00 0
|
|
7fbb3ee4f000-7fbb3f050000 rw-p 00000000 00:00 0
|
|
7fbb3f050000-7fbb3f051000 ---p 00000000 00:00 0
|
|
7fbb3f051000-7fbb3f252000 rw-p 00000000 00:00 0
|
|
7fbb3f252000-7fbb3f25a000 r-xp 00000000 08:05 3803622 /home/wanabe/.rbenv/versions/trunk/lib/ruby/2.5.0/x86_64-linux/stringio.so
|
|
7fbb3f25a000-7fbb3f459000 ---p 00008000 08:05 3803622 /home/wanabe/.rbenv/versions/trunk/lib/ruby/2.5.0/x86_64-linux/stringio.so
|
|
7fbb3f459000-7fbb3f45a000 r--p 00007000 08:05 3803622 /home/wanabe/.rbenv/versions/trunk/lib/ruby/2.5.0/x86_64-linux/stringio.so
|
|
7fbb3f45a000-7fbb3f45b000 rw-p 00008000 08:05 3803622 /home/wanabe/.rbenv/versions/trunk/lib/ruby/2.5.0/x86_64-linux/stringio.so
|
|
7fbb3f45b000-7fbb3f45d000 r-xp 00000000 08:05 3803587 /home/wanabe/.rbenv/versions/trunk/lib/ruby/2.5.0/x86_64-linux/enc/trans/transdb.so
|
|
7fbb3f45d000-7fbb3f65d000 ---p 00002000 08:05 3803587 /home/wanabe/.rbenv/versions/trunk/lib/ruby/2.5.0/x86_64-linux/enc/trans/transdb.so
|
|
7fbb3f65d000-7fbb3f65e000 r--p 00002000 08:05 3803587 /home/wanabe/.rbenv/versions/trunk/lib/ruby/2.5.0/x86_64-linux/enc/trans/transdb.so
|
|
7fbb3f65e000-7fbb3f65f000 rw-p 00003000 08:05 3803587 /home/wanabe/.rbenv/versions/trunk/lib/ruby/2.5.0/x86_64-linux/enc/trans/transdb.so
|
|
7fbb3f65f000-7fbb3f661000 r-xp 00000000 08:05 3803545 /home/wanabe/.rbenv/versions/trunk/lib/ruby/2.5.0/x86_64-linux/enc/encdb.so
|
|
7fbb3f661000-7fbb3f860000 ---p 00002000 08:05 3803545 /home/wanabe/.rbenv/versions/trunk/lib/ruby/2.5.0/x86_64-linux/enc/encdb.so
|
|
7fbb3f860000-7fbb3f861000 r--p 00001000 08:05 3803545 /home/wanabe/.rbenv/versions/trunk/lib/ruby/2.5.0/x86_64-linux/enc/encdb.so
|
|
7fbb3f861000-7fbb3f862000 rw-p 00002000 08:05 3803545 /home/wanabe/.rbenv/versions/trunk/lib/ruby/2.5.0/x86_64-linux/enc/encdb.so
|
|
7fbb3f862000-7fbb3fc3d000 r--p 00000000 08:05 6553920 /usr/lib/locale/locale-archive
|
|
7fbb3fc3d000-7fbb3fdfa000 r-xp 00000000 08:05 6948398 /lib/x86_64-linux-gnu/libc-2.24.so
|
|
7fbb3fdfa000-7fbb3fffa000 ---p 001bd000 08:05 6948398 /lib/x86_64-linux-gnu/libc-2.24.so
|
|
7fbb3fffa000-7fbb3fffe000 r--p 001bd000 08:05 6948398 /lib/x86_64-linux-gnu/libc-2.24.so
|
|
7fbb3fffe000-7fbb40000000 rw-p 001c1000 08:05 6948398 /lib/x86_64-linux-gnu/libc-2.24.so
|
|
7fbb40000000-7fbb40004000 rw-p 00000000 00:00 0
|
|
7fbb40004000-7fbb4010c000 r-xp 00000000 08:05 6948402 /lib/x86_64-linux-gnu/libm-2.24.so
|
|
7fbb4010c000-7fbb4030b000 ---p 00108000 08:05 6948402 /lib/x86_64-linux-gnu/libm-2.24.so
|
|
7fbb4030b000-7fbb4030c000 r--p 00107000 08:05 6948402 /lib/x86_64-linux-gnu/libm-2.24.so
|
|
7fbb4030c000-7fbb4030d000 rw-p 00108000 08:05 6948402 /lib/x86_64-linux-gnu/libm-2.24.so
|
|
7fbb4030d000-7fbb40316000 r-xp 00000000 08:05 6948400 /lib/x86_64-linux-gnu/libcrypt-2.24.so
|
|
7fbb40316000-7fbb40515000 ---p 00009000 08:05 6948400 /lib/x86_64-linux-gnu/libcrypt-2.24.so
|
|
7fbb40515000-7fbb40516000 r--p 00008000 08:05 6948400 /lib/x86_64-linux-gnu/libcrypt-2.24.so
|
|
7fbb40516000-7fbb40517000 rw-p 00009000 08:05 6948400 /lib/x86_64-linux-gnu/libcrypt-2.24.so
|
|
7fbb40517000-7fbb40545000 rw-p 00000000 00:00 0
|
|
7fbb40545000-7fbb40548000 r-xp 00000000 08:05 6948401 /lib/x86_64-linux-gnu/libdl-2.24.so
|
|
7fbb40548000-7fbb40747000 ---p 00003000 08:05 6948401 /lib/x86_64-linux-gnu/libdl-2.24.so
|
|
7fbb40747000-7fbb40748000 r--p 00002000 08:05 6948401 /lib/x86_64-linux-gnu/libdl-2.24.so
|
|
7fbb40748000-7fbb40749000 rw-p 00003000 08:05 6948401 /lib/x86_64-linux-gnu/libdl-2.24.so
|
|
7fbb40749000-7fbb40761000 r-xp 00000000 08:05 6948413 /lib/x86_64-linux-gnu/libpthread-2.24.so
|
|
7fbb40761000-7fbb40961000 ---p 00018000 08:05 6948413 /lib/x86_64-linux-gnu/libpthread-2.24.so
|
|
7fbb40961000-7fbb40962000 r--p 00018000 08:05 6948413 /lib/x86_64-linux-gnu/libpthread-2.24.so
|
|
7fbb40962000-7fbb40963000 rw-p 00019000 08:05 6948413 /lib/x86_64-linux-gnu/libpthread-2.24.so
|
|
7fbb40963000-7fbb40967000 rw-p 00000000 00:00 0
|
|
7fbb40967000-7fbb4098c000 r-xp 00000000 08:05 6947025 /lib/x86_64-linux-gnu/ld-2.24.so
|
|
7fbb40a29000-7fbb40b5d000 rw-p 00000000 00:00 0
|
|
7fbb40b62000-7fbb40b85000 r--s 00000000 08:05 6948413 /lib/x86_64-linux-gnu/libpthread-2.24.so
|
|
7fbb40b85000-7fbb40b86000 ---p 00000000 00:00 0
|
|
7fbb40b86000-7fbb40b8c000 rw-p 00000000 00:00 0
|
|
7fbb40b8c000-7fbb40b8d000 r--p 00025000 08:05 6947025 /lib/x86_64-linux-gnu/ld-2.24.so
|
|
7fbb40b8d000-7fbb40b8e000 rw-p 00026000 08:05 6947025 /lib/x86_64-linux-gnu/ld-2.24.so
|
|
7fbb40b8e000-7fbb40b8f000 rw-p 00000000 00:00 0
|
|
7fffaea4c000-7fffaf24b000 rw-p 00000000 00:00 0 [stack]
|
|
7fffaf3f9000-7fffaf3fb000 r--p 00000000 00:00 0 [vvar]
|
|
7fffaf3fb000-7fffaf3fd000 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: http://www.ruby-lang.org/bugreport.html
|
|
|
|
Aborted (core dumped)
|
|
|