From: Chad Fowler Date: 2004-06-04T19:46:22+09:00 Subject: Re: Gem 0.4 segfaults on winxp upon install On Fri, 4 Jun 2004 19:01:27 +0900, "Pe�a, Botp" wrote: > > Chad Fowler [mailto:chadfowler@gmail.com] helpfully wrote: > > > > c:/ruby181-13/lib/ruby/site_ruby/1.8/rubygems/builder.rb:61: [BUG] > > > Segmentation fault ruby 1.8.2 (2004-05-19) [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. > > > > > > > > > > Strange one. I'm not seeing this on my computer at work. I'm > > running the windows installer version from RubyForge (latest > > one). It looks like the following line from builder.rb is > > causing Ruby to segfault on your computer > > > > data = [Zlib::Deflate.deflate(File.open(entry['path'], "rb") {|f| > > f.read})].pack("m") > > > > Can you try this from the shell in windows to see if it also > > segfaults? > > > > ruby -rzlib -e 'p Zlib::Deflate.deflate("Blah")' > > Yes, it does segfaults. > > ------------------------------------------- > C:\temp\gem\rubygems-0.4.0>ruby -rzlib -e 'p Zlib::Deflate.deflate("Blah")' > -e:1: [BUG] Segmentation fault > ruby 1.8.2 (2004-05-19) [i386-mswin32] > > Can anyone else confirm that zlib segfaults on this release of ruby on Windows? Chad