[Xapian-discuss] Re: Xapian::DocNotFoundError on replace_document? (Called from Search::Xapian)

Eric Parusel ericparusel at gmail.com
Wed Jul 25 00:24:52 BST 2007


On 7/24/07, Eric Parusel <ericparusel at gmail.com> wrote:
> Hello,
>
> I'm using Xapian 1.0.2 (flint) and matching Search::Xapian.
>
>
> I'm getting:
>
> terminate called after throwing an instance of
> 'Xapian::DocNotFoundError', which dumps core.
>
>
> at first it was after adding my 2nd document (to an empty db, although
> I don't know if that has any bearing) to the database with a
> replace_document() call.
>
> I shifted the first document off the processing stack (moved the file
> away), and then it crashed doing a replace_document on the 4th
> (previously 5th) document.

I figured out how to spit out logs, here's the end:

7]Xapian 17296: [0x8533b90] void
WritableDatabase::replace_document(2312403,
Document(Xapian::Document::Internal(terms[332]))) called
2]Xapian 17296: [0x874d8c0] void
FlintWritableDatabase::replace_document(2312403,
Document(Xapian::Document::Internal(terms[332]))) called
2]Xapian 17296: [0x874d8c0] Xapian::doccount
FlintWritableDatabase::get_doccount() called
2]Xapian 17296: [0x874d914] Xapian::doccount
FlintDatabase::get_doccount() called
2]Xapian 17296: [0x874e0b0] Xapian::doccount
FlintRecordTable::get_doccount() called
2]Xapian 17296: [0x874e0b0] Xapian::doccount
FlintRecordTable::get_doccount() returning 3
2]Xapian 17296: [0x874d914] Xapian::doccount
FlintDatabase::get_doccount() returning 3
2]Xapian 17296: [0x874d8c0] Xapian::doccount
FlintWritableDatabase::get_doccount() returning 3
2]Xapian 17296: [0x804758c] void FlintTermList([this_db_], 0x874db94,
2312403, 3) called
2]Xapian 17296: [0x874db94] bool FlintTable::get_exact_entry(^C#H\323, ) called
2]Xapian 17296: [0x874db94] bool FlintTable::find_tag(^C#H\323, &tag) called
2]Xapian 17296: [0x874db94] bool FlintTable::find(0x874dc1c) called
2]Xapian 17296: [static   ] int FlintTable::find_in_block(0x87708a8,
0x876e8a2, 1, 17) called
2]Xapian 17296: [0x8046798] bool Key_::operator<(0x8772083) called
2]Xapian 17296: [0x8046798] bool Key_::operator<() returning 1
2]Xapian 17296: [0x8046980] bool Key_::operator<(0x8772535) called
2]Xapian 17296: [0x8046980] bool Key_::operator<() returning 1
2]Xapian 17296: [0x8046980] bool Key_::operator<(0x87728a3) called
2]Xapian 17296: [0x8046980] bool Key_::operator<() returning 0
2]Xapian 17296: [static   ] int FlintTable::find_in_block() returning 11
2]Xapian 17296: [0x80469c8] bool Key_::operator==(0x876e8a2) called
2]Xapian 17296: [0x80469c8] bool Key_::operator==() returning
2]Xapian 17296: [0x874db94] bool FlintTable::find() returning 0
2]Xapian 17296: [0x874db94] bool FlintTable::find_tag() returning 0
2]Xapian 17296: [0x874db94] bool FlintTable::get_exact_entry() returning 0

Thanks,
Eric



More information about the Xapian-discuss mailing list