oggy / looksee

Supercharged method introspection in IRB
MIT License
364 stars 14 forks source link

Segmentation fault with Struct.ls #19

Closed antage closed 12 years ago

antage commented 12 years ago

Following log from irb explaining problem:

$ irb
ruby-1.9.3-p0 :001 > require 'ostruct'
 => true 
ruby-1.9.3-p0 :002 > Struct.ls
/home/antage/.rvm/gems/ruby-1.9.3-p0/gems/looksee-1.0.3/lib/looksee/lookup_path.rb:88: [BUG] Segmentation fault
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]

-- Control frame information -----------------------------------------------
[1]    5180 segmentation fault  irb

$ uname -a
Linux desktop 3.0.0-15-generic #25-Ubuntu SMP Mon Jan 2 17:44:42 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
$ ruby -v
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]
antage commented 12 years ago

Sorry, require 'ostruct' is not necessary:

$ irb
ruby-1.9.3-p0 :001 > Struct
 => Struct 
ruby-1.9.3-p0 :002 > Struct.ls
/home/antage/.rvm/gems/ruby-1.9.3-p0/gems/looksee-1.0.3/lib/looksee/lookup_path.rb:88: [BUG] Segmentation fault
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]

-- Control frame information -----------------------------------------------
c:0042 p:---- s:0148 b:0148 l:000147 d:000147 CFUNC  :uH��@
c:0041 p:0015 s:0145 b:0143 l:000126 d:000142 BLOCK  /home/antage/.rvm/gems/ruby-1.9.3-p0/gems/looksee-1.0.3/lib/looksee/lookup_path.rb:88
c:0040 p:---- s:0140 b:0140 l:000139 d:000139 FINISH
c:0039 p:---- s:0138 b:0138 l:000137 d:000137 CFUNC  :each
c:0038 p:0040 s:0135 b:0135 l:000126 d:000134 BLOCK  /home/antage/.rvm/gems/ruby-1.9.3-p0/gems/looksee-1.0.3/lib/looksee/lookup_path.rb:87
c:0037 p:---- s:0132 b:0132 l:000131 d:000131 FINISH
c:0036 p:---- s:0130 b:0130 l:000129 d:000129 CFUNC  :each
c:0035 p:0018 s:0127 b:0127 l:000126 d:000126 METHOD /home/antage/.rvm/gems/ruby-1.9.3-p0/gems/looksee-1.0.3/lib/looksee/lookup_path.rb:86
c:0034 p:0018 s:0123 b:0123 l:000122 d:000122 METHOD /home/antage/.rvm/gems/ruby-1.9.3-p0/gems/looksee-1.0.3/lib/looksee/lookup_path.rb:61
c:0033 p:---- s:0118 b:0118 l:000117 d:000117 FINISH
c:0032 p:---- s:0116 b:0116 l:000115 d:000115 CFUNC  :new
c:0031 p:0021 s:0111 b:0111 l:000101 d:000110 BLOCK  /home/antage/.rvm/gems/ruby-1.9.3-p0/gems/looksee-1.0.3/lib/looksee/lookup_path.rb:49
c:0030 p:---- s:0107 b:0107 l:000106 d:000106 FINISH
c:0029 p:---- s:0105 b:0105 l:000104 d:000104 CFUNC  :map
c:0028 p:0053 s:0102 b:0102 l:000101 d:000101 METHOD /home/antage/.rvm/gems/ruby-1.9.3-p0/gems/looksee-1.0.3/lib/looksee/lookup_path.rb:48
c:0027 p:0018 s:0098 b:0098 l:000097 d:000097 METHOD /home/antage/.rvm/gems/ruby-1.9.3-p0/gems/looksee-1.0.3/lib/looksee/lookup_path.rb:9
c:0026 p:---- s:0094 b:0094 l:000093 d:000093 FINISH
c:0025 p:---- s:0092 b:0092 l:000091 d:000091 CFUNC  :new
c:0024 p:0082 s:0088 b:0088 l:000087 d:000087 METHOD /home/antage/.rvm/gems/ruby-1.9.3-p0/gems/looksee-1.0.3/lib/looksee/core_ext.rb:41
c:0023 p:0015 s:0082 b:0082 l:002178 d:000081 EVAL   (irb):2
c:0022 p:---- s:0080 b:0080 l:000079 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 /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb/workspace.rb:80
c:0019 p:0033 s:0064 b:0063 l:000062 d:000062 METHOD /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb/context.rb:254
c:0018 p:0031 s:0058 b:0058 l:0009f8 d:000057 BLOCK  /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb.rb:159
c:0017 p:0042 s:0050 b:0050 l:000049 d:000049 METHOD /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb.rb:273
c:0016 p:0011 s:0045 b:0045 l:0009f8 d:000044 BLOCK  /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb.rb:156
c:0015 p:0144 s:0041 b:0041 l:000024 d:000040 BLOCK  /home/antage/.rvm/rubies/ruby-1.9.3-p0/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  /home/antage/.rvm/rubies/ruby-1.9.3-p0/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 /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb/ruby-lex.rb:228
c:0008 p:0046 s:0022 b:0022 l:0009f8 d:0009f8 METHOD /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb.rb:155
c:0007 p:0011 s:0019 b:0019 l:000498 d:000018 BLOCK  /home/antage/.rvm/rubies/ruby-1.9.3-p0/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:000498 d:000498 METHOD /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb.rb:69
c:0003 p:0142 s:0006 b:0006 l:001638 d:0006a8 EVAL   /home/antage/.rvm/rubies/ruby-1.9.3-p0/bin/irb:16
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:001638 d:001638 TOP   

