[omniORB] client blocked

YDC関谷正明 sekiya at ydc.co.jp
Wed Sep 6 09:37:51 UTC 2023


Hi there
I'm using omniORB4.2.3 for a long time. It works very fine.
However recently I encountered an issue where the client was blocking while
waiting for the server's response.
Here is the trace:

#0  0x00007f4877433ccd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f487942a693 in omni::tcpSocket::waitRead (sock=33, t=...)
    at ../../../../../include/omniORB4/internal/tcpSocket.h:359
#2  0x00007f487942a02d in omni::tcpConnection::Recv (this=0x7f4840005308,
    buf=0x7f4840007928, sz=8192, deadline=...)
    at ../../../../../src/lib/omniORB/orbcore/tcp/tcpConnection.cc:135
#3  0x00007f48793dec5a in omni::giopStream::inputMessage
(this=0x7f48400031b8)
    at ../../../../../src/lib/omniORB/orbcore/giopStream.cc:844
#4  0x00007f48793fa17d in omni::giopImpl12::inputReplyBegin
(g=0x7f48400031b8,
    unmarshalHeader=0x7f48793faa2a
<omni::giopImpl12::unmarshalReplyHeader(omni::giopStream*)>) at
../../../../../src/lib/omniORB/orbcore/giopImpl12.cc:587
#5  0x00007f48793fa36f in omni::giopImpl12::inputMessageBegin (
    g=0x7f48400031b8,
    unmarshalHeader=0x7f48793faa2a
<omni::giopImpl12::unmarshalReplyHeader(omni::giopStream*)>) at
../../../../../src/lib/omniORB/orbcore/giopImpl12.cc:626
#6  0x00007f48793e75ec in omni::GIOP_C::ReceiveReply (this=0x7f48400031b0)
    at ../../../../../src/lib/omniORB/orbcore/GIOP_C.cc:126
#7  0x00007f48793c1629 in omniRemoteIdentity::dispatch (this=0x7f4840000a50,
    call_desc=...)
    at ../../../../../src/lib/omniORB/orbcore/remoteIdentity.cc:100
#8  0x00007f48793a2146 in omniObjRef::_invoke (this=0x7f4840002f60,
    call_desc=..., do_assert=true)
    at ../../../../../src/lib/omniORB/orbcore/omniObjRef.cc:675

I have two questions.
1. What is the client waiting for ?
2. The client is launched with "-ORBclientCallTimeOutPeriod" option,
   but it doesn't seem to be effective. Is the option not working?

Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.omniorb-support.com/pipermail/omniorb-list/attachments/20230906/062978af/attachment.html>


More information about the omniORB-list mailing list