<?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: Program terminated with signal 10, Bus error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-signal-10-bus-error/m-p/6449582#M496773</link>
    <description>&lt;P&gt;&amp;gt;to understand how byte alignments should be handled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The alignment trap is most likely caused by heap corruption.&lt;/P&gt;</description>
    <pubDate>Wed, 16 Apr 2014 11:37:00 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2014-04-16T11:37:00Z</dc:date>
    <item>
      <title>Program terminated with signal 10, Bus error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-signal-10-bus-error/m-p/6449414#M496770</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to port a few existing applications to HP-UX 11.31 and came across a few issues.&lt;/P&gt;&lt;P&gt;Would be really grateful if any assistance is provided to solve it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, can someone help suggest why ousig.c is reported as missing?&lt;/P&gt;&lt;P&gt;Is it part of some default signal handler routine which is bundled with HP-UX?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The existing cobol application is terminating with the message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Program terminated with signal 10, Bus error&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;ousig.c: No such file or directory&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and dumping a core file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; file core&lt;/P&gt;&lt;P&gt;core:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ELF-32 core file - IA64 from 'ppCOL' - received SIGBUS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try to debug the core file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;gdb ppCOL core&lt;BR /&gt;HP gdb 6.4 for HP Itanium (32 or 64 bit) and target HP-UX 11iv2 and 11iv3.&lt;BR /&gt;Copyright 1986 - 2011 Free Software Foundation, Inc.&lt;BR /&gt;Hewlett-Packard Wildebeest 6.4 (based on GDB) is covered by the&lt;BR /&gt;GNU General Public License. Type "show copying" to see the conditions to&lt;BR /&gt;change it and/or distribute copies. Type "show warranty" for warranty/support.&lt;BR /&gt;..&lt;BR /&gt;Core was generated by `ppCOL'.&lt;BR /&gt;Program terminated with signal 10, Bus error.&lt;BR /&gt;BUS_ADRALN - Invalid address alignment. Please refer to the following link that helps in handling unaligned data&amp;amp;colon; &lt;A target="_blank" href="http://docs.hp.com/en/7730/newhelp0610/pragmas.htm#pragma-pack-ex3"&gt;http://docs.hp.com/en/7730/newhelp0610/pragmas.htm#pragma-pack-ex3&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;warning: Core file load map pointer 20202020 is corrupted&lt;BR /&gt;or the executable does not match the core file.&lt;BR /&gt;Using the load map pointer 60000000e8708538 from&lt;BR /&gt;alternate dld /usr/lib/hpux32/dld.so with timestamp = Wed Jun 5 16:22:10 2013&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#0 0x60000000e3051cd0:1 in signal_handler_catch () at ousig.c:606&lt;BR /&gt;606 ousig.c: No such file or directory.&lt;BR /&gt;in ousig.c&lt;BR /&gt;(gdb) where&lt;BR /&gt;#0 0x60000000e3051cd0:1 in signal_handler_catch () at ousig.c:606&lt;BR /&gt;#1 &amp;lt;signal handler called&amp;gt;&lt;BR /&gt;#2 0x60000000e3051cd0:1 in signal_handler_catch () at ousig.c:606&lt;BR /&gt;#3 &amp;lt;signal handler called&amp;gt;&lt;BR /&gt;#4 0x60000000e25fa580:1 in real_malloc+0x1c1 () from /usr/lib/hpux32/libc.so.1&lt;BR /&gt;#5 0x60000000e25f9ae0:0 in _malloc+0x140 () from /usr/lib/hpux32/libc.so.1&lt;BR /&gt;#6 0x60000000e24a52c0:0 in malloc+0x1d0 () from /usr/lib/hpux32/libc.so.1&lt;BR /&gt;#7 0x60000000e3cf6c40:0 in sqlalc () at sqlalc.c:147&lt;BR /&gt;#8 0x60000000e3d0ae90:0 in sqlbrl () at sqlexp.c:755&lt;BR /&gt;#9 0x60000000e3d0bb10:0 in sqgctx () at sqlexp.c:1060&lt;BR /&gt;#10 0x60000000e3d0b410:0 in sqgrct () at sqlexp.c:917&lt;BR /&gt;#11 0x60000000e3cffab0:0 in sqlcmex () at sqlent.c:338&lt;BR /&gt;#12 0x60000000e3d00400:0 in sqlbex () at sqlent.c:449&lt;BR /&gt;#13 0x3d113b0:0 in SQLBEX ()&lt;BR /&gt;at /ade/b/1779338688/oracle/precomp/utl/pcc14/cobsqlintf.c:903&lt;BR /&gt;#14 0x3c4c660:0 in AcGetNextF + 0x4990 ()&lt;BR /&gt;#15 0x3bab800:0 in AcMain + 0x2d0 ()&lt;BR /&gt;#16 0x892f20:0 in ppcmg_AC_realAC ()&lt;BR /&gt;at /rgshome/rgs/cc/mb_ccrgs/bb/cellmafcom/v89_2/cmg/src/ppcmg_AC.c:763&lt;BR /&gt;#17 0x892580:0 in ppcmg_AC ()&lt;BR /&gt;at /rgshome/rgs/cc/mb_ccrgs/bb/cellmafcom/v89_2/cmg/src/ppcmg_AC.c:681&lt;BR /&gt;#18 0x83fe50:0 in ppclg_AC (i_verb=2)&lt;BR /&gt;at /rgshome/rgs/cc/mb_ccrgs/bb/cellmafcol/v89_2/clg/src/ppclg_AC.c:562&lt;BR /&gt;---Type &amp;lt;return&amp;gt; to continue, or q &amp;lt;return&amp;gt; to quit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Apr 2014 08:48:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-signal-10-bus-error/m-p/6449414#M496770</guid>
      <dc:creator>AS_UX</dc:creator>
      <dc:date>2014-04-16T08:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: Program terminated with signal 10, Bus error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-signal-10-bus-error/m-p/6449436#M496771</link>
      <description>&lt;P&gt;&amp;gt;why ousig.c is reported as missing?&amp;nbsp; Is it part of some default signal handler routine?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is most likely MF COBOL's signal handler.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;warning: Core file load map pointer 20202020 is corrupted&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Wow they now handle that!)&lt;/P&gt;&lt;P&gt;These are 4 blanks.&amp;nbsp; Likely you have corrupted the heap and more!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;#4 0x60000000e25fa580:1 in real_malloc+0x1c1 libc.so.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The heap is corrupted.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Apr 2014 09:11:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-signal-10-bus-error/m-p/6449436#M496771</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2014-04-16T09:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Program terminated with signal 10, Bus error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-signal-10-bus-error/m-p/6449508#M496772</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/22676"&gt;@Dennis Handly&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;&amp;gt;why ousig.c is reported as missing?&amp;nbsp; Is it part of some default signal handler routine?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is most likely MF COBOL's signal handler.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;warning: Core file load map pointer 20202020 is corrupted&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Wow they now handle that!)&lt;/P&gt;&lt;P&gt;These are 4 blanks.&amp;nbsp; Likely you have corrupted the heap and more!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;#4 0x60000000e25fa580:1 in real_malloc+0x1c1 libc.so.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The heap is corrupted.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Many thanks for your prompt reply, Dennis!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems I need to redirect my queries at the compiler vendor to understand how byte alignments should be handled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Apr 2014 09:59:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-signal-10-bus-error/m-p/6449508#M496772</guid>
      <dc:creator>AS_UX</dc:creator>
      <dc:date>2014-04-16T09:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: Program terminated with signal 10, Bus error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-signal-10-bus-error/m-p/6449582#M496773</link>
      <description>&lt;P&gt;&amp;gt;to understand how byte alignments should be handled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The alignment trap is most likely caused by heap corruption.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Apr 2014 11:37:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-signal-10-bus-error/m-p/6449582#M496773</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2014-04-16T11:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Program terminated with signal 10, Bus error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-signal-10-bus-error/m-p/6449640#M496774</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/22676"&gt;@Dennis Handly&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;&amp;gt;to understand how byte alignments should be handled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The alignment trap is most likely caused by heap corruption.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Dennis, is there a patch available for HP-UX 11.31 which can fix it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or do I need to modify the existing code?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Apr 2014 12:39:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-signal-10-bus-error/m-p/6449640#M496774</guid>
      <dc:creator>AS_UX</dc:creator>
      <dc:date>2014-04-16T12:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Program terminated with signal 10, Bus error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-signal-10-bus-error/m-p/6450316#M496775</link>
      <description>&lt;P&gt;&amp;gt;is there a patch available for HP-UX 11.31 which can fix it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of course not, heap corruption is a user problem.&amp;nbsp; Going past the end of an array/buffer.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Apr 2014 02:01:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-signal-10-bus-error/m-p/6450316#M496775</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2014-04-17T02:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: Program terminated with signal 10, Bus error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-signal-10-bus-error/m-p/6451296#M496776</link>
      <description>&lt;P&gt;Thanks Dennis.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Will approach the concerned developer and ask him to fix it.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Apr 2014 06:53:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-signal-10-bus-error/m-p/6451296#M496776</guid>
      <dc:creator>AS_UX</dc:creator>
      <dc:date>2014-04-18T06:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Program terminated with signal 10, Bus error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-signal-10-bus-error/m-p/6588660#M496777</link>
      <description>AS_UX :- We are facing similar problem. Can you please help here. We have recently upgraded to following system:-&lt;BR /&gt;uname -a&lt;BR /&gt;uHP-UX indhp067 B.11.31 U ia64 3118034054 unlimited-user license.&lt;BR /&gt;While running the performance tests we are getting core and below is the error we see. It dumps core after 1 hour.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;file core&lt;BR /&gt;fcore: ELF-32 core file - IA64 from 'scmngMP' - received SIGBUS&lt;BR /&gt;indhp067:/usg/TLG_VAR/can/projs/sc/work&amp;gt; gdb `which scmngMP` core&lt;BR /&gt;gHP gdb 6.4 for HP Itanium (32 or 64 bit) and target HP-UX 11iv2 and 11iv3.&lt;BR /&gt;Copyright 1986 - 2011 Free Software Foundation, Inc.&lt;BR /&gt;Hewlett-Packard Wildebeest 6.4 (based on GDB) is covered by the&lt;BR /&gt;GNU General Public License. Type "show copying" to see the conditions to&lt;BR /&gt;change it and/or distribute copies. Type "show warranty" for warranty/support.&lt;BR /&gt;..&lt;BR /&gt;Core was generated by `scmngMP'.&lt;BR /&gt;Program terminated with signal 10, Bus error.&lt;BR /&gt;BUS_ADRALN - Invalid address alignment. Please refer to the following link that helps in handling unaligned data&amp;amp;colon; &lt;A target="_blank" href="http://docs.hp.com/en/7730/newhelp0610/pragmas.htm#pragma-pack-ex3"&gt;http://docs.hp.com/en/7730/newhelp0610/pragmas.htm#pragma-pack-ex3&lt;/A&gt;&lt;BR /&gt;#0 0x60000000d26998b0:0 in skgesigSignalMessageLen () at skgesig.c:859&lt;BR /&gt;859 skgesig.c: No such file or directory.&lt;BR /&gt;in skgesig.c&lt;BR /&gt;(gdb) where&lt;BR /&gt;#0 0x60000000d26998b0:0 in skgesigSignalMessageLen () at skgesig.c:859&lt;BR /&gt;#1 0x60000000d383ed20:0 in kpeDbgSignalHandler () at kpedbg.c:1028&lt;BR /&gt;#2 0x60000000d269a0a0:0 in skgesig_sigactionHandler () at skgesig.c:809&lt;BR /&gt;(gdb) info line 859&lt;BR /&gt;Line 859 of "skgesig.c"&lt;BR /&gt;starts at address 0x60000000d26996e0:0 &amp;lt;skgesigSignalMessage+0x80&amp;gt;&lt;BR /&gt;and ends at 0x60000000d2699740:0 &amp;lt;skgesigSignalMessage+0xe0&amp;gt;.&lt;BR /&gt;&lt;BR /&gt;Do you think this is problem with skgesig.c or user program ?</description>
      <pubDate>Wed, 27 Aug 2014 12:11:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-signal-10-bus-error/m-p/6588660#M496777</guid>
      <dc:creator>HP_man</dc:creator>
      <dc:date>2014-08-27T12:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: Program terminated with signal 10, Bus error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-signal-10-bus-error/m-p/6589844#M496778</link>
      <description>&lt;P&gt;&amp;gt;Program terminated with signal 10, Bus error. BUS_ADRALN - Invalid address alignment.&lt;BR /&gt;#0 0x60000000d26998b0:0 in skgesigSignalMessageLen skgesig.c:859&lt;BR /&gt;#1 0x60000000d383ed20:0 in kpeDbgSignalHandler kpedbg.c:1028&lt;BR /&gt;#2 0x60000000d269a0a0:0 in skgesig_sigactionHandler skgesig.c:809&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Do you think this is problem with skgesig.c or user program?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need a complete stack trace with bt, you're just seeing the signal handler.&lt;/P&gt;&lt;P&gt;Most likely the problem is due to the program passing in unaligned data.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Aug 2014 20:35:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/program-terminated-with-signal-10-bus-error/m-p/6589844#M496778</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2014-08-27T20:35:54Z</dc:date>
    </item>
  </channel>
</rss>

