From: "Berger, Daniel" Date: 2008-04-06T03:00:17+09:00 Subject: Re: Sigsegv out of Dir.pos in ruby_1_8 branch > -----Original Message----- > From: Vladimir Sizikov [mailto:vsizikov@gmail.com] > Sent: Saturday, April 05, 2008 11:43 AM > To: ruby-core@ruby-lang.org > Subject: Sigsegv out of Dir.pos in ruby_1_8 branch > > Hi, > > The latest branch 1_8, Ubuntu Linux x32. Ruby can't complete > the round of "rubyspecs" tests, it sigsegvs: > > #>mspec/bin/mspec ci -f s -t /opt/ruby1.8/bin/ruby > spec/ruby/1.8/core/dir/pos_spec.rb > > Dir#pos > - returns an Integer representing the current position in the > directory > - returns a different Integer if moved from previous position > > Dir#pos > ./spec/ruby/1.8/core/dir/shared/closed.rb:7: [BUG] > Segmentation fault ruby 1.8.6 (2008-04-05) [i686-linux] > > Aborted > > Here's a minimized example: > > d = Dir.open('/tmp') > d.close > d.pos > > (irb):5: [BUG] Segmentation fault > ruby 1.8.6 (2008-04-05) [i686-linux] I cannot replicate this on Windows XP Pro or RHEL. > You see, the rubyspecs *are* useful, they do find bugs and > are good to be executing on periodic basis. I think you found a bug in your build of Ruby or in your Linux distro. Regards, Dan This communication is the property of Qwest and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.