[KinoSearch] Seg fault on trunk r3834
Marvin Humphrey
marvin at rectangular.com
Sun Sep 7 06:38:09 PDT 2008
On Sep 6, 2008, at 11:36 PM, Dan wrote:
> What will i need to send to help you debug it.
Ideally, one of these:
* A self-contained script, patch, test case, or small tarball
containing code which isolates and demonstrates the problem.
* The output of "valgrind perl test_search.pl".
If neither of those is easy for you to produce, send some code
fragments to the list and we'll see if anything jumps out.
> I have built a small index and just wrote a simple searcher..
> It seg faults when calling $hits->next();
> $hits->total_hits returns a count of 4 just fine..
OK. Clearly $hits->next is used all over the test suite. So,
whatever is in your script isn't the kind of thing that the test
suite's generic usage of $hits->next picks up. I would appreciate
your help in finding this problem.
> I'm currently on linux CentOS 5, perl v5.8.8,
> Playing with Trunk r3834
Obligatory question: svn trunk passes all tests on this box, right?
Marvin Humphrey
Rectangular Research
http://www.rectangular.com/
More information about the kinosearch
mailing list