Bugs item #3155, was opened at 2005-12-30 20:23
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=3155&group_id=426

Category: Core
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Daniel Berger (djberg96)
Assigned to: Nobody (None)
Summary: Dir#seek segfaults on Windows XP

Initial Comment:
Windows XP Pro
Ruby 1.8.2 (one click installer)
Ruby 1.8.4 (built manually using cl 13)

>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.

Regards,

Dan

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

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