[omniORB] deadlock with distributed callback application
Lars Immisch
lars@ibp.de
Wed, 2 May 2001 13:47:38 +0200
--NeXT-Mail-951128796-1
Content-Type: text/enriched; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Dear all,
I am running into a problem that seems to be a omniORB deadlock in a
distributed callback application.
In essence, I have several servants that call back into a single client.
When I start two operations, and they complete simultaneously, the first
server blocks on the invocation of the completion forever. The client
interestingly also blocks - it seems to get stuck on a _is_a which comes
just before the completion.
I have attached a small Python example that shows this behaviour. It is
rather simplified, but it exposes the same problem that I see with my much
more complicated C++ application.
It's probably best if I just send my example. It produces the deadlock on
all two machines I tested it on (Linux and WinNT).
The example uses a naming server. To install/run it, unpack it, compile
twoway.idl, and start the server before you start the client.
<nofill>
I've said it before: thanks a *lot* for omniORBpy. It's totally rad, man.
Thanks,
- Lars
</nofill>
--NeXT-Mail-951128796-1
Content-Type: application/zip; name=twoway.tar.gz; x-unix-mode=0740
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=twoway.tar.gz
H4sICILy7zoAA3R3b3dheS50YXIA7Vjfb9s4DO5rAuR/4KUvDs7z3PxogA576HorsIe1Q29vwxAo
ttJqc6ScpCQNhvvfj5Rkx1mbtQNuLQaY2BrHoj5RJEV+iuF6xXWy2Bz8OkmP0nQ8Gh2kaXo0HqXu
E//RJ8lg3B8epOP+eDA+Hg3HqHd0NExHB5D+QpsqWRrLNMBBwbT5kd6Fkvwp7HliOfzj5dLol1Mh
X3K5gsXG3ijZaXfaYr5Q2oLZmOr5mlu1sJ32TKs5qLkUl1dvIIyd4fNpDB/wmU0L/rdLK8I5hHde
w95wMHY5NTBT2n27YHMhr8Ggrsh4tcyZMn5kz3QmczBfeYHWyC3Y21s2XxQc5ipfFluwj2u1Zps4
fE4mHy5PPSyTZHrB51xaZoWSoGZ+EWc6CGm5njGyKyuYMeC3NBFRDSrxL3snhNnK+QxyFRlezGLI
CoHIMeTMMhpvtRYaMaHLsxuFmzvp+jEa8bpJps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