On Wed, Feb 01, 2006 at 05:18:20PM +0100, Maxeiner, Christian wrote:
Output of gdb: (gdb) bt #5 <signal handler called> #6 0xc0199038 in _sigfillset () from /usr/lib/libc.2 #7 0xc0195bec in _sscanf () from /usr/lib/libc.2 #8 0xc019b510 in realloc () from /usr/lib/libc.2 #9 0x104a8 in xrealloc (ptr=0x4010dffc, size=0) at memory.c:149 #10 0x8aac in do_message (msg=0x3c610c68, origin=0x0) at hobbitd.c:2222 #11 0xc17c in main (argc=10485759, argv=0x40009cb8) at hobbitd.c:3512
Very odd. The interesting thing is that hobbitd here is doing a re-allocation of a buffer, but asking for 0 bytes - and apparently, HP-UX doesn't like that.
But I don't see how it can get to asking for 0 bytes in that part of the code...
Could you start gdb again, but instead of the "bt" command do this:
gdb> fr 10 gdb> p used gdb> p needed gdb> p bufsz gdb> p bufp gdb> p buf
and mail me the output?
Thanks, Henrik