[Lazarus] FindInvalidUTF8Character hanging linux hard?

Luca Olivetti luca at wetron.es
Tue Nov 10 13:09:57 CET 2009


En/na Luca Olivetti ha escrit:
> En/na Mattias Gaertner ha escrit:
> 
>>> Long version:
>>>
>>> I have a (relatively simple) program that has been running flawlessly 
>>> 24x7 the last 4 years.
>>> [...]
>>> The most intriguing part is that, under the test conditions, 
>>> FindInvalidUTF8Character is only given pure ASCII strings, so it
>>> should never enter the branches where it checks p[1], p[2] or p[3],
>>> so I'm really puzzled.
>>
>> Me too. Nevertheless, I fixed FindInvalidUTF8Character.
> 
> Thanks.
> Meanwhile the program has been running all the week-end without hanging 
> the system.

Well, it hanged again today, with no call to FindInvalidUTF8Character in 
sight. I hoped I nailed it but it was a red herring :-(
Note that the version that worked through the week-end was compiled with 
gtk1, the one that hanged today with gtk2 (but I think that's another 
red herring).
I'm re-resting now the gtk1 version to see what happens.

Bye
-- 
Luca Olivetti
Wetron Automatización S.A. http://www.wetron.es/
Tel. +34 93 5883004 (Ext.133)  Fax +34 93 5883007




More information about the Lazarus mailing list