Hi m0n0
> I'm trying to setup an native NetSurf port for the atari FreeMiNT OS,
> during page load (status bar shows proccessing document) an assert
> fails.
>
> Maybe I'm missing some struct that hast to be initialised?
>
> If you look through the logs, default stylesheet with f79 extension
> is loaded, this is okay, I recognize that filetype as text/css in the
> get_filtype function....
>
> error:
> render/layout.c:724: layout_minmax_block: Assertion `child->max_width
> != 2147483647' failed.
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);
}
> Below follows an gdb trace,
> after that the verbose log follows. Can anybody help in this?
>
> with kind regards,
> m0n0
>
> (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?
James