<?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 dumped before reaching main() in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dumped-before-reaching-main/m-p/3239172#M890867</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt;Check your patch level&lt;BR /&gt;&lt;BR /&gt;which compiler  version&lt;BR /&gt;&lt;BR /&gt;Do you have&lt;BR /&gt;PHSS_28880               &lt;BR /&gt;s700_800 11.11 HP aC++ -AA runtime libraries (aCC A.03.50) &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Do you use -mt to compile and link&lt;BR /&gt;&lt;BR /&gt;               Steve Steel</description>
    <pubDate>Mon, 05 Apr 2004 09:25:07 GMT</pubDate>
    <dc:creator>Steve Steel</dc:creator>
    <dc:date>2004-04-05T09:25:07Z</dc:date>
    <item>
      <title>core dumped before reaching main()</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dumped-before-reaching-main/m-p/3239167#M890862</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The following is the trace o/p of the core dumped by our executable.&lt;BR /&gt;&lt;BR /&gt;(gdb) bt&lt;BR /&gt;#0  0xc020b748 in kill+0x10 () from /usr/lib/libc.2&lt;BR /&gt;#1  0xc01a6624 in raise+0x24 () from /usr/lib/libc.2&lt;BR /&gt;#2  0xc01e6a18 in abort_C+0x160 () from /usr/lib/libc.2&lt;BR /&gt;#3  0xc01e6a74 in abort+0x1c () from /usr/lib/libc.2&lt;BR /&gt;#4  0xc2ee34f0 in std::terminate+0x38 () from /usr/lib/libCsup_v2.2 &lt;BR /&gt;#5  0xc2ee39b8 in ThrowException+0x74 () from /usr/lib/libCsup_v2.2 &lt;BR /&gt;#6  0xc2ee3f18 in __throw__FPvT1+0x14c () from /usr/lib/libCsup_v2.2 &lt;BR /&gt;#7  0xc3800674 in std::ios_base::setf+0x7c () from /usr/lib/libstd_v2.2 &lt;BR /&gt;#8  0xc3800118 in std::ios_base::Init::Init+0x1e40 () from /usr/lib/libstd_v2.2 &lt;BR /&gt;#9  0xcc5832ec in std::__sinit_RWTraceOstreamClient_cpp+0x2c () from /opt/nokiaoss/pf3party/irp/lib/libtrace.sl&lt;BR /&gt;#10 0xc2ee574c in __shlInit+0x88 () from /usr/lib/libCsup_v2.2 #11 0xcc572488 in _shlInit+0x20 () from /opt/nokiaoss/pf3party/irp/lib/libtrace.sl&lt;BR /&gt;#12 0xc2ee5080 in __shlinit+0xac () from /usr/lib/libCsup_v2.2 #13 0xc2ee75dc in _main+0x194 () from /usr/lib/libCsup_v2.2&lt;BR /&gt;&lt;BR /&gt;(core dumped)&lt;BR /&gt;&lt;BR /&gt;The executable was linked along with - &lt;BR /&gt;Flags:  -D_RWCONFIG=12d -DRW_THR_OS_VERSION_HPUX=0x1111 &lt;BR /&gt;Libraries: -lrt -lnsl -lm -l:libtls.sl -l:libCsup_v2.sl -l:libstd_v2.sl  -ltls -lrpcsoc -lrpcsvc  -ltrace -lthrexcept -lsync -lpointer -lfunctor -lfunctor_list -litc -lthread &lt;BR /&gt;&lt;BR /&gt;Does it mean any other libraries have to be linked? Will the order of linking matter anyway? What version of rogue wave libraries can be used with HP-UX B.11.11?? &lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;sivakrishna.</description>
      <pubDate>Sun, 04 Apr 2004 04:14:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dumped-before-reaching-main/m-p/3239167#M890862</guid>
      <dc:creator>Sivakrishna</dc:creator>
      <dc:date>2004-04-04T04:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: core dumped before reaching main()</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dumped-before-reaching-main/m-p/3239168#M890863</link>
      <description>hello sivakrishna,&lt;BR /&gt;&lt;BR /&gt;Take a look at these information:&lt;BR /&gt;&lt;A href="http://h21007.www2.hp.com/dspp/ml/showArchiveMessage/1,,24!03!07!0050,00.html" target="_blank"&gt;http://h21007.www2.hp.com/dspp/ml/showArchiveMessage/1,,24!03!07!0050,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Using iostream library and stlv2 may impose you to build your executable with the ACC option "-mt" (multi thread option available since ACC 3.30) if you have dependencies with thread library.&lt;BR /&gt;&lt;BR /&gt;Hope this help,&lt;BR /&gt;&lt;BR /&gt;--Vincent</description>
      <pubDate>Mon, 05 Apr 2004 03:54:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dumped-before-reaching-main/m-p/3239168#M890863</guid>
      <dc:creator>Vincent Abad</dc:creator>
      <dc:date>2004-04-05T03:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: core dumped before reaching main()</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dumped-before-reaching-main/m-p/3239169#M890864</link>
      <description>Hi Vincent,&lt;BR /&gt;&lt;BR /&gt;We are using -mt option already. May be the problem is with something else.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;Sivakrishna.</description>
      <pubDate>Mon, 05 Apr 2004 04:39:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dumped-before-reaching-main/m-p/3239169#M890864</guid>
      <dc:creator>Sivakrishna</dc:creator>
      <dc:date>2004-04-05T04:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: core dumped before reaching main()</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dumped-before-reaching-main/m-p/3239170#M890865</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If you get a dump then what is the output of&lt;BR /&gt;&lt;BR /&gt;file core&lt;BR /&gt;&lt;BR /&gt;          Steve Steel</description>
      <pubDate>Mon, 05 Apr 2004 09:18:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dumped-before-reaching-main/m-p/3239170#M890865</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2004-04-05T09:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: core dumped before reaching main()</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dumped-before-reaching-main/m-p/3239171#M890866</link>
      <description>The following is the output.&lt;BR /&gt;&lt;BR /&gt;% file core&lt;BR /&gt;core:           core file from 'myEXE' - received SIGABRT</description>
      <pubDate>Mon, 05 Apr 2004 09:23:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dumped-before-reaching-main/m-p/3239171#M890866</guid>
      <dc:creator>Sivakrishna</dc:creator>
      <dc:date>2004-04-05T09:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: core dumped before reaching main()</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dumped-before-reaching-main/m-p/3239172#M890867</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Check your patch level&lt;BR /&gt;&lt;BR /&gt;which compiler  version&lt;BR /&gt;&lt;BR /&gt;Do you have&lt;BR /&gt;PHSS_28880               &lt;BR /&gt;s700_800 11.11 HP aC++ -AA runtime libraries (aCC A.03.50) &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Do you use -mt to compile and link&lt;BR /&gt;&lt;BR /&gt;               Steve Steel</description>
      <pubDate>Mon, 05 Apr 2004 09:25:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dumped-before-reaching-main/m-p/3239172#M890867</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2004-04-05T09:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: core dumped before reaching main()</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dumped-before-reaching-main/m-p/3239173#M890868</link>
      <description>% /opt/aCC/bin/aCC -V&lt;BR /&gt;aCC: HP ANSI C++ B3910B A.03.39&lt;BR /&gt;&lt;BR /&gt;Yeah, we are using -mt during compilation and linking.</description>
      <pubDate>Mon, 05 Apr 2004 09:44:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dumped-before-reaching-main/m-p/3239173#M890868</guid>
      <dc:creator>Sivakrishna</dc:creator>
      <dc:date>2004-04-05T09:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: core dumped before reaching main()</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dumped-before-reaching-main/m-p/3239174#M890869</link>
      <description>You can get that problem from inconsistent use of -AA mode.  If you use -AA in any c++ code you must use it when compiling all c++ code and when linking.  Your use of libCsup_v2.sl would indicate that you are trying to use -AA mode.&lt;BR /&gt;&lt;BR /&gt;  You shouldn't be explictly linking the program with "-l:libCsup_v2.sl -l:libstd_v2.sl".  You should be linking with "aCC -AA", which will link in the correct c++ runtime libraries.  Any c++ shared libraries that you create should be linked with "aCC -AA -b".</description>
      <pubDate>Mon, 05 Apr 2004 12:59:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dumped-before-reaching-main/m-p/3239174#M890869</guid>
      <dc:creator>Mike Stroyan</dc:creator>
      <dc:date>2004-04-05T12:59:01Z</dc:date>
    </item>
  </channel>
</rss>

