[#8815] Segfault in libc strlen, via rb_str_new2 — "Sean E. Russell" <ser@...>

Howdy,

12 messages 2006/09/09
[#8817] Re: Segfault in libc strlen, via rb_str_new2 — Eric Hodel <drbrain@...7.net> 2006/09/09

On Sep 8, 2006, at 10:10 PM, Sean E. Russell wrote:

[ ruby-Bugs-5821 ] FXRI/IRB - Shift + Backspace crashes help viewer

From: <noreply@...>
Date: 2006-09-20 16:59:36 UTC
List: ruby-core #8896
Bugs item #5821, was opened at 2006-09-20 11:59
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=5821&group_id=426

Category: None
Group: 1.8.5
Status: Open
Resolution: None
Priority: 3
Submitted By: Blue Drache (bluedrache)
Assigned to: Nobody (None)
Summary: FXRI/IRB - Shift + Backspace crashes help viewer

Initial Comment:
Introduction:

This pertains to FXRI on the default Windows XP Pro installation of Ruby 1.8.5

Commentary:

Discovered quite by accident, due to my fumble fingered nature, but if one holds shift while performing a backspace on a typo or other text, the line is cleared.  The next time the user hits "enter" the program crashes and dissapears.


Steps to reproduce:

1.  Open FXRI
2.  Type some random text.
3.  Hold shift and press backspace ( <-- )
4.  (Optional) Continue by typing more random text.
5.  Press Enter/Newline

Observed:

At step 3, the line will dissapear, including the prompt.  At step 5, the FXRI GUI vanishes.

Expected:

Obviously this shouldn't happen.  A shift+backspace should yield removal of an entire word, just a letter at the very least, or nothing at all. 

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=5821&group_id=426

In This Thread

Prev Next