According to Peter L. Peres:
> Ok, I got another core ;(. This is from snapshot 3.1.6:
> 
> here is gdb info:
> 
> This GDB was configured as "i686-pc-linux-gnu"...
> Core was generated by `./htdig -ias -v -c ../conf/htdig.conf'.
> Program terminated with signal 11, Segmentation fault.
> Reading symbols from /usr/lib/libz.so.1...done.
> Reading symbols from /usr/lib/libstdc++.so.2.9...done.
> Reading symbols from /lib/libm.so.6...done.
> Reading symbols from /lib/libc.so.6...done.
> Reading symbols from /lib/ld-linux.so.2...done.
> Reading symbols from /lib/libnss_files.so.1...done.
> #0  0x400c84ff in chunk_free (ar_ptr=0x40122300, p=0x81d6850) at
> malloc.c:2948
> malloc.c:2948: No such file or directory.
> 
> Do you have further suggestions ?

Do you get anything useful from a "bt" command in gdb?  It might help
to know where the free() or delete statement is that's causing this
chunk_free to fail.

> This time the core file is also the same
> size as the previous time: 
> 
> 137723904 Sep 27 16:40 core
> 
> But it was reached faster (in 3 hours) than the previous time. Am I
> running out of VM or what ? libs are:
> 
> plp:/opt/www/htdig/bin # ldd ./htdig
>         libz.so.1 => /usr/lib/libz.so.1 (0x4000c000)
>         libstdc++.so.2.9 => /usr/lib/libstdc++.so.2.9 (0x4001c000)
>         libm.so.6 => /lib/libm.so.6 (0x40060000)
>         libc.so.6 => /lib/libc.so.6 (0x4007a000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)
> 
> thanks in advance for any pointers (please CC mail or reply to this
> message, I am not on the list),

Hmmm.  I don't think running out of VM would cause htdig to crash in
chunk_free like this.  More likely, the malloc heap is getting messed
up somehow - possibly from a buffer overrun problem - but I don't know
where to start looking for this.

I see you're running Linux, but what distribution is it?  Did you install
all update packages available for the version you're running of this
distribution?  I know that Red Hat 7.0 had C library problems that were
corrected in an update RPM.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

_______________________________________________
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