<?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 file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/core-file/m-p/3537447#M222525</link>
    <description>Okay .. found what I was looking for:&lt;BR /&gt;&lt;BR /&gt;echo \$r | adb &lt;EXECUTABLE&gt; core&lt;BR /&gt;&lt;BR /&gt;This will tell you where you are in the program and dump the registers.&lt;BR /&gt;&lt;/EXECUTABLE&gt;</description>
    <pubDate>Thu, 05 May 2005 08:04:01 GMT</pubDate>
    <dc:creator>Kent Ostby</dc:creator>
    <dc:date>2005-05-05T08:04:01Z</dc:date>
    <item>
      <title>Core file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-file/m-p/3537439#M222517</link>
      <description>Is there any other way of analysing a core file generated by an application during an issue on system. CAn Q4 analyse only core file.&lt;BR /&gt;&lt;BR /&gt;How? apart from &lt;BR /&gt;&lt;BR /&gt;# file core&lt;BR /&gt;</description>
      <pubDate>Wed, 04 May 2005 08:08:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-file/m-p/3537439#M222517</guid>
      <dc:creator>Omololu</dc:creator>
      <dc:date>2005-05-04T08:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: Core file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-file/m-p/3537440#M222518</link>
      <description>First thing on my mind is adb, but I'm not very skilled with software debuggin, so either look at the man page or wait for more people to reply to see if it suits Your needs.</description>
      <pubDate>Wed, 04 May 2005 08:14:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-file/m-p/3537440#M222518</guid>
      <dc:creator>Florian Heigl (new acc)</dc:creator>
      <dc:date>2005-05-04T08:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: Core file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-file/m-p/3537441#M222519</link>
      <description>No, q4 analyzes a crash dump.&lt;BR /&gt;&lt;BR /&gt;adb and strings can give you a look at a core file, as can a stack trace.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 04 May 2005 08:21:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-file/m-p/3537441#M222519</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-05-04T08:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: Core file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-file/m-p/3537442#M222520</link>
      <description>adb command:&lt;BR /&gt;&lt;BR /&gt;adb &lt;EXECUTABLE_FILE&gt; &lt;CORE_FILE&gt;&lt;BR /&gt;$c&lt;BR /&gt;&lt;BR /&gt;$q&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-- if you are looking for a valid stack trace, then use a real debugger that is free from HP supporting C++ programs named:&lt;BR /&gt;      WDB.&lt;BR /&gt;&lt;BR /&gt;The problem using "adb" with the $c command, is that, the Stack Trace shows function names as mixed text (mangled).  You can not tell a developer which exact member-function caused the core.&lt;BR /&gt;&lt;BR /&gt;You might have to rebuild your executable using a -g option to see the real function-names when running WDB.  &lt;BR /&gt;&lt;BR /&gt;When downloading WDB, you will need two packages installed: &lt;BR /&gt;  1)   WDB (which is like GNU's gdb command), and &lt;BR /&gt;  2)  WDB-GUI (which is the Window/Gui package.)&lt;BR /&gt;&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;/CORE_FILE&gt;&lt;/EXECUTABLE_FILE&gt;</description>
      <pubDate>Wed, 04 May 2005 09:34:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-file/m-p/3537442#M222520</guid>
      <dc:creator>D Block 2</dc:creator>
      <dc:date>2005-05-04T09:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: Core file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-file/m-p/3537443#M222521</link>
      <description>You can use gdb to analyse.&lt;BR /&gt;&lt;BR /&gt;$ gdb &lt;APPLICATION&gt; &lt;CORE&gt;&lt;BR /&gt;&lt;BR /&gt;Its a fantastic tool to analyse core files. you can use wdb wrapper to get GUI. &lt;BR /&gt;&lt;BR /&gt;&lt;/CORE&gt;&lt;/APPLICATION&gt;</description>
      <pubDate>Wed, 04 May 2005 22:47:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-file/m-p/3537443#M222521</guid>
      <dc:creator>Amit Agarwal_1</dc:creator>
      <dc:date>2005-05-04T22:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Core file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-file/m-p/3537444#M222522</link>
      <description>strings is actually not that useful because it will list every possible message that is built into the program or the libraries that it is linked with.&lt;BR /&gt;&lt;BR /&gt;So you will see messages from strings about libdld.sl in almost any core file, but that doesn't mean that libdld.sl has anything to do with the program dying.  It just gets linked into a lot of stuff.&lt;BR /&gt;&lt;BR /&gt;adb is useful at times to show the stack trace IF the program was compiled with debugging information mode.&lt;BR /&gt;&lt;BR /&gt;Generally, my approach is to do the "file core" you mention and then talk to the person who wrote the program or load patches if that applies.&lt;BR /&gt;&lt;BR /&gt;If it's a program you wrote, you can look at adb or gdb as possible debugging tools.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Kent M. Ostby&lt;BR /&gt;</description>
      <pubDate>Thu, 05 May 2005 04:50:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-file/m-p/3537444#M222522</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2005-05-05T04:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Core file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-file/m-p/3537445#M222523</link>
      <description>What made the core in the first place:&lt;BR /&gt;file core&lt;BR /&gt;&lt;BR /&gt;To get the libs used:&lt;BR /&gt;what core&lt;BR /&gt;&lt;BR /&gt;To debug the stinker:&lt;BR /&gt;gdb -c core&lt;BR /&gt;&lt;BR /&gt;To debug the stinker:&lt;BR /&gt;gdb ProgramName -c core&lt;BR /&gt;&lt;BR /&gt;Also see HP doc - KNC071499001</description>
      <pubDate>Thu, 05 May 2005 05:52:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-file/m-p/3537445#M222523</guid>
      <dc:creator>Doug Burton</dc:creator>
      <dc:date>2005-05-05T05:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: Core file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-file/m-p/3537446#M222524</link>
      <description>You can some information from what &lt;CORE&gt; and then use debugger adb / gdb.&lt;BR /&gt;&lt;BR /&gt;gdb -q &lt;APPLICATION binary=""&gt; &lt;CORE&gt;&lt;BR /&gt;gdb&amp;gt; bt&lt;BR /&gt;&lt;BR /&gt;You will get stack trace by this.&lt;BR /&gt;&lt;BR /&gt;You can also use a simple document as,&lt;BR /&gt;&lt;A href="http://geocities.com/kmuthu_gct/core_analysis.html" target="_blank"&gt;http://geocities.com/kmuthu_gct/core_analysis.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/CORE&gt;&lt;/APPLICATION&gt;&lt;/CORE&gt;</description>
      <pubDate>Thu, 05 May 2005 07:04:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-file/m-p/3537446#M222524</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-05-05T07:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: Core file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-file/m-p/3537447#M222525</link>
      <description>Okay .. found what I was looking for:&lt;BR /&gt;&lt;BR /&gt;echo \$r | adb &lt;EXECUTABLE&gt; core&lt;BR /&gt;&lt;BR /&gt;This will tell you where you are in the program and dump the registers.&lt;BR /&gt;&lt;/EXECUTABLE&gt;</description>
      <pubDate>Thu, 05 May 2005 08:04:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-file/m-p/3537447#M222525</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2005-05-05T08:04:01Z</dc:date>
    </item>
  </channel>
</rss>

