[KinoSearch] Segmentation fault
Marvin Humphrey
marvin at rectangular.com
Fri Nov 3 08:41:12 PST 2006
On Nov 3, 2006, at 2:22 AM, Alessandro Ranellucci wrote:
> I'm getting a segmentation fault after that only 710 documents have
> been
> indexed.
Can you identify the document that triggers the segfault? I suspect
this is tied to specific content, and that the problem lies somewhere
in the Italian PolyAnalyzer.
> This is gdb output:
> Program received signal EXC_BAD_ACCESS, Could not access memory.
> 0x90004220 in free_list_remove_ptr ()
I believe that indicates an attempt to free some memory that malloc
doesn't know about, either because it's a double free, or because the
pointer was, say, uninitialized and pointing at something random.
However, I can't tell from that where such a problem might be
arising, so we will probably need to try to continue trying to
isolate a section of code. Was that the whole trace?
> Also, last time I run this script (a few months ago) it worked.
What has changed? Is the content the same?
Presumably, the version of KinoSearch changed between then and now,
right?
> I'm
> rebuilding my index from scratch because I noticed that new documents
> were not being added to the index, although no error was thrown.
These issues are probably related.
Marvin Humphrey
Rectangular Research
http://www.rectangular.com/
More information about the kinosearch
mailing list