<?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: Core dump occuring and bt points to basic_string: in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-occuring-and-bt-points-to-basic-string/m-p/5253535#M658671</link>
    <description>&amp;gt;the core was happening because memcpy was failing when trying to copy a buffer of length 255 to a variable of size 2&lt;BR /&gt;&lt;BR /&gt;A memcpy you were doing or the one from string::operator=?</description>
    <pubDate>Mon, 30 Aug 2010 16:34:14 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2010-08-30T16:34:14Z</dc:date>
    <item>
      <title>Core dump occuring and bt points to basic_string:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-occuring-and-bt-points-to-basic-string/m-p/5253533#M658669</link>
      <description>We have a coredump while running a shared lib. The core analysis using gdb points to the std lib string &lt;BR /&gt;&lt;BR /&gt;(gdb) bt&lt;BR /&gt;#0  0x60000000d0cbfe10:1 in std::basic_string&lt;CHAR&gt;,std::allocator&lt;CHAR&gt; &amp;gt;::operator= () at /opt/aCC/include_std/rw/string_ref:258&lt;BR /&gt;#1  0x60000000d0db09a0:0 in CCallSession::processDCCMsg ()&lt;BR /&gt;    at /localhome/sunku/SAC_5.4/Components/OCPPSP/code/DCC_PI/CallSession.C:4194&lt;BR /&gt;#2  0x60000000d0d92100:0 in CCallSession_Mgr::buildAndDispatchPPSMsg ()&lt;BR /&gt;    at /localhome/sunku/SAC_5.4/Components/OCPPSP/code/DCC_PI/CallSession_Mgr.C:1290&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;At the line no. 4194&lt;BR /&gt;/localhome/sunku/SAC_5.4/Components/OCPPSP/code/DCC_PI/CallSession.C:4194&lt;BR /&gt;We are just doing an assignment&lt;BR /&gt;  L_data_dictionary_key = "Start time";&lt;BR /&gt; L_data_dictionary = M_CallSessionMgr-&amp;gt;getDataFromDictionary(L_data_dictionary_key);&lt;BR /&gt;&lt;BR /&gt;where L_data_dictionary  is of type T_ProtocolDataDictionary&lt;BR /&gt;&lt;BR /&gt; { CCallSession_Mgr::type_timestamp, CCallSession_Mgr::dis_type_time,      0x0408, "Start time" }&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Can I get some indication as what could be the possible issue.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/CHAR&gt;&lt;/CHAR&gt;</description>
      <pubDate>Mon, 30 Aug 2010 04:19:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-occuring-and-bt-points-to-basic-string/m-p/5253533#M658669</guid>
      <dc:creator>Meenakshi Gupta</dc:creator>
      <dc:date>2010-08-30T04:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump occuring and bt points to basic_string:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-occuring-and-bt-points-to-basic-string/m-p/5253534#M658670</link>
      <description>Found the issue. Actually the core was happening because memcpy was failing when trying to copy a buffer of length 255 to a variable of size 2</description>
      <pubDate>Mon, 30 Aug 2010 07:35:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-occuring-and-bt-points-to-basic-string/m-p/5253534#M658670</guid>
      <dc:creator>Meenakshi Gupta</dc:creator>
      <dc:date>2010-08-30T07:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump occuring and bt points to basic_string:</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-occuring-and-bt-points-to-basic-string/m-p/5253535#M658671</link>
      <description>&amp;gt;the core was happening because memcpy was failing when trying to copy a buffer of length 255 to a variable of size 2&lt;BR /&gt;&lt;BR /&gt;A memcpy you were doing or the one from string::operator=?</description>
      <pubDate>Mon, 30 Aug 2010 16:34:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-occuring-and-bt-points-to-basic-string/m-p/5253535#M658671</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-08-30T16:34:14Z</dc:date>
    </item>
  </channel>
</rss>

