Hi Michael, On Fri, Jul 21, 2006 at 09:24:49AM +0200, Michael wrote: > Hello, > I can't figure out how to get acts_as_ferret to stop segfaulting. > Every time i run a query on my server (rails 1.1.4 and ferret .9.4 and > aaf from svn) I get a segfault > > ./script/../config/../vendor/plugins/acts_as_ferret/lib/acts_as_ferret.rb:243: > > [BUG] Segmentation fault > > this line is where the indx is rebuilt. > " > def rebuild_index(*additional_models) > index = > Ferret::Index::Index.new(ferret_configuration.merge(:create => true)) > " > > I can get index = Ferret::Index::Index.new to run from the console. > But, If i try the above from a model, Employee.rebuild_index, it > segfaults. > > a fresh check out from the same svn repo on my laptop works fine. it > still segaults after chmod 777 index/ -R
Do you use the compiled version of Ferret on both laptop and server ? What does your call to acts_as_ferret look like, do you specify a custom analyzer or something like this ? Jens -- webit! Gesellschaft für neue Medien mbH www.webit.de Dipl.-Wirtschaftsingenieur Jens Krämer [EMAIL PROTECTED] Schnorrstraße 76 Tel +49 351 46766 0 D-01069 Dresden Fax +49 351 46766 66 _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

