Script to reproduce segfaults in 0.11.3

Hi,

I’ve adapted my ferret_killer1.rb script to reproduce the segfaults I’m
still having in my app with Ferret 0.11.3.

ferret_killer1 didn’t reproduce these - I had to add code to retrieve
the documents from the index after searching (and fixed the index
creation bug Dave spotted).

http://johnleach.co.uk/downloads/ruby/ferret/ferret_killer3.rb

To use, in one terminal run: ./ferret_killer3.rb index
In another terminal: ./ferret_killer3.rb search

the search process will segfault after a couple of searches or so:

ferret_killer3.rb:64: [BUG] Segmentation fault
ruby 1.8.5 (2006-08-25) [i486-linux]

Hope this helps,

John.

http://johnleach.co.uk

On 3/10/07, John L. [email protected] wrote:

Hi,

I’ve adapted my ferret_killer1.rb script to reproduce the segfaults I’m
still having in my app with Ferret 0.11.3.

ferret_killer1 didn’t reproduce these - I had to add code to retrieve
the documents from the index after searching (and fixed the index
creation bug Dave spotted).

http://johnleach.co.uk/downloads/ruby/ferret/ferret_killer3.rb

Hi John,

Thanks for the bug report. This has been fixed in trunk. I’ll try and
get a new release out soon.

Cheers,
Dave

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs