<?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 Program terminated with bus error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-bus-error/m-p/4394081#M681735</link>
    <description>Hi &lt;BR /&gt;i have an executable which is throwing the core.&lt;BR /&gt;There were no code changes done as such. And the executable build with previous environment is working fine.&lt;BR /&gt;What i understood is there were some upgrades for Cobol and Unix.&lt;BR /&gt;&lt;BR /&gt;When tried to debug with gbd, i get the following info&lt;BR /&gt;Core was generated by `scmqc'.&lt;BR /&gt;Program terminated with signal 10, Bus error.&lt;BR /&gt;&lt;BR /&gt;warning: The shared libraries were not privately mapped; setting a&lt;BR /&gt;breakpoint in a shared library will not work until you rerun the program.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;warning: Can't find file /opt/mqm/lib/libmqiz.sl referenced in dld_list.&lt;BR /&gt;#0  0xc00b27e4 in ?? () from /usr/lib/libpthread.1&lt;BR /&gt;(gdb) bt&lt;BR /&gt;#0  0xc00b27e4 in ?? () from /usr/lib/libpthread.1&lt;BR /&gt;Cannot access memory at address 0xc003c1d3&lt;BR /&gt;&lt;BR /&gt;Can anyone please advice&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
    <pubDate>Fri, 03 Apr 2009 01:03:19 GMT</pubDate>
    <dc:creator>ashvit</dc:creator>
    <dc:date>2009-04-03T01:03:19Z</dc:date>
    <item>
      <title>Program terminated with bus error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-bus-error/m-p/4394081#M681735</link>
      <description>Hi &lt;BR /&gt;i have an executable which is throwing the core.&lt;BR /&gt;There were no code changes done as such. And the executable build with previous environment is working fine.&lt;BR /&gt;What i understood is there were some upgrades for Cobol and Unix.&lt;BR /&gt;&lt;BR /&gt;When tried to debug with gbd, i get the following info&lt;BR /&gt;Core was generated by `scmqc'.&lt;BR /&gt;Program terminated with signal 10, Bus error.&lt;BR /&gt;&lt;BR /&gt;warning: The shared libraries were not privately mapped; setting a&lt;BR /&gt;breakpoint in a shared library will not work until you rerun the program.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;warning: Can't find file /opt/mqm/lib/libmqiz.sl referenced in dld_list.&lt;BR /&gt;#0  0xc00b27e4 in ?? () from /usr/lib/libpthread.1&lt;BR /&gt;(gdb) bt&lt;BR /&gt;#0  0xc00b27e4 in ?? () from /usr/lib/libpthread.1&lt;BR /&gt;Cannot access memory at address 0xc003c1d3&lt;BR /&gt;&lt;BR /&gt;Can anyone please advice&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Fri, 03 Apr 2009 01:03:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-bus-error/m-p/4394081#M681735</guid>
      <dc:creator>ashvit</dc:creator>
      <dc:date>2009-04-03T01:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Program terminated with bus error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-bus-error/m-p/4394082#M681736</link>
      <description>You can't debug a core file unless you are are the same system.&lt;BR /&gt;Otherwise you need to use the packcore command to copy over all of your shlibs.  Then use unpackcore.</description>
      <pubDate>Fri, 03 Apr 2009 03:07:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-bus-error/m-p/4394082#M681736</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-04-03T03:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Program terminated with bus error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-bus-error/m-p/4394083#M681737</link>
      <description>Thank you..&lt;BR /&gt;Now i am able to debug.. And the problem looks to be when calling pthread_attr_init&lt;BR /&gt;&lt;BR /&gt;Below is the core&lt;BR /&gt;#0  0xc00b27e4 in __pthread_attr_init_generic+0xf0No symbol "unwind_data" in current context.&lt;BR /&gt; () from /usr/lib/libpthread.1&lt;BR /&gt;(gdb) where&lt;BR /&gt;#0  0xc00b27e4 in __pthread_attr_init_generic+0xf0 () from /usr/lib/libpthread.1&lt;BR /&gt;#1  0xc00b26cc in __pthread_attr_init_system+0x14 () from /usr/lib/libpthread.1&lt;BR /&gt;#2  0x4c8b0 in pthread_attr_init (attr=0xc003c1d3) at /usr/include/sys/pthread.h:573&lt;BR /&gt;#3  0x57bb8 in Gensrv_MainLoop (ntsSrvFullLog=0x400010e0 "sc.mqs")&lt;BR /&gt;    at /ccnmxhome/nmx/ccnmx/mb_ccnmx/bb/ibssc/v17_0/gensrv/src/gensrv_mloop.c:1298&lt;BR /&gt;#4  0x8e84 in main (argc=8, argv=0xa8ff55e4) at /ccnmxhome/nmx/ccnmx/mb_ccnmx/bb/ibssc/v17_0/mqs/src/scmqs_main.c:375&lt;BR /&gt;</description>
      <pubDate>Fri, 03 Apr 2009 14:24:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-bus-error/m-p/4394083#M681737</guid>
      <dc:creator>ashvit</dc:creator>
      <dc:date>2009-04-03T14:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Program terminated with bus error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-bus-error/m-p/4394084#M681738</link>
      <description>&amp;gt;And the problem looks to be when calling pthread_attr_init&lt;BR /&gt;&lt;BR /&gt;Yes, attr=0xc003c1d3 is not aligned properly or it is a bad address.</description>
      <pubDate>Sat, 04 Apr 2009 00:12:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-bus-error/m-p/4394084#M681738</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-04-04T00:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: Program terminated with bus error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-bus-error/m-p/4394085#M681739</link>
      <description>thank you very much.. Got the issue and fixed. There was a cobol upgrade and the problem started occuring after the upgrade. The variable attr was not initialised which is causing the problem</description>
      <pubDate>Sat, 04 Apr 2009 12:20:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-bus-error/m-p/4394085#M681739</guid>
      <dc:creator>ashvit</dc:creator>
      <dc:date>2009-04-04T12:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Program terminated with bus error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-bus-error/m-p/4394086#M681740</link>
      <description>&amp;gt;thank you very much.  Got the issue and fixed.&lt;BR /&gt;&lt;BR /&gt;If you are happy with the answers you have gotten, please read the following about assigning points:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt;</description>
      <pubDate>Sat, 04 Apr 2009 12:31:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-bus-error/m-p/4394086#M681740</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-04-04T12:31:44Z</dc:date>
    </item>
  </channel>
</rss>

