[Lazarus] Unknown error codes.

Carlos E. R. robin.listas at telefonica.net
Sun Apr 29 23:55:59 CEST 2018


On 2018-04-29 22:07, Donald Ziesig via Lazarus wrote:
> On 04/29/2018 03:00 PM, Carlos E. R. via Lazarus wrote:
>> Hi,
>>
>> 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:
>>
>> <https://www.freepascal.org/docs-html/rtl/system/ioresult.html>
>>
>>
>> A friend pointed me to this file:
>>
>> /usr/include/asm-generic/errno-base.h

...

>> Runtime error 216 at $0000000000400BD5
>>   $0000000000400BD5  INCLOCKED
>>   $0000000000400216  DISPLAY,  line 23 of project1.lpr
>>   $0000000000400360  main,  line 32 of project1.lpr
>>   $000000000042BE00  SYSENTRY,  line 129 of system.pp
>>   $00000000004001D2

...

> 216 is a General Protection Fault.
> 
> for other errors see:  https://freepascal.org/docs-html/user/userap4.html

It does not list the error 26 I got.

It is possible that there are different numbers on different operating
systems? That list seems to be related to Windows, but the link does not
say.

-- 
Cheers / Saludos,

		Carlos E. R.
		(from 42.3 x86_64 "Malachite" at Telcontar)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20180429/dabd681b/attachment.sig>


More information about the Lazarus mailing list