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 Leach <john at johnleach.co.uk> 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.rbHi John, Thanks for the bug report. This has been fixed in trunk. I''ll try and get a new release out soon. Cheers, Dave -- Dave Balmain http://www.davebalmain.com/