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,