<?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 Core when using shared libraries in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/core-when-using-shared-libraries/m-p/5000566#M98151</link>
    <description>Urgent!!&lt;BR /&gt;I have made a shared library and when i link other programs with it, they seem to work, but when i run them i got a core.&lt;BR /&gt;&lt;BR /&gt;If i compile and link the program all together (without using shared libraries), it works fine.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The shared library is called common_C++.sl,&lt;BR /&gt;I've compiled objects with "-g +DA2.0W -AA +Z" option&lt;BR /&gt;And i've made the library using aCC with "-b" option.&lt;BR /&gt;&lt;BR /&gt;(gdb) where&lt;BR /&gt;#0  0xc0000000002fa4e4 in kill+0x2c () from /usr/lib/pa20_64/libc.2&lt;BR /&gt;#1  0xc0000000002a924c in raise+0x2c () from /usr/lib/pa20_64/libc.2&lt;BR /&gt;#2  0xc0000000002de2e8 in abort_C+0x180 () from /usr/lib/pa20_64/libc.2&lt;BR /&gt;#3  0xc0000000002de34c in abort+0x1c () from /usr/lib/pa20_64/libc.2&lt;BR /&gt;#4  0xc0000000016523ac in std::terminate+0x3c () from /usr/lib/pa20_64/libCsup_v2.2&lt;BR /&gt;#5  0xc00000000165298c in ThrowException+0xd4 () from /usr/lib/pa20_64/libCsup_v2.2&lt;BR /&gt;#6  0xc000000001653038 in __throw__FPvT1+0x158 () from /usr/lib/pa20_64/libCsup_v2.2&lt;BR /&gt;#7  0xc000000001a96914 in std::ios_base::setf+0x8c () from /usr/lib/pa20_64/libstd_v2.2&lt;BR /&gt;#8  0xc000000001a9626c in std::ios_base::Init::Init+0x1ef8 () from /usr/lib/pa20_64/libstd_v2.2&lt;BR /&gt;#9  0xc000000001cea3e0 in std::__sinit_LogManager_cpp+0x30 () from /home/jld/QoSM/lib/common_C++.sl&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;Jose&lt;BR /&gt;</description>
    <pubDate>Thu, 31 Aug 2006 07:33:23 GMT</pubDate>
    <dc:creator>SuperOskitar</dc:creator>
    <dc:date>2006-08-31T07:33:23Z</dc:date>
    <item>
      <title>Core when using shared libraries</title>
      <link>https://community.hpe.com/t5/operating-system-linux/core-when-using-shared-libraries/m-p/5000566#M98151</link>
      <description>Urgent!!&lt;BR /&gt;I have made a shared library and when i link other programs with it, they seem to work, but when i run them i got a core.&lt;BR /&gt;&lt;BR /&gt;If i compile and link the program all together (without using shared libraries), it works fine.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The shared library is called common_C++.sl,&lt;BR /&gt;I've compiled objects with "-g +DA2.0W -AA +Z" option&lt;BR /&gt;And i've made the library using aCC with "-b" option.&lt;BR /&gt;&lt;BR /&gt;(gdb) where&lt;BR /&gt;#0  0xc0000000002fa4e4 in kill+0x2c () from /usr/lib/pa20_64/libc.2&lt;BR /&gt;#1  0xc0000000002a924c in raise+0x2c () from /usr/lib/pa20_64/libc.2&lt;BR /&gt;#2  0xc0000000002de2e8 in abort_C+0x180 () from /usr/lib/pa20_64/libc.2&lt;BR /&gt;#3  0xc0000000002de34c in abort+0x1c () from /usr/lib/pa20_64/libc.2&lt;BR /&gt;#4  0xc0000000016523ac in std::terminate+0x3c () from /usr/lib/pa20_64/libCsup_v2.2&lt;BR /&gt;#5  0xc00000000165298c in ThrowException+0xd4 () from /usr/lib/pa20_64/libCsup_v2.2&lt;BR /&gt;#6  0xc000000001653038 in __throw__FPvT1+0x158 () from /usr/lib/pa20_64/libCsup_v2.2&lt;BR /&gt;#7  0xc000000001a96914 in std::ios_base::setf+0x8c () from /usr/lib/pa20_64/libstd_v2.2&lt;BR /&gt;#8  0xc000000001a9626c in std::ios_base::Init::Init+0x1ef8 () from /usr/lib/pa20_64/libstd_v2.2&lt;BR /&gt;#9  0xc000000001cea3e0 in std::__sinit_LogManager_cpp+0x30 () from /home/jld/QoSM/lib/common_C++.sl&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;Jose&lt;BR /&gt;</description>
      <pubDate>Thu, 31 Aug 2006 07:33:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/core-when-using-shared-libraries/m-p/5000566#M98151</guid>
      <dc:creator>SuperOskitar</dc:creator>
      <dc:date>2006-08-31T07:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: Core when using shared libraries</title>
      <link>https://community.hpe.com/t5/operating-system-linux/core-when-using-shared-libraries/m-p/5000567#M98152</link>
      <description>file core&lt;BR /&gt;This will atleast tell you which signal it exits on.</description>
      <pubDate>Thu, 31 Aug 2006 07:35:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/core-when-using-shared-libraries/m-p/5000567#M98152</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2006-08-31T07:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: Core when using shared libraries</title>
      <link>https://community.hpe.com/t5/operating-system-linux/core-when-using-shared-libraries/m-p/5000568#M98153</link>
      <description>core:           ELF-64 core file - PA-RISC 2.0 from 'prueba' - received SIGABRT&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 31 Aug 2006 07:40:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/core-when-using-shared-libraries/m-p/5000568#M98153</guid>
      <dc:creator>SuperOskitar</dc:creator>
      <dc:date>2006-08-31T07:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: Core when using shared libraries</title>
      <link>https://community.hpe.com/t5/operating-system-linux/core-when-using-shared-libraries/m-p/5000569#M98154</link>
      <description>The problem was that the main program needs -mt flag to work.&lt;BR /&gt;But my library was not created with that flag, and so it does not work. &lt;BR /&gt;I am not quite sure why this happeneds, because i am not using threads, but i realiced that it was the only differnece.&lt;BR /&gt;&lt;BR /&gt;Thanks for all&lt;BR /&gt;Jose</description>
      <pubDate>Thu, 31 Aug 2006 07:59:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/core-when-using-shared-libraries/m-p/5000569#M98154</guid>
      <dc:creator>SuperOskitar</dc:creator>
      <dc:date>2006-08-31T07:59:24Z</dc:date>
    </item>
  </channel>
</rss>

