Segmentation Fault in more_like_this.rb

I’ve been seeing some core dumps coming from ferret_server:

acts_as_ferret/lib/more_like_this.rb:170: [BUG] Segmentation fault
ruby 1.8.6 (2007-03-13) [i386-freebsd6]

I’m running the latest build of ferret (0.11.4-rc5). Line 170 in
more_like_this.rb is:

freq = reader.doc_freq(field_name, word)

which is calling into the ferret C code (if I’m reading this correctly).

Is there anything I can do to get you more information, or help track
down this problem?

Thanks.


Peter J.
pmade inc. - http://pmade.com

Peter,

Is there anything I can do to get you more information, or help track
down this problem?

Yes, of course… try to break the error down to a simple test case
and create a ticket at the ferret trac. There’re still a few problems
in ferret that needs to be addressed, and this might be one of
them. Whenever David gets another chance to fix some ferret
bugs, it would be great to have a test case that helps to
identify the problem.

Ben