Hi Jim,

  Very interesting - my crash seems to happen during WordDBPage::Compress

  I'm using htdig-3.2.0b4-110401 but I've made a few customizations for use 
on our site - mostly to htsearch to enhance search results displays.......I 
have considered upgrading the snapshot but the size of the job has stopped me 
- I'll have to port my customizations to the new snapshot, etc......

  However, I have gone back to creating one master database with everything 
in it and using "restricts" to control the results......hence, merging is not 
required right now.......if I need to merge in the future I will likely 
upgrade my snapshot and try again :-)

  Thanks to for your help!

Cheers,
Jonathan.


On Friday 22 November 2002 08:48, you wrote:
> On Wednesday, November 20, 2002, at 10:23 PM, Jonathan Schlackl wrote:
> >   So - how come I am having so much trouble merging 3 databases into 1?
> >
> >   I build all 3 separately then I call htmerge 2 times with the -m
> > option to
> > merge the 2 smaller ones into the larger one. Every time I try that the
> > merges fail. I also get a core dump......not sure what is
> > happening.....
>
> If it is actually crashing, I think the first thing to try is upgrading
> to the newest snapshot, if that is possible and you haven't already
> done so. If that doesn't solve the problem, I would suggest using gdb
> (or whatever debugger you have available) to grab a backtrace from the
> core file and submitting that along with any other info you think might
> be useful.
>
> I did a quick test with the htdig-3.2.0b4-20021013 that I have
> installed on one of my systems, and I did encounter a crash. The
> backtrace is included below. Can you tell if your setup is crashing in
> the same place?
>
> Jim
>
>
> (gdb) bt
> #0  0x000485ac in WordDBPage::Compress(int, __db_cmpr_info*)
> (this=0xbfffee60, ndebug=96, cmprInfo=0x2000357b) at
> WordBitCompress.h:258
> #1  0x000274e8 in WordDBCompress::Compress(unsigned char const*, int,
> unsigned char**, int*) (this=0x789550, inbuff=0x8f2a0c "",
> inbuff_length=8192, outbuffp=0xbfffef50, outbuff_lengthp=0xbfffef54) at
> WordDBCompress.cc:95
> #2  0x0008a168 in CDB___memp_cmpr_write (dbmfp=0x7894f0, bhp=0x8f29d8,
> db_io=0xbffff030, niop=0xbffff060) at mp_cmpr.c:345
> #3  0x00089dac in CDB___memp_cmpr (dbmfp=0x789580, bhp=0x60,
> db_io=0xbffff030, flag=-1073746096, niop=0xbffff060) at mp_cmpr.c:146
> #4  0x00091adc in CDB___memp_pgwrite (dbmp=0x78aeb0, dbmfp=0x7894f0,
> bhp=0x8f29d8, restartp=0x0, wrotep=0xbffff0e8) at mp_bh.c:439
> #5  0x0006ad1c in CDB___memp_fsync (dbmfp=0x7894f0) at mp_sync.c:482
> #6  0x0004250c in CDB___db_sync (dbp=0x789340, flags=96) at db_am.c:551
> #7  0x00041010 in CDB___db_close (dbp=0x789340, flags=0) at db.c:1097
> #8  0x00009cb4 in WordList::Close() (this=0xbffff5d0) at WordDB.h:79
> #9  0x000035f8 in mergeDB() () at htmerge.cc:350
> #10 0x00002c8c in main (ac=-1073743648, av=0xe2764) at htmerge.cc:174
> #11 0x00002504 in _start (argc=5, argv=0xbffffabc, envp=0xbffffad4) at
> /SourceCache/Csu/Csu-45/crt.c:267
> #12 0x00002384 in start () at
> /usr/include/gcc/darwin/3.1/g++-v3/streambuf:129
> (gdb) print size0
> $1 = 536884603
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> 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


-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
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