<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri" size="2"><span style="font-size:11pt;">
<div>Hi Duncan, </div>
<div>&nbsp;</div>
<div>As we discussed earlier, we understood that gcc compiler is the root cause (in below mail) for this issue “Exception not caught - omniORB-4.2.0”. </div>
<div>But still we did not get any solution for our query from gcc support and also the same type of issue (bug in gcc on AIX mentioned in below email) has already been posted long back in gcc support<a name="_MailEndCompose"></a>.</div>
<div>That is also not yet answered by gcc support. This is very critical for us.</div>
<div><font face="Calibri">&nbsp;</font></div>
<div>So, we request your thought on this issue whether is there any possibility to handle this issue on omniORB Code? or any workaround to fix this issue?</div>
<div>If so, could you please guide us what need to be changed in omniORB code or any solution to make it work. Then we can do that to get rid off this issue. </div>
<div>&nbsp;</div>
<div>Sincerely waiting for your response.</div>
<div>&nbsp;</div>
<div>Thanks &amp; Regards,</div>
<div>P. Prasath.</div>
<div><font face="Calibri">_____________________________________________<br>

<b>From:</b> Prasath Palaniappan <br>

<b>Sent:</b> Thursday, December 12, 2019 2:56 PM<br>

<b>To:</b> Duncan Grisby &lt;duncan@grisby.org&gt;; omniorb-list@omniorb-support.com<br>

<b>Cc:</b> Shankar Chinnusamy &lt;Shankar_Chinnusamy@amat.com&gt;<br>

<b>Subject:</b> RE: [External] Re: [omniORB] Exception not caught - omniORB-4.2.0</font></div>
<div><font face="Calibri">&nbsp;</font></div>
<div><font face="Calibri">&nbsp;</font></div>
<div><font face="Calibri">Hi Duncan, </font></div>
<div><font face="Calibri">&nbsp;</font></div>
<div><font face="Calibri">We posted this query to gcc and got the response i.e. this is a bug in gcc on AIX. Please find the below link,</font></div>
<div><font face="Calibri"><a href="https://www.spinics.net/lists/gcchelp/msg49970.html"><font color="#0563C1"><u>https://www.spinics.net/lists/gcchelp/msg49970.html</u></font></a></font></div>
<div><font face="Calibri">&nbsp;</font></div>
<div><font face="Calibri">Thank you so much for your prompt support.</font></div>
<div><font face="Calibri">&nbsp;</font></div>
<div><font face="Calibri">Thanks &amp; Regards,</font></div>
<div><font face="Calibri">P. Prasath.</font></div>
<div><font face="Calibri">_____________________________________________<br>

<b>From:</b> Prasath Palaniappan <br>

<b>Sent:</b> Wednesday, December 11, 2019 7:32 PM<br>

<b>To:</b> 'Duncan Grisby' &lt;<a href="mailto:duncan@grisby.org"><font color="#0563C1"><u>duncan@grisby.org</u></font></a>&gt;; <a href="mailto:omniorb-list@omniorb-support.com"><font color="#0563C1"><u>omniorb-list@omniorb-support.com</u></font></a><br>

<b>Cc:</b> Shankar Chinnusamy &lt;<a href="mailto:Shankar_Chinnusamy@amat.com"><font color="#0563C1"><u>Shankar_Chinnusamy@amat.com</u></font></a>&gt;<br>

<b>Subject:</b> RE: [External] Re: [omniORB] Exception not caught - omniORB-4.2.0</font></div>
<div><font face="Calibri">&nbsp;</font></div>
<div><font face="Calibri">&nbsp;</font></div>
<div><font face="Calibri">Hi Duncan, </font></div>
<div><font face="Calibri">&nbsp;</font></div>
<div><font face="Calibri">As you suggested, I am looking into it on compiler and C&#43;&#43; runtime.</font></div>
<div><font face="Calibri">I recompiled the gcc-8.2.0 with &quot;--enable-threads&quot; option in order to fix the issue as mentioned in gcc page <a href="https://gcc.gnu.org/install/configure.html"><font color="#0563C1"><u>https://gcc.gnu.org/install/configure.html</u></font></a></font></div>
<div><font face="Calibri">&nbsp;</font></div>
<div><font face="Calibri">I compiled omniORB and examples with this newly built gcc and tested the call_back example and ran into the same issue. </font></div>
<div><font face="Calibri">Gone through the traces and observed that omniDynamic library is not linked but this library does get linked and get initialized when we run the omniORB which is compiled with gcc-4.8.3.</font></div>
<div><font face="Calibri"><u>omniORB with gcc-4.8.3:</u></font></div>
<div><font face="Calibri" color="#833C0B">omniORB: Initialising omniDynamic library.</font></div>
<div><font face="Calibri"><u>omniORB with gcc-8.2.0:</u></font></div>
<div><font face="Calibri" color="#833C0B">omniORB: (0) 2019-12-11 01:33:35.484672: Information: the omniDynamic library is not linked.</font></div>
<div><font face="Calibri">&nbsp;</font></div>
<div><font face="Calibri">I agree this is an information, but curious to know whether it impacts anything since it is named as dynamic library.</font></div>
<div><font face="Calibri">I looked into forum and found the same post in below link,</font></div>
<div><font face="Calibri"><a href="https://omniorb-list.realvnc.narkive.com/3WcwVC6I/omniorb-information-the-omnidynamic-library-is-not-linked"><font color="#0563C1"><u>https://omniorb-list.realvnc.narkive.com/3WcwVC6I/omniorb-information-the-omnidynamic-library-is-not-linked</u></font></a></font></div>
<div><font face="Calibri">and tried your solution by setting &quot;export ORBendPointPublish=ipv4&quot;. </font></div>
<div><font face="Calibri">It gets reflected in configuration as below but still the omniDynamic is not linked.</font></div>
<div><font face="Calibri" color="#833C0B">omniORB:&nbsp;&nbsp; endPointPublish = ipv6</font></div>
<div><font face="Calibri">And also another query in below link which seems the same, but not answered yet.</font></div>
<div><font face="Calibri"><a href="https://www.omniorb-support.com/pipermail/omniorb-list/2010-February/030534.html"><font color="#0563C1"><u>https://www.omniorb-support.com/pipermail/omniorb-list/2010-February/030534.html</u></font></a></font></div>
<div><font face="Calibri">&nbsp;</font></div>
<div><font face="Calibri">I am not blaming omni code. I am looking forward to you throwing some light to proceed further in this issue.</font></div>
<div><font face="Calibri">&nbsp;</font></div>
<div><font face="Calibri">Thanks &amp; Regards,</font></div>
<div><font face="Calibri">P. Prasath.</font></div>
<div><font face="Calibri">&nbsp;</font></div>
<div><font face="Calibri">-----Original Message-----<br>

