Bug #1971: Segmentation fault in readline
http://redmine.ruby-lang.org/issues/show/1971

Author: Mark Moseley
Status: Open, Priority: Normal
Target version: 1.9.x
ruby -v: 1.9.2

Following code from trunk, -r24602, segfaults in Linux 2.6.15.5:

require 'readline'
Readline::readline("(rdb:1)", true)

I've narrowed this down to 8/20/09 change to ext/readline/readline.c, -r24594 (rl_prep_terminal() call)
If I back out the change, then it works properly.


----------------------------------------
http://redmine.ruby-lang.org