On Thu, 15 Sep 2005, Brian Lindahl wrote:
<previous discussion snipped>
The mimic object works - generically tricking the client into thinking
it supports the interface of the 'true' object and receives the
invocation properly:
DynamicImplementation::invoke(CORBA::ServerRequest_ptr)
For this iteration of the scheme, I throw a 'ForwardRequest' exception
at this point, which should forward the request onto the 'true' object.
However, the exception is never caught and propogates back up to main()
AND a segmentation fault occurs (not the desired behavior).
My original assumption was that you can throw a 'ForwardRequest' from
'invoke', but apparently this not possible?
One important detail: which main segfaults? This of mimic object server,
so exception is not send to the wire or this of client process?
I also hope you have exceptions enabled, don't you? What does `idl
--config' says?
Anyway, if everything is right on your side, then this is probably bug in
MICO's DII code. Any patch fixing this is highly welcome! To fix it
yourself, please have a look into dii.cc/poa_base.cc for DII related bits
and to orb.cc/iop.cc for ForwardRequest related handling. Also please send
your fix for review here.
Thanks,
Karel
--
Karel Gardas [EMAIL PROTECTED]
ObjectSecurity Ltd. http://www.objectsecurity.com
---
Need experienced, fast, reliable technical MICO support?
---> http://www.objectsecurity.com/commsup.html <---
---
_______________________________________________
Mico-devel mailing list
[email protected]
http://www.mico.org/mailman/listinfo/mico-devel