Displaying 1 result from an estimated 1 matches for "sub_searchers".
2008 Mar 05
0
Index Searcher Causes GC Memory Error: "irb: double free or corruption"
...80]
/usr/lib/libruby.so.1.8(ruby_stop+0x1d)[0xc2c3ad]
/usr/lib/libruby.so.1.8[0xc372c1]
irb[0x804868d]
/lib/libc.so.6(__libc_start_main+0xe0)[0x5e5390]
irb[0x8048581]
Here is the code of my class. Any sign of what is wrong with the memory handling?
class IndexSearcher
attr_accessor :searcher, :sub_searchers, :object_type
# @param paths [Array of String] full local paths
def initialize( object_type, paths )
# Would''ve used this way since it''s simpler and said by author to be faster; but invalid paths
will break this entirely
# self.searcher = Ferret::Search::Searcher.new(Ferre...