<?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 Core files in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3478086#M847010</link>
    <description>Help I'm going crazy.  I need to learn how to decipher core files  I just got our IT people to install WDB and now I have to learn how to use it.&lt;BR /&gt;&lt;BR /&gt;&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;No executable file now.&lt;BR /&gt;No symbol file now.&lt;BR /&gt;warning: Unknown symbols for '/vobs/PTC/POS/LOCATION_MANAGER/core'; use the 'symbol-file' command.&lt;BR /&gt;Core was generated by `POS_LOCATION_M'.&lt;BR /&gt;Program terminated with signal 6, Aborted.&lt;BR /&gt;#0  0xc01f49b0 in &lt;UNKNOWN_PROCEDURE&gt; ()&lt;BR /&gt;Source directories searched: $cdir:$cwd&lt;BR /&gt;Source directories searched: /vobs/PTC/POS/LOCATION_MANAGER:$cdir:$cwd&lt;BR /&gt;(gdb) symbol-file POS_LOCATION_MANAGER.HP_UX11&lt;BR /&gt;Reading symbols from POS_LOCATION_MANAGER.HP_UX11...done.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Then I select "Call Stack" and get:&lt;BR /&gt;&lt;BR /&gt;warning: GDB cannot print complete stack trace since some shared libraries are missing.&lt;BR /&gt;Set GDB_SHLIB_PATH and try again.&lt;BR /&gt;Invalid&lt;BR /&gt;#1  0xc020111c in &lt;UNKNOWN_PROCEDURE&gt; ()&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;At the WDB command line I typed below and got the error&lt;BR /&gt;&lt;BR /&gt;(gdb) GDB_SHLIB_PATH=/usr/lib&lt;BR /&gt;Undefined command: "GDB".  Try "help".&lt;BR /&gt;&lt;BR /&gt;How do you set the path and I'm I selecting the correct path for HP-UX&lt;BR /&gt;I running &lt;BR /&gt;&lt;BR /&gt;HP-UX normal B.11.00 U 9000/785 2000052961 unlimited-user license&lt;BR /&gt;&lt;/UNKNOWN_PROCEDURE&gt;&lt;/UNKNOWN_PROCEDURE&gt;</description>
    <pubDate>Thu, 03 Feb 2005 16:17:22 GMT</pubDate>
    <dc:creator>William Bogdanowich</dc:creator>
    <dc:date>2005-02-03T16:17:22Z</dc:date>
    <item>
      <title>Core files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3478086#M847010</link>
      <description>Help I'm going crazy.  I need to learn how to decipher core files  I just got our IT people to install WDB and now I have to learn how to use it.&lt;BR /&gt;&lt;BR /&gt;&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;No executable file now.&lt;BR /&gt;No symbol file now.&lt;BR /&gt;warning: Unknown symbols for '/vobs/PTC/POS/LOCATION_MANAGER/core'; use the 'symbol-file' command.&lt;BR /&gt;Core was generated by `POS_LOCATION_M'.&lt;BR /&gt;Program terminated with signal 6, Aborted.&lt;BR /&gt;#0  0xc01f49b0 in &lt;UNKNOWN_PROCEDURE&gt; ()&lt;BR /&gt;Source directories searched: $cdir:$cwd&lt;BR /&gt;Source directories searched: /vobs/PTC/POS/LOCATION_MANAGER:$cdir:$cwd&lt;BR /&gt;(gdb) symbol-file POS_LOCATION_MANAGER.HP_UX11&lt;BR /&gt;Reading symbols from POS_LOCATION_MANAGER.HP_UX11...done.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Then I select "Call Stack" and get:&lt;BR /&gt;&lt;BR /&gt;warning: GDB cannot print complete stack trace since some shared libraries are missing.&lt;BR /&gt;Set GDB_SHLIB_PATH and try again.&lt;BR /&gt;Invalid&lt;BR /&gt;#1  0xc020111c in &lt;UNKNOWN_PROCEDURE&gt; ()&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;At the WDB command line I typed below and got the error&lt;BR /&gt;&lt;BR /&gt;(gdb) GDB_SHLIB_PATH=/usr/lib&lt;BR /&gt;Undefined command: "GDB".  Try "help".&lt;BR /&gt;&lt;BR /&gt;How do you set the path and I'm I selecting the correct path for HP-UX&lt;BR /&gt;I running &lt;BR /&gt;&lt;BR /&gt;HP-UX normal B.11.00 U 9000/785 2000052961 unlimited-user license&lt;BR /&gt;&lt;/UNKNOWN_PROCEDURE&gt;&lt;/UNKNOWN_PROCEDURE&gt;</description>
      <pubDate>Thu, 03 Feb 2005 16:17:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3478086#M847010</guid>
      <dc:creator>William Bogdanowich</dc:creator>
      <dc:date>2005-02-03T16:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: Core files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3478087#M847011</link>
      <description>export SDB_SHLIB_PATH=/usr/bin&lt;BR /&gt;export SHLIB_PATH=/usr/bin&lt;BR /&gt;&lt;BR /&gt;That will work with posix and korn.&lt;BR /&gt;&lt;BR /&gt;Use the two line format (set, export) for other shells like bourne.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 03 Feb 2005 17:05:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3478087#M847011</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-02-03T17:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: Core files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3478088#M847012</link>
      <description>Iâ  m trying to use WDB â   HP â   UX Debugger to read cord files when I uses &lt;BR /&gt; export SDB_SHLIB_PATH=/user/bin&lt;BR /&gt; export SHLIB_PATH=/usr/bin&lt;BR /&gt;on the WDB command line I get&lt;BR /&gt; Undefined command: exportâ  &lt;BR /&gt;&lt;BR /&gt;Is there a typo should SDB be GDB still get error&lt;BR /&gt;&lt;BR /&gt;Iâ  m using HP WDB-GUI Reference Manual and the Debug with GDB HP eleventh Edition as reference.  There a little help,</description>
      <pubDate>Fri, 04 Feb 2005 07:54:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3478088#M847012</guid>
      <dc:creator>William Bogdanowich</dc:creator>
      <dc:date>2005-02-04T07:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: Core files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3478089#M847013</link>
      <description>Apparently it can't find the export command itself.  What shell are you running?  Try typing "whence export".&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 04 Feb 2005 07:57:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3478089#M847013</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-02-04T07:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: Core files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3478090#M847014</link>
      <description>I'm using c shell and which did not find the export command, but are we going down the wrong bunny trail.  I want to get WDB to read my core files and find the system libraries</description>
      <pubDate>Fri, 04 Feb 2005 08:18:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3478090#M847014</guid>
      <dc:creator>William Bogdanowich</dc:creator>
      <dc:date>2005-02-04T08:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: Core files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3478091#M847015</link>
      <description>You need to use &lt;BR /&gt;setenv GDB_SHILIB_PATH /usr/lib&lt;BR /&gt;&lt;BR /&gt;for c shell&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Feb 2005 09:08:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3478091#M847015</guid>
      <dc:creator>Dave Hutton</dc:creator>
      <dc:date>2005-02-04T09:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Core files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3478092#M847016</link>
      <description>William:&lt;BR /&gt;You're trying to execute export in the gdb command prompt.&lt;BR /&gt;Exit gdb, at the OS prompt type&lt;BR /&gt;# export SDB_SHLIB_PATH=/user/bin&lt;BR /&gt;# export SHLIB_PATH=/usr/bin&lt;BR /&gt;Find the name of the process that generated the core file by typing:&lt;BR /&gt;# file &lt;PATH to="" core=""&gt;/core&lt;BR /&gt;The command will return something like:&lt;BR /&gt;&lt;FULL path="" of="" core=""&gt;: core file from 'NAME OF PROCCESS' - received SIGSEGV&lt;BR /&gt;&lt;BR /&gt;and reenter the WDB shell (gdb) by typing:&lt;BR /&gt;# gdb &lt;NAME of="" proccess=""&gt; &lt;FULL path="" to="" core="" file=""&gt;/core&lt;BR /&gt;If all goes well gdb will analyze the core structure and display pertinent app errors.&lt;BR /&gt;Note:&lt;BR /&gt;You may need to cd to the bin directory (where the app reside) and run gdb from there to get a full output from the debugger.&lt;BR /&gt;Enjoy,&lt;BR /&gt;Victor&lt;/FULL&gt;&lt;/NAME&gt;&lt;/FULL&gt;&lt;/PATH&gt;</description>
      <pubDate>Fri, 04 Feb 2005 09:10:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3478092#M847016</guid>
      <dc:creator>Victor Pavon</dc:creator>
      <dc:date>2005-02-04T09:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Core files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3478093#M847017</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Basically what you want to know is the error situation of the reason for the core dump.&lt;BR /&gt;&lt;BR /&gt;Very often it also helps to use:&lt;BR /&gt;&lt;BR /&gt;strings core | more&lt;BR /&gt;   or&lt;BR /&gt;strings core &amp;gt; core_output.log&lt;BR /&gt;&lt;BR /&gt;Then you get only the readable core information&lt;BR /&gt;and then search for error...&lt;BR /&gt;&lt;BR /&gt;Bob :)</description>
      <pubDate>Fri, 04 Feb 2005 10:48:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3478093#M847017</guid>
      <dc:creator>B. Hulst</dc:creator>
      <dc:date>2005-02-04T10:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Core files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3478094#M847018</link>
      <description>in my opinion, one should not (advise anyone to) look at the strings in a core file. if you dont know what a core file is, this will only confuse you a lot more.</description>
      <pubDate>Sun, 06 Feb 2005 09:06:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3478094#M847018</guid>
      <dc:creator>ranganath ramachandra</dc:creator>
      <dc:date>2005-02-06T09:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Core files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3478095#M847019</link>
      <description>You can use dcore utility from Chris Bertin to read core. You can download it from &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://rpm-www.rose.hp.com/~chrisb/tools.html" target="_blank"&gt;http://rpm-www.rose.hp.com/~chrisb/tools.html&lt;/A&gt;</description>
      <pubDate>Mon, 07 Feb 2005 00:33:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3478095#M847019</guid>
      <dc:creator>Amit Agarwal_1</dc:creator>
      <dc:date>2005-02-07T00:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: Core files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3478096#M847020</link>
      <description>&lt;BR /&gt;HP-UX B11.11 use POSFIX as default shel, so use 2 command to set env parameter.&lt;BR /&gt;#export SDB_SHLIB_PATH=/usr/bin&lt;BR /&gt;#export SHLIB_PATH=/usr/bin&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Feb 2005 02:05:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3478096#M847020</guid>
      <dc:creator>Nguyen Anh Tien</dc:creator>
      <dc:date>2005-02-07T02:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Core files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3478097#M847021</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;About the advice...&lt;BR /&gt;&lt;BR /&gt;Of course any reply in these forums is still subject to the readers own evalution.&lt;BR /&gt;&lt;BR /&gt;In my case it solved a few system crashes by just going through the core files with strings and figuring out why the hack it did crash. Many time I found hardware problems from them. :-(&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Bob&lt;BR /&gt;&lt;BR /&gt;Ps. This was my 0.02 euro contribution. :-)</description>
      <pubDate>Mon, 07 Feb 2005 02:32:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-files/m-p/3478097#M847021</guid>
      <dc:creator>B. Hulst</dc:creator>
      <dc:date>2005-02-07T02:32:19Z</dc:date>
    </item>
  </channel>
</rss>

