Hi,

With 3.2.0b4-011302 (and with some otyher versions I tried earlier),
I get the following errors:

Error log of htdig:

WordDB: CDB___memp_cmpr_free: put failed for pgno = 63032
WordDB: PANIC: DB_KEYEXIST: Key/data pair already exists
WordDB: PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
WordDB: /data/www/htdig-db//db.words.db.work: write failed for page 78140
WordDB: CDB___memp_cmpr_free: put failed for pgno = 138001
WordDB: PANIC: DB_KEYEXIST: Key/data pair already exists
WordDB: PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
WordDB: /data/www/htdig-db//db.words.db.work: write failed for page 78256
WordDB: CDB___memp_cmpr_free: put failed for pgno = 47366
WordDB: PANIC: DB_KEYEXIST: Key/data pair already exists
WordDB: PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
WordDB: /data/www/htdig-db//db.words.db.work: write failed for page 27452
WordDB: CDB___memp_cmpr_read: unexpected compression flag value 0x8 at pgno = 144645
WordDB: PANIC: Successful return: 0
WordDB: CDB___memp_cmpr_read: unexpected compression flag value 0x8 at pgno = 47366
WordDB: PANIC: Successful return: 0
WordDB: CDB___memp_cmpr_read: unexpected compression flag value 0x8 at pgno = 144645
WordDB: PANIC: Successful return: 0
WordDB: CDB___memp_cmpr_read: unexpected compression flag value 0x8 at pgno = 144645
WordDB: PANIC: Successful return: 0
WordDB: CDB___memp_cmpr_read: unexpected compression flag value 0x8 at pgno = 47366
WordDB: PANIC: Successful return: 0
WordDB: CDB___memp_cmpr_read: unexpected compression flag value 0x8 at pgno = 144645
WordDB: PANIC: Successful return: 0
WordDB: CDB___memp_cmpr_free: put failed for pgno = 26429
WordDB: PANIC: DB_KEYEXIST: Key/data pair already exists
WordDB: PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
WordDB: /data/www/htdig-db//db.words.db.work: write failed for page 80747
WordDB: CDB___memp_cmpr_read: unexpected compression flag value 0x8 at pgno = 47366
WordDB: PANIC: Successful return: 0
FATAL ERROR:WordDBPage::Uncompress read wrong num worddiffs
FATAL ERROR at file:WordDBPage.cc line:335 !!!

And then it segfaults and dumps core, stack trace:

#0  0x4019c463 in WordDBPage::Uncompress_rebuild (this=0xbfffe450, 
    rnums=0x8209b30, rnum_sizes=0x83a6aa0, nnums0=11, rworddiffs=0x0, 
    nrworddiffs=0) at WordDBPage.cc:335
335                     
if(rnum_pos[CNWORDDIFFLEN]>=rnum_sizes[CNWORDDIFFLEN]){errr("WordDBPage::Uncompress 
read wrong num worddiffs");}

(gdb) bt

#0  0x4019c463 in WordDBPage::Uncompress_rebuild (this=0xbfffe450, 
    rnums=0x8209b30, rnum_sizes=0x83a6aa0, nnums0=11, rworddiffs=0x0, 
    nrworddiffs=0) at WordDBPage.cc:335
#1  0x4019b2a3 in WordDBPage::Uncompress_main (this=0xbfffe450, pin=0xbfffe3f0)
    at WordDBPage.cc:223
#2  0x40199284 in WordDBPage::Uncompress (this=0xbfffe450, pin=0xbfffe3f0, 
    ndebug=0) at WordDBPage.cc:155
#3  0x40197f92 in WordDBCompress::Uncompress (this=0x87ea6e0, 
    inbuff=0x83a1a80 "\004", inbuff_length=2032, outbuff=0x408350b0 "\002", 
    outbuff_length=8192) at WordDBCompress.cc:127
#4  0x40197811 in WordDBCompress_uncompress_c (inbuff=0x83a1a80 "\004", 
    inbuff_length=2032, outbuff=0x408350b0 "\002", outbuff_length=8192, 
    user_data=0x87ea6e0) at WordDBCompress.cc:48
#5  0x4024c18d in CDB___memp_cmpr_read (dbmfp=0x80eb028, bhp=0x40835078, 
    db_io=0xbfffe5c0, niop=0xbfffe5bc) at mp_cmpr.c:288
#6  0x4024bf0d in CDB___memp_cmpr (dbmfp=0x80eb028, bhp=0x40835078, 
    db_io=0xbfffe5c0, flag=1, niop=0xbfffe5bc) at mp_cmpr.c:139
#7  0x4024b5d1 in CDB___memp_pgread (dbmfp=0x80eb028, bhp=0x40835078, 
    can_create=0) at mp_bh.c:212
#8  0x4024d587 in CDB_memp_fget (dbmfp=0x80eb028, pgnoaddr=0xbfffe6d8, 
    flags=0, addrp=0xbfffe6dc) at mp_fget.c:353
#9  0x40222cf3 in CDB___bam_search (dbc=0x838e6f0, key=0xbfffe920, 
    flags=12802, stop=1, recnop=0x0, exactp=0xbfffe7d4) at bt_search.c:251
#10 0x4021b47d in CDB___bam_c_search (dbc=0x838e6f0, key=0xbfffe920, flags=15, 
    exactp=0xbfffe7d4) at bt_cursor.c:1594
#11 0x4021a332 in CDB___bam_c_put (dbc_orig=0x838e888, key=0xbfffe920, 
    data=0xbfffe900, flags=15) at bt_cursor.c:982
#12 0x4022b050 in CDB___db_put (dbp=0x80e1c38, txn=0x0, key=0xbfffe920, 
    data=0xbfffe900, flags=0) at db_am.c:508
#13 0x401a85ff in WordList::Put (this=0xbffff43c, arg=@0x814a8b0, flags=0)
    at WordDB.h:126
#14 0x4014cbb4 in HtWordList::Flush (this=0xbffff43c)
    at ../htword/WordList.h:118
#15 0x08053611 in String::operator= () at String.cc:113
#16 0x08052c6f in String::operator= () at String.cc:113
#17 0x0805a7ca in String::operator= () at String.cc:113
#18 0x402e6177 in __libc_start_main (
    main=0x8059a14 <String::operator=(char const *)+53812>, argc=2, 
    ubp_av=0xbffff9ac, init=0x804b9e8 <_init>, fini=0x805cffc <_fini>, 
    rtld_fini=0x4000e184 <_dl_fini>, stack_end=0xbffff99c)
    at ../sysdeps/generic/libc-start.c:129
Current language:  auto; currently c++

And then the other utils called in rundig give the following errors
(dunno what util produces what output):

WordDB: CDB___memp_cmpr_read: expected DB_CMPR_FIRST flag set at pgno = 227172
WordDB: PANIC: Invalid argument
WordDBCursor::Get(17) failed DB_RUNRECOVERY: Fatal error, run database recovery
WordDB: CDB___memp_cmpr_read: expected DB_CMPR_FIRST flag set at pgno = 227172
WordDB: PANIC: Invalid argument
WordDBCursor::Get(17) failed DB_RUNRECOVERY: Fatal error, run database recovery
WordDB: CDB___memp_cmpr_read: expected DB_CMPR_FIRST flag set at pgno = 227172
WordDB: PANIC: Invalid argument
WordDBCursor::Get(17) failed DB_RUNRECOVERY: Fatal error, run database recovery

This was the first time I used "htdig" after building an initial db
with "htdig -i".

Any clues?

Cheers,

--
--    Jos Vos <[EMAIL PROTECTED]>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to