Hi,

 Are you sure you're building the index from scratch ? I mean, are you
positively sure it's not trying to re-use an index that was previously
built with a process that crashed ? This message is typical of a corrupted
page and may happen if the process crashes in the middle of an indexing
phase. If the database is a brand new one, it's a bug and I'll try to 
dig it, hopefully with the help of Marcel.

 Cheers,

Valdas Andrulis writes:
 > Hi again, 
 > 
 > I have one more core file, I configured --disable-static and 
 > compiled everything with -g including BerkeleyDB.
 > 
 > System: linux Mandrake, kernel 2.2.14, glibc 2.1.1, gcc version 2.95.2
 > 19991024 (release), physical RAM 128MB, 650MB swap
 > option wordlist_compress: true
 > 
 > I have got:
 > FATAL ERROR:WordDBPage::Uncompress read wrong num worddiffs
 > FATAL ERROR at file:WordDBPage.cc line:335 !!!
 > 
 > and core file, backtrace:
 > Core was generated by `./htdig -v -i'.
 > Program terminated with signal 11, Segmentation fault.
 > 
 > -----
 > #0  0x8086884 in WordDBPage::Uncompress_rebuild (this=0xbfffeac4,
 > rnums=0x898ba18, 
 >     rnum_sizes=0x84c0840, nnums0=11, rworddiffs=0x89a5a98 "",
 > nrworddiffs=38) at WordDBPage.cc:335
 > #1  0x8085c6b in WordDBPage::Uncompress_main (this=0xbfffeac4,
 > pin=0xbfffea64) at WordDBPage.cc:223
 > #2  0x808380a in WordDBPage::Uncompress (this=0xbfffeac4,
 > pin=0xbfffea64, ndebug=0)
 >     at WordDBPage.cc:155
 > #3  0x807b363 in WordDBCompress::Uncompress (this=0x8284a30,
 > inbuff=0x899d740 "\004", 
 >     inbuff_length=504, outbuff=0x41906364 "\001", outbuff_length=4096)
 > at WordDBCompress.cc:178
 > #4  0x807a9e2 in WordDBCompress_uncompress_c (inbuff=0x899d740 "\004",
 > inbuff_length=504, 
 >     outbuff=0x41906364 "\001", outbuff_length=4096, user_data=0x8284a30)
 > at WordDBCompress.cc:89
 > #5  0x80be159 in __memp_cmpr_read (dbmfp=0x8284b28, bhp=0x41906334,
 > db_io=0xbfffec4c, 
 >     niop=0xbfffec48) at ../mp/mp_cmpr.c:254
 > #6  0x80bdf0c in __memp_cmpr (dbmfp=0x8284b28, bhp=0x41906334,
 > db_io=0xbfffec4c, flag=1, 
 >     niop=0xbfffec48) at ../mp/mp_cmpr.c:119
 > #7  0x80d4b94 in __memp_pgread (dbmfp=0x8284b28, bhp=0x41906334,
 > can_create=0) at ../mp/mp_bh.c:190
 > #8  0x80bb1eb in memp_fget (dbmfp=0x8284b28, pgnoaddr=0xbfffed2c,
 > flags=0, addrp=0xbfffed30)
 >     at ../mp/mp_fget.c:303
 > #9  0x80cbae6 in __bam_search (dbc=0x835d730, key=0xbffff00c, flags=386,
 > stop=1, recnop=0x0, 
 >     exactp=0xbfffede4) at ../btree/bt_search.c:241
 > #10 0x80c6b81 in __bam_c_search (dbc=0x835d730, cp=0x82843f0,
 > key=0xbffff00c, flags=21, 
 >     exactp=0xbfffede4) at ../btree/bt_cursor.c:1531
 > #11 0x80c5112 in __bam_c_get (dbc=0x835d730, key=0xbffff00c,
 > data=0xbfffef00, flags=21)
 >     at ../btree/bt_cursor.c:452
 > #12 0x80a6829 in __db_put (dbp=0x82840c0, txn=0x0, key=0xbffff00c,
 > data=0xbfffeff4, flags=17)
 >     at ../db/db_am.c:389
 > #13 0x80c3dc0 in Db::put (this=0x82a2370, txnid=0x0, key=0xbffff00c,
 > value=0xbfffeff4, flags=17)
 >     at ../cxx/cxx_table.cpp:196
 > #14 0x8072cc3 in WordList::Put (this=0xbffff6d4, arg=@0x89ab4b8,
 > flags=0) at WordDB.h:127
 > #15 0x806a9ef in HtWordList::Flush (this=0xbffff6d4) at
 > ../htword/WordList.h:219
 > #16 0x80552a8 in Retriever::parse_url (this=0xbffff600,
 > urlRef=@0x8589220) at Retriever.cc:601
 > #17 0x8054628 in Retriever::Start (this=0xbffff600) at Retriever.cc:407
 > #18 0x805e728 in main (ac=3, av=0xbffffa94) at htdig.cc:289
 > -----
 > 

-- 
                Loic Dachary

                24 av Secretan
                75019 Paris
                Tel: 33 1 42 45 09 16
                e-mail: [EMAIL PROTECTED]
                URL: http://www.senga.org/


------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] 
You will receive a message to confirm this. 

Reply via email to