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

Re: [MiNT] XaAES 1.55 + NetSurf



On 29/03/2013 06:54, Helmut Karlowski wrote:
There is a VDI trap near that code, it is vqt_width(). Not sure if
this is relevant.

When I interrupted the CPU (many times), for sure several times it was inside vqt_width(). IMHO, something calling vqt_width() is really causing trouble.

1. fVDI has a bug in vqt_width: If the char has the high-bit set, it
returns crap. XaAES should correct that though.

Oho. Second clue against vqt_width().

2. I changed the calling-mode to use the return-value not the
width-result to test for success.

See xa_vdi.c#351. I don't think either of these can cause trouble though.

http://www.sparemint.org/cgi-bin/cvsweb/freemint/xaaes/src.km/xa_vdi.c.diff?r1=1.22&r2=1.22.2.1

That "while (*s)" loop in xa_vdi.c:403 is very likely to cause an infinite loop. Our bug is there.

--
Vincent Rivière