Please report new issues athttps://github.com/DOCGroup
This is an extension to bug 1482. The ORB can deadlock if one tries send messages while handling exceptions in AMI. A test will be attached shortly. Thanks to Carlo for reporting the problem. The problem shows up when the following sequence of actions occur - client after sending an AMI call tries to collect the reply - peer dies. An event is waiting on the client's reactor indicating the death of the peer. - the client starts cleaning up and reaches TAO_Transport::send_close_connection_notification (). - the above call holds a lock and tries to clean up the muxed strategy which in turn delivers exception notification to the application. - If the application tries sending out a message during exception notification the application would deadlock trying to grab the lock which it already holds. There is a patch that Gan will integrate next week when we are at OMG's RTWS.
Created attachment 220 [details] Test case..
A work around has been added and here is the relevant ChangeLog entry: TAO ----- Tue Jul 15 10:18:07 2003 Gan Deng <gan.deng@vanderbilt.edu> Thanks again to Bala and Carlos O'Ryan and all other folks who helped with this.