Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
/root/test.rb:9: [BUG] Segmentation fault at 0x00000000000008
ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-linux]
-- Control frame information -----------------------------------------------
c:0003 p:---- s:0011 e:000010 CFUNC :new
c:0002 p:0066 s:0007 E:000180 EVAL /root/test.rb:9 [FINISH]
c:0001 p:0000 s:0002 E:000c58 TOP [FINISH]
/root/test.rb:9:in
<main>' /root/test.rb:9:innew'-- C level backtrace information -------------------------------------------
/opt/td-agent/embedded/lib/libruby.so.2.1(+0x1b63ea) [0x7eff368133ea] vm_dump.c:690
/opt/td-agent/embedded/lib/libruby.so.2.1(+0x713fc) [0x7eff366ce3fc] error.c:312
/opt/td-agent/embedded/lib/libruby.so.2.1(rb_bug+0xb8) [0x7eff366ce708] error.c:339
/opt/td-agent/embedded/lib/libruby.so.2.1(+0x139327) [0x7eff36796327] signal.c:802
/lib64/libpthread.so.0(+0xf500) [0x7eff3644f500]
/opt/td-agent/embedded/lib/libruby.so.2.1(st_lookup+0x1f) [0x7eff3679f6af] st.c:419
/usr/lib64/libruby.so.1.8(+0x30e5f) [0x7eff2ee11e5f] array.c:1428
/usr/lib64/libruby.so.1.8(+0x30ee7) [0x7eff2ee11ee7] array.c:1454
/usr/lib64/libruby.so.1.8(+0x3ca0a) [0x7eff2ee1da0a] bignum.c:1649
/usr/lib64/libruby.so.1.8(rb_funcall2+0x58) [0x7eff2ee1e378] bignum.c:5127
/opt/td-agent/embedded/lib/ruby/site_ruby/2.1.0/x86_64-linux/bzip2/bzip2.so(bz_s_new+0x36) [0x7eff2f0ec946] bzip2.c:139
/opt/td-agent/embedded/lib/libruby.so.2.1(+0x19e9da) [0x7eff367fb9da] vm_insnhelper.c:1489
/opt/td-agent/embedded/lib/libruby.so.2.1(+0x1b12b1) [0x7eff3680e2b1] vm_insnhelper.c:1579
/opt/td-agent/embedded/lib/libruby.so.2.1(+0x1a3cc2) [0x7eff36800cc2] insns.def:1028
/opt/td-agent/embedded/lib/libruby.so.2.1(+0x1a9619) [0x7eff36806619] vm.c:1363
/opt/td-agent/embedded/lib/libruby.so.2.1(rb_iseq_eval_main+0x300) [0x7eff36807490] vm.c:1627
/opt/td-agent/embedded/lib/libruby.so.2.1(+0x75e67) [0x7eff366d2e67] eval.c:253
/opt/td-agent/embedded/lib/libruby.so.2.1(ruby_exec_node+0x1d) [0x7eff366d2ebd] eval.c:318
/opt/td-agent/embedded/lib/libruby.so.2.1(ruby_run_node+0x1e) [0x7eff366d62de] eval.c:310
/opt/td-agent/embedded/bin/ruby() [0x4008db] main.c:36
/lib64/libc.so.6(__libc_start_main+0xfd) [0x7eff35804cdd]
/opt/td-agent/embedded/bin/ruby() [0x4007c9]
-- Other runtime information -----------------------------------------------
Loaded script: /root/test.rb
Loaded features:
0 enumerator.so
1 /opt/td-agent/embedded/lib/ruby/2.1.0/x86_64-linux/enc/encdb.so
2 /opt/td-agent/embedded/lib/ruby/2.1.0/x86_64-linux/enc/trans/transdb.so
3 /opt/td-agent/embedded/lib/ruby/site_ruby/2.1.0/rubygems/defaults.rb
4 /opt/td-agent/embedded/lib/ruby/2.1.0/x86_64-linux/rbconfig.rb
5 /opt/td-agent/embedded/lib/ruby/site_ruby/2.1.0/rubygems/deprecate.rb
6 /opt/td-agent/embedded/lib/ruby/site_ruby/2.1.0/rubygems/exceptions.rb
7 /opt/td-agent/embedded/lib/ruby/site_ruby/2.1.0/rubygems/custom_require.rb
8 /opt/td-agent/embedded/lib/ruby/site_ruby/2.1.0/rubygems.rb
9 /opt/td-agent/embedded/lib/ruby/site_ruby/2.1.0/rubygems/version.rb
10 /opt/td-agent/embedded/lib/ruby/site_ruby/2.1.0/rubygems/requirement.rb
11 /opt/td-agent/embedded/lib/ruby/site_ruby/2.1.0/rubygems/platform.rb
12 /opt/td-agent/embedded/lib/ruby/site_ruby/2.1.0/rubygems/specification.rb
13 /opt/td-agent/embedded/lib/ruby/site_ruby/2.1.0/rubygems/path_support.rb
14 /opt/td-agent/embedded/lib/ruby/site_ruby/2.1.0/rubygems/dependency.rb
15 /opt/td-agent/embedded/lib/ruby/site_ruby/2.1.0/x86_64-linux/bzip2/bzip2.so
16 /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/bzip2-ruby-0.2.7/lib/bzip2/version.rb
17 /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/bzip2-ruby-0.2.7/lib/bzip2.rb
18 /opt/td-agent/embedded/lib/ruby/2.1.0/delegate.rb
19 /opt/td-agent/embedded/lib/ruby/2.1.0/x86_64-linux/etc.so
20 /opt/td-agent/embedded/lib/ruby/2.1.0/fileutils.rb
21 /opt/td-agent/embedded/lib/ruby/2.1.0/tmpdir.rb
22 thread.rb
23 /opt/td-agent/embedded/lib/ruby/2.1.0/x86_64-linux/thread.so
24 /opt/td-agent/embedded/lib/ruby/2.1.0/tempfile.rb
Process memory map:
00400000-00401000 r-xp 00000000 08:04 522294 /opt/td-agent/embedded/bin/ruby
00600000-00601000 rw-p 00000000 08:04 522294 /opt/td-agent/embedded/bin/ruby
01437000-019af000 rw-p 00000000 00:00 0 [heap]
7eff2e5b3000-7eff2e5b6000 r-xp 00000000 08:04 523663 /opt/td-agent/embedded/lib/ruby/2.1.0/x86_64-linux/thread.so
7eff2e5b6000-7eff2e7b6000 ---p 00003000 08:04 523663 /opt/td-agent/embedded/lib/ruby/2.1.0/x86_64-linux/thread.so
7eff2e7b6000-7eff2e7b7000 rw-p 00003000 08:04 523663 /opt/td-agent/embedded/lib/ruby/2.1.0/x86_64-linux/thread.so
7eff2e7b7000-7eff2e7ba000 r-xp 00000000 08:04 523633 /opt/td-agent/embedded/lib/ruby/2.1.0/x86_64-linux/etc.so
7eff2e7ba000-7eff2e9b9000 ---p 00003000 08:04 523633 /opt/td-agent/embedded/lib/ruby/2.1.0/x86_64-linux/etc.so
7eff2e9b9000-7eff2e9ba000 rw-p 00002000 08:04 523633 /opt/td-agent/embedded/lib/ruby/2.1.0/x86_64-linux/etc.so
7eff2e9ba000-7eff2e9d0000 r-xp 00000000 08:03 2621442 /lib64/libgcc_s-4.4.7-20120601.so.1
7eff2e9d0000-7eff2ebcf000 ---p 00016000 08:03 2621442 /lib64/libgcc_s-4.4.7-20120601.so.1
7eff2ebcf000-7eff2ebd0000 rw-p 00015000 08:03 2621442 /lib64/libgcc_s-4.4.7-20120601.so.1
7eff2ebd0000-7eff2ebe0000 r-xp 00000000 08:03 2621519 /lib64/libbz2.so.1.0.4
7eff2ebe0000-7eff2eddf000 ---p 00010000 08:03 2621519 /lib64/libbz2.so.1.0.4
7eff2eddf000-7eff2ede1000 rw-p 0000f000 08:03 2621519 /lib64/libbz2.so.1.0.4
7eff2ede1000-7eff2eec4000 r-xp 00000000 08:03 1183171 /usr/lib64/libruby.so.1.8.7
7eff2eec4000-7eff2f0c3000 ---p 000e3000 08:03 1183171 /usr/lib64/libruby.so.1.8.7
7eff2f0c3000-7eff2f0c8000 rw-p 000e2000 08:03 1183171 /usr/lib64/libruby.so.1.8.7
7eff2f0c8000-7eff2f0e6000 rw-p 00000000 00:00 0
7eff2f0e6000-7eff2f0ee000 r-xp 00000000 08:04 525517 /opt/td-agent/embedded/lib/ruby/site_ruby/2.1.0/x86_64-linux/bzip2/bzip2.so
7eff2f0ee000-7eff2f2ee000 ---p 00008000 08:04 525517 /opt/td-agent/embedded/lib/ruby/site_ruby/2.1.0/x86_64-linux/bzip2/bzip2.so
7eff2f2ee000-7eff2f2ef000 rw-p 00008000 08:04 525517 /opt/td-agent/embedded/lib/ruby/site_ruby/2.1.0/x86_64-linux/bzip2/bzip2.so
7eff2f2ef000-7eff2f2f1000 r-xp 00000000 08:04 523624 /opt/td-agent/embedded/lib/ruby/2.1.0/x86_64-linux/enc/trans/transdb.so
7eff2f2f1000-7eff2f4f1000 ---p 00002000 08:04 523624 /opt/td-agent/embedded/lib/ruby/2.1.0/x86_64-linux/enc/trans/transdb.so
7eff2f4f1000-7eff2f4f2000 rw-p 00002000 08:04 523624 /opt/td-agent/embedded/lib/ruby/2.1.0/x86_64-linux/enc/trans/transdb.so
7eff2f4f2000-7eff2f4f4000 r-xp 00000000 08:04 523582 /opt/td-agent/embedded/lib/ruby/2.1.0/x86_64-linux/enc/encdb.so
7eff2f4f4000-7eff2f6f3000 ---p 00002000 08:04 523582 /opt/td-agent/embedded/lib/ruby/2.1.0/x86_64-linux/enc/encdb.so
7eff2f6f3000-7eff2f6f4000 rw-p 00001000 08:04 523582 /opt/td-agent/embedded/lib/ruby/2.1.0/x86_64-linux/enc/encdb.so
7eff2f6f4000-7eff35584000 r--p 00000000 08:03 1187806 /usr/lib/locale/locale-archive
7eff35584000-7eff355e1000 r-xp 00000000 08:03 2621446 /lib64/libfreebl3.so
7eff355e1000-7eff357e0000 ---p 0005d000 08:03 2621446 /lib64/libfreebl3.so
7eff357e0000-7eff357e1000 r--p 0005c000 08:03 2621446 /lib64/libfreebl3.so
7eff357e1000-7eff357e2000 rw-p 0005d000 08:03 2621446 /lib64/libfreebl3.so
7eff357e2000-7eff357e6000 rw-p 00000000 00:00 0
7eff357e6000-7eff35970000 r-xp 00000000 08:03 2621453 /lib64/libc-2.12.so
7eff35970000-7eff35b6f000 ---p 0018a000 08:03 2621453 /lib64/libc-2.12.so
7eff35b6f000-7eff35b73000 r--p 00189000 08:03 2621453 /lib64/libc-2.12.so
7eff35b73000-7eff35b74000 rw-p 0018d000 08:03 2621453 /lib64/libc-2.12.so
7eff35b74000-7eff35b79000 rw-p 00000000 00:00 0
7eff35b79000-7eff35bfc000 r-xp 00000000 08:03 2621461 /lib64/libm-2.12.so
7eff35bfc000-7eff35dfb000 ---p 00083000 08:03 2621461 /lib64/libm-2.12.so
7eff35dfb000-7eff35dfc000 r--p 00082000 08:03 2621461 /lib64/libm-2.12.so
7eff35dfc000-7eff35dfd000 rw-p 00083000 08:03 2621461 /lib64/libm-2.12.so
7eff35dfd000-7eff35e04000 r-xp 00000000 08:03 2621457 /lib64/libcrypt-2.12.so
7eff35e04000-7eff36004000 ---p 00007000 08:03 2621457 /lib64/libcrypt-2.12.so
7eff36004000-7eff36005000 r--p 00007000 08:03 2621457 /lib64/libcrypt-2.12.so
7eff36005000-7eff36006000 rw-p 00008000 08:03 2621457 /lib64/libcrypt-2.12.so
7eff36006000-7eff36034000 rw-p 00000000 00:00 0
7eff36034000-7eff36036000 r-xp 00000000 08:03 2621459 /lib64/libdl-2.12.so
7eff36036000-7eff36236000 ---p 00002000 08:03 2621459 /lib64/libdl-2.12.so
7eff36236000-7eff36237000 r--p 00002000 08:03 2621459 /lib64/libdl-2.12.so
7eff36237000-7eff36238000 rw-p 00003000 08:03 2621459 /lib64/libdl-2.12.so
7eff36238000-7eff3623f000 r-xp 00000000 08:03 2621481 /lib64/librt-2.12.so
7eff3623f000-7eff3643e000 ---p 00007000 08:03 2621481 /lib64/librt-2.12.so
7eff3643e000-7eff3643f000 r--p 00006000 08:03 2621481 /lib64/librt-2.12.so
7eff3643f000-7eff36440000 rw-p 00007000 08:03 2621481 /lib64/librt-2.12.so
7eff36440000-7eff36457000 r-xp 00000000 08:03 2621477 /lib64/libpthread-2.12.so
7eff36457000-7eff36657000 ---p 00017000 08:03 2621477 /lib64/libpthread-2.12.so
7eff36657000-7eff36658000 r--p 00017000 08:03 2621477 /lib64/libpthread-2.12.so
7eff36658000-7eff36659000 rw-p 00018000 08:03 2621477 /lib64/libpthread-2.12.so
7eff36659000-7eff3665d000 rw-p 00000000 00:00 0
7eff3665d000-7eff368d2000 r-xp 00000000 08:04 522675 /opt/td-agent/embedded/lib/libruby.so.2.1.0
7eff368d2000-7eff36ad2000 ---p 00275000 08:04 522675 /opt/td-agent/embedded/lib/libruby.so.2.1.0
7eff36ad2000-7eff36ada000 rw-p 00275000 08:04 522675 /opt/td-agent/embedded/lib/libruby.so.2.1.0
7eff36ada000-7eff36aff000 rw-p 00000000 00:00 0
7eff36aff000-7eff36b1f000 r-xp 00000000 08:03 2621810 /lib64/ld-2.12.so
7eff36c05000-7eff36c0c000 r--s 00000000 08:03 1180640 /usr/lib64/gconv/gconv-modules.cache
7eff36c0c000-7eff36d13000 rw-p 00000000 00:00 0
7eff36d18000-7eff36d19000 rw-p 00000000 00:00 0
7eff36d19000-7eff36d1a000 ---p 00000000 00:00 0
7eff36d1a000-7eff36d1e000 rw-p 00000000 00:00 0
7eff36d1e000-7eff36d1f000 r--p 0001f000 08:03 2621810 /lib64/ld-2.12.so
7eff36d1f000-7eff36d20000 rw-p 00020000 08:03 2621810 /lib64/ld-2.12.so
7eff36d20000-7eff36d21000 rw-p 00000000 00:00 0
7fffc78fd000-7fffc7916000 rw-p 00000000 00:00 0 [stack]
7fffc79ff000-7fffc7a00000 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