PDA

View Full Version : /bin/sh: line 1: 10321 Segmentation fault



Anonymous
06-08-2005, 02:46 PM
Hi,

When i'm running a program I get the following error in a recursive function: /bin/sh: line 1: 10321 Segmentation fault. First the function works fine, but after a while I get this error. Does someone knows what it means? Is it a Freepascal bug?

Bart
06-08-2005, 02:47 PM
I forget to login. I'm using Freepascal 2.0 btw.

{MSX}
07-08-2005, 06:35 AM
umm could you post the function?
At first sight, this problem could be caused by either an access to an invalid pointer or an overflow (that could be within your recursive function).

Bart
07-08-2005, 07:18 AM
I already solved it. Thanks for your help.

WILL
07-08-2005, 06:41 PM
Why not post the solution? Then we can all learn from it.