[fpc-pascal]EACCESSVIOLATION
Peter Vreman
peter at freepascal.org
Sun Aug 10 19:00:08 CEST 2003
> Thank You, Marco, for Your immidiate response!
>> >I wrote a freePascal program under Linux (Free Pascal Compiler
>> > version 1.0.10 [2003/06/26] for i386), which reads information from
>> serial
>> > ports and sends information to serial ports and does some
>> calculations.
>> > There are no pointers, involved. After the program had run
>> successfully
>> > for 15 hours, it terminated with the following error message. An
>> > unhandled exception occurred at 0x08051DC3 : EACCESSVIOLATION : Access
>> > violation
>> > 0x08051DC3
>> > 0x0806ABC0
>> > 0x080522D8
>> > 0x080524B8
>> > 0x08052DE0
>> > 0x0806F98B
>> > 0x08130A84
>> > 0xF2B3E800
>>
>> > Any idea, what that means?
>>
>> Access violation. Do you use IOPERM to get access to the ports?
>> If not, look up ioperm in the manual (under the "linux" unit)
> No, I don't use ioperm - and I fear, I don't really understand the
> description in the manual. But it says there, the
Compile using -gl that will add file information and line numbers to the
stack dump.
You can also run the program under gdb and ask for backtrace
More information about the fpc-pascal
mailing list