[fpc-pascal]parameter is 0x0 on callback

Marc Santhoff M.Santhoff at t-online.de
Sat Jun 5 01:19:29 CEST 2004


Am Fr, den 04.06.2004 schrieb Marco van de Voort um 22:54:
> > oncemore for the sake of completeness:
> > 
> > The 1.9.2 version of fpc is buggy on FreeBSD.
> > 
> > I get various problems in a method of an object reading its own private
> > variables. Some do work, others don't. No scheme of finding out which
> > will.
> 
> Then it is probably a memory problem. I used 1.9.2 and 1.9.3 a lot, and never
> noticed anything.

You're probably right with that. Debugging with stack checking impresses
me very much ... <blush>

So i looked in the docs and asked myself:

What are the limits for stack and heap?
And why does the -Cs switch do nothing on Linux and FreeBSD?

Fact is, the stack is overflowing right at the start and i did not
notice.

Marc






More information about the fpc-pascal mailing list