[Lazarus] Unknown error codes.
Carlos E. R.
robin.listas at telefonica.net
Sun Apr 29 21:00:31 CEST 2018
The other day I got this error in a program (on Linux):
cer at Telcontar:~/bin/lazarus/mios> ./crc32test ./crc32test
An unhandled exception occurred at $0000000000400951:
EInOutError: Unknown Run-Time error : 026
$0000000000400951 line 26 of crc32test.lpr
$0000000000400A5C line 42 of crc32test.lpr
crc32 = cer at Telcontar:~/bin/lazarus/mios>
Notice the "Unknown" there. And indeed, error 26 is not listed here:
A friend pointed me to this file:
and there it is indeed listed:
#define ETXTBSY 26 /* Text file busy */
The error number does match the situation: the IDE has hold of that file
for debugging. Interesting.
But the problem is, why is that error not listed, unknown?
Today a poster wrote about this other error (subject: [Lazarus] Runtime
Runtime error 216 at $0000000000400BD5
$0000000000400216 DISPLAY, line 23 of project1.lpr
$0000000000400360 main, line 32 of project1.lpr
$000000000042BE00 SYSENTRY, line 129 of system.pp
which is not listed. I do not know if he is running Linux or Windows, so
I have no idea either what the error is in his case.
Do we know of more places that list those error numbers? Can we compose
a full list?
By the way, C has a function: "strerror(26)" which returns the text
message for the error. I don't know if we have.
Cheers / Saludos,
Carlos E. R.
(from 42.3 x86_64 "Malachite" at Telcontar)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 181 bytes
Desc: OpenPGP digital signature
More information about the Lazarus