[fpc-devel] Bug in 3.2.3 with corba interfaces

Martin Frb lazarus at mfriebe.de
Sat Mar 18 19:27:23 CET 2023

While I haven't got a simple example, by this time I am sure the issue 
is not in my code. (it's not online avail yet)

I have a class, with 2 corba interfaces

   TIdeLocalsValue = class(TLocalsValue, TWatchAbleResultIntf, 

If I get an interface using
   (SomeVar as TWatchAbleDataIntf).Foo

it either crashes, or calls the wrong method.

If I swap the order of the interfaces in the declaration, then it works 
(but the other interface will fail).

And yes, the object on which I work is of the correct class. And it is 
alive (not a dangling pointer).

I have  tried to introduce a Base class, and move one Interface to that 
base class, but no luck ....

More information about the fpc-devel mailing list