Please report new issues athttps://github.com/DOCGroup
This documents a race condition in the Transport_Cache that was brought up by one of our(OCI) clients. The problem is that an internal pointer used to test intermediate return values to the cache may be deleted by one thread before another thread tries to use it. This situation is replicated by having a bidirectional connection set up between a client and a server, the client provides a callback reference that the server uses via the bidir connection. The server uses multiple threads to force a thread into the wait state, and the client terminates abruptly, setting the condition for the race. I will be attaching a test for this soon. Ciju
Created attachment 849 [details] Test to showcase Transport_Cache race condition. Fails very occasionally.
Can you add the regression to the repo?
reassigned, regression test needs structural updates to remove all deprecated things, mpc file can be simplified using taoserver/taoclient
has this been reproduced on x.6? The test program seems to be from before the release date
(In reply to comment #4) > has this been reproduced on x.6? The test program seems to be from before the > release date > The reason I ask is because OCI 1.5ap2 has a different transport cache then svn head
(In reply to comment #5) > (In reply to comment #4) > > has this been reproduced on x.6? The test program seems to be from before the > > release date > > yes > > The reason I ask is because OCI 1.5ap2 has a different transport cache then svn > head > This test failed in builds against the DOC head as of yesterday (10/10/07). I will cleanup and commit as soon as I can.
I cleaned up and added the test. Thu Aug 7 21:30:32 UTC 2008 Adam Mitz <mitza@ociweb.com> * tests/Bug_3068_Regression: Added a test for bug 3068.