[fpc-devel] Runtime error 217

Ludo Brands ludo.brands at free.fr
Mon Jul 4 17:42:50 CEST 2011


Just spent an hour debugging a runtime error 217. No information just
runtime error 217, compilation aborted under lazarus and with lazbuild.
Rebuild fpc with debug information and ran the "offending" compile command
from the command line (on solaris). FPC crashed with an unhandled exception
"disk full error" in TCFileStream.Read??? Lots of free space so no disk
full. Figured out that Errno2InOutRes translates a lot of errors to "disk
full error". Finally it took truss to find out that reading a particar ppu
caused an EIO. ZFS filesystem appears to be damaged.

Wouldn't it be helpfull to catch the exception in TCFileStream and print out
the original error and the filename involved? Then re-raise it and abort
compilation. 

Ludo  





More information about the fpc-devel mailing list