Displaying 1 result from an estimated 1 matches for "rw_ferret_test".
2006 Dec 07
8
crash on repeated search
...rms. 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
Here''s the code:
require ''rubygems''
require ''ferret''
include Ferret
def phrase(num)
"a_fairly_lon...