[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] Hobbit crashes



On Wed, Feb 01, 2006 at 07:34:35PM +0100, Maxeiner, Christian wrote:
> Henrik,
> 
> here's the output:
> 
> #0  0xc020d5b8 in _kill () from /usr/lib/libc.2
> #0  0xc020d5b8 in _kill () from /usr/lib/libc.2
> (gdb) fr 10
> #10 0x8aac in do_message (msg=0x6e651a64, origin=0x0) at hobbitd.c:2222
> 2222                                                    buf = (char *)realloc(buf, bufsz);
> (gdb) p used
> $1 = 1074320844
> (gdb) p needed
> $2 = 1024
> (gdb) p bufsz
> $3 = 30832
> (gdb) p bufp
> $4 = (char *) 0x0
> (gdb) p buf
> $5 = (char *) 0x8c70 "\b\034\002X\204`!0\013\205\n%4\023"

Still very odd. The "used" number is insanely high, and bufp is 0. The
first could be a result of the latter, but I cannot understand how that
could happen (bufp starts out being the same as buf, and it only grows).


What happens if you shutdown Hobbit, rename the
~hobbit/data/tmp/hobbitd.chk file to something else, and startup
Hobbit again ?

If that makes it work, I'd very much like to have a copy of that file.
It will include a lot of internal information about your tests, so make
sure you have permission to make it available to me. And send it to me
directly - henrik (at) hswn.dk - instead of to the list.


Regards,
Henrik