<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic new throwing exception in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/new-throwing-exception/m-p/4376240#M684718</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I see following stack trace on one HP-UX system , but when the same core is loaded on another machine the stack trace is different.&lt;BR /&gt;&lt;BR /&gt;#0  0xc020c770 in kill+0x10 () from /lib/libc.2&lt;BR /&gt;(gdb) where&lt;BR /&gt;#0  0xc020c770 in kill+0x10 () from /lib/libc.2&lt;BR /&gt;#1  0xc01a6dac in raise+0x24 () from /lib/libc.2&lt;BR /&gt;#2  0xc01e8100 in abort_C+0x160 () from /lib/libc.2&lt;BR /&gt;#3  0xc01e815c in abort+0x1c () from /lib/libc.2&lt;BR /&gt;#4  0xc11c40d0 in std::terminate+0x38 () from /lib/libCsup_v2.2&lt;BR /&gt;#5  0xc11c4588 in ThrowException+0x70 () from /lib/libCsup_v2.2&lt;BR /&gt;#6  0xc11c4ae8 in __throw__FPvT1+0x14c () from /lib/libCsup_v2.2&lt;BR /&gt;#7  0xc11c6744 in operator new+0x124 () from /lib/libCsup_v2.2&lt;BR /&gt;#8  0x10f308 in std::basic_string&lt;WCHAR_T&gt;,std::allocator&lt;WCHAR_T&gt;&amp;gt;::_C_getRep+0x798 ()&lt;BR /&gt;#9  0x10e988 in std::basic_string&lt;WCHAR_T&gt;,std::allocator&lt;WCHAR_T&gt;&amp;gt;::replace+0xa18 ()&lt;BR /&gt;#10 0x10d2a4 in std::basic_string&lt;WCHAR_T&gt;,std::allocator&lt;WCHAR_T&gt;&amp;gt;::append+0x6a4 ()&lt;BR /&gt;#11 0xd3d37758 in CXMLNodeCreate::xmlNode+0x2d0 ()&lt;BR /&gt;&lt;BR /&gt;On another system, the stack trace is coming as &lt;BR /&gt;&lt;BR /&gt;#0  0xc020c770 in getaudproc+0x30 () from /lib/libc.2&lt;BR /&gt;#1  0xc01a6dac in _qfsn+0xebc () from /lib/libc.2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Is this due to memory corruption? or is there any patch to fix this issue?&lt;/WCHAR_T&gt;&lt;/WCHAR_T&gt;&lt;/WCHAR_T&gt;&lt;/WCHAR_T&gt;&lt;/WCHAR_T&gt;&lt;/WCHAR_T&gt;</description>
    <pubDate>Wed, 11 Mar 2009 02:57:52 GMT</pubDate>
    <dc:creator>RajeshP</dc:creator>
    <dc:date>2009-03-11T02:57:52Z</dc:date>
    <item>
      <title>new throwing exception</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-throwing-exception/m-p/4376240#M684718</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I see following stack trace on one HP-UX system , but when the same core is loaded on another machine the stack trace is different.&lt;BR /&gt;&lt;BR /&gt;#0  0xc020c770 in kill+0x10 () from /lib/libc.2&lt;BR /&gt;(gdb) where&lt;BR /&gt;#0  0xc020c770 in kill+0x10 () from /lib/libc.2&lt;BR /&gt;#1  0xc01a6dac in raise+0x24 () from /lib/libc.2&lt;BR /&gt;#2  0xc01e8100 in abort_C+0x160 () from /lib/libc.2&lt;BR /&gt;#3  0xc01e815c in abort+0x1c () from /lib/libc.2&lt;BR /&gt;#4  0xc11c40d0 in std::terminate+0x38 () from /lib/libCsup_v2.2&lt;BR /&gt;#5  0xc11c4588 in ThrowException+0x70 () from /lib/libCsup_v2.2&lt;BR /&gt;#6  0xc11c4ae8 in __throw__FPvT1+0x14c () from /lib/libCsup_v2.2&lt;BR /&gt;#7  0xc11c6744 in operator new+0x124 () from /lib/libCsup_v2.2&lt;BR /&gt;#8  0x10f308 in std::basic_string&lt;WCHAR_T&gt;,std::allocator&lt;WCHAR_T&gt;&amp;gt;::_C_getRep+0x798 ()&lt;BR /&gt;#9  0x10e988 in std::basic_string&lt;WCHAR_T&gt;,std::allocator&lt;WCHAR_T&gt;&amp;gt;::replace+0xa18 ()&lt;BR /&gt;#10 0x10d2a4 in std::basic_string&lt;WCHAR_T&gt;,std::allocator&lt;WCHAR_T&gt;&amp;gt;::append+0x6a4 ()&lt;BR /&gt;#11 0xd3d37758 in CXMLNodeCreate::xmlNode+0x2d0 ()&lt;BR /&gt;&lt;BR /&gt;On another system, the stack trace is coming as &lt;BR /&gt;&lt;BR /&gt;#0  0xc020c770 in getaudproc+0x30 () from /lib/libc.2&lt;BR /&gt;#1  0xc01a6dac in _qfsn+0xebc () from /lib/libc.2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Is this due to memory corruption? or is there any patch to fix this issue?&lt;/WCHAR_T&gt;&lt;/WCHAR_T&gt;&lt;/WCHAR_T&gt;&lt;/WCHAR_T&gt;&lt;/WCHAR_T&gt;&lt;/WCHAR_T&gt;</description>
      <pubDate>Wed, 11 Mar 2009 02:57:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-throwing-exception/m-p/4376240#M684718</guid>
      <dc:creator>RajeshP</dc:creator>
      <dc:date>2009-03-11T02:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: new throwing exception</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-throwing-exception/m-p/4376241#M684719</link>
      <description>&amp;gt;I see following stack trace&lt;BR /&gt;&lt;BR /&gt;You are out of heap space, it is throwing bad_alloc.  You need to increase maxdsiz or check for leaks.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;but when the same core is loaded on another machine the stack trace is different.&lt;BR /&gt;&lt;BR /&gt;Or course, you can't do that.  You debug core files on the same system, or use gdb's packcore to move everything to another system.</description>
      <pubDate>Wed, 11 Mar 2009 08:45:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-throwing-exception/m-p/4376241#M684719</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-03-11T08:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: new throwing exception</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-throwing-exception/m-p/4376242#M684720</link>
      <description>This might be because the machines don't have all the same patches installed, so their /lib/libc.2 files are different.&lt;BR /&gt;&lt;BR /&gt;On the first machine, the stack trace seems to make sense: the line #11 is probably something the application developers can recognize. Then there are some string operations at #10 .. #7, which has caused an exception, as indicated by #6 and #5. The latest elements of the stack trace (#0..#4) would be created by the exception handler of the C++ standard library: it just signals the OS to start creating the core dump.&lt;BR /&gt;&lt;BR /&gt;On the second machine, the trace doesn't seem to reach the application level at all. Did you cut out parts of the trace, or is the two lines all you got? If the two lines is all, gdb stopped at that point because it recognized the trace is not valid.&lt;BR /&gt;&lt;BR /&gt;It is best to analyze the core on the system it is generated on, or on another system with *exactly the same* OS release and patch set, otherwise your stack trace may mislead you.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Wed, 11 Mar 2009 09:26:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-throwing-exception/m-p/4376242#M684720</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2009-03-11T09:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: new throwing exception</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-throwing-exception/m-p/4376243#M684721</link>
      <description>&amp;gt;Matti: This might be because the machines don't have all the same patches installed&lt;BR /&gt;&amp;gt; ... with *exactly the same* OS release and patch set&lt;BR /&gt;&lt;BR /&gt;Yes but don't even think about matching patches.  Just use packcore and copy the load modules.&lt;BR /&gt;&lt;BR /&gt;See the "Debugging core files using HP WDB" whitepaper under the WDB documentation link:&lt;BR /&gt;&lt;A href="http://www.hp.com/go/wdb" target="_blank"&gt;http://www.hp.com/go/wdb&lt;/A&gt;</description>
      <pubDate>Wed, 11 Mar 2009 19:22:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-throwing-exception/m-p/4376243#M684721</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-03-11T19:22:14Z</dc:date>
    </item>
  </channel>
</rss>

