<?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 - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/program-terminated-with-signal-10-bus-error/m-p/4118692#M92872</link>
    <description>#0 0xc00000000029b0ec in .stub .../libc.2&lt;BR /&gt;#1 0xc00000000029dec8 in free .../libc.2&lt;BR /&gt;&lt;BR /&gt;This indicates heap corruption.  You need to download the latest gdb and enable heap checking:&lt;BR /&gt;(gdb) set heap-check on string on&lt;BR /&gt;&lt;A href="http://www.hp.com/go/wdb" target="_blank"&gt;http://www.hp.com/go/wdb&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;unsigned char *send_buf = new unsigned char[sgds_name.size()];&lt;BR /&gt;&lt;BR /&gt;Do you need to use sgds_name.size() + 1?&lt;BR /&gt;It appears send_message doesn't range check properly?</description>
    <pubDate>Wed, 19 Dec 2007 10:03:46 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2007-12-19T10:03:46Z</dc:date>
    <item>
      <title>Program terminated with signal 10, Bus error.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/program-terminated-with-signal-10-bus-error/m-p/4118691#M92871</link>
      <description>Hello. I have some trouble. Soft work under HP-UX 11.11, compiled by aCC. Soft worked correctly. Now soft always create core file and it's state "killed by 10". &lt;BR /&gt;&lt;BR /&gt;Data from core file:&lt;BR /&gt;&lt;BR /&gt;nat@whrhouse $/home/nat/langtools/bin/gdb64 /home/nat/bin/reg-el-server /home/nat/var/reg-el-server/core HP gdb 2.1 Copyright 1986 - 1999 Free Software Foundation, Inc.&lt;BR /&gt;Hewlett-Packard Wildebeest 2.1 (based on GDB 5.0-hpwdb-20000630) Wildebeest is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions.  Type "show copying" to see the conditions.  There is absolutely no warranty for Wildebeest.  Type "show warranty" for details.&lt;BR /&gt;Wildebeest was built for PA-RISC 2.0 (wide), HP-UX 11.00.&lt;BR /&gt;..&lt;BR /&gt;Core was generated by `binserver'.&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 breakpoint in a shared library will not work until you rerun the program.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;warning: section .data not found in /opt/ids940fc5/lib/esql/libifglx.sl&lt;BR /&gt;#0  0xc00000000029b0ec in .stub () from /lib/pa20_64/libc.2&lt;BR /&gt;(gdb) ba&lt;BR /&gt;#0  0xc00000000029b0ec in .stub () from /lib/pa20_64/libc.2&lt;BR /&gt;#1  0xc00000000029dec8 in free () from /lib/pa20_64/libc.2&lt;BR /&gt;#2  0xc0000000000b494c in operator delete () from /lib/pa20_64/libCsup.2&lt;BR /&gt;#3  0xc000000337137ddc in M_New_Doc_Ureg::sendAnswer (this=0x80000001000b67d0, doc=0x80000001006ac918, mi=@0x800003fff7ff17d0)&lt;BR /&gt;    at m_new_doc_ureg.cpp:67109083&lt;BR /&gt;#4  0xc000000336bdf6f8 in DocumentProcessor::putInDB (this=0x80000001000b67d0, doc=0x80000001006ac918, mi=@0x800003fff7ff17d0)&lt;BR /&gt;    at doc_processor.cpp:67109485&lt;BR /&gt;#5  0xc000000336bd8884 in DocumentProcessor::run (this=0x80000001000b67d0, doc=0x80000001006ac918, mi=@0x800003fff7ff17d0)&lt;BR /&gt;    at doc_processor.cpp:67109164&lt;BR /&gt;#6  0xc000000336b87fc0 in SProcessor::run (this=0x80000001000b67d0, mes=@0x800003fff7ff16b0, mi=@0x800003fff7ff17d0)&lt;BR /&gt;    at processor.cpp:67109043&lt;BR /&gt;#7  0xc000000336b8fe88 in Server::run (this=0x80000001000c3c48) at&lt;BR /&gt;server.cpp:67109146&lt;BR /&gt;#8  0xc000000336b8a270 in Server::setup (_info=@0x800003fff7ff11d0) at&lt;BR /&gt;server.cpp:67108929&lt;BR /&gt;#9  0xc000000336b6be50 in MessageDispetcher::setup_server (this=0x800000010009e788, num=22) at msg_dispetch.cpp:67109523 #10 0xc000000336b6d598 in MessageDispetcher::run (this=0x800000010009e788) at msg_dispetch.cpp:67109629&lt;BR /&gt;#11 0xc000000336b66e80 in MessageDispetcher::setup&lt;BR /&gt;(_info=@0x800003fff7ff0b88) at msg_dispetch.cpp:67109300&lt;BR /&gt;#12 0x400000000002ac94 in main (argc=2, argv=0x800003fff7ff07e0) at&lt;BR /&gt;binserver.cpp:67109002&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;M_New_Doc_Ureg::sendAnswer code:&lt;BR /&gt;&lt;BR /&gt;unsigned char * send_buf = new unsigned char[sgds_name.size()];&lt;BR /&gt;send_buf = (unsigned char *)sgds_name.c_str();&lt;BR /&gt;AMessageInfo ami;&lt;BR /&gt;ami.SetFromClient(crypto_name);&lt;BR /&gt;ami.SetFromApplication(crypto_app);&lt;BR /&gt;ami.SetFromSession(crypto_inst);&lt;BR /&gt;ami.SetMsgCrypto("none");&lt;BR /&gt;ami.SetDocType("CRYPTO_REVOKECERT");&lt;BR /&gt;ami.SetDocVersion("1");&lt;BR /&gt;ami.SetDocId(currreferens);&lt;BR /&gt;ami.SetMsgSysSource("SGDS_3");&lt;BR /&gt;Log::message("Sending Message", DEBUG_LOG);&lt;BR /&gt;Log::message("DocType"+ami.GetDocType(), DEBUG_LOG);&lt;BR /&gt;CustomServer::instance()-&amp;gt;send_message(send_buf, sgds_name.size(), ami);&lt;BR /&gt;if(send_buf != NULL) delete send_buf;&lt;BR /&gt;Log::message("Message Sent", DEBUG_LOG);&lt;BR /&gt;&lt;BR /&gt;I need help.</description>
      <pubDate>Wed, 19 Dec 2007 06:02:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/program-terminated-with-signal-10-bus-error/m-p/4118691#M92871</guid>
      <dc:creator>Rena_1</dc:creator>
      <dc:date>2007-12-19T06:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: Program terminated with signal 10, Bus error.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/program-terminated-with-signal-10-bus-error/m-p/4118692#M92872</link>
      <description>#0 0xc00000000029b0ec in .stub .../libc.2&lt;BR /&gt;#1 0xc00000000029dec8 in free .../libc.2&lt;BR /&gt;&lt;BR /&gt;This indicates heap corruption.  You need to download the latest gdb and enable heap checking:&lt;BR /&gt;(gdb) set heap-check on string on&lt;BR /&gt;&lt;A href="http://www.hp.com/go/wdb" target="_blank"&gt;http://www.hp.com/go/wdb&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;unsigned char *send_buf = new unsigned char[sgds_name.size()];&lt;BR /&gt;&lt;BR /&gt;Do you need to use sgds_name.size() + 1?&lt;BR /&gt;It appears send_message doesn't range check properly?</description>
      <pubDate>Wed, 19 Dec 2007 10:03:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/program-terminated-with-signal-10-bus-error/m-p/4118692#M92872</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-12-19T10:03:46Z</dc:date>
    </item>
  </channel>
</rss>