-- Ruby level backtrace information ----------------------------------------
/home/antage/.rvm/rubies/ruby-1.9.3-p0/bin/irb:16:in `<main>'
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb.rb:69:in `start'
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb.rb:69:in `catch'
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb.rb:70:in `block in start'
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb.rb:155:in `eval_input'
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement'
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch'
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement'
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop'
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement'
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb.rb:156:in `block in eval_input'
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb.rb:273:in `signal_status'
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb.rb:159:in `block (2 levels) in eval_input'
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb/context.rb:254:in `evaluate'
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb/workspace.rb:80:in `evaluate'
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb/workspace.rb:80:in `eval'
(irb):2:in `irb_binding'
/home/antage/.rvm/gems/ruby-1.9.3-p0/gems/looksee-1.0.3/lib/looksee/core_ext.rb:41:in `ls'
/home/antage/.rvm/gems/ruby-1.9.3-p0/gems/looksee-1.0.3/lib/looksee/core_ext.rb:41:in `new'
/home/antage/.rvm/gems/ruby-1.9.3-p0/gems/looksee-1.0.3/lib/looksee/lookup_path.rb:9:in `initialize'
/home/antage/.rvm/gems/ruby-1.9.3-p0/gems/looksee-1.0.3/lib/looksee/lookup_path.rb:48:in `create_entries'
/home/antage/.rvm/gems/ruby-1.9.3-p0/gems/looksee-1.0.3/lib/looksee/lookup_path.rb:48:in `map'
/home/antage/.rvm/gems/ruby-1.9.3-p0/gems/looksee-1.0.3/lib/looksee/lookup_path.rb:49:in `block in create_entries'
/home/antage/.rvm/gems/ruby-1.9.3-p0/gems/looksee-1.0.3/lib/looksee/lookup_path.rb:49:in `new'
/home/antage/.rvm/gems/ruby-1.9.3-p0/gems/looksee-1.0.3/lib/looksee/lookup_path.rb:61:in `initialize'
/home/antage/.rvm/gems/ruby-1.9.3-p0/gems/looksee-1.0.3/lib/looksee/lookup_path.rb:86:in `find_methods'
/home/antage/.rvm/gems/ruby-1.9.3-p0/gems/looksee-1.0.3/lib/looksee/lookup_path.rb:86:in `each'
/home/antage/.rvm/gems/ruby-1.9.3-p0/gems/looksee-1.0.3/lib/looksee/lookup_path.rb:87:in `block in find_methods'
/home/antage/.rvm/gems/ruby-1.9.3-p0/gems/looksee-1.0.3/lib/looksee/lookup_path.rb:87:in `each'
/home/antage/.rvm/gems/ruby-1.9.3-p0/gems/looksee-1.0.3/lib/looksee/lookup_path.rb:88:in `block (2 levels) in find_methods'
/home/antage/.rvm/gems/ruby-1.9.3-p0/gems/looksee-1.0.3/lib/looksee/lookup_path.rb:88:in `uH��@'

