Project

General

Profile

Bug #11349

irb crashes immediately with most (any?) REPL input

Added by deafbybeheading (Maciek Sakrejda) over 4 years ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]
[ruby-core:69959]

Description

Any input to the irb REPL seems to crash it immediately. I haven't had any problems with pry or ruby itself--it seems to be just irb. I'm running Ruby 2.2.2p95 on Ubuntu 15.04. I'm using rbenv and ruby 2.2.1p85 (2015-02-26 revision 49769) seems to have this problem as well, but the irb in ruby 2.1.2p95 (2014-05-08) seems fine.

maciek@mothra:~$ irb --version
irb 0.9.6(09/06/30)
maciek@mothra:~$ irb
irb(main):001:0> RUBY_VERSION
=> "2.2.2"
/home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb/input-method.rb:150: [BUG] Segmentation fault at 0x007fea87432ff8
ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]

-- Control frame information -----------------------------------------------
c:0023 p:---- s:0085 e:000084 CFUNC  :readline
c:0022 p:0042 s:0080 e:000079 METHOD /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb/input-method.rb:150
c:0021 p:0011 s:0076 e:000075 BLOCK  /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb.rb:469
c:0020 p:0040 s:0073 e:000072 METHOD /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb.rb:623
c:0019 p:0009 s:0068 e:000067 BLOCK  /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb.rb:468 [FINISH]
c:0018 p:---- s:0066 e:000065 CFUNC  :call
c:0017 p:0015 s:0063 e:000062 METHOD /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb/ruby-lex.rb:188
c:0016 p:0015 s:0059 e:000058 METHOD /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb/ruby-lex.rb:103
c:0015 p:0022 s:0055 e:000054 METHOD /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb/slex.rb:205
c:0014 p:0042 s:0047 e:000046 METHOD /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb/slex.rb:75
c:0013 p:0044 s:0042 e:000041 METHOD /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb/ruby-lex.rb:282
c:0012 p:0013 s:0038 e:000037 METHOD /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb/ruby-lex.rb:264
c:0011 p:0022 s:0033 e:000032 BLOCK  /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb/ruby-lex.rb:235 [FINISH]
c:0010 p:---- s:0030 e:000029 CFUNC  :loop
c:0009 p:0007 s:0027 e:000026 BLOCK  /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb/ruby-lex.rb:231 [FINISH]
c:0008 p:---- s:0025 e:000024 CFUNC  :catch
c:0007 p:0015 s:0021 e:000020 METHOD /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb/ruby-lex.rb:230
c:0006 p:0030 s:0018 E:000fc0 METHOD /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb.rb:485
c:0005 p:0008 s:0015 e:000014 BLOCK  /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb.rb:395 [FINISH]
c:0004 p:---- s:0013 e:000012 CFUNC  :catch
c:0003 p:0143 s:0009 E:000400 METHOD /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb.rb:394
c:0002 p:0021 s:0004 E:0003c0 EVAL   /home/maciek/.rbenv/versions/2.2.2/bin/irb:11 [FINISH]
c:0001 p:0000 s:0002 E:000ee0 TOP    [FINISH]

-- Ruby level backtrace information ----------------------------------------
/home/maciek/.rbenv/versions/2.2.2/bin/irb:11:in `<main>'
/home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb.rb:394:in `start'
/home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb.rb:394:in `catch'
/home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb.rb:395:in `block in start'
/home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb.rb:485:in `eval_input'
/home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb/ruby-lex.rb:230:in `each_top_level_statement'
/home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb/ruby-lex.rb:230:in `catch'
/home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb/ruby-lex.rb:231:in `block in each_top_level_statement'
/home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb/ruby-lex.rb:231:in `loop'
/home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb/ruby-lex.rb:235:in `block (2 levels) in each_top_level_statement'
/home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb/ruby-lex.rb:264:in `lex'
/home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb/ruby-lex.rb:282:in `token'
/home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb/slex.rb:75:in `match'
/home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb/slex.rb:205:in `match_io'
/home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb/ruby-lex.rb:103:in `getc'
/home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb/ruby-lex.rb:188:in `buf_input'
/home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb/ruby-lex.rb:188:in `call'
/home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb.rb:468:in `block in eval_input'
/home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb.rb:623:in `signal_status'
/home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb.rb:469:in `block (2 levels) in eval_input'
/home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb/input-method.rb:150:in `gets'
/home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb/input-method.rb:150:in `readline'

