<?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: Bus error: core dump in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/bus-error-core-dump/m-p/2570592#M717331</link>
    <description>Hi.&lt;BR /&gt;&lt;BR /&gt;Problem with DCE comes most probably from thread libraries.&lt;BR /&gt;Please have a look:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=73484" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=73484&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Be sure you do not link with libpthread.sl and libcma.sl to the same program (this must be ensured together with all other involved libraries also).&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;Adam&lt;BR /&gt;</description>
    <pubDate>Mon, 13 Oct 2003 04:33:36 GMT</pubDate>
    <dc:creator>Adam J Markiewicz</dc:creator>
    <dc:date>2003-10-13T04:33:36Z</dc:date>
    <item>
      <title>Bus error: core dump</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bus-error-core-dump/m-p/2570588#M717327</link>
      <description>I am working on a program which I have&lt;BR /&gt;successfully compiled but now have a problem with. The problem is that it crashes immediately. It receives a SIGBUS and then cores. When debugging I noticed that it cores before it even does anything in main function. If I place a breakpoint before all the commands in main the core still happens. The program has been compiled on other platforms and it creates for threads, but here on HP I suspect that the core happens when the threads get created. The program uses dce and I am linking with libdce.&lt;BR /&gt;&lt;BR /&gt;I would appreciate any help very much.</description>
      <pubDate>Mon, 27 Aug 2001 10:17:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bus-error-core-dump/m-p/2570588#M717327</guid>
      <dc:creator>Saso Kavcic</dc:creator>
      <dc:date>2001-08-27T10:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Bus error: core dump</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bus-error-core-dump/m-p/2570589#M717328</link>
      <description>The bus error is actually a memory refernce that is out of bounds for the program.  This is a very confusing error message.&lt;BR /&gt;&lt;BR /&gt;The bus was unable to resolve the memory location that you wanted.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.</description>
      <pubDate>Mon, 27 Aug 2001 13:35:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bus-error-core-dump/m-p/2570589#M717328</guid>
      <dc:creator>John Bolene</dc:creator>
      <dc:date>2001-08-27T13:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Bus error: core dump</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bus-error-core-dump/m-p/2570590#M717329</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Are you using aCC?  If so you may need to use the -mt command line option in order to use threads.  I hope this helps.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/dev/aCC/a_03_30/options.htm#option-mt" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/dev/aCC/a_03_30/options.htm#option-mt&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Jeremy</description>
      <pubDate>Fri, 10 Oct 2003 15:42:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bus-error-core-dump/m-p/2570590#M717329</guid>
      <dc:creator>Jeremy Lemaire</dc:creator>
      <dc:date>2003-10-10T15:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Bus error: core dump</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bus-error-core-dump/m-p/2570591#M717330</link>
      <description>Saso,&lt;BR /&gt;to resolve this problem please recompile your source code on this platform. If you'll try to run 2.0 code on 1.0 or 64bit code on 32bit system I guess it will not work&lt;BR /&gt;Eugeny</description>
      <pubDate>Sat, 11 Oct 2003 14:50:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bus-error-core-dump/m-p/2570591#M717330</guid>
      <dc:creator>Eugeny Brychkov</dc:creator>
      <dc:date>2003-10-11T14:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: Bus error: core dump</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bus-error-core-dump/m-p/2570592#M717331</link>
      <description>Hi.&lt;BR /&gt;&lt;BR /&gt;Problem with DCE comes most probably from thread libraries.&lt;BR /&gt;Please have a look:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=73484" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=73484&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Be sure you do not link with libpthread.sl and libcma.sl to the same program (this must be ensured together with all other involved libraries also).&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;Adam&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Oct 2003 04:33:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bus-error-core-dump/m-p/2570592#M717331</guid>
      <dc:creator>Adam J Markiewicz</dc:creator>
      <dc:date>2003-10-13T04:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Bus error: core dump</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bus-error-core-dump/m-p/2570593#M717332</link>
      <description>You really should look at the stack trace at the time of the SIGBUS.  A debugger such as wdb can show the stack trace.&lt;BR /&gt;&lt;BR /&gt;Your program will run constructor code for C++ global variables before it starts to run main.  You may have a simple problem that can be debugged in your C++ constructors.&lt;BR /&gt;&lt;BR /&gt;People are suggesting many ways to cause a crash.  There are indeed very many ways.  It would be more efficient to give more information, such as OS version, compiler versions, link line, and stack trace.  That would rapidly narrow the search for a cause.</description>
      <pubDate>Wed, 15 Oct 2003 11:23:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bus-error-core-dump/m-p/2570593#M717332</guid>
      <dc:creator>Mike Stroyan</dc:creator>
      <dc:date>2003-10-15T11:23:29Z</dc:date>
    </item>
  </channel>
</rss>

