Bug#559846: freecad: loading a saved file caused 100% CPU load

Werner Mayer werner.wm.mayer at gmx.de
Fri Dec 11 20:59:41 UTC 2009


Hi everybody,

OK, I can also confirm this issue now. The problem appears due to the 
environment variable LC_ALL which is set to de_DE.UTF-8.

The point with this is that the OCC parser classes when reading-in BRep, 
STEP or IGES files doesn't handle "." as decimal point but handles "," 
as decimal point.

Since reading of the data fails this leads to some grave problems and 
finally to a crash or the 100% CPU usage.

As an easy fix we have to only set putenv("LC_ALL=C") in the main() 
function.

Regards,
Werner






More information about the debian-science-maintainers mailing list