Created
October 14, 2012 15:32
-
-
Save kris7t/3888930 to your computer and use it in GitHub Desktop.
This file contains 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
$ irb | |
irb(main):001:0> RUBY_VERSION | |
=> "1.9.3" | |
irb(main):002:0> Kernel.fork { Random.rand(100000) } | |
=> 22594 | |
(irb):2: [BUG] Segmentation fault | |
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux] | |
-- Control frame information ----------------------------------------------- | |
c:0027 p:---- s:0093 b:0093 l:000092 d:000092 CFUNC :rand | |
c:0026 p:0017 s:0089 b:0089 l:001218 d:000088 BLOCK (irb):2 | |
c:0025 p:---- s:0087 b:0087 l:000086 d:000086 FINISH | |
c:0024 p:---- s:0085 b:0085 l:000084 d:000084 CFUNC :fork | |
c:0023 p:0015 s:0082 b:0082 l:001218 d:000081 EVAL (irb):2 | |
c:0022 p:---- s:0080 b:0080 l:000079 irb(main):003:0> d:000079 FINISH | |
c:0021 p:---- s:0078 b:0078 l:000077 d:000077 CFUNC :eval | |
c:0020 p:0028 s:0071 b:0071 l:000070 d:000070 METHOD /usr/lib/ruby/1.9.1/irb/workspace.rb:80 | |
c:0019 p:0033 s:0064 b:0063 l:000062 d:000062 METHOD /usr/lib/ruby/1.9.1/irb/context.rb:254 | |
c:0018 p:0031 s:0058 b:0058 l:001ad8 d:000057 BLOCK /usr/lib/ruby/1.9.1/irb.rb:159 | |
c:0017 p:0042 s:0050 b:0050 l:000049 d:000049 METHOD /usr/lib/ruby/1.9.1/irb.rb:273 | |
c:0016 p:0011 s:0045 b:0045 l:001ad8 d:000044 BLOCK /usr/lib/ruby/1.9.1/irb.rb:156 | |
c:0015 p:0144 s:0041 b:0041 l:000024 d:000040 BLOCK /usr/lib/ruby/1.9.1/irb/ruby-lex.rb:243 | |
c:0014 p:---- s:0038 b:0038 l:000037 d:000037 FINISH | |
c:0013 p:---- s:0036 b:0036 l:000035 d:000035 CFUNC :loop | |
c:0012 p:0009 s:0033 b:0033 l:000024 d:000032 BLOCK /usr/lib/ruby/1.9.1/irb/ruby-lex.rb:229 | |
c:0011 p:---- s:0031 b:0031 l:000030 d:000030 FINISH | |
c:0010 p:---- s:0029 b:0029 l:000028 d:000028 CFUNC :catch | |
c:0009 p:0023 s:0025 b:0025 l:000024 d:000024 METHOD /usr/lib/ruby/1.9.1/irb/ruby-lex.rb:228 | |
c:0008 p:0046 s:0022 b:0022 l:001ad8 d:001ad8 METHOD /usr/lib/ruby/1.9.1/irb.rb:155 | |
c:0007 p:0011 s:0019 b:0019 l:000468 d:000018 BLOCK /usr/lib/ruby/1.9.1/irb.rb:70 | |
c:0006 p:---- s:0017 b:0017 l:000016 d:000016 FINISH | |
c:0005 p:---- s:0015 b:0015 l:000014 d:000014 CFUNC :catch | |
c:0004 p:0183 s:0011 b:0011 l:000468 d:000468 METHOD /usr/lib/ruby/1.9.1/irb.rb:69 | |
c:0003 p:0039 s:0006 b:0006 l:0026b8 d:001fc8 EVAL /usr/bin/irb:12 | |
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH | |
c:0001 p:0000 s:0002 b:0002 l:0026b8 d:0026b8 TOP | |
-- Ruby level backtrace information ---------------------------------------- | |
/usr/bin/irb:12:in `<main>' | |
/usr/lib/ruby/1.9.1/irb.rb:69:in `start' | |
/usr/lib/ruby/1.9.1/irb.rb:69:in `catch' | |
/usr/lib/ruby/1.9.1/irb.rb:70:in `block in start' | |
/usr/lib/ruby/1.9.1/irb.rb:155:in `eval_input' | |
/usr/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement' | |
/usr/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch' | |
/usr/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement' | |
/usr/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop' | |
/usr/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement' | |
/usr/lib/ruby/1.9.1/irb.rb:156:in `block in eval_input' | |
/usr/lib/ruby/1.9.1/irb.rb:273:in `signal_status' | |
/usr/lib/ruby/1.9.1/irb.rb:159:in `block (2 levels) in eval_input' | |
/usr/lib/ruby/1.9.1/irb/context.rb:254:in `evaluate' | |
/usr/lib/ruby/1.9.1/irb/workspace.rb:80:in `evaluate' | |
/usr/lib/ruby/1.9.1/irb/workspace.rb:80:in `eval' | |
(irb):2:in `irb_binding' | |
(irb):2:in `fork' | |
(irb):2:in `block in irb_binding' | |
(irb):2:in `rand' | |
-- C level backtrace information ------------------------------------------- | |
/usr/lib/libruby.so.1.9(+0x155599) [0x7f3737992599] | |
/usr/lib/libruby.so.1.9(+0x57d89) [0x7f3737894d89] | |
/usr/lib/libruby.so.1.9(rb_bug+0xb3) [0x7f37378955c3] | |
/usr/lib/libruby.so.1.9(+0xf6cef) [0x7f3737933cef] | |
/usr/lib/libc.so.6(+0x35020) [0x7f37374cb020] | |
/usr/lib/libruby.so.1.9(+0xc30fa) [0x7f37379000fa] | |
/usr/lib/libruby.so.1.9(+0xc3b64) [0x7f3737900b64] | |
/usr/lib/libruby.so.1.9(+0xc418c) [0x7f373790118c] | |
/usr/lib/libruby.so.1.9(+0xc4308) [0x7f3737901308] | |
/usr/lib/libruby.so.1.9(+0x14f733) [0x7f373798c733] | |
/usr/lib/libruby.so.1.9(+0x145588) [0x7f3737982588] | |
/usr/lib/libruby.so.1.9(+0x14ac10) [0x7f3737987c10] | |
/usr/lib/libruby.so.1.9(rb_yield+0x308) [0x7f373798e428] | |
/usr/lib/libruby.so.1.9(rb_protect+0xcd) [0x7f373789984d] | |
/usr/lib/libruby.so.1.9(+0xc20aa) [0x7f37378ff0aa] | |
/usr/lib/libruby.so.1.9(+0x14f733) [0x7f373798c733] | |
/usr/lib/libruby.so.1.9(+0x145588) [0x7f3737982588] | |
/usr/lib/libruby.so.1.9(+0x14ac10) [0x7f3737987c10] | |
/usr/lib/libruby.so.1.9(+0x14b043) [0x7f3737988043] | |
/usr/lib/libruby.so.1.9(+0x14b4f5) [0x7f37379884f5] | |
/usr/lib/libruby.so.1.9(+0x14f733) [0x7f373798c733] | |
/usr/lib/libruby.so.1.9(+0x145588) [0x7f3737982588] | |
/usr/lib/libruby.so.1.9(+0x14ac10) [0x7f3737987c10] | |
/usr/lib/libruby.so.1.9(+0x14ff65) [0x7f373798cf65] | |
/usr/lib/libruby.so.1.9(rb_rescue2+0x166) [0x7f3737899666] | |
/usr/lib/libruby.so.1.9(+0x14133e) [0x7f373797e33e] | |
/usr/lib/libruby.so.1.9(+0x14f733) [0x7f373798c733] | |
/usr/lib/libruby.so.1.9(+0x145588) [0x7f3737982588] | |
/usr/lib/libruby.so.1.9(+0x14ac10) [0x7f3737987c10] | |
/usr/lib/libruby.so.1.9(+0x150ad5) [0x7f373798dad5] | |
/usr/lib/libruby.so.1.9(rb_catch_obj+0xba) [0x7f37379803ba] | |
/usr/lib/libruby.so.1.9(+0x14345e) [0x7f373798045e] | |
/usr/lib/libruby.so.1.9(+0x14f733) [0x7f373798c733] | |
/usr/lib/libruby.so.1.9(+0x145588) [0x7f3737982588] | |
/usr/lib/libruby.so.1.9(+0x14ac10) [0x7f3737987c10] | |
/usr/lib/libruby.so.1.9(+0x150ad5) [0x7f373798dad5] | |
/usr/lib/libruby.so.1.9(rb_catch_obj+0xba) [0x7f37379803ba] | |
/usr/lib/libruby.so.1.9(+0x14345e) [0x7f373798045e] | |
/usr/lib/libruby.so.1.9(+0x14f733) [0x7f373798c733] | |
/usr/lib/libruby.so.1.9(+0x145588) [0x7f3737982588] | |
/usr/lib/libruby.so.1.9(+0x14ac10) [0x7f3737987c10] | |
/usr/lib/libruby.so.1.9(rb_iseq_eval_main+0xad) [0x7f373798f11d] | |
/usr/lib/libruby.so.1.9(+0x5b77a) [0x7f373789877a] | |
/usr/lib/libruby.so.1.9(ruby_exec_node+0x1d) [0x7f373789921d] | |
/usr/lib/libruby.so.1.9(ruby_run_node+0x1e) [0x7f373789acae] | |
irb() [0x40086b] | |
/usr/lib/libc.so.6(__libc_start_main+0xf5) [0x7f37374b7725] | |
irb() [0x400899] | |
-- Other runtime information ----------------------------------------------- | |
* Loaded script: irb | |
* Loaded features: | |
0 enumerator.so | |
1 /usr/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so | |
2 /usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so | |
3 /usr/lib/ruby/1.9.1/rubygems/defaults.rb | |
4 /usr/lib/ruby/1.9.1/x86_64-linux/rbconfig.rb | |
5 /usr/lib/ruby/1.9.1/rubygems/deprecate.rb | |
6 /usr/lib/ruby/1.9.1/rubygems/exceptions.rb | |
7 /usr/lib/ruby/1.9.1/rubygems/custom_require.rb | |
8 /usr/lib/ruby/1.9.1/rubygems.rb | |
9 /usr/lib/ruby/1.9.1/e2mmap.rb | |
10 /usr/lib/ruby/1.9.1/irb/init.rb | |
11 /usr/lib/ruby/1.9.1/irb/workspace.rb | |
12 /usr/lib/ruby/1.9.1/irb/inspector.rb | |
13 /usr/lib/ruby/1.9.1/irb/context.rb | |
14 /usr/lib/ruby/1.9.1/irb/extend-command.rb | |
15 /usr/lib/ruby/1.9.1/irb/output-method.rb | |
16 /usr/lib/ruby/1.9.1/irb/notifier.rb | |
17 /usr/lib/ruby/1.9.1/irb/slex.rb | |
18 /usr/lib/ruby/1.9.1/irb/ruby-token.rb | |
19 /usr/lib/ruby/1.9.1/irb/ruby-lex.rb | |
20 /usr/lib/ruby/1.9.1/irb/src_encoding.rb | |
21 /usr/lib/ruby/1.9.1/irb/magic-file.rb | |
22 /usr/lib/ruby/1.9.1/x86_64-linux/readline.so | |
23 /usr/lib/ruby/1.9.1/irb/input-method.rb | |
24 /usr/lib/ruby/1.9.1/irb/locale.rb | |
25 /usr/lib/ruby/1.9.1/irb.rb | |
26 /usr/lib/ruby/1.9.1/rubygems/version.rb | |
27 /usr/lib/ruby/1.9.1/rubygems/requirement.rb | |
28 /usr/lib/ruby/1.9.1/rubygems/platform.rb | |
29 /usr/lib/ruby/1.9.1/rubygems/specification.rb | |
30 /usr/lib/ruby/1.9.1/rubygems/path_support.rb | |
* Process memory map: | |
00400000-00401000 r-xp 00000000 fe:01 1731089 /usr/bin/ruby | |
00600000-00601000 r--p 00000000 fe:01 1731089 /usr/bin/ruby | |
00601000-00602000 rw-p 00001000 fe:01 1731089 /usr/bin/ruby | |
01ed4000-024a6000 rw-p 00000000 00:00 0 [heap] | |
7f373588f000-7f37358a4000 r-xp 00000000 fe:01 1732687 /usr/lib/libgcc_s.so.1 | |
7f37358a4000-7f3735aa3000 ---p 00015000 fe:01 1732687 /usr/lib/libgcc_s.so.1 | |
7f3735aa3000-7f3735aa4000 rw-p 00014000 fe:01 1732687 /usr/lib/libgcc_s.so.1 | |
7f3735aa4000-7f3735afc000 r-xp 00000000 fe:01 1707380 /usr/lib/libncursesw.so.5.9 | |
7f3735afc000-7f3735cfb000 ---p 00058000 fe:01 1707380 /usr/lib/libncursesw.so.5.9 | |
7f3735cfb000-7f3735cff000 r--p 00057000 fe:01 1707380 /usr/lib/libncursesw.so.5.9 | |
7f3735cff000-7f3735d00000 rw-p 0005b000 fe:01 1707380 /usr/lib/libncursesw.so.5.9 | |
7f3735d00000-7f3735d01000 rw-p 00000000 00:00 0 | |
7f3735d01000-7f3735d3d000 r-xp 00000000 fe:01 1706236 /usr/lib/libreadline.so.6.2 | |
7f3735d3d000-7f3735f3d000 ---p 0003c000 fe:01 1706236 /usr/lib/libreadline.so.6.2 | |
7f3735f3d000-7f3735f3f000 r--p 0003c000 fe:01 1706236 /usr/lib/libreadline.so.6.2 | |
7f3735f3f000-7f3735f45000 rw-p 0003e000 fe:01 1706236 /usr/lib/libreadline.so.6.2 | |
7f3735f45000-7f3735f47000 rw-p 00000000 00:00 0 | |
7f3735f79000-7f3735f7f000 r-xp 00000000 fe:01 2361504 /usr/lib/ruby/1.9.1/x86_64-linux/readline.so | |
7f3735f7f000-7f373617e000 ---p 00006000 fe:01 2361504 /usr/lib/ruby/1.9.1/x86_64-linux/readline.so | |
7f373617e000-7f373617f000 r--p 00005000 fe:01 2361504 /usr/lib/ruby/1.9.1/x86_64-linux/readline.so | |
7f373617f000-7f3736180000 rw-p 00006000 fe:01 2361504 /usr/lib/ruby/1.9.1/x86_64-linux/readline.so | |
7f3736180000-7f3736182000 r-xp 00000000 fe:01 2361561 /usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so | |
7f3736182000-7f3736382000 ---p 00002000 fe:01 2361561 /usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so | |
7f3736382000-7f3736383000 r--p 00002000 fe:01 2361561 /usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so | |
7f3736383000-7f3736384000 rw-p 00003000 fe:01 2361561 /usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so | |
7f3736384000-7f3736386000 r-xp 00000000 fe:01 2361532 /usr/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so | |
7f3736386000-7f3736585000 ---p 00002000 fe:01 2361532 /usr/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so | |
7f3736585000-7f3736586000 r--p 00001000 fe:01 2361532 /usr/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so | |
7f3736586000-7f3736587000 rw-p 00002000 fe:01 2361532 /usr/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so | |
7f3736587000-7f373693d000 r--p 00000000 fe:01 1727810 /usr/lib/locale/locale-archive | |
7f373693d000-7f3736a36000 r-xp 00000000 fe:01 1704485 /usr/lib/libm-2.16.so | |
7f3736a36000-7f3736c35000 ---p 000f9000 fe:01 1704485 /usr/lib/libm-2.16.so | |
7f3736c35000-7f3736c36000 r--p 000f8000 fe:01 1704485 /usr/lib/libm-2.16.so | |
7f3736c36000-7f3736c37000 rw-p 000f9000 fe:01 1704485 /usr/lib/libm-2.16.so | |
7f3736c37000-7f3736c3f000 r-xp 00000000 fe:01 1704253 /usr/lib/libcrypt-2.16.so | |
7f3736c3f000-7f3736e3e000 ---p 00008000 fe:01 1704253 /usr/lib/libcrypt-2.16.so | |
7f3736e3e000-7f3736e3f000 r--p 00007000 fe:01 1704253 /usr/lib/libcrypt-2.16.so | |
7f3736e3f000-7f3736e40000 rw-p 00008000 fe:01 1704253 /usr/lib/libcrypt-2.16.so | |
7f3736e40000-7f3736e6e000 rw-p 00000000 00:00 0 | |
7f3736e6e000-7f3736e71000 r-xp 00000000 fe:01 1715882 /usr/lib/libdl-2.16.so | |
7f3736e71000-7f3737070000 ---p 00003000 fe:01 1715882 /usr/lib/libdl-2.16.so | |
7f3737070000-7f3737071000 r--p 00002000 fe:01 1715882 /usr/lib/libdl-2.16.so | |
7f3737071000-7f3737072000 rw-p 00003000 fe:01 1715882 /usr/lib/libdl-2.16.so | |
7f3737072000-7f3737079000 r-xp 00000000 fe:01 1706177 /usr/lib/librt-2.16.so | |
7f3737079000-7f3737278000 ---p 00007000 fe:01 1706177 /usr/lib/librt-2.16.so | |
7f3737278000-7f3737279000 r--p 00006000 fe:01 1706177 /usr/lib/librt-2.16.so | |
7f3737279000-7f373727a000 rw-p 00007000 fe:01 1706177 /usr/lib/librt-2.16.so | |
7f373727a000-7f3737291000 r-xp 00000000 fe:01 1712109 /usr/lib/libpthread-2.16.so | |
7f3737291000-7f3737490000 ---p 00017000 fe:01 1712109 /usr/lib/libpthread-2.16.so | |
7f3737490000-7f3737491000 r--p 00016000 fe:01 1712109 /usr/lib/libpthread-2.16.so | |
7f3737491000-7f3737492000 rw-p 00017000 fe:01 1712109 /usr/lib/libpthread-2.16.so | |
7f3737492000-7f3737496000 rw-p 00000000 00:00 0 | |
7f3737496000-7f3737634000 r-xp 00000000 fe:01 1707049 /usr/lib/libc-2.16.so | |
7f3737634000-7f3737833000 ---p 0019e000 fe:01 1707049 /usr/lib/libc-2.16.so | |
7f3737833000-7f3737837000 r--p 0019d000 fe:01 1707049 /usr/lib/libc-2.16.so | |
7f3737837000-7f3737839000 rw-p 001a1000 fe:01 1707049 /usr/lib/libc-2.16.so | |
7f3737839000-7f373783d000 rw-p 00000000 00:00 0 | |
7f373783d000-7f3737a2d000 r-xp 00000000 fe:01 1731095 /usr/lib/libruby.so.1.9.1 | |
7f3737a2d000-7f3737c2c000 ---p 001f0000 fe:01 1731095 /usr/lib/libruby.so.1.9.1 | |
7f3737c2c000-7f3737c34000 rw-p 001ef000 fe:01 1731095 /usr/lib/libruby.so.1.9.1 | |
7f3737c34000-7f3737c50000 rw-p 00000000 00:00 0 | |
7f3737c50000-7f3737c71000 r-xp 00000000 fe:01 1725883 /usr/lib/ld-2.16.so | |
7f3737d38000-7f3737e3f000 rw-p 00000000 00:00 0 | |
7f3737e6b000-7f3737e6c000 rw-p 00000000 00:00 0 | |
7f3737e6c000-7f3737e6d000 rw-p 00000000 00:00 0 | |
7f3737e6d000-7f3737e6e000 ---p 00000000 00:00 0 | |
7f3737e6e000-7f3737e71000 rw-p 00000000 00:00 0 [stack:22596] | |
7f3737e71000-7f3737e72000 r--p 00021000 fe:01 1725883 /usr/lib/ld-2.16.so | |
7f3737e72000-7f3737e73000 rw-p 00022000 fe:01 1725883 /usr/lib/ld-2.16.so | |
7f3737e73000-7f3737e74000 rw-p 00000000 00:00 0 | |
7fff578eb000-7fff5790d000 rw-p 00000000 00:00 0 | |
7fff579ff000-7fff57a00000 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment