You are not logged in.

#1 2012-10-27 18:31:16

Rasmussen
Member
Registered: 2012-10-27
Posts: 6

Free pascal - runtime error 216

Hello to everyone!
Several days ago lazarus and free pascal works well, but today i got this:

[rasmussen@acm rasmussen]$ fpc
Runtime error 216 at $000000000043F876
$000000000043F876
$0000000000400180

[rasmussen@acm rasmussen]$ fp
Runtime error 216 at $00000000004C3EF5
$00000000004C3EF5

[rasmussen@acm rasmussen]$ cd pascal/

[rasmussen@acm pascal]$ fpc if-then.pas
Runtime error 216 at $000000000043F876
$000000000043F876
$0000000000400180

I don't realize why thats happen, but most versions of fpc isn't working (i tried current version from pacman, versions 2.4.0 - 2.6.0 32bit and 64bit from their website).

ArchLinux x86
I am sorry for my ugly english.

Last edited by Rasmussen (2012-10-27 18:32:54)

Offline

#2 2012-10-27 18:56:59

LostPW
Member
Registered: 2012-10-24
Posts: 15

Re: Free pascal - runtime error 216

i tried to find something about the errorcode and i only found "206 Floating point underflow" maybe you had an logical error in your code.

Offline

#3 2012-10-27 19:12:26

Rasmussen
Member
Registered: 2012-10-27
Posts: 6

Re: Free pascal - runtime error 216

I found this description of that error:

216: General Protection fault
The application tried to access invalid memory space. This can be caused by several problems:
1. Deferencing a nil pointer
2. Trying to access memory which is out of bounds (for example, calling move with an invalid length).

But I got that error when I just try to run native IDE (fp) or when I try to compile simple pascal programm e.g. "hello world' without any variables.

The reason somewhere else, I suggest.

Offline

Board footer

Powered by FluxBB