From: Duncan Grisby &lt;<a href="mailto:duncan@grisby.org"><font color="#0563C1"><u>duncan@grisby.org</u></font></a>&gt;
<br>

Sent: Wednesday, November 6, 2019 9:53 PM<br>

To: Prasath Palaniappan &lt;<a href="mailto:Prasath_Palaniappan@amat.com"><font color="#0563C1"><u>Prasath_Palaniappan@amat.com</u></font></a>&gt;; <a href="mailto:omniorb-list@omniorb-support.com"><font color="#0563C1"><u>omniorb-list@omniorb-support.com</u></font></a><br>

Cc: Shankar Chinnusamy &lt;<a href="mailto:Shankar_Chinnusamy@amat.com"><font color="#0563C1"><u>Shankar_Chinnusamy@amat.com</u></font></a>&gt;<br>

Subject: [External] Re: [omniORB] Exception not caught - omniORB-4.2.0</font></div>
<div><font face="Calibri">&nbsp;</font></div>
<div><font face="Calibri">CAUTION: EXTERNAL EMAIL. Verify before you click links or open attachments. Questions? Contact GIS.</font></div>
<div><font face="Calibri">&nbsp;</font></div>
<div><font face="Calibri">&nbsp;</font></div>
<div><font face="Calibri">On Tue, 2019-11-05 at 18:06 &#43;0000, Prasath via omniORB-list wrote:</font></div>
<div><font face="Calibri">&nbsp;</font></div>
<div><font face="Calibri">[...]</font></div>
<div><font face="Calibri">&gt; But when we run the omniORB &#43; application which is compiled with gcc- </font></div>
<div><font face="Calibri">&gt; 8.2.0, omniORB gets crashed because it unable to catch the Exception </font></div>
<div><font face="Calibri">&gt; “CommFailure” and lead into termination.</font></div>
<div><font face="Calibri">&nbsp;</font></div>
<div><font face="Calibri">This is exactly the same thing you reported back in April:</font></div>
<div><font face="Calibri">&nbsp;</font></div>
<div><font face="Calibri"><a href="https://www.omniorb-support.com/pipermail/omniorb-list/2019-April/032050.html">https://www.omniorb-support.com/pipermail/omniorb-list/2019-April/032050.html</a></font></div>
<div><font face="Calibri">&nbsp;</font></div>
<div><font face="Calibri">The answer now is the same as the answer then. omniORB's code is correct. It has code that catches the exception. For some reason in your system it is not being caught, but that is not omniORB's fault.</font></div>
<div><font face="Calibri">&nbsp;</font></div>
<div><font face="Calibri">[...]</font></div>
<div><font face="Calibri">&gt; But the exception does not get caught with the catch when compiled </font></div>
<div><font face="Calibri">&gt; omniORB with gcc-8.2.0.</font></div>
<div><font face="Calibri">&gt; Could you please clarify us the cause for this issue and why ominORB </font></div>
<div><font face="Calibri">&gt; unable to handle the exception if gcc-8.2.0 and also provide your </font></div>
<div><font face="Calibri">&gt; suggestions to fix this issue?</font></div>
<div><font face="Calibri">&nbsp;</font></div>
<div><font face="Calibri">Why do you insist on thinking that omniORB is to blame here?&nbsp; As you say yourself, the same code works totally fine when you use gcc 4.8.3.</font></div>
<div><font face="Calibri">The one thing you have changed is the compiler version. THAT is the culprit, not omniORB. My suggestion to fix the issue is to find a compiler that works.</font></div>
<div><font face="Calibri">&nbsp;</font></div>
<div><font face="Calibri">Duncan.</font></div>
<div><font face="Calibri">&nbsp;</font></div>
<div><font face="Calibri">--</font></div>
<div><font face="Calibri"> -- Duncan Grisby&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --</font></div>
<div><font face="Calibri">&nbsp; -- <a href="mailto:duncan@grisby.org">duncan@grisby.org</a>&nbsp;&nbsp;&nbsp;&nbsp; --</font></div>
<div><font face="Calibri">&nbsp;&nbsp; -- <a href="http://www.grisby.org">http://www.grisby.org</a> --</font></div>
<div><font face="Calibri">&nbsp;</font></div>
<div><font face="Calibri">&nbsp;</font></div>
<div><font face="Calibri">The content of this message is APPLIED MATERIALS CONFIDENTIAL. If you are not the intended recipient, please notify me, delete this email and do not use or distribute this email. </font></div>
</span></font>
</body>
</html>