require 'thread' class A < Thread def initialize exit end end A.new
Standard input is empty
Standard output is empty
prog.rb:5: [BUG] Segmentation fault at 0x000000 ruby 2.1.5p273 (2014-11-13) [i386-linux-gnu] -- Control frame information ----------------------------------------------- c:0005 p:---- s:0013 e:000012 CFUNC :exit c:0004 p:0007 s:0010 e:000009 METHOD prog.rb:5 [FINISH] c:0003 p:---- s:0007 e:000006 CFUNC :new c:0002 p:0035 s:0004 E:0006d4 EVAL prog.rb:9 [FINISH] c:0001 p:0000 s:0002 E:001224 TOP [FINISH] prog.rb:9:in `<main>' prog.rb:9:in `new' prog.rb:5:in `initialize' prog.rb:5:in `exit' -- C level backtrace information ------------------------------------------- /usr/lib/i386-linux-gnu/libruby-2.1.so.2.1(+0x175343) [0xb75d6343] /usr/lib/i386-linux-gnu/libruby-2.1.so.2.1(+0x1753fe) [0xb75d63fe] /usr/lib/i386-linux-gnu/libruby-2.1.so.2.1(+0x5c813) [0xb74bd813] /usr/lib/i386-linux-gnu/libruby-2.1.so.2.1(rb_bug+0x3d) [0xb74bdb9d] /usr/lib/i386-linux-gnu/libruby-2.1.so.2.1(+0x109ef3) [0xb756aef3] linux-gate.so.1(__kernel_rt_sigreturn+0) [0xb770e40c] /usr/lib/i386-linux-gnu/libruby-2.1.so.2.1(rb_ary_push+0x1a) [0xb748385a] /usr/lib/i386-linux-gnu/libruby-2.1.so.2.1(rb_thread_kill+0x58) [0xb75dd088] /usr/lib/i386-linux-gnu/libruby-2.1.so.2.1(+0x15accb) [0xb75bbccb] /usr/lib/i386-linux-gnu/libruby-2.1.so.2.1(+0x15fb4e) [0xb75c0b4e] /usr/lib/i386-linux-gnu/libruby-2.1.so.2.1(+0x16f4c0) [0xb75d04c0] /usr/lib/i386-linux-gnu/libruby-2.1.so.2.1(+0x1672e9) [0xb75c82e9] /usr/lib/i386-linux-gnu/libruby-2.1.so.2.1(+0x16c370) [0xb75cd370] /usr/lib/i386-linux-gnu/libruby-2.1.so.2.1(+0x161a69) [0xb75c2a69] /usr/lib/i386-linux-gnu/libruby-2.1.so.2.1(rb_funcallv+0x14c) [0xb75c3f7c] /usr/lib/i386-linux-gnu/libruby-2.1.so.2.1(rb_obj_call_init+0x43) [0xb74c4473] /usr/lib/i386-linux-gnu/libruby-2.1.so.2.1(+0x17c6b5) [0xb75dd6b5] /usr/lib/i386-linux-gnu/libruby-2.1.so.2.1(+0x15acb3) [0xb75bbcb3] /usr/lib/i386-linux-gnu/libruby-2.1.so.2.1(+0x15fb4e) [0xb75c0b4e] /usr/lib/i386-linux-gnu/libruby-2.1.so.2.1(+0x16f4c0) [0xb75d04c0] /usr/lib/i386-linux-gnu/libruby-2.1.so.2.1(+0x1672e9) [0xb75c82e9] /usr/lib/i386-linux-gnu/libruby-2.1.so.2.1(+0x16c370) [0xb75cd370] /usr/lib/i386-linux-gnu/libruby-2.1.so.2.1(rb_iseq_eval_main+0x80) [0xb75cef80] /usr/lib/i386-linux-gnu/libruby-2.1.so.2.1(+0x5f795) [0xb74c0795] /usr/lib/i386-linux-gnu/libruby-2.1.so.2.1(ruby_exec_node+0x22) [0xb74c2182] /usr/lib/i386-linux-gnu/libruby-2.1.so.2.1(ruby_run_node+0x2f) [0xb74c3f2f] ruby() [0x80486ae] /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0xb71e3723] ruby() [0x80486dd] -- Other runtime information ----------------------------------------------- * Loaded script: prog.rb * Loaded features: 0 enumerator.so 1 /usr/lib/i386-linux-gnu/ruby/2.1.0/enc/encdb.so 2 /usr/lib/i386-linux-gnu/ruby/2.1.0/enc/trans/transdb.so 3 /usr/lib/i386-linux-gnu/ruby/2.1.0/rbconfig.rb 4 /usr/lib/ruby/2.1.0/rubygems/compatibility.rb 5 /usr/lib/ruby/2.1.0/rubygems/defaults.rb 6 /usr/lib/ruby/2.1.0/rubygems/deprecate.rb 7 /usr/lib/ruby/2.1.0/rubygems/errors.rb 8 /usr/lib/ruby/2.1.0/rubygems/version.rb 9 /usr/lib/ruby/2.1.0/rubygems/requirement.rb 10 /usr/lib/ruby/2.1.0/rubygems/platform.rb 11 /usr/lib/ruby/2.1.0/rubygems/basic_specification.rb 12 /usr/lib/ruby/2.1.0/rubygems/stub_specification.rb 13 /usr/lib/ruby/2.1.0/rubygems/util/stringio.rb 14 /usr/lib/ruby/2.1.0/rubygems/specification.rb 15 /usr/lib/ruby/2.1.0/rubygems/exceptions.rb 16 /usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb 17 /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_gem.rb 18 thread.rb 19 /usr/lib/i386-linux-gnu/ruby/2.1.0/thread.so 20 /usr/lib/ruby/2.1.0/monitor.rb 21 /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb 22 /usr/lib/ruby/2.1.0/rubygems.rb * Process memory map: 08048000-08049000 r-xp 00000000 fe:00 15342379 /usr/bin/ruby2.1 08049000-0804a000 r--p 00000000 fe:00 15342379 /usr/bin/ruby2.1 0804a000-0804b000 rw-p 00001000 fe:00 15342379 /usr/bin/ruby2.1 08715000-08961000 rw-p 00000000 00:00 0 [heap] b6f0a000-b6f0b000 rw-p 00000000 00:00 0 b6f0b000-b6f27000 r-xp 00000000 fe:00 14689495 /lib/i386-linux-gnu/libgcc_s.so.1 b6f27000-b6f28000 rw-p 0001b000 fe:00 14689495 /lib/i386-linux-gnu/libgcc_s.so.1 b6f2f000-b6fb0000 rw-p 00000000 00:00 0 b6fb0000-b6fb3000 r-xp 00000000 fe:00 15860415 /usr/lib/i386-linux-gnu/ruby/2.1.0/thread.so b6fb3000-b6fb4000 r--p 00002000 fe:00 15860415 /usr/lib/i386-linux-gnu/ruby/2.1.0/thread.so b6fb4000-b6fb5000 rw-p 00003000 fe:00 15860415 /usr/lib/i386-linux-gnu/ruby/2.1.0/thread.so b6fb5000-b6fb8000 r-xp 00000000 fe:00 15860401 /usr/lib/i386-linux-gnu/ruby/2.1.0/enc/encdb.so b6fb8000-b6fb9000 r--p 00002000 fe:00 15860401 /usr/lib/i386-linux-gnu/ruby/2.1.0/enc/encdb.so b6fb9000-b6fba000 rw-p 00003000 fe:00 15860401 /usr/lib/i386-linux-gnu/ruby/2.1.0/enc/encdb.so b6fba000-b6fbb000 ---p 00000000 00:00 0 b6fbb000-b703f000 rw-p 00000000 00:00 0 b703f000-b71c8000 r--p 00000000 fe:00 14944174 /usr/lib/locale/locale-archive b71c8000-b71ca000 rw-p 00000000 00:00 0 b71ca000-b7335000 r-xp 00000000 fe:00 14689352 /lib/i386-linux-gnu/libc-2.19.so b7335000-b7337000 r--p 0016b000 fe:00 14689352 /lib/i386-linux-gnu/libc-2.19.so b7337000-b7338000 rw-p 0016d000 fe:00 14689352 /lib/i386-linux-gnu/libc-2.19.so b7338000-b733b000 rw-p 00000000 00:00 0 b733b000-b737e000 r-xp 00000000 fe:00 14689366 /lib/i386-linux-gnu/libm-2.19.so b737e000-b737f000 r--p 00042000 fe:00 14689366 /lib/i386-linux-gnu/libm-2.19.so b737f000-b7380000 rw-p 00043000 fe:00 14689366 /lib/i386-linux-gnu/libm-2.19.so b7380000-b7388000 r-xp 00000000 fe:00 14689520 /lib/i386-linux-gnu/libcrypt-2.19.so b7388000-b7389000 r--p 00008000 fe:00 14689520 /lib/i386-linux-gnu/libcrypt-2.19.so b7389000-b738a000 rw-p 00009000 fe:00 14689520 /lib/i386-linux-gnu/libcrypt-2.19.so b738a000-b73b1000 rw-p 00000000 00:00 0 b73b1000-b73b4000 r-xp 00000000 fe:00 14689509 /lib/i386-linux-gnu/libdl-2.19.so b73b4000-b73b5000 r--p 00002000 fe:00 14689509 /lib/i386-linux-gnu/libdl-2.19.so b73b5000-b73b6000 rw-p 00003000 fe:00 14689509 /lib/i386-linux-gnu/libdl-2.19.so b73b6000-b7442000 r-xp 00000000 fe:00 15733781 /usr/lib/i386-linux-gnu/libgmp.so.10.2.0 b7442000-b7444000 r--p 0008c000 fe:00 15733781 /usr/lib/i386-linux-gnu/libgmp.so.10.2.0 b7444000-b7445000 rw-p 0008e000 fe:00 15733781 /usr/lib/i386-linux-gnu/libgmp.so.10.2.0 b7445000-b7446000 rw-p 00000000 00:00 0 b7446000-b745d000 r-xp 00000000 fe:00 14689484 /lib/i386-linux-gnu/libpthread-2.19.so b745d000-b745e000 r--p 00017000 fe:00 14689484 /lib/i386-linux-gnu/libpthread-2.19.so b745e000-b745f000 rw-p 00018000 fe:00 14689484 /lib/i386-linux-gnu/libpthread-2.19.so b745f000-b7461000 rw-p 00000000 00:00 0 b7461000-b76ea000 r-xp 00000000 fe:00 15733833 /usr/lib/i386-linux-gnu/libruby-2.1.so.2.1.0 b76ea000-b76ef000 rw-p 00288000 fe:00 15733833 /usr/lib/i386-linux-gnu/libruby-2.1.so.2.1.0 b76ef000-b7705000 rw-p 00000000 00:00 0 b7708000-b770a000 r-xp 00000000 fe:00 15860363 /usr/lib/i386-linux-gnu/ruby/2.1.0/enc/trans/transdb.so b770a000-b770b000 r--p 00002000 fe:00 15860363 /usr/lib/i386-linux-gnu/ruby/2.1.0/enc/trans/transdb.so b770b000-b770c000 rw-p 00003000 fe:00 15860363 /usr/lib/i386-linux-gnu/ruby/2.1.0/enc/trans/transdb.so b770c000-b770e000 rw-p 00000000 00:00 0 b770e000-b770f000 r-xp 00000000 00:00 0 [vdso] b770f000-b772e000 r-xp 00000000 fe:00 14689448 /lib/i386-linux-gnu/ld-2.19.so b772e000-b772f000 r--p 0001f000 fe:00 14689448 /lib/i386-linux-gnu/ld-2.19.so b772f000-b7730000 rw-p 00020000 fe:00 14689448 /lib/i386-linux-gnu/ld-2.19.so bfcc6000-bfce7000 rw-p 00000000 00:00 0 [stack] [NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome. For details: http://w...content-available-to-author-only...g.org/bugreport.html