<?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: Seems like pstack causes coredump in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/seems-like-pstack-causes-coredump/m-p/5192984#M652993</link>
    <description>I have run the script after installing these patches and pstack doesn't cause any coredumps. I should have assigned 10 points.</description>
    <pubDate>Mon, 31 Aug 2009 12:58:15 GMT</pubDate>
    <dc:creator>blackwater</dc:creator>
    <dc:date>2009-08-31T12:58:15Z</dc:date>
    <item>
      <title>Seems like pstack causes coredump</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/seems-like-pstack-causes-coredump/m-p/5192981#M652990</link>
      <description>I have written a simple shell script that runs pstack in a loop. It looks like this:&lt;BR /&gt;&lt;BR /&gt;set -x&lt;BR /&gt;rating_server_pid=13456&lt;BR /&gt;LOG_FILE="p.log"&lt;BR /&gt;while [ true ]&lt;BR /&gt;do&lt;BR /&gt;pstack $rating_server_pid  &amp;gt; $LOG_FILE&lt;BR /&gt;done&lt;BR /&gt;sleep 10&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;When I run it sometimes I runs correctly and sometimes I get:&lt;BR /&gt;&lt;BR /&gt;./run_p.stack.sh: line 7: 13862 Segmentation fault      (core dumped) pstack $rating_server_pid &amp;gt; $LOG_FILE&lt;BR /&gt;&lt;BR /&gt;./run_p.stack.sh: line 7: 13867 Segmentation fault      (core dumped) pstack $rating_server_pid &amp;gt; $LOG_FILE&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I got backtrace from the core file:&lt;BR /&gt;&lt;BR /&gt;srv2-rx8 B.11.31 ia64 bash-3.2$ gdb pstack&lt;BR /&gt;HP gdb 6.0 for HP Itanium (32 or 64 bit) and target HP-UX 11iv2 and 11iv3.&lt;BR /&gt;Copyright 1986 - 2009 Free Software Foundation, Inc.&lt;BR /&gt;Hewlett-Packard Wildebeest 6.0 (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;(gdb) core-file ./core&lt;BR /&gt;Core was generated by `pstack'.&lt;BR /&gt;Program terminated with signal 11, Segmentation fault.&lt;BR /&gt;SEGV_MAPERR - Address not mapped to object&lt;BR /&gt;#0  0x60000000c03cc650:0 in __doprnt_main+0x9d00 ()&lt;BR /&gt;   from /usr/lib/hpux32/libc.so.1&lt;BR /&gt;(gdb) bt&lt;BR /&gt;#0  0x60000000c03cc650:0 in __doprnt_main+0x9d00 ()&lt;BR /&gt;   from /usr/lib/hpux32/libc.so.1&lt;BR /&gt;#1  0x60000000c01fdc10:0 in _doprnt+0x30 () from /usr/lib/hpux32/libc.so.1&lt;BR /&gt;#2  0x60000000c03d8ba0:0 in printf+0x220 () from /usr/lib/hpux32/libc.so.1&lt;BR /&gt;#3  0x401e9c0:0 in pstack_dump () at pstack.c:679&lt;BR /&gt;#4  0x40094f0:0 in pstack () at pstack.c:913&lt;BR /&gt;#5  0x40051a0:0 in main () at pstack.c:1125&lt;BR /&gt;&lt;BR /&gt;Seems like pstack sometimes causes coredump. What can be done?</description>
      <pubDate>Thu, 13 Aug 2009 14:07:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/seems-like-pstack-causes-coredump/m-p/5192981#M652990</guid>
      <dc:creator>blackwater</dc:creator>
      <dc:date>2009-08-13T14:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: Seems like pstack causes coredump</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/seems-like-pstack-causes-coredump/m-p/5192982#M652991</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Patch PHSS_39822 may address your problem.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 13 Aug 2009 14:42:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/seems-like-pstack-causes-coredump/m-p/5192982#M652991</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-08-13T14:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: Seems like pstack causes coredump</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/seems-like-pstack-causes-coredump/m-p/5192983#M652992</link>
      <description>I have asked an administrator to install PHSS_39822 and PHCO_39526. When they are installed I will check if this problem is fixed or not.</description>
      <pubDate>Fri, 14 Aug 2009 08:57:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/seems-like-pstack-causes-coredump/m-p/5192983#M652992</guid>
      <dc:creator>blackwater</dc:creator>
      <dc:date>2009-08-14T08:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Seems like pstack causes coredump</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/seems-like-pstack-causes-coredump/m-p/5192984#M652993</link>
      <description>I have run the script after installing these patches and pstack doesn't cause any coredumps. I should have assigned 10 points.</description>
      <pubDate>Mon, 31 Aug 2009 12:58:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/seems-like-pstack-causes-coredump/m-p/5192984#M652993</guid>
      <dc:creator>blackwater</dc:creator>
      <dc:date>2009-08-31T12:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: Seems like pstack causes coredump</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/seems-like-pstack-causes-coredump/m-p/5192985#M652994</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I have run the script after installing these patches and pstack doesn't cause any coredumps. I should have assigned 10 points.&lt;BR /&gt;&lt;BR /&gt;At least close the thread with a bunny so that future trollers will see the treasure :-)&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 31 Aug 2009 13:16:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/seems-like-pstack-causes-coredump/m-p/5192985#M652994</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-08-31T13:16:59Z</dc:date>
    </item>
  </channel>
</rss>

