Jens Kraemer wrote:
> Hi Alastair!
>
> On Tue, Aug 15, 2006 at 01:55:37PM +0200, Alastair Brunton wrote:
>> Hi,
>>
>> I am getting a number of segmentation faults using Ferret 0.9.5, Fedora
>> Core 5 and Ruby 1.8.4
>>
>> I installed it with the recommended gem install ferret
>>
>> and example segmentation fault creation line would be as follows:
>>
>> @records = FerretConfig::INDEX.search("address_line_2:\"Dumbarton\"")
>
> we'll need some more info to sort this out. Did you succeed in creating
> an index, that is, is there at least a file called segments and one or
> more other files in the index directory ?
> If yes, do other queries succeed ?
>
>> I am also using acts_as_ferret and rails 1.15 but think this is an issue
>> with ferret.
>
> nothing to do with Ferret, but you should really upgrade to Rails 1.1.6.
>
> regards,
> 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
Sorry for duplicating the post.
I have the gem 0.9.5 and demo trunk on Fedorr Core 5. Initially I had
Seg Faults on the gem. I fixed it using -0s in the CFLAG. and making
sure I have the right libs.
Now when I run rake in demo app I get seg fault again. :(
$rake --trace
(in /home/ajagra/dev/src/demo)
** Invoke default (first_time)
** Invoke test (first_time)
** Execute test
** Invoke test:units (first_time)
** Invoke db:test:prepare (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:test:prepare
** Invoke db:test:clone (first_time)
** Invoke db:schema:dump (first_time)
** Invoke environment
** Execute db:schema:dump
** Invoke test:functionals (first_time)
** Invoke db:test:prepare
** Execute test:functionals
/usr/bin/ruby -Ilib:test
"/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb"
"test
/functional/content_controller_test.rb"
Loaded suite
/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader
Started
....../home/ajagra/dev/src/demo/config/../vendor/plugins/acts_as_ferret/lib/acts_as_ferret.rb:437:
[
BUG] Segmentation fault
ruby 1.8.4 (2005-12-24) [i386-linux]
rake aborted!
Test failures
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/tasks/testing.rake:35
/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `execute'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `execute'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:357:in `invoke'
/usr/lib/ruby/1.8/thread.rb:135:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:364:in
`invoke_prerequisites'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `each'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:363:in
`invoke_prerequisites'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:356:in `invoke'
/usr/lib/ruby/1.8/thread.rb:135:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/bin/rake:7
/usr/bin/rake:18
AJ
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk