[fpc-devel]implicit calls to _addref / _release fail

Peter Vreman peter at freepascal.org
Fri Nov 28 18:27:15 CET 2003


> Which segfaults immediately because %eax contains the return value of
> _addref (stdcall calling convention) which is 1 in this case.
>
> I don't really know where the problem is (ie, why the compiler generates
> this code), however this keeps reference counted interfaces from working
> at all.

Fixed. Problem was the wrong calculation of the offset of self seen from
the caller side






More information about the fpc-devel mailing list