Am Sonntag, den 22.08.2010, 23:40 +0200 schrieb James Bursa
<[email protected]>:

> It would be useful to get the box tree at the point that it crashes.
> Try replacing the assert() with this:
> 
>       if (child->max_width == UNKNOWN_MAX_WIDTH) {
>               box_dump(stderr, block, 0);
>               assert(child->max_width != UNKNOWN_MAX_WIDTH);
>       }

Ok, I allready got it fixed. Thanks for the info. 

>> (gdb) info locals
>> child = (struct box *) 0x1ca3afc
>> min = 0
>> child = (struct box *) 0x1ca27bc
> This is strange. Why is the debugger showing two different values for
> child?

Thanks for the hint, too. I forwarded it to one of the GDB port
maintainers.

Greets,
m

Reply via email to