<?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 files in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3573282#M228495</link>
    <description>The tool is gdb.</description>
    <pubDate>Wed, 29 Jun 2005 10:06:11 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2005-06-29T10:06:11Z</dc:date>
    <item>
      <title>Core files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3573281#M228494</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;whereupon tool can be read and be analyzed the Core files?&lt;BR /&gt;S.O.= hpux 11i&lt;BR /&gt;&lt;BR /&gt;Thank in advance&lt;BR /&gt;&lt;BR /&gt;Jorge Prado</description>
      <pubDate>Wed, 29 Jun 2005 09:38:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3573281#M228494</guid>
      <dc:creator>Jorge Prado T</dc:creator>
      <dc:date>2005-06-29T09:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: Core files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3573282#M228495</link>
      <description>The tool is gdb.</description>
      <pubDate>Wed, 29 Jun 2005 10:06:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3573282#M228495</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-06-29T10:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Core files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3573283#M228496</link>
      <description>I've never had any luck reading core files.  I just erase them.&lt;BR /&gt;&lt;BR /&gt;If it recurrs, send it to the HP Response Center with a ticket.</description>
      <pubDate>Wed, 29 Jun 2005 14:01:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3573283#M228496</guid>
      <dc:creator>Stuart Abramson</dc:creator>
      <dc:date>2005-06-29T14:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Core files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3573284#M228497</link>
      <description>I think Mr. Stehpenson probably meant "adb".&lt;BR /&gt;&lt;BR /&gt; - John</description>
      <pubDate>Wed, 29 Jun 2005 15:17:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3573284#M228497</guid>
      <dc:creator>John Kittel</dc:creator>
      <dc:date>2005-06-29T15:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: Core files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3573285#M228498</link>
      <description>Sorry, I guess I should have looked BEFORE I replied. There is a gdb. I didn't know that before.</description>
      <pubDate>Wed, 29 Jun 2005 15:19:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3573285#M228498</guid>
      <dc:creator>John Kittel</dc:creator>
      <dc:date>2005-06-29T15:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: Core files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3573286#M228499</link>
      <description>Luck has nothing to do with reading core files but knowledge does. The most common operation is a stack trace. Unfortunately, unless the program were compiled to include the debugging infomation then tracing is much more difficult because now rather than dealing with meaningful symbols (e.g. my_function, my_int_var) you have hex addresses. &lt;BR /&gt;&lt;BR /&gt;Meaning absolutely no insult, if one doesn't even know the name of the tool(s) used to examine core files then it's highly doubtful than one has the expertise to know what one is examining.&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Jun 2005 15:28:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3573286#M228499</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-06-29T15:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: Core files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3573287#M228500</link>
      <description>As said by Clay, gdb is the tool to debug core files. If you have the expertise or if willing to learn you can use gdb even to the extent where you can trace down to the intruction and variable causing the core dump.&lt;BR /&gt;&lt;BR /&gt;If it is in-house application(you have the source code), try compiling with -g option and then reproduce the core file. Use source code, app and core with gdb to find the stack trace, the current values of local variables, and all. By looking at the hex address, you can know the instruction causing the coredump. &lt;BR /&gt;&lt;BR /&gt;In case you don't have the source code, or you don't want to recpompile, or debuggable app does not core dump, you can still work with the original application. The differnce being that now you have to understand the assembly instructions and then figure out the last instruction. Using the register names and with the understanding of HP-UX runtime env, you can trace the variable causing the issue. &lt;BR /&gt;&lt;BR /&gt;Having said all this, its not necessary that you will be successful everytime, but there is a lot information in the core file to guide you in the right direction. &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Amit&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Jun 2005 23:29:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3573287#M228500</guid>
      <dc:creator>Amit Agarwal_1</dc:creator>
      <dc:date>2005-06-29T23:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: Core files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3573288#M228501</link>
      <description>hi jorge&lt;BR /&gt;&lt;BR /&gt;Use one of the program debuggers to create the additional information: gdb, xdb, or dde.&lt;BR /&gt;&lt;BR /&gt; Determine the program that is generating the core&lt;BR /&gt;For eg:&lt;BR /&gt;   file core&lt;BR /&gt;   core:          core file from 'dtcalc' - received SIGABRT&lt;BR /&gt;&lt;BR /&gt;The default location all of these tools is&lt;BR /&gt;   /opt/langtools/bin.&lt;BR /&gt;&lt;BR /&gt;   a. gdb (Gnu Debugger)&lt;BR /&gt;eg:      gdb -xdb /usr/dt/bin/dtcalc core&lt;BR /&gt;&lt;BR /&gt;   b. dde - HP/DDE debugger&lt;BR /&gt;eg:      dde -ui line core /usr/dt/bin/dtcalc&lt;BR /&gt;&lt;BR /&gt;   c. xdb&lt;BR /&gt;eg:      xdb -l ALL /usr/dt/bin/dtcalc core&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Vinod K</description>
      <pubDate>Thu, 30 Jun 2005 00:50:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3573288#M228501</guid>
      <dc:creator>vinod_25</dc:creator>
      <dc:date>2005-06-30T00:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: Core files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3573289#M228502</link>
      <description>Suppose the core file is a product of a TK or tcl script.  Is there a way to debug core files?  Can I at elast find the reason for core to dump - like out of resources, attempt to write to closed port, etc. ?&lt;BR /&gt;&lt;BR /&gt;/opt/langtools/bin/dde -ui line core ./Q&lt;BR /&gt;?(dbgk_hpux_pa) File './Q' is not of a known object file type.&lt;BR /&gt;(Perhaps the file is a shell script?)&lt;BR /&gt;?(dbgk_hpux_pa) File '/sysval/iapa_poi/tools/svs/core' is not of a known object file type.&lt;BR /&gt;(Perhaps the file is a shell script?)&lt;BR /&gt;?(dde) Target program load of "/sysval/iapa_poi/tools/svs/core" failed&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Jul 2005 09:30:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3573289#M228502</guid>
      <dc:creator>Kalim Jacobs</dc:creator>
      <dc:date>2005-07-07T09:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Core files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3573290#M228503</link>
      <description>I got it.  Point to the executable instead of the script.  Typically the script tells you the executable at the top:&lt;BR /&gt;&lt;BR /&gt;#!/usr/local/bin/wish -f&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;jacobs@hueco [/sysval/iapa_poi/tools/svs]% /opt/langtools/bin/dde -ui line core /usr/local/bin/wish&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Jul 2005 09:37:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3573290#M228503</guid>
      <dc:creator>Kalim Jacobs</dc:creator>
      <dc:date>2005-07-07T09:37:00Z</dc:date>
    </item>
  </channel>
</rss>

