<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-GB link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span lang=EN-US>Hi all,<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>we got a problem with OmniORB 4.1.2 under
Windows Vista (Visual Studio 2008)!<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>We made a simple client-server application
and during stress-tests we found out that it can happen that
"::_narrow()" call on client side hangs and throw an exception after
a while !<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>We debug the client and found out that it
looks like that there is a problem with opening sockets. <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>In the following while-loop within
"tcpendpoint.cc", the constructor "new
tcpConnection(pd_new_conn_socket,this)" is not called in case of our
"_narrow hangs problem" !<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Snippet:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>----------<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> while (1) {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> pd_new_conn_socket =
RC_INVALID_SOCKET;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> if (!Select()) break;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> if (pd_new_conn_socket
!= RC_INVALID_SOCKET) {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> return
new tcpConnection(pd_new_conn_socket,this);<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> }<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> if (pd_poked)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> return 0;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> }<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Do you have any ideas which will help us to
solve this problem ?<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>(it also occurs in case of a switched-off
Firewall)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>See at the end of the mail for an output with
tracing enabled.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal>Thanks and best regards<o:p></o:p></p>
<p class=MsoNormal>Thomas<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>-------------<o:p></o:p></p>
<p class=MsoNormal>omniORB: Version: 4.1.2<o:p></o:p></p>
<p class=MsoNormal>omniORB: Distribution date: Thu Feb 14 14:19:08 GMT 2008
dgrisby<o:p></o:p></p>
<p class=MsoNormal>omniORB: My addresses are:<o:p></o:p></p>
<p class=MsoNormal>omniORB: 169.254.211.173<o:p></o:p></p>
<p class=MsoNormal>omniORB: 10.236.208.137<o:p></o:p></p>
<p class=MsoNormal>omniORB: 192.168.159.1<o:p></o:p></p>
<p class=MsoNormal>omniORB: 192.168.18.1<o:p></o:p></p>
<p class=MsoNormal>omniORB: 127.0.0.1<o:p></o:p></p>
<p class=MsoNormal>omniORB: Maximum supported GIOP version is 1.0<o:p></o:p></p>
<p class=MsoNormal><span lang=FR-CH>omniORB: Native char code sets: UTF-8
ISO-8859-1.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=FR-CH>omniORB: Transmission char code sets:
UTF-8(1.2) UTF-8(1.1) ISO-8859-1(1.2) ISO-8859-1(1.1) ISO-8859-1(1.0).<o:p></o:p></span></p>
<p class=MsoNormal><span lang=FR-CH>omniORB: Native wide char code sets:
UTF-16.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=FR-CH>omniORB: Transmission wide char code sets:
UTF-16(1.2).<o:p></o:p></span></p>
<p class=MsoNormal>omniORB: Information: the omniDynamic library is not linked.<o:p></o:p></p>
<p class=MsoNormal>omniORB: Current configuration is as follows:<o:p></o:p></p>
<p class=MsoNormal><span lang=FR-CH>omniORB: DefaultInitRef (file) =<o:p></o:p></span></p>
<p class=MsoNormal><span lang=FR-CH>omniORB: DefaultInitRef (args) =<o:p></o:p></span></p>
<p class=MsoNormal><span lang=FR-CH>omniORB: abortOnInternalError = 0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=FR-CH>omniORB: abortOnNativeException = 0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=FR-CH>omniORB: acceptBiDirectionalGIOP = 0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=FR-CH>omniORB: acceptMisalignedTcIndirections =
0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=FR-CH>omniORB: bootstrapAgentHostname =<o:p></o:p></span></p>
<p class=MsoNormal><span lang=FR-CH>omniORB: bootstrapAgentPort = 900<o:p></o:p></span></p>
<p class=MsoNormal><span lang=FR-CH>omniORB: clientCallTimeOutPeriod = 0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=FR-CH>omniORB: clientConnectTimeOutPeriod = 0<o:p></o:p></span></p>
<p class=MsoNormal>omniORB: clientTransportRule = * unix,ssl,tcp<o:p></o:p></p>
<p class=MsoNormal>omniORB: configFile = [none]<o:p></o:p></p>
<p class=MsoNormal>omniORB: connectionWatchImmediate = 0<o:p></o:p></p>
<p class=MsoNormal>omniORB: connectionWatchPeriod = 50000<o:p></o:p></p>
<p class=MsoNormal>omniORB: copyValuesInLocalCalls = 1<o:p></o:p></p>
<p class=MsoNormal>omniORB: diiThrowsSysExceptions = 0<o:p></o:p></p>
<p class=MsoNormal>omniORB: dumpConfiguration = 0<o:p></o:p></p>
<p class=MsoNormal>omniORB: endPoint = giop:tcp::<o:p></o:p></p>
<p class=MsoNormal>omniORB: endPointPublish = addr<o:p></o:p></p>
<p class=MsoNormal>omniORB: giopMaxMsgSize = 2097152<o:p></o:p></p>
<p class=MsoNormal>omniORB: giopTargetAddressMode = KeyAddr<o:p></o:p></p>
<p class=MsoNormal>omniORB: id = omniORB4<o:p></o:p></p>
<p class=MsoNormal>omniORB: idleThreadTimeout = 10<o:p></o:p></p>
<p class=MsoNormal>omniORB: immediateAddressSwitch = 0<o:p></o:p></p>
<p class=MsoNormal>omniORB: inConScanPeriod = 0<o:p></o:p></p>
<p class=MsoNormal>omniORB: lcdMode = 0<o:p></o:p></p>
<p class=MsoNormal>omniORB: maxGIOPConnectionPerServer = 5<o:p></o:p></p>
<p class=MsoNormal>omniORB: maxGIOPVersion = 1.0<o:p></o:p></p>
<p class=MsoNormal>omniORB: maxInterleavedCallsPerConnection = 5<o:p></o:p></p>
<p class=MsoNormal>omniORB: maxServerThreadPerConnection = 100<o:p></o:p></p>
<p class=MsoNormal>omniORB: maxServerThreadPoolSize = 100<o:p></o:p></p>
<p class=MsoNormal>omniORB: maxSocketRecv = 131072<o:p></o:p></p>
<p class=MsoNormal>omniORB: maxSocketSend = 131072<o:p></o:p></p>
<p class=MsoNormal>omniORB: nativeCharCodeSet = ISO-8859-1<o:p></o:p></p>
<p class=MsoNormal>omniORB: nativeWCharCodeSet = UTF-16<o:p></o:p></p>
<p class=MsoNormal>omniORB: objectTableSize = 0<o:p></o:p></p>
<p class=MsoNormal>omniORB: offerBiDirectionalGIOP = 0<o:p></o:p></p>
<p class=MsoNormal>omniORB: oneCallPerConnection = 1<o:p></o:p></p>
<p class=MsoNormal>omniORB: outConScanPeriod = 0<o:p></o:p></p>
<p class=MsoNormal>omniORB: poaHoldRequestTimeout = 0<o:p></o:p></p>
<p class=MsoNormal>omniORB: poaUniquePersistentSystemIds = 1<o:p></o:p></p>
<p class=MsoNormal>omniORB: principal = [Null]<o:p></o:p></p>
<p class=MsoNormal>omniORB: resetTimeOutOnRetries = 0<o:p></o:p></p>
<p class=MsoNormal>omniORB: scanGranularity = 5<o:p></o:p></p>
<p class=MsoNormal>omniORB: serverCallTimeOutPeriod = 0<o:p></o:p></p>
<p class=MsoNormal>omniORB: serverTransportRule = * unix,ssl,tcp<o:p></o:p></p>
<p class=MsoNormal>omniORB: socketSendBuffer = 16384<o:p></o:p></p>
<p class=MsoNormal>omniORB: strictIIOP = 1<o:p></o:p></p>
<p class=MsoNormal>omniORB: supportBootstrapAgent = 0<o:p></o:p></p>
<p class=MsoNormal>omniORB: supportCurrent = 1<o:p></o:p></p>
<p class=MsoNormal>omniORB: supportPerThreadTimeOut = 0<o:p></o:p></p>
<p class=MsoNormal>omniORB: tcAliasExpand = 0<o:p></o:p></p>
<p class=MsoNormal>omniORB: threadPerConnectionLowerLimit = 9000<o:p></o:p></p>
<p class=MsoNormal>omniORB: threadPerConnectionPolicy = 1<o:p></o:p></p>
<p class=MsoNormal>omniORB: threadPerConnectionUpperLimit = 10000<o:p></o:p></p>
<p class=MsoNormal>omniORB: threadPoolWatchConnection = 1<o:p></o:p></p>
<p class=MsoNormal>omniORB: traceExceptions = 1<o:p></o:p></p>
<p class=MsoNormal>omniORB: traceFile = [stderr]<o:p></o:p></p>
<p class=MsoNormal>omniORB: traceInvocationReturns = 0<o:p></o:p></p>
<p class=MsoNormal>omniORB: traceInvocations = 0<o:p></o:p></p>
<p class=MsoNormal>omniORB: traceLevel = 40<o:p></o:p></p>
<p class=MsoNormal>omniORB: traceThreadId = 0<o:p></o:p></p>
<p class=MsoNormal>omniORB: traceTime = 0<o:p></o:p></p>
<p class=MsoNormal>omniORB: unixTransportDirectory = /tmp/omni-%u<o:p></o:p></p>
<p class=MsoNormal>omniORB: unixTransportPermission = 777<o:p></o:p></p>
<p class=MsoNormal>omniORB: useTypeCodeIndirections = 1<o:p></o:p></p>
<p class=MsoNormal>omniORB: verifyObjectExistsAndType = 1<o:p></o:p></p>
<p class=MsoNormal>omniORB: Creating ref to remote:
boa<0x48888c250000208800000001><o:p></o:p></p>
<p class=MsoNormal> target id : IDL:omg.org/CORBA/Object:1.0<o:p></o:p></p>
<p class=MsoNormal> most derived id: IDL:processmanager/ProcessManager:1.0<o:p></o:p></p>
<p class=MsoNormal>omniORB: Client attempt to connect to
giop:tcp:169.254.211.173:65051<o:p></o:p></p>
<p class=MsoNormal>omniORB: AsyncInvoker: thread id = 1 has started. Total
threads = 1<o:p></o:p></p>
<p class=MsoNormal>omniORB: Scavenger task execute.<o:p></o:p></p>
<p class=MsoNormal>omniORB: Client opened connection to
giop:tcp:169.254.211.173:65051<o:p></o:p></p>
<p class=MsoNormal>omniORB: sendChunk: to giop:tcp:169.254.211.173:65051 84
bytes<o:p></o:p></p>
<p class=MsoNormal>omniORB: Scan for idle connections (1216908390,590000000)<o:p></o:p></p>
<p class=MsoNormal>omniORB: Scan for idle connections done
(1216908390,590000000).<o:p></o:p></p>
<p class=MsoNormal>omniORB:<o:p></o:p></p>
<p class=MsoNormal>4749 4f50 0100 0100 4800 0000 0000 0000 GIOP....H.......<o:p></o:p></p>
<p class=MsoNormal>0200 0000 0173 734d 0c00 0000 4888 8c25 .....ssM....H..%<o:p></o:p></p>
<p class=MsoNormal>0000 2088 0000 0001 0600 0000 5f69 735f .. ........._is_<o:p></o:p></p>
<p class=MsoNormal>6100 6420 0000 0000 1800 0000 4944 4c3a a.d ........IDL:<o:p></o:p></p>
<p class=MsoNormal>6261 7365 2f50 726f 7065 7274 6965 733a base/Properties:<o:p></o:p></p>
<p class=MsoNormal>312e 3000 1.0.<o:p></o:p></p>
<p class=MsoNormal>omniORB: Switch rope to use address
giop:tcp:169.254.211.173:65051<o:p></o:p></p>
<p class=MsoNormal>omniORB: Error in network send:
giop:tcp:169.254.211.173:65051<o:p></o:p></p>
<p class=MsoNormal>omniORB: throw giopStream::CommFailure from
giopStream.cc:1182(0,NO,COMM_FAILURE_MarshalArguments)<o:p></o:p></p>
<p class=MsoNormal>omniORB: Client connection refcount = 0<o:p></o:p></p>
<p class=MsoNormal>omniORB: Client close connection to
giop:tcp:169.254.211.173:65051<o:p></o:p></p>
<p class=MsoNormal>omniORB: throw COMM_FAILURE from omniObjRef.cc:784
(NO,COMM_FAILURE_MarshalArguments)<o:p></o:p></p>
<p class=MsoNormal>omniORB: omniRemoteIdentity deleted.<o:p></o:p></p>
<p class=MsoNormal>omniORB: ObjRef(IDL:processmanager/ProcessManager:1.0) --
deleted.<o:p></o:p></p>
<p class=MsoNormal>Unable to get the Properties interface for
"acfw.processManager"<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>ORB error: 1096024067, 1<o:p></o:p></p>
<p class=MsoNormal>omniORB: Could not find proxyObjectFactory IDL:base/Properties:1.0
within its destructor at proxyFactory.cc: line 178<o:p></o:p></p>
<p class=MsoNormal>omniORB: Could not find proxyObjectFactory
IDL:base/ComponentManagement:1.0 within its destructor at proxyFactory.cc: line
178<o:p></o:p></p>
<p class=MsoNormal>omniORB: Could not find proxyObjectFactory IDL:base/Log:1.0 within
its destructor at proxyFactory.cc: line 178<o:p></o:p></p>
<p class=MsoNormal>omniORB: Could not find proxyObjectFactory
IDL:base/Client:1.0 within its destructor at proxyFactory.cc: line 178<o:p></o:p></p>
<p class=MsoNormal>omniORB: ORB not destroyed; no final clean-up.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>