Forum: Ferret Segmentation fault (ferret/index.rb:394)

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
563ddc572a5d4c845c02bc56c325e607?d=identicon&s=25 patrick d. (hakita)
on 2010-03-03 22:16
[BUG] Segmentation fault
ruby 1.8.6 (2008-08-11) [x86_64-linux]

Any idea ?
Ae7769529953e8806d319d339c51c696?d=identicon&s=25 Reid M. (reidmix)
on 2010-05-05 07:04
patrick divan wrote:
> /usr/lib64/ruby/gems/1.8/gems/ferret-0.11.6/lib/ferret/index.rb:394:
> [BUG] Segmentation fault
> ruby 1.8.6 (2008-08-11) [x86_64-linux]
> Any idea ?

Anyone else have hints on this?  I've looked around and the best I can
is to move to the ferret server which is when I started to get the

I'm receiving the exact same error right down to the line number.
Which ends up being this line in ferret:
        @searcher.search_each(query, options) do |doc, score|

I'm using the ferret_server already and have an index on one model:
acts_as_ferret :fields => [:description, :opportunity_title,
               :ferret => {:or_default => true, :analyzer => },
               :remote => true

My analyzer follows the format specified by:

Except that it doesn't have the StopFilter:
class AfiAnalyzer < Ferret::Analysis::Analyzer
   include Ferret::Analysis

   def token_stream(field, text)

The index gets updated via a rails app and via a cron job both which run
with the same user.
Patrick, any similarities?

This topic is locked and can not be replied to.