<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=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@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:"\@MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        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
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
span.pln
        {mso-style-name:pln;}
span.kwd
        {mso-style-name:kwd;}
span.pun
        {mso-style-name:pun;}
span.typ
        {mso-style-name:typ;}
span.com
        {mso-style-name:com;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></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-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:13.5pt;background:white;vertical-align:baseline">
<span style="font-size:10.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">Everything compiles fine, but during run time, it crashes without any coredumps, exceptions or no logs clues about what is happening. After inserting debug lines, I found that it was
 around this section of code<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:13.5pt;background:#EEEEEE;vertical-align:baseline">
<span style="font-size:10.5pt;font-family:Consolas;color:black">&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:10.5pt;font-family:Consolas;color:darkblue">if</span><span style="font-size:10.5pt;font-family:Consolas;color:black">( MISC_TABLE_ID != tableID )</span><span style="font-size:10.5pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in"><br>
</span><span style="font-size:10.5pt;font-family:Consolas;color:black">&nbsp; &nbsp; &nbsp; &nbsp;{</span><span style="font-size:10.5pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in"><br>
</span><span style="font-size:10.5pt;font-family:Consolas;color:black">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
</span><span style="font-size:10.5pt;font-family:Consolas;color:#2B91AF">OrbSchemaStructure</span><span style="font-size:10.5pt;font-family:Consolas;color:black"> orbSchemaStruct;</span><span style="font-size:10.5pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in"><br>
</span><span style="font-size:10.5pt;font-family:Consolas;color:black">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; orbSchemaStruct.tableName = tableView;&nbsp;&nbsp;
</span><span style="font-size:10.5pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in"><br>
</span><span style="font-size:10.5pt;font-family:Consolas;color:black">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; orbSchemaStruct.columnName = colName;</span><span style="font-size:10.5pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in"><br>
</span><span style="font-size:10.5pt;font-family:Consolas;color:black">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; orbSchemaStruct.dataType &nbsp; = tsFact-&gt;convertDBDataTypeToEVDataType( toString( col.type() ) );</span><span style="font-size:10.5pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in"><br>
</span><span style="font-size:10.5pt;font-family:Consolas;color:black">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; orbSchemaStruct.primaryKeyComponent = pkComponent;</span><span style="font-size:10.5pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in"><br>
</span><span style="font-size:10.5pt;font-family:Consolas;color:black">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; schemaStructureDeque.push_back( orbSchemaStruct ); &nbsp;</span><span style="font-size:10.5pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in">
<br>
</span><span style="font-size:10.5pt;font-family:Consolas;color:black">&nbsp; &nbsp; &nbsp; &nbsp; }</span><span style="font-size:10.5pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in"><br>
<br>
</span><span style="font-size:10.5pt;font-family:Consolas;color:black"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:13.5pt;background:white;vertical-align:baseline">
<span style="font-size:10.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">It happens whenever we try to do a
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:13.5pt;background:white;vertical-align:baseline">
<span style="font-size:10.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CORBA::string = RWCString<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:13.5pt;background:white;vertical-align:baseline">
<span style="font-size:10.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">RWCString is a string object from the RogueWave libraries. The application stops crashing when it is changed to :<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:13.5pt;background:white;vertical-align:baseline">
<span style="font-size:10.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.5pt;font-family:Consolas;color:black">orbSchemaStruct.tableName = CORBA::string_dup(tableView);&nbsp;&nbsp;
</span><span style="font-size:10.5pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in"><br>
</span><span style="font-size:10.5pt;font-family:Consolas;color:black">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; orbSchemaStruct.columnName = CORBA::string_dup(colName);</span><span style="font-size:10.5pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in"><br>
</span><span style="font-size:10.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:13.5pt;background:white;vertical-align:baseline">
<span style="font-size:10.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">but it crashes again when we try to do
</span><span style="font-size:10.5pt;font-family:Consolas;color:black">schemaStructureDeque.push_back( orbSchemaStruct ); &nbsp;</span><span style="font-size:10.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:13.5pt;background:white;vertical-align:baseline">
<span style="font-size:10.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">and the</span><span style="font-size:10.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">&nbsp;</span><span style="font-size:10.5pt;font-family:Consolas;color:black">schemaStructureDeque</span><span style="font-size:10.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">&nbsp;</span><span style="font-size:10.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">happens
 to be an object of type</span><span style="font-size:10.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">&nbsp;</span><span style="font-size:10.5pt;font-family:Consolas;color:black">DEQUE&lt; OrbSchemaStructure &gt;&amp; schemaStructureDeque</span><span style="font-size:10.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">&nbsp;</span><span style="font-size:10.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">where
 DEQUE is a define for std::deque.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:13.5pt;background:white;vertical-align:baseline">
<span style="font-size:10.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">The OrbSchemaStructure is a struct defined in an idl as follows :<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:13.5pt;background:#EEEEEE;vertical-align:baseline">
<span style="font-size:10.5pt;font-family:Consolas;color:black">&nbsp;</span><span style="font-size:10.5pt;font-family:Consolas;color:darkblue">struct</span><span style="font-size:10.5pt;font-family:Consolas;color:black">
</span><span style="font-size:10.5pt;font-family:Consolas;color:#2B91AF">OrbSchemaStructure</span><span style="font-size:10.5pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in"><br>
</span><span style="font-size:10.5pt;font-family:Consolas;color:black">{</span><span style="font-size:10.5pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in"><br>
</span><span style="font-size:10.5pt;font-family:Consolas;color:black">&nbsp; &nbsp;string &nbsp; &nbsp; &nbsp; &nbsp;tableName;</span><span style="font-size:10.5pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in"><br>
</span><span style="font-size:10.5pt;font-family:Consolas;color:black">&nbsp; &nbsp;string &nbsp; &nbsp; &nbsp; &nbsp;columnName;</span><span style="font-size:10.5pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in"><br>
</span><span style="font-size:10.5pt;font-family:Consolas;color:black">&nbsp; &nbsp;</span><span style="font-size:10.5pt;font-family:Consolas;color:darkblue">unsigned</span><span style="font-size:10.5pt;font-family:Consolas;color:black">
</span><span style="font-size:10.5pt;font-family:Consolas;color:darkblue">long</span><span style="font-size:10.5pt;font-family:Consolas;color:black"> dataType;</span><span style="font-size:10.5pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in"><br>
</span><span style="font-size:10.5pt;font-family:Consolas;color:black">&nbsp; &nbsp;boolean &nbsp; &nbsp; &nbsp; primaryKeyComponent;</span><span style="font-size:10.5pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in"><br>
</span><span style="font-size:10.5pt;font-family:Consolas;color:black">};</span><span style="font-size:10.5pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in"><br>
<br>
</span><span style="font-size:10.5pt;font-family:Consolas;color:black"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:13.5pt;background:white;vertical-align:baseline">
<span style="font-size:10.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">I am using omniORB 4.0.4 btw, and this omniORB was compiled using a different compiler than what the code was compiled with, I am not sure if that makes any difference, but I came across
 this thread, which asks us to use (const char*) casting, but I see that my application crashes when I use that as well.
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:13.5pt;background:white;vertical-align:baseline">
<a href="http://www.omniorb-support.com/pipermail/omniorb-list/1998-July/011461.html">http://www.omniorb-support.com/pipermail/omniorb-list/1998-July/011461.html</a><o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:13.5pt;background:white;vertical-align:baseline">
Has anyone else faced such problems because of changing the compiler version? Let me know if I am missing any info.<span style="font-size:10.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:5.0pt;margin-right:0in;margin-bottom:5.0pt;margin-left:0in;text-autospace:none">
<span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">Jay Venkatraj<br>
Credit Management Solutions, Inc.<br>
6640 Eli Whitney Drive, Suite 200<br>
Columbia, MD 21046 <br>
(410) 953-8437<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:5.0pt;margin-right:0in;margin-bottom:5.0pt;margin-left:0in;text-autospace:none">
<span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:5.0pt;margin-right:0in;margin-bottom:5.0pt;margin-left:0in;text-autospace:none">
<i><span style="font-size:10.0pt">&#8220;</span></i><i><span style="font-size:10.0pt">The information contained in this email message may be privileged and/or confidential and protected from disclosure under applicable law. It is intended only for the individual
 to whom or entity to which it is addressed as shown at the beginning of the message. If the reader of this message is not the intended recipient, or if the employee or agent responsible for delivering the message is not an employee or agent of the intended
 recipient, you are hereby notified that any review, dissemination, distribution, use, or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by return email and permanently delete this message
 and your reply to the extent it includes this message. Any views or opinions presented in this message or attachments are those of the author and do not necessarily represent those of the Company. All emails and attachments sent and received are subject to
 monitoring, reading and archival by the Company.&quot;</span></i><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>