-- Machine register context ------------------------------------------------
 RIP: 0x00007fea8609f872 RBP: 0x00000000ffffffff RSP: 0x00007fff6932c850
 RAX: 0x0000000000000000 RBX: 0x00007fea8880def0 RCX: 0x0000000000000001
 RDX: 0x00007fea87433000 RDI: 0x00007fea87433000 RSI: 0x00007fea87433000
  R8: 0x00000000ffffffff  R9: 0x0000000000000000 R10: 0x0000000000000022
 R11: 0x0000000000000246 R12: 0x0000000000000000 R13: 0x00007fff6932c930
 R14: 0x0000000000000001 R15: 0x0000000000000010 EFL: 0x0000000000010206

-- C level backtrace information -------------------------------------------
/home/maciek/.rbenv/versions/2.2.2/bin/ruby(rb_vm_bugreport+0x4ea) [0x7fea870e8b0a] vm_dump.c:693
/home/maciek/.rbenv/versions/2.2.2/bin/ruby(rb_bug_context+0xcb) [0x7fea8715b4ab] error.c:425
/home/maciek/.rbenv/versions/2.2.2/bin/ruby(sigsegv+0x3e) [0x7fea87059fee] signal.c:879
/lib/x86_64-linux-gnu/libpthread.so.0 [0x7fea86b39d10]
/lib/x86_64-linux-gnu/libc.so.6(free+0x22) [0x7fea8609f872] malloc.c:2928
/lib/x86_64-linux-gnu/libc.so.6(_IO_free_backup_area+0x1a) [0x7fea86096eca] genops.c:209
/lib/x86_64-linux-gnu/libc.so.6(_IO_file_overflow@@GLIBC_2.2.5+0xff) [0x7fea8609651f] fileops.c:821
/lib/x86_64-linux-gnu/libc.so.6(_IO_file_xsputn@@GLIBC_2.2.5+0xad) [0x7fea8609529d] fileops.c:1319
/lib/x86_64-linux-gnu/libc.so.6(fputs+0xa8) [0x7fea8608a488] iofputs.c:40
/usr/lib/x86_64-linux-gnu/libedit.so.2(terminal__putc+0x42) [0x7fea8531b322]
/usr/lib/x86_64-linux-gnu/libedit.so.2(terminal_overwrite+0x51) [0x7fea8531b391]
/usr/lib/x86_64-linux-gnu/libedit.so.2(re_refresh+0xf37) [0x7fea853184e7]
/usr/lib/x86_64-linux-gnu/libedit.so.2(read_prepare+0x39) [0x7fea85316a59]
/usr/lib/x86_64-linux-gnu/libedit.so.2(el_wgets+0x3ad) [0x7fea85316e8d]
/usr/lib/x86_64-linux-gnu/libedit.so.2(el_gets+0xd) [0x7fea8532717d]
/usr/lib/x86_64-linux-gnu/libedit.so.2(readline+0xb0) [0x7fea85322430]
/home/maciek/.rbenv/versions/2.2.2/bin/ruby(rb_protect+0xfb) [0x7fea86f9491b] eval.c:876
/home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/x86_64-linux/readline.so(readline_readline+0xc1) [0x7fea85542c81] readline.c:496
/home/maciek/.rbenv/versions/2.2.2/bin/ruby(vm_call_cfunc+0x11e) [0x7fea870cf31e] vm_insnhelper.c:1382
/home/maciek/.rbenv/versions/2.2.2/bin/ruby(vm_exec_core+0x128a) [0x7fea870d37ba] insns.def:1054
/home/maciek/.rbenv/versions/2.2.2/bin/ruby(vm_exec+0x78) [0x7fea870d7c88] vm.c:1400
/home/maciek/.rbenv/versions/2.2.2/bin/ruby(invoke_block_from_c+0x6be) [0x7fea870dd14e] vm.c:813
/home/maciek/.rbenv/versions/2.2.2/bin/ruby(vm_invoke_proc+0xe0) [0x7fea870dd310] vm.c:878
/home/maciek/.rbenv/versions/2.2.2/bin/ruby(rb_vm_invoke_proc+0x18) [0x7fea870dd3f8] vm.c:897
/home/maciek/.rbenv/versions/2.2.2/bin/ruby(proc_call+0x52) [0x7fea86f9a2d2] proc.c:731
/home/maciek/.rbenv/versions/2.2.2/bin/ruby(vm_call_cfunc+0x11e) [0x7fea870cf31e] vm_insnhelper.c:1382
/home/maciek/.rbenv/versions/2.2.2/bin/ruby(vm_exec_core+0x128a) [0x7fea870d37ba] insns.def:1054
/home/maciek/.rbenv/versions/2.2.2/bin/ruby(vm_exec+0x78) [0x7fea870d7c88] vm.c:1400
/home/maciek/.rbenv/versions/2.2.2/bin/ruby(loop_i+0x554) [0x7fea870e5614] vm.c:813
/home/maciek/.rbenv/versions/2.2.2/bin/ruby(rb_rescue2+0xbe) [0x7fea86f9464e] eval.c:808
/home/maciek/.rbenv/versions/2.2.2/bin/ruby(rb_f_loop+0x2e) [0x7fea870cd3ae] vm_eval.c:1092
/home/maciek/.rbenv/versions/2.2.2/bin/ruby(vm_call_cfunc+0x11e) [0x7fea870cf31e] vm_insnhelper.c:1382
/home/maciek/.rbenv/versions/2.2.2/bin/ruby(vm_call_method+0x11e) [0x7fea870ddb7e] vm_insnhelper.c:1691
/home/maciek/.rbenv/versions/2.2.2/bin/ruby(vm_exec_core+0x11d7) [0x7fea870d3707] insns.def:1024
/home/maciek/.rbenv/versions/2.2.2/bin/ruby(vm_exec+0x78) [0x7fea870d7c88] vm.c:1400
/home/maciek/.rbenv/versions/2.2.2/bin/ruby(catch_i+0x437) [0x7fea870e5a77] vm.c:813
/home/maciek/.rbenv/versions/2.2.2/bin/ruby(rb_catch_protect+0xaa) [0x7fea870d100a] vm_eval.c:1990
/home/maciek/.rbenv/versions/2.2.2/bin/ruby(rb_f_catch+0x33) [0x7fea870d1153] vm_eval.c:1969
/home/maciek/.rbenv/versions/2.2.2/bin/ruby(vm_call_cfunc+0x11e) [0x7fea870cf31e] vm_insnhelper.c:1382
/home/maciek/.rbenv/versions/2.2.2/bin/ruby(vm_call_method+0x11e) [0x7fea870ddb7e] vm_insnhelper.c:1691
/home/maciek/.rbenv/versions/2.2.2/bin/ruby(vm_exec_core+0x11d7) [0x7fea870d3707] insns.def:1024
/home/maciek/.rbenv/versions/2.2.2/bin/ruby(vm_exec+0x78) [0x7fea870d7c88] vm.c:1400
/home/maciek/.rbenv/versions/2.2.2/bin/ruby(catch_i+0x437) [0x7fea870e5a77] vm.c:813
/home/maciek/.rbenv/versions/2.2.2/bin/ruby(rb_catch_protect+0xaa) [0x7fea870d100a] vm_eval.c:1990
/home/maciek/.rbenv/versions/2.2.2/bin/ruby(rb_f_catch+0x33) [0x7fea870d1153] vm_eval.c:1969
/home/maciek/.rbenv/versions/2.2.2/bin/ruby(vm_call_cfunc+0x11e) [0x7fea870cf31e] vm_insnhelper.c:1382
/home/maciek/.rbenv/versions/2.2.2/bin/ruby(vm_call_method+0x11e) [0x7fea870ddb7e] vm_insnhelper.c:1691
/home/maciek/.rbenv/versions/2.2.2/bin/ruby(vm_exec_core+0x11d7) [0x7fea870d3707] insns.def:1024
/home/maciek/.rbenv/versions/2.2.2/bin/ruby(vm_exec+0x78) [0x7fea870d7c88] vm.c:1400
/home/maciek/.rbenv/versions/2.2.2/bin/ruby(rb_iseq_eval_main+0x203) [0x7fea870e6233] vm.c:1670
/home/maciek/.rbenv/versions/2.2.2/bin/ruby(ruby_exec_internal+0xbf) [0x7fea86f9026f] eval.c:252
/home/maciek/.rbenv/versions/2.2.2/bin/ruby(ruby_run_node+0x2f) [0x7fea86f93e0f] eval.c:317
/home/maciek/.rbenv/versions/2.2.2/bin/ruby(main+0x4b) [0x7fea86f8fdfb] parse.y:8795

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

