Afaik 2.2 solves the 'spaces" problem.

Internal errors are FPC bugs. They are like asserts.

Try to replicate them in a small program and file a bug.