<?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 Re: Core dump when throw exception in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/core-dump-when-throw-exception/m-p/3830235#M100521</link>
    <description>This is a GCC alignment bug.  It looks like it is in GCC 4.1.0 and 4.1.1.  The bug does not appear to be in 4.0.3 and I tested no-yet-released versions of 4.1.2 and 4.2.  These have the fix in them, so they should be OK when they are released.  If you want to use officially released GCC bits I would recommend 4.0.3.&lt;BR /&gt;&lt;BR /&gt;I don't believe there is any workaround for this problem since the problem is with the alignment of data in the GCC library.</description>
    <pubDate>Wed, 26 Jul 2006 09:46:30 GMT</pubDate>
    <dc:creator>Steve Ellcey</dc:creator>
    <dc:date>2006-07-26T09:46:30Z</dc:date>
    <item>
      <title>Core dump when throw exception</title>
      <link>https://community.hpe.com/t5/operating-system-linux/core-dump-when-throw-exception/m-p/3830232#M100518</link>
      <description>Hi.&lt;BR /&gt;I have such problem.&lt;BR /&gt;System: HP-UX ahka B.11.23 U 9000/800 576770528 unlimited-user license&lt;BR /&gt;GCC 64-bit compiler 4.1.1&lt;BR /&gt;simple test:&lt;BR /&gt;--------------------------------------------&lt;BR /&gt;#include &lt;IOSTREAM&gt;                                                                                                                 &lt;BR /&gt;#include &lt;STDEXCEPT&gt;                                                                                                                &lt;BR /&gt;using namespace std;                                                                                                                &lt;BR /&gt;int main(int argc, char** argv)                                                                                                     &lt;BR /&gt;{                                                                                                                                   &lt;BR /&gt;    cout&amp;lt;&amp;lt;"Hello world from std exception"&amp;lt;&lt;ENDL&gt;&lt;/ENDL&gt;    try {                                                                                                                           &lt;BR /&gt;        throw runtime_error("Runtime error");                                                                                       &lt;BR /&gt;    }                                                                                                                               &lt;BR /&gt;    catch(exception&amp;amp; err) {                                                                                                         &lt;BR /&gt;        cerr&amp;lt;&lt;ERR.WHAT&gt;&lt;/ERR.WHAT&gt;    }                                                                                                                               &lt;BR /&gt;    return 0;                                                                                                                       &lt;BR /&gt;}                                                                                                                                   &lt;BR /&gt;--------------------------------------------&lt;BR /&gt;compiled with string: g++ -g gcc64test.cpp -o gcc64test&lt;BR /&gt;&lt;BR /&gt;When i run tis test, it core dumped.&lt;BR /&gt;When i try see core by GDB, it dumped in core itself.&lt;BR /&gt;On Itanium system this test works correctly.&lt;/STDEXCEPT&gt;&lt;/IOSTREAM&gt;</description>
      <pubDate>Tue, 25 Jul 2006 09:38:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/core-dump-when-throw-exception/m-p/3830232#M100518</guid>
      <dc:creator>Vadim Yezhakov</dc:creator>
      <dc:date>2006-07-25T09:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump when throw exception</title>
      <link>https://community.hpe.com/t5/operating-system-linux/core-dump-when-throw-exception/m-p/3830233#M100519</link>
      <description>Vadim,&lt;BR /&gt;&lt;BR /&gt;I am not a c++ programmer, I am more of a C programmer. However, I am wondering if you need the option for optimizing this code on hp-pa architecture.&lt;BR /&gt;&lt;BR /&gt;Nik</description>
      <pubDate>Tue, 25 Jul 2006 23:03:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/core-dump-when-throw-exception/m-p/3830233#M100519</guid>
      <dc:creator>Nik Gizdic</dc:creator>
      <dc:date>2006-07-25T23:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump when throw exception</title>
      <link>https://community.hpe.com/t5/operating-system-linux/core-dump-when-throw-exception/m-p/3830234#M100520</link>
      <description>Hi Nik.&lt;BR /&gt;I don't listen about hp_pa optimization options for gcc. Can you give me some example?</description>
      <pubDate>Wed, 26 Jul 2006 04:16:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/core-dump-when-throw-exception/m-p/3830234#M100520</guid>
      <dc:creator>Vadim Yezhakov</dc:creator>
      <dc:date>2006-07-26T04:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump when throw exception</title>
      <link>https://community.hpe.com/t5/operating-system-linux/core-dump-when-throw-exception/m-p/3830235#M100521</link>
      <description>This is a GCC alignment bug.  It looks like it is in GCC 4.1.0 and 4.1.1.  The bug does not appear to be in 4.0.3 and I tested no-yet-released versions of 4.1.2 and 4.2.  These have the fix in them, so they should be OK when they are released.  If you want to use officially released GCC bits I would recommend 4.0.3.&lt;BR /&gt;&lt;BR /&gt;I don't believe there is any workaround for this problem since the problem is with the alignment of data in the GCC library.</description>
      <pubDate>Wed, 26 Jul 2006 09:46:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/core-dump-when-throw-exception/m-p/3830235#M100521</guid>
      <dc:creator>Steve Ellcey</dc:creator>
      <dc:date>2006-07-26T09:46:30Z</dc:date>
    </item>
  </channel>
</rss>

