Forum: Ferret script to reproduce segfaults in 0.11.3

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
John L. (Guest)
on 2007-03-09 17:14
(Received via mailing list)
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/ferre...

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
David B. (Guest)
on 2007-03-09 18:01
(Received via mailing list)
On 3/10/07, John L. <removed_email_address@domain.invalid> 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/ferre...

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 topic is locked and can not be replied to.