* Loaded script: irb

* Loaded features:

    0 enumerator.so
    1 rational.so
    2 complex.so
    3 /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/x86_64-linux/enc/encdb.so
    4 /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/x86_64-linux/enc/trans/transdb.so
    5 /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/unicode_normalize.rb
    6 /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/x86_64-linux/rbconfig.rb
    7 thread.rb
    8 /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/x86_64-linux/thread.so
    9 /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/rubygems/compatibility.rb
   10 /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/rubygems/defaults.rb
   11 /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/rubygems/deprecate.rb
   12 /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/rubygems/errors.rb
   13 /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/rubygems/version.rb
   14 /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/rubygems/requirement.rb
   15 /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/rubygems/platform.rb
   16 /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/rubygems/basic_specification.rb
   17 /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/rubygems/stub_specification.rb
   18 /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/rubygems/util/stringio.rb
   19 /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/rubygems/specification.rb
   20 /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/rubygems/exceptions.rb
   21 /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/rubygems/core_ext/kernel_gem.rb
   22 /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/monitor.rb
   23 /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb
   24 /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/rubygems.rb
   25 /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/e2mmap.rb
   26 /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb/init.rb
   27 /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb/workspace.rb
   28 /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb/inspector.rb
   29 /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb/context.rb
   30 /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb/extend-command.rb
   31 /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb/output-method.rb
   32 /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb/notifier.rb
   33 /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb/slex.rb
   34 /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb/ruby-token.rb
   35 /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb/ruby-lex.rb
   36 /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb/src_encoding.rb
   37 /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb/magic-file.rb
   38 /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/x86_64-linux/readline.so
   39 /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb/input-method.rb
   40 /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb/locale.rb
   41 /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/irb.rb
   42 /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/rubygems/path_support.rb
   43 /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/rubygems/dependency.rb

