[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Thu, 9 Nov 2000 14:37:35 +0000
On Thursday, November 9, 2000, at 10:02 AM, address@hidden wrote:
> Does anyone know under what circumstances the exception
> "ProxyDecodedBadTarget: No local object with given target (0x9)"
> is likely to occur? Does this mean the remote process has a proxy to an
> object that has been released from the local process, or...
Yes - and it shouldn't happen - I haven't seen it for *ages*
One possible cause would be triangular connections using oneway methods -
Process A vends an object to B, B vends it to C and releases its own copy,
C tries to use it but because B has released it, A has released it too.
There is a timer that's supposed to keep things retained for a while to
prevent that sort of thing happening - but there could be an error there.
It's possible that there are other similar situations that the code doesn't
adequately cover - tricky stuff to work out.
> I haven't been able to narrow down exactly what code is causing it (any
> tips for DO debugging?), but any general hints as to what the problem
> might be would be much appreciated.
Use the source - there are debug statements that can be enabled from the
command line (--GNU-Debug=NSPort --GNU-Debug=GSTcpHandle ...) and some older
debugging that you have to edit a variable in NSConnection to enable.