Could it be something like this bug that we have bumped into?

http://bugs.freepascal.org/view.php?id=11565