<?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 SIGSEGV (in strcpy) in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump/m-p/5955229#M638971</link>
    <description>&lt;P&gt;&amp;gt;frame 0 data is attached:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Again, I don't see a register dump.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;can you let me know which reg contains the source/destination in the attached disas&lt;/P&gt;&lt;P&gt;0x200000007e5aa430:0 &amp;lt;strcpy+0x190&amp;gt;: (p15) st8 [r31]=r35,8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;r31 is the current 8 byte aligned target, masked from r32.&amp;nbsp; r30 is the next aligned source.&lt;/P&gt;&lt;P&gt;Note: The loop is pipelined with rotating registers.&lt;/P&gt;</description>
    <pubDate>Tue, 05 Feb 2013 08:52:15 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2013-02-05T08:52:15Z</dc:date>
    <item>
      <title>Core dump</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump/m-p/5939249#M638965</link>
      <description>&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see the following core dump in strcpy. Please could suggest some pointers if you hace faced this already!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Program terminated with signal 11, Segmentation fault.&lt;/P&gt;&lt;P&gt;SEGV_MAPERR - Address not mapped to object&lt;/P&gt;&lt;P&gt;#0&amp;nbsp; 0x60000000c01f2720:0 in strcpy+0x480 () from /usr/lib/hpux32/libc.so.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(gdb) bt&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;#0&amp;nbsp; 0x60000000c01f2720:0 in strcpy+0x480 () from /usr/lib/hpux32/libc.so.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prabhakar&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2013 12:20:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump/m-p/5939249#M638965</guid>
      <dc:creator>prabhakarbhatt</dc:creator>
      <dc:date>2013-01-22T12:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump/m-p/5940153#M638966</link>
      <description />
      <pubDate>Wed, 23 Jan 2013 04:09:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump/m-p/5940153#M638966</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2013-01-23T04:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump SIGSEGV (in strcpy)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump/m-p/5940353#M638967</link>
      <description>&lt;P&gt;As Steven said, you need to look at the values being passed to strcpy.&lt;/P&gt;&lt;P&gt;At the start of strcpy, $r32 contains the target and $r33 contains the source.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could have ran off the end of either source or target.&amp;nbsp; Or trying to write to readonly data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What libc patch do you have?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using these gdb commands may help:&lt;/P&gt;&lt;P&gt;bt&lt;/P&gt;&lt;P&gt;info reg&lt;/P&gt;&lt;P&gt;disas $pc-16*12 $pc+16*4&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2013 07:13:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump/m-p/5940353#M638967</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2013-01-23T07:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump SIGSEGV (in strcpy)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump/m-p/5949443#M638968</link>
      <description>&lt;P&gt;Dear Dennis ,&lt;BR /&gt;&lt;BR /&gt;I found that "r8" register contains the address of r32&amp;nbsp; in frame 0. After examining the "r8" address I am getting invalid address. Pls can you confirm is my analysis correct or not&lt;BR /&gt;&lt;BR /&gt;(gdb) frame 0&lt;BR /&gt;#0&amp;nbsp; 0x60000000c01f2720:0 in strncat+0x20 () from /usr/lib/hpux32/libc.so.1&lt;BR /&gt;(gdb) x $r8&lt;BR /&gt;0xc18004c:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cannot access memory at address 0xc18004c&lt;BR /&gt;(gdb) x/x $r8&lt;BR /&gt;&lt;BR /&gt;full output of "disas" is attached&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Prabhakar Bhatt&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2013 17:57:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump/m-p/5949443#M638968</guid>
      <dc:creator>prabhakarbhatt</dc:creator>
      <dc:date>2013-01-30T17:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump SIGSEGV (in strcpy)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump/m-p/5949587#M638969</link>
      <description>&lt;P&gt;&amp;gt;I found that "r8" register contains the address of r32&amp;nbsp; in frame 0. ...&amp;nbsp; Pls can you confirm is my analysis correct or not&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see no register dump.&amp;nbsp; And you can't get addresses of registers, unless you are talking about the RSE.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;#0&amp;nbsp; 0x60000000c01f2720:0 in strncat+0x20&amp;nbsp; /usr/lib/hpux32/libc.so.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is not the libc.so.1 on the system that aborted.&amp;nbsp; All debugging must be done there or with a packcore.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;full output of "disas" is attached&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But not of strcpy where it aborted.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2013 21:07:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump/m-p/5949587#M638969</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2013-01-30T21:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump SIGSEGV (in strcpy)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump/m-p/5954071#M638970</link>
      <description>&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pls find the proper bt with its replated packcore and frame 0 data is attached:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(gdb) bt&lt;BR /&gt;#0&amp;nbsp; 0x200000007e5aa430:0 in strcpy+0x190 () at locinst.cpp:561&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Pls can youo let me know which reg contains the source/destination in the attaced disas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Prabhakar Bhatt&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2013 12:14:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump/m-p/5954071#M638970</guid>
      <dc:creator>prabhakarbhatt</dc:creator>
      <dc:date>2013-02-04T12:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump SIGSEGV (in strcpy)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump/m-p/5955229#M638971</link>
      <description>&lt;P&gt;&amp;gt;frame 0 data is attached:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Again, I don't see a register dump.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;can you let me know which reg contains the source/destination in the attached disas&lt;/P&gt;&lt;P&gt;0x200000007e5aa430:0 &amp;lt;strcpy+0x190&amp;gt;: (p15) st8 [r31]=r35,8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;r31 is the current 8 byte aligned target, masked from r32.&amp;nbsp; r30 is the next aligned source.&lt;/P&gt;&lt;P&gt;Note: The loop is pipelined with rotating registers.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2013 08:52:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump/m-p/5955229#M638971</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2013-02-05T08:52:15Z</dc:date>
    </item>
  </channel>
</rss>

