Project

General

Profile

Actions

Bug #9791

closed

Segfault using gets() in IRB or with sqlite3 gem

Added by ChazDomerese (Chaz Domerese) almost 10 years ago. Updated almost 5 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.1.1p76 (2014-02-24 revision 45161) [i386-mingw32]
[ruby-core:62259]

Description

I built Ruby from the latest source, first with readline configured and installed. Windows 7, msys/mingw environment. Every time I'd press backspace, IRB and/or the cmd prompt would start deleting the second character back, and the cmd prompt would go wonky if I pressed anything else. So I rebuilt ruby from source without readline, and I couldn't get irb to load after installation. I installed the rb-readline gem, and irb loaded up correctly, or so I thought. I typed gets, pressed enter, and it waited for input, but if I press a single key from there the segfault attached happens.

This segfault seems to happen when I load the sqlite3 gem as well, so I'm thinking this issue may revolve around readline...not sure though.


Files

segfault.txt (6.59 KB) segfault.txt Segfault Details ChazDomerese (Chaz Domerese), 05/01/2014 03:42 AM
Actions #1

Updated by naruse (Yui NARUSE) over 6 years ago

  • Target version deleted (2.2.0)
Actions #2

Updated by jeremyevans0 (Jeremy Evans) almost 5 years ago

  • Status changed from Open to Closed
Actions

Also available in: Atom PDF

Like0
Like0Like0