Hi,
On 07.12.2006, at 10:38, Caleb Clausen wrote:

I have found another crash in ferret; this one just uses a regular
search. It's similar to an issue reported by Matt Schnitz a while ago,
but unlike his, mine does not go away if I turn off omit_norms. It does go away if I turn on the garbage collector more often, but I'm not sure
that's a stable workaround under the circumstances.

This one isn't a segfault, but more complicated versions have been. This
bug manifests as a error in the garbage collector:

$ ruby rw_ferret_test.rb
.......rw_ferret_test.rb:20: [BUG] rb_gc_mark(): unknown data type
0x28(0x402ba3a4) non object
ruby 1.8.2 (2005-04-11) [i386-linux]

Aborted

I tried your code and I get lots of dots but no error ;)

Maybe you should use a newer Ruby version. I'm using

ruby 1.8.5 (2006-08-25) [powerpc-darwin8.8.0]
I get the same crash on ruby 1.8.5 (2006-08-25) [i386-cygwin], perhaps it's specific to certain architectures?

Cheers!
Patrick
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to