[#4745] Win32: Ruby & APR; build problems for Ruby Subversion SWIG bindings — Erik Huelsmann <ehuels@...>

Having taken upon me the task to provide a Windows build for

24 messages 2005/04/20
[#4746] Re: Win32: Ruby & APR; build problems for Ruby Subversion SWIG bindings — Austin Ziegler <halostatue@...> 2005/04/20

On 4/20/05, Erik Huelsmann <ehuels@gmail.com> wrote:

[#4747] Re: Win32: Ruby & APR; build problems for Ruby Subversion SWIG bindings — Erik Huelsmann <ehuels@...> 2005/04/20

Hi Austin,

[#4762] Re: Win32: Ruby & APR; build problems for Ruby Subversion SWIG bindings — nobu.nokada@... 2005/04/24

Hi,

[#4783] Re: Win32: Ruby & APR; build problems for Ruby Subversion SWIG bindings — Erik Huelsmann <ehuels@...> 2005/04/25

On 4/24/05, nobu.nokada@softhome.net <nobu.nokada@softhome.net> wrote:

[#4787] Re: Win32: Ruby & APR; build problems for Ruby Subversion SWIG bindings — nobu.nokada@... 2005/04/25

Hi,

[#4794] Re: Win32: Ruby & APR; build problems for Ruby Subversion SWIG bindings — Erik Huelsmann <ehuels@...> 2005/04/25

> > > Ruby is just using AC_TYPE_UID_T. So, using typedef for them,

[#4751] Illegal regexp causes segfault — Andrew Walrond <andrew@...>

irb(main):058:0> a = /\[([^]]*)\]/

13 messages 2005/04/22

Re: Segfault in zlib?

From: Nathaniel Talbott <ntalbott@...>
Date: 2005-04-15 14:01:30 UTC
List: ruby-core #4720
On 4/14/05, Nathaniel Talbott <ntalbott@gmail.com> wrote:
> I'm using rubyzip (latest gem version) and zlib (1.2.2) to do a bunch
> of zip manipulation, and am getting an occasional segfault:
> 
>   c:/ruby/lib/ruby/gems/1.8/gems/rubyzip-0.5.8/lib/zip/zip.rb:200:
> [BUG] Segmentation fault
>   ruby 1.8.2 (2005-04-03) [i386-mswin32]
> 
> Since rubyzip is pure Ruby, I'm suspecting the problem is in zlib. I
> wish I could provide more details, but unfortunately, I haven't found
> a reproducible scenario for this problem yet.

OK, I have a reproducible case now:

  require 'rubygems'
  require 'zip/zipfilesystem'

  include Zip

  STDOUT.sync = true

  FILE_NAME = "test.zip"

  Thread.abort_on_exception = true

  threads = []
  5.times do
    threads << Thread.new do
      loop do
        print '.'
        ZipFile.open(FILE_NAME) do |z|
          z.each do |e|
            z.read(e)
          end
        end
      end
    end
    sleep(0.5)
  end

  threads.each{|t| t.join}

This file (t.rb) and ruby interpreter I'm running it with (on Windows
XP sp2) is in the test zip file I've uploaded here:

  http://talbott.ws/personal/test.zip

Using that zip file I usually get a segfault around 5 dots or so.

Thanks,


-- 
Nathaniel

<:((><


In This Thread