[#3726] Fixnum#clone and Float#clone raise different exceptions — "David A. Black" <dblack@...>

Hi --

15 messages 2004/11/12
[#3749] Re: Fixnum#clone and Float#clone raise different exceptions — "David A. Black" <dblack@...> 2004/11/16

Hi --

[#3751] Re: Fixnum#clone and Float#clone raise different exceptions — Yukihiro Matsumoto <matz@...> 2004/11/16

Hi,

[#3752] Re: Fixnum#clone and Float#clone raise different exceptions — "David A. Black" <dblack@...> 2004/11/16

Hi --

[#3785] The latest 1.8.2 cvs prints parse error when starting extension compiling — Yukihiro Matsumoto <matz@...>

Hi,

13 messages 2004/11/23
[#3787] Re: The latest 1.8.2 cvs prints parse error when starting extension compiling — Johan Holmberg <holmberg@...> 2004/11/23

[ ruby-Bugs-1120 ] Segmentation fault with StringIO#puts and StringIO#rewind

From: noreply@...
Date: 2004-11-27 13:38:11 UTC
List: ruby-core #3836
Bugs item #1120, was opened at 2004-11-27 08:37
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=1120&group_id=426

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Francis Hwang (francis)
Assigned to: Nobody (None)
Summary: Segmentation fault with StringIO#puts and StringIO#rewind

Initial Comment:
Using Ruby 1.9.0 on OS X, I get an error when I run this code:

require 'stringio'
stringio = StringIO.new
responses = [ '', 'CS 5480/6480 Class Schedule' ]
responses.each { |resp|
  stringio.puts( resp )
  stringio.rewind
}

$ ruby ~/Desktop/test_stringio.rb 
/Users/francis/Desktop/test_stringio.rb:5: [BUG] Segmentation fault
ruby 1.9.0 (2004-10-29) [powerpc-darwin7.5.0]

Abort trap

It only seems to happen with this combination of responses, and calling both StringIO#puts and StringIO#rewind.

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

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

In This Thread

Prev Next