[#6864] ruby 1.8.4 rc breaks alias_method/rails in bad ways — "Ara.T.Howard" <ara.t.howard@...>

20 messages 2005/12/09
[#6870] Re: ruby 1.8.4 rc breaks alias_method/rails in bad ways — =?ISO-8859-15?Q?Florian_Gro=DF?= <florgro@...> 2005/12/12

Ara.T.Howard wrote:

[#6872] Re: ruby 1.8.4 rc breaks alias_method/rails in bad ways — ara.t.howard@... 2005/12/12

On Tue, 13 Dec 2005, [ISO-8859-15] Florian Growrote:

[#6873] Re: ruby 1.8.4 rc breaks alias_method/rails in bad ways — James Edward Gray II <james@...> 2005/12/12

On Dec 12, 2005, at 1:19 PM, ara.t.howard@noaa.gov wrote:

[#6874] Re: ruby 1.8.4 rc breaks alias_method/rails in bad ways — ara.t.howard@... 2005/12/12

On Tue, 13 Dec 2005, James Edward Gray II wrote:

[#6891] Time.utc! and Time.localtime! — Daniel Hobe <hobe@...>

Writing a script yesterday I found out, much to my surprise, that the

16 messages 2005/12/14

[#6918] change to yaml in 1.8.4 — ara.t.howard@...

14 messages 2005/12/16

[#6934] 1.8.x, YAML, and release management — Ryan Davis <ryand-ruby@...>

I'm concerned that 1.8.3's acceptance of non-backwards-compatible

28 messages 2005/12/18

[#6996] Problems building 1.8.4 with VS8 C++ Express Edition (cl 14.00) — Austin Ziegler <halostatue@...>

Visual Studio C++ 2005 Express Edition (VS 8.0)

20 messages 2005/12/27

Re: [ ruby-Bugs-3155 ] Dir#seek segfaults on Windows XP

From: "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
Date: 2005-12-31 07:03:16 UTC
List: ruby-core #7037
Hi.

>>c:\ruby184\bin\irb
>irb(main):001:0> VERSION
>=> "1.8.4"
>irb(main):002:0> dir = Dir.new(Dir.pwd)
>=> #<Dir:0x287ec70>
>irb(main):003:0> dir.read
>=> "."
>irb(main):004:0> dir.seek(1)
>=> #<Dir:0x287ec70>
>irb(main):005:0> dir.read
>(irb):5: [BUG] Segmentation fault
>ruby 1.8.4 (2005-12-24) [i386-mswin32]
>
>
>This application has requested the Runtime to terminate it in an unusual way.
>Please contact the application's support team for more information.
>
>The Dir#tell results don't exactly look like what I would expect:
>
>=> #<Dir:0x29d25c8>
>irb(main):002:0> dir.read
>=> "."
>irb(main):003:0> i = dir.tell
>=> 42886538
>
>Perhaps there's a correlation.  I suspect this is a Windows specific bug.

You should pass postion which Dir#tell returns. Otherwise, behavior is unspecified.

But I think SEGV is not good even if so. I'll fix it.

# And I found my own bug on ruby 1.9 while survey.
# seekdir in win32/win32.c must update `bitpos`. :-(



In This Thread