-- C level backtrace information -------------------------------------------
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x17b245) [0x7f0c4c9eb245] vm_dump.c:796
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x5cfdb) [0x7f0c4c8ccfdb] vfprintf.c:1815
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(rb_bug+0xb7) [0x7f0c4c8cde37] vfprintf.c:1956
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x10fb7f) [0x7f0c4c97fb7f] xdr.c:266
/lib/x86_64-linux-gnu/libc.so.6(+0x36420) [0x7f0c4c507420] ../sysdeps/posix/killpg.c:38
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x11e9bc) [0x7f0c4c98e9bc] ../sysdeps/x86_64/multiarch/strcmp.S:287
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x174a21) [0x7f0c4c9e4a21] vm_insnhelper.c:404
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x16a759) [0x7f0c4c9da759] insns.def:1015
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x170c5a) [0x7f0c4c9e0c5a] vm.c:1220
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(rb_yield+0x47) [0x7f0c4c9e5e57] vm.c:654
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(rb_ary_each+0x52) [0x7f0c4c89bcc2] gconv_dl.c:91
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x174a21) [0x7f0c4c9e4a21] vm_insnhelper.c:404
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x16a759) [0x7f0c4c9da759] insns.def:1015
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x170c5a) [0x7f0c4c9e0c5a] vm.c:1220
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(rb_yield+0x47) [0x7f0c4c9e5e57] vm.c:654
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(rb_ary_each+0x52) [0x7f0c4c89bcc2] gconv_dl.c:91
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x174a21) [0x7f0c4c9e4a21] vm_insnhelper.c:404
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x16a759) [0x7f0c4c9da759] insns.def:1015
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x170c5a) [0x7f0c4c9e0c5a] vm.c:1220
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x1720f3) [0x7f0c4c9e20f3] vm_eval.c:66
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(rb_class_new_instance+0x30) [0x7f0c4c91d030] ../sysdeps/unix/sysv/linux/times.c:29
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x174a21) [0x7f0c4c9e4a21] vm_insnhelper.c:404
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x16a759) [0x7f0c4c9da759] insns.def:1015
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x170c5a) [0x7f0c4c9e0c5a] vm.c:1220
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(rb_yield+0x47) [0x7f0c4c9e5e57] vm.c:654
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x32026) [0x7f0c4c8a2026] loadmsgcat.c:1189
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x174a21) [0x7f0c4c9e4a21] vm_insnhelper.c:404
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x16a759) [0x7f0c4c9da759] insns.def:1015
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x170c5a) [0x7f0c4c9e0c5a] vm.c:1220
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x1720f3) [0x7f0c4c9e20f3] vm_eval.c:66
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(rb_class_new_instance+0x30) [0x7f0c4c91d030] ../sysdeps/unix/sysv/linux/times.c:29
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x174a21) [0x7f0c4c9e4a21] vm_insnhelper.c:404
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x16a759) [0x7f0c4c9da759] insns.def:1015
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x170c5a) [0x7f0c4c9e0c5a] vm.c:1220
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x1710c5) [0x7f0c4c9e10c5] vm_eval.c:1030
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x17156f) [0x7f0c4c9e156f] vm_eval.c:1071
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x174a21) [0x7f0c4c9e4a21] vm_insnhelper.c:404
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x16a759) [0x7f0c4c9da759] insns.def:1015
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x170c5a) [0x7f0c4c9e0c5a] vm.c:1220
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x17533f) [0x7f0c4c9e533f] vm.c:624
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(rb_rescue2+0x16b) [0x7f0c4c8d3d8b] vfscanf.c:2288
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x16666e) [0x7f0c4c9d666e] vm_eval.c:826
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x174a21) [0x7f0c4c9e4a21] vm_insnhelper.c:404
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x16a759) [0x7f0c4c9da759] insns.def:1015
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x170c5a) [0x7f0c4c9e0c5a] vm.c:1220
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x175a1e) [0x7f0c4c9e5a1e] vm.c:654
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(rb_catch_obj+0xbe) [0x7f0c4c9d834e] vm_eval.c:1534
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x1683fe) [0x7f0c4c9d83fe] vm_eval.c:1510
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x174a21) [0x7f0c4c9e4a21] vm_insnhelper.c:404
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x16a759) [0x7f0c4c9da759] insns.def:1015
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x170c5a) [0x7f0c4c9e0c5a] vm.c:1220
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x175a1e) [0x7f0c4c9e5a1e] vm.c:654
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(rb_catch_obj+0xbe) [0x7f0c4c9d834e] vm_eval.c:1534
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x1683fe) [0x7f0c4c9d83fe] vm_eval.c:1510
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x174a21) [0x7f0c4c9e4a21] vm_insnhelper.c:404
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x16a759) [0x7f0c4c9da759] insns.def:1015
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x170c5a) [0x7f0c4c9e0c5a] vm.c:1220
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(rb_iseq_eval_main+0xaf) [0x7f0c4c9e69ff] vm.c:1461
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(+0x62b62) [0x7f0c4c8d2b62] vfscanf.c:1785
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(ruby_exec_node+0x1d) [0x7f0c4c8d391d] vfscanf.c:1805
/home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9(ruby_run_node+0x1e) [0x7f0c4c8d59be] vfscanf.c:871
irb() [0x4007fb]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f0c4c4f230d] libc-start.c:226
irb() [0x400829]

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