* Process memory map:

7fea83945000-7fea84151000 r--s 00000000 fc:01 4070160                    /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.21.so
7fea84151000-7fea84ec6000 r--s 00000000 fc:01 10098053                   /home/maciek/.rbenv/versions/2.2.2/bin/ruby
7fea84ec6000-7fea84edc000 r-xp 00000000 fc:01 786680                     /lib/x86_64-linux-gnu/libgcc_s.so.1
7fea84edc000-7fea850db000 ---p 00016000 fc:01 786680                     /lib/x86_64-linux-gnu/libgcc_s.so.1
7fea850db000-7fea850dc000 rw-p 00015000 fc:01 786680                     /lib/x86_64-linux-gnu/libgcc_s.so.1
7fea850dc000-7fea85101000 r-xp 00000000 fc:01 786687                     /lib/x86_64-linux-gnu/libtinfo.so.5.9
7fea85101000-7fea85300000 ---p 00025000 fc:01 786687                     /lib/x86_64-linux-gnu/libtinfo.so.5.9
7fea85300000-7fea85304000 r--p 00024000 fc:01 786687                     /lib/x86_64-linux-gnu/libtinfo.so.5.9
7fea85304000-7fea85305000 rw-p 00028000 fc:01 786687                     /lib/x86_64-linux-gnu/libtinfo.so.5.9
7fea85305000-7fea85338000 r-xp 00000000 fc:01 4070623                    /usr/lib/x86_64-linux-gnu/libedit.so.2.0.51
7fea85338000-7fea85538000 ---p 00033000 fc:01 4070623                    /usr/lib/x86_64-linux-gnu/libedit.so.2.0.51
7fea85538000-7fea8553a000 r--p 00033000 fc:01 4070623                    /usr/lib/x86_64-linux-gnu/libedit.so.2.0.51
7fea8553a000-7fea8553b000 rw-p 00035000 fc:01 4070623                    /usr/lib/x86_64-linux-gnu/libedit.so.2.0.51
7fea8553b000-7fea8553f000 rw-p 00000000 00:00 0 
7fea8553f000-7fea85545000 r-xp 00000000 fc:01 10098264                   /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/x86_64-linux/readline.so
7fea85545000-7fea85744000 ---p 00006000 fc:01 10098264                   /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/x86_64-linux/readline.so
7fea85744000-7fea85745000 r--p 00005000 fc:01 10098264                   /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/x86_64-linux/readline.so
7fea85745000-7fea85746000 rw-p 00006000 fc:01 10098264                   /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/x86_64-linux/readline.so
7fea85746000-7fea8574a000 r-xp 00000000 fc:01 10098249                   /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/x86_64-linux/thread.so
7fea8574a000-7fea85949000 ---p 00004000 fc:01 10098249                   /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/x86_64-linux/thread.so
7fea85949000-7fea8594a000 r--p 00003000 fc:01 10098249                   /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/x86_64-linux/thread.so
7fea8594a000-7fea8594b000 rw-p 00004000 fc:01 10098249                   /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/x86_64-linux/thread.so
7fea8594b000-7fea8594d000 r-xp 00000000 fc:01 11539710                   /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/x86_64-linux/enc/trans/transdb.so
7fea8594d000-7fea85b4d000 ---p 00002000 fc:01 11539710                   /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/x86_64-linux/enc/trans/transdb.so
7fea85b4d000-7fea85b4e000 r--p 00002000 fc:01 11539710                   /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/x86_64-linux/enc/trans/transdb.so
7fea85b4e000-7fea85b4f000 rw-p 00003000 fc:01 11539710                   /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/x86_64-linux/enc/trans/transdb.so
7fea85b4f000-7fea85b51000 r-xp 00000000 fc:01 11539685                   /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/x86_64-linux/enc/encdb.so
7fea85b51000-7fea85d50000 ---p 00002000 fc:01 11539685                   /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/x86_64-linux/enc/encdb.so
7fea85d50000-7fea85d51000 r--p 00001000 fc:01 11539685                   /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/x86_64-linux/enc/encdb.so
7fea85d51000-7fea85d52000 rw-p 00002000 fc:01 11539685                   /home/maciek/.rbenv/versions/2.2.2/lib/ruby/2.2.0/x86_64-linux/enc/encdb.so
7fea85d52000-7fea8601b000 r--p 00000000 fc:01 4063405                    /usr/lib/locale/locale-archive
7fea8601b000-7fea861db000 r-xp 00000000 fc:01 786665                     /lib/x86_64-linux-gnu/libc-2.21.so
7fea861db000-7fea863db000 ---p 001c0000 fc:01 786665                     /lib/x86_64-linux-gnu/libc-2.21.so
7fea863db000-7fea863df000 r--p 001c0000 fc:01 786665                     /lib/x86_64-linux-gnu/libc-2.21.so
7fea863df000-7fea863e1000 rw-p 001c4000 fc:01 786665                     /lib/x86_64-linux-gnu/libc-2.21.so
7fea863e1000-7fea863e5000 rw-p 00000000 00:00 0 
7fea863e5000-7fea864ec000 r-xp 00000000 fc:01 786657                     /lib/x86_64-linux-gnu/libm-2.21.so
7fea864ec000-7fea866eb000 ---p 00107000 fc:01 786657                     /lib/x86_64-linux-gnu/libm-2.21.so
7fea866eb000-7fea866ec000 r--p 00106000 fc:01 786657                     /lib/x86_64-linux-gnu/libm-2.21.so
7fea866ec000-7fea866ed000 rw-p 00107000 fc:01 786657                     /lib/x86_64-linux-gnu/libm-2.21.so
7fea866ed000-7fea866f6000 r-xp 00000000 fc:01 786646                     /lib/x86_64-linux-gnu/libcrypt-2.21.so
7fea866f6000-7fea868f5000 ---p 00009000 fc:01 786646                     /lib/x86_64-linux-gnu/libcrypt-2.21.so
7fea868f5000-7fea868f6000 r--p 00008000 fc:01 786646                     /lib/x86_64-linux-gnu/libcrypt-2.21.so
7fea868f6000-7fea868f7000 rw-p 00009000 fc:01 786646                     /lib/x86_64-linux-gnu/libcrypt-2.21.so
7fea868f7000-7fea86925000 rw-p 00000000 00:00 0 
7fea86925000-7fea86928000 r-xp 00000000 fc:01 786640                     /lib/x86_64-linux-gnu/libdl-2.21.so
7fea86928000-7fea86b27000 ---p 00003000 fc:01 786640                     /lib/x86_64-linux-gnu/libdl-2.21.so
7fea86b27000-7fea86b28000 r--p 00002000 fc:01 786640                     /lib/x86_64-linux-gnu/libdl-2.21.so
7fea86b28000-7fea86b29000 rw-p 00003000 fc:01 786640                     /lib/x86_64-linux-gnu/libdl-2.21.so
7fea86b29000-7fea86b41000 r-xp 00000000 fc:01 786645                     /lib/x86_64-linux-gnu/libpthread-2.21.so
7fea86b41000-7fea86d41000 ---p 00018000 fc:01 786645                     /lib/x86_64-linux-gnu/libpthread-2.21.so
7fea86d41000-7fea86d42000 r--p 00018000 fc:01 786645                     /lib/x86_64-linux-gnu/libpthread-2.21.so
7fea86d42000-7fea86d43000 rw-p 00019000 fc:01 786645                     /lib/x86_64-linux-gnu/libpthread-2.21.so
7fea86d43000-7fea86d47000 rw-p 00000000 00:00 0 
7fea86d47000-7fea86d6b000 r-xp 00000000 fc:01 786644                     /lib/x86_64-linux-gnu/ld-2.21.so
7fea86d6b000-7fea86da1000 r--s 00000000 fc:01 4070623                    /usr/lib/x86_64-linux-gnu/libedit.so.2.0.51
7fea86da1000-7fea86f6a000 r--s 00000000 fc:01 786665                     /lib/x86_64-linux-gnu/libc-2.21.so
7fea86f6a000-7fea86f6b000 r--p 00023000 fc:01 786644                     /lib/x86_64-linux-gnu/ld-2.21.so
7fea86f6b000-7fea86f6c000 rw-p 00024000 fc:01 786644                     /lib/x86_64-linux-gnu/ld-2.21.so
7fea86f6c000-7fea86f6d000 rw-p 00000000 00:00 0 
7fea86f6d000-7fea87242000 r-xp 00000000 fc:01 10098053                   /home/maciek/.rbenv/versions/2.2.2/bin/ruby
7fea8724a000-7fea872fb000 r--s 00000000 fc:01 4070145                    /usr/lib/debug/lib/x86_64-linux-gnu/libpthread-2.21.so
7fea872fb000-7fea8731e000 r--s 00000000 fc:01 786645                     /lib/x86_64-linux-gnu/libpthread-2.21.so
7fea8731e000-7fea87424000 rw-p 00000000 00:00 0 
7fea87432000-7fea87435000 rw-p 00000000 00:00 0 
7fea87435000-7fea8743c000 r--s 00000000 fc:01 4333507                    /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
7fea8743c000-7fea8743d000 ---p 00000000 00:00 0 
7fea8743d000-7fea87442000 rw-p 00000000 00:00 0                          [stack:14691]
7fea87442000-7fea87447000 r--p 002d5000 fc:01 10098053                   /home/maciek/.rbenv/versions/2.2.2/bin/ruby
7fea87447000-7fea87448000 rw-p 002da000 fc:01 10098053                   /home/maciek/.rbenv/versions/2.2.2/bin/ruby
7fea87448000-7fea87459000 rw-p 00000000 00:00 0 
7fea880a5000-7fea88cdb000 rw-p 00000000 00:00 0                          [heap]
7fff68b32000-7fff69332000 rw-p 00000000 00:00 0 
7fff69343000-7fff69345000 r--p 00000000 00:00 0                          [vvar]
7fff69345000-7fff69347000 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)

History

Updated by deafbybeheading (Maciek Sakrejda) over 4 years ago

  • Subject changed from irb crashes immediately with most REPL input to irb crashes immediately with most (any?) REPL input

Updated by nagachika (Tomoyuki Chikanaga) over 4 years ago

Hi, Maciek.
Thank you for your report. And sorry for late reply.

Could you try with trunk? You can install ruby trunk version with rbenv as follows.

rbenv install 2.3.0-dev
#3

Updated by hsbt (Hiroshi SHIBATA) over 4 years ago

  • Status changed from Open to Feedback
#4

Updated by jeremyevans0 (Jeremy Evans) 5 months ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF