[fpc-devel] Runtime error 217

Thaddy thaddy at thaddy.com
Mon Jul 4 18:06:26 CEST 2011


On 4-7-2011 17:42, Ludo Brands wrote:
> 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
>
>
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
1. Rights errors are not really fpc's strength, - you are supposed to 
take care of that yourself -  (much worse with lazarus, which supposes 
god mode for convienience)
2. Your compile should not and most likely would not have caused a ZFS 
disk damage.



More information about the fpc-devel mailing list