* Loaded script: irb

* Loaded features:

    0 enumerator.so
    1 /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
    2 /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
    3 /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/defaults.rb
    4 /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-linux/rbconfig.rb
    5 /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/deprecate.rb
    6 /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/exceptions.rb
    7 /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb
    8 /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems.rb
    9 /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/e2mmap.rb
   10 /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb/init.rb
   11 /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb/workspace.rb
   12 /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb/inspector.rb
   13 /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb/context.rb
   14 /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb/extend-command.rb
   15 /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb/output-method.rb
   16 /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb/notifier.rb
   17 /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb/slex.rb
   18 /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb/ruby-token.rb
   19 /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb/ruby-lex.rb
   20 /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb/src_encoding.rb
   21 /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb/magic-file.rb
   22 /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-linux/readline.so
   23 /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb/input-method.rb
   24 /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb/locale.rb
   25 /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb.rb
   26 /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/version.rb
   27 /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/requirement.rb
   28 /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/platform.rb
   29 /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb
   30 /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/path_support.rb
   31 /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb
   32 /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb/completion.rb
   33 /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/irb/ext/save-history.rb
   34 /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/set.rb
   35 /home/antage/.rvm/gems/ruby-1.9.3-p0/gems/looksee-1.0.3/lib/looksee/adapter.rb
   36 /home/antage/.rvm/gems/ruby-1.9.3-p0/gems/looksee-1.0.3/lib/looksee/adapter/base.rb
   37 /home/antage/.rvm/gems/ruby-1.9.3-p0/gems/looksee-1.0.3/lib/looksee/mri.so
   38 /home/antage/.rvm/gems/ruby-1.9.3-p0/gems/looksee-1.0.3/lib/looksee/clean.rb
   39 /home/antage/.rvm/gems/ruby-1.9.3-p0/gems/looksee-1.0.3/lib/looksee/core_ext.rb
   40 /home/antage/.rvm/gems/ruby-1.9.3-p0/gems/looksee-1.0.3/lib/looksee/wirble_compatibility.rb
   41 /home/antage/.rvm/gems/ruby-1.9.3-p0/gems/looksee-1.0.3/lib/looksee.rb
   42 /home/antage/.rvm/scripts/irbrc.rb
   43 /home/antage/.rvm/gems/ruby-1.9.3-p0/gems/looksee-1.0.3/lib/looksee/lookup_path.rb

* Process memory map:

00400000-00401000 r-xp 00000000 fd:02 123118489                          /home/antage/.rvm/rubies/ruby-1.9.3-p0/bin/ruby
00600000-00601000 r--p 00000000 fd:02 123118489                          /home/antage/.rvm/rubies/ruby-1.9.3-p0/bin/ruby
00601000-00602000 rw-p 00001000 fd:02 123118489                          /home/antage/.rvm/rubies/ruby-1.9.3-p0/bin/ruby
02439000-02c6b000 rw-p 00000000 00:00 0                                  [heap]
7f0c4a253000-7f0c4a268000 r-xp 00000000 fd:01 411728                     /lib/x86_64-linux-gnu/libgcc_s.so.1
7f0c4a268000-7f0c4a467000 ---p 00015000 fd:01 411728                     /lib/x86_64-linux-gnu/libgcc_s.so.1
7f0c4a467000-7f0c4a468000 r--p 00014000 fd:01 411728                     /lib/x86_64-linux-gnu/libgcc_s.so.1
7f0c4a468000-7f0c4a469000 rw-p 00015000 fd:01 411728                     /lib/x86_64-linux-gnu/libgcc_s.so.1
7f0c4a469000-7f0c4a46b000 r-xp 00000000 fd:02 37127320                   /home/antage/.rvm/gems/ruby-1.9.3-p0/gems/looksee-1.0.3/lib/looksee/mri.so
7f0c4a46b000-7f0c4a66a000 ---p 00002000 fd:02 37127320                   /home/antage/.rvm/gems/ruby-1.9.3-p0/gems/looksee-1.0.3/lib/looksee/mri.so
7f0c4a66a000-7f0c4a66b000 r--p 00001000 fd:02 37127320                   /home/antage/.rvm/gems/ruby-1.9.3-p0/gems/looksee-1.0.3/lib/looksee/mri.so
7f0c4a66b000-7f0c4a66c000 rw-p 00002000 fd:02 37127320                   /home/antage/.rvm/gems/ruby-1.9.3-p0/gems/looksee-1.0.3/lib/looksee/mri.so
7f0c4a66c000-7f0c4a68e000 r-xp 00000000 fd:01 2465                       /lib/libtinfo.so.5.9
7f0c4a68e000-7f0c4a88e000 ---p 00022000 fd:01 2465                       /lib/libtinfo.so.5.9
7f0c4a88e000-7f0c4a892000 r--p 00022000 fd:01 2465                       /lib/libtinfo.so.5.9
7f0c4a892000-7f0c4a893000 rw-p 00026000 fd:01 2465                       /lib/libtinfo.so.5.9
7f0c4a893000-7f0c4a8cc000 r-xp 00000000 fd:01 693                        /lib/libreadline.so.6.2
7f0c4a8cc000-7f0c4aacc000 ---p 00039000 fd:01 693                        /lib/libreadline.so.6.2
7f0c4aacc000-7f0c4aace000 r--p 00039000 fd:01 693                        /lib/libreadline.so.6.2
7f0c4aace000-7f0c4aad4000 rw-p 0003b000 fd:01 693                        /lib/libreadline.so.6.2
7f0c4aad4000-7f0c4aad5000 rw-p 00000000 00:00 0 
7f0c4aad5000-7f0c4aadb000 r-xp 00000000 fd:02 104987540                  /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-linux/readline.so
7f0c4aadb000-7f0c4acda000 ---p 00006000 fd:02 104987540                  /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-linux/readline.so
7f0c4acda000-7f0c4acdb000 r--p 00005000 fd:02 104987540                  /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-linux/readline.so
7f0c4acdb000-7f0c4acdc000 rw-p 00006000 fd:02 104987540                  /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-linux/readline.so
7f0c4acdc000-7f0c4acde000 r-xp 00000000 fd:02 104987502                  /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
7f0c4acde000-7f0c4aede000 ---p 00002000 fd:02 104987502                  /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
7f0c4aede000-7f0c4aedf000 r--p 00002000 fd:02 104987502                  /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
7f0c4aedf000-7f0c4aee0000 rw-p 00003000 fd:02 104987502                  /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
7f0c4aee0000-7f0c4aee2000 r-xp 00000000 fd:02 69358270                   /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
7f0c4aee2000-7f0c4b0e1000 ---p 00002000 fd:02 69358270                   /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
7f0c4b0e1000-7f0c4b0e2000 r--p 00001000 fd:02 69358270                   /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
7f0c4b0e2000-7f0c4b0e3000 rw-p 00002000 fd:02 69358270                   /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
7f0c4b0e3000-7f0c4b9eb000 r--p 00000000 fd:01 189                        /usr/lib/locale/locale-archive
7f0c4b9eb000-7f0c4ba6e000 r-xp 00000000 fd:01 434756                     /lib/x86_64-linux-gnu/libm-2.13.so
7f0c4ba6e000-7f0c4bc6d000 ---p 00083000 fd:01 434756                     /lib/x86_64-linux-gnu/libm-2.13.so
7f0c4bc6d000-7f0c4bc6e000 r--p 00082000 fd:01 434756                     /lib/x86_64-linux-gnu/libm-2.13.so
7f0c4bc6e000-7f0c4bc6f000 rw-p 00083000 fd:01 434756                     /lib/x86_64-linux-gnu/libm-2.13.so
7f0c4bc6f000-7f0c4bc78000 r-xp 00000000 fd:01 434743                     /lib/x86_64-linux-gnu/libcrypt-2.13.so
7f0c4bc78000-7f0c4be78000 ---p 00009000 fd:01 434743                     /lib/x86_64-linux-gnu/libcrypt-2.13.so
7f0c4be78000-7f0c4be79000 r--p 00009000 fd:01 434743                     /lib/x86_64-linux-gnu/libcrypt-2.13.so
7f0c4be79000-7f0c4be7a000 rw-p 0000a000 fd:01 434743                     /lib/x86_64-linux-gnu/libcrypt-2.13.so
7f0c4be7a000-7f0c4bea8000 rw-p 00000000 00:00 0 
7f0c4bea8000-7f0c4beaa000 r-xp 00000000 fd:01 434747                     /lib/x86_64-linux-gnu/libdl-2.13.so
7f0c4beaa000-7f0c4c0aa000 ---p 00002000 fd:01 434747                     /lib/x86_64-linux-gnu/libdl-2.13.so
7f0c4c0aa000-7f0c4c0ab000 r--p 00002000 fd:01 434747                     /lib/x86_64-linux-gnu/libdl-2.13.so
7f0c4c0ab000-7f0c4c0ac000 rw-p 00003000 fd:01 434747                     /lib/x86_64-linux-gnu/libdl-2.13.so
7f0c4c0ac000-7f0c4c0b3000 r-xp 00000000 fd:01 434738                     /lib/x86_64-linux-gnu/librt-2.13.so
7f0c4c0b3000-7f0c4c2b2000 ---p 00007000 fd:01 434738                     /lib/x86_64-linux-gnu/librt-2.13.so
7f0c4c2b2000-7f0c4c2b3000 r--p 00006000 fd:01 434738                     /lib/x86_64-linux-gnu/librt-2.13.so
7f0c4c2b3000-7f0c4c2b4000 rw-p 00007000 fd:01 434738                     /lib/x86_64-linux-gnu/librt-2.13.so
7f0c4c2b4000-7f0c4c2cc000 r-xp 00000000 fd:01 434754                     /lib/x86_64-linux-gnu/libpthread-2.13.so
7f0c4c2cc000-7f0c4c4cb000 ---p 00018000 fd:01 434754                     /lib/x86_64-linux-gnu/libpthread-2.13.so
7f0c4c4cb000-7f0c4c4cc000 r--p 00017000 fd:01 434754                     /lib/x86_64-linux-gnu/libpthread-2.13.so
7f0c4c4cc000-7f0c4c4cd000 rw-p 00018000 fd:01 434754                     /lib/x86_64-linux-gnu/libpthread-2.13.so
7f0c4c4cd000-7f0c4c4d1000 rw-p 00000000 00:00 0 
7f0c4c4d1000-7f0c4c666000 r-xp 00000000 fd:01 434746                     /lib/x86_64-linux-gnu/libc-2.13.so
7f0c4c666000-7f0c4c865000 ---p 00195000 fd:01 434746                     /lib/x86_64-linux-gnu/libc-2.13.so
7f0c4c865000-7f0c4c869000 r--p 00194000 fd:01 434746                     /lib/x86_64-linux-gnu/libc-2.13.so
7f0c4c869000-7f0c4c86a000 rw-p 00198000 fd:01 434746                     /lib/x86_64-linux-gnu/libc-2.13.so
7f0c4c86a000-7f0c4c870000 rw-p 00000000 00:00 0 
7f0c4c870000-7f0c4ca87000 r-xp 00000000 fd:02 1596763                    /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9.1
7f0c4ca87000-7f0c4cc86000 ---p 00217000 fd:02 1596763                    /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9.1
7f0c4cc86000-7f0c4cc8b000 r--p 00216000 fd:02 1596763                    /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9.1
7f0c4cc8b000-7f0c4cc8f000 rw-p 0021b000 fd:02 1596763                    /home/antage/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.so.1.9.1
7f0c4cc8f000-7f0c4ccab000 rw-p 00000000 00:00 0 
7f0c4ccab000-7f0c4cccc000 r-xp 00000000 fd:01 434753                     /lib/x86_64-linux-gnu/ld-2.13.so
7f0c4cd99000-7f0c4ce9f000 rw-p 00000000 00:00 0 
7f0c4cebb000-7f0c4cebd000 rw-p 00000000 00:00 0 
7f0c4cebd000-7f0c4cec4000 r--s 00000000 fd:01 449079                     /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
7f0c4cec4000-7f0c4cec5000 ---p 00000000 00:00 0 
7f0c4cec5000-7f0c4ceca000 rw-p 00000000 00:00 0 
7f0c4ceca000-7f0c4cecb000 r-xp 00000000 00:00 0                          [vdso]
7f0c4cecb000-7f0c4cecc000 r--p 00020000 fd:01 434753                     /lib/x86_64-linux-gnu/ld-2.13.so
7f0c4cecc000-7f0c4cece000 rw-p 00021000 fd:01 434753                     /lib/x86_64-linux-gnu/ld-2.13.so
7fff79552000-7fff79575000 rw-p 00000000 00:00 0                          [stack]
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

[1]    5309 abort      irb