<?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: Regarding core dump analysis in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/regarding-core-dump-analysis/m-p/3858356#M276221</link>
    <description>Do you have the source code for the daemon? If not, knowing that the program had a segmentation violation (SIGSEGV) is about all the information you have concerning the error. The program did something wrong internally and it crashed. It can't be fixed without rewriting the program. Contact the programmer.</description>
    <pubDate>Thu, 14 Sep 2006 11:38:51 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2006-09-14T11:38:51Z</dc:date>
    <item>
      <title>Regarding core dump analysis</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/regarding-core-dump-analysis/m-p/3858349#M276214</link>
      <description>We are using HP-UX 10.2.  One of our application daemon is giving core dump.  I dont have any log file of the daemon.   How do i find the error with the coredump? I read about gdb. In the net i am able to find only debugging the  program. How do i use gdb to analyse an coredump.? Pls post me if there is any good web links</description>
      <pubDate>Thu, 07 Sep 2006 06:18:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/regarding-core-dump-analysis/m-p/3858349#M276214</guid>
      <dc:creator>vind123</dc:creator>
      <dc:date>2006-09-07T06:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding core dump analysis</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/regarding-core-dump-analysis/m-p/3858350#M276215</link>
      <description>see &lt;A href="http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0x5f01543254bfd611abdb0090277a778c%2C00.html&amp;amp;admit=-682735245+1157629067125+28353475" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0x5f01543254bfd611abdb0090277a778c%2C00.html&amp;amp;admit=-682735245+1157629067125+28353475&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;it details how to produce and use a back trace from the core file ... maybe of some use</description>
      <pubDate>Thu, 07 Sep 2006 06:40:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/regarding-core-dump-analysis/m-p/3858350#M276215</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2006-09-07T06:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding core dump analysis</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/regarding-core-dump-analysis/m-p/3858351#M276216</link>
      <description>Vind123,&lt;BR /&gt;&lt;BR /&gt;Try to use file and strings to find some information about the dump, for more info, take a look at this thread,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1045698" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1045698&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Jaime.</description>
      <pubDate>Thu, 07 Sep 2006 06:44:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/regarding-core-dump-analysis/m-p/3858351#M276216</guid>
      <dc:creator>Jaime Bolanos Rojas.</dc:creator>
      <dc:date>2006-09-07T06:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding core dump analysis</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/regarding-core-dump-analysis/m-p/3858352#M276217</link>
      <description>Meaning no disrepect and not trying to be flippant, if you have to ask, you are probably the wrong person to be trying to analyze a stack trace. Debugging someone else's code --- especially when it was not compiled with -g which includes debugger data in the object files --- is tedious at best. Your best approach will be to contact the developer and send him your core file.&lt;BR /&gt;If this is a "homegrown" application then compile the application using -g, let it crash, and then use the debugger to examone the source file. In this case, the stack trace can point you to the exact source line where the problem lies.&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Sep 2006 09:52:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/regarding-core-dump-analysis/m-p/3858352#M276217</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-09-07T09:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding core dump analysis</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/regarding-core-dump-analysis/m-p/3858353#M276218</link>
      <description>Thanks a lot for the info...&lt;BR /&gt;I tried the below things how do i locate the code and reason  that threw core dump&lt;BR /&gt;&lt;BR /&gt;1. &lt;BR /&gt;&amp;gt;gdb -c core&lt;BR /&gt;HP gdb 1.1&lt;BR /&gt;Copyright 1986 - 1999 Free Software Foundation, Inc.&lt;BR /&gt;Hewlett-Packard Wildebeest 1.1 (based on GDB 4.17-hpwdb-980821)&lt;BR /&gt;Wildebeest is free software, covered by the GNU General Public License, and&lt;BR /&gt;you are welcome to change it and/or distribute copies of it under certain&lt;BR /&gt;conditions.  Type "show copying" to see the conditions.  There is&lt;BR /&gt;absolutely no warranty for Wildebeest.  Type "show warranty" for details.&lt;BR /&gt;Wildebeest was built for PA-RISC 1.1 or 2.0 (narrow), HP-UX 10.20.&lt;BR /&gt;&lt;BR /&gt;Reading symbols from xcom...done.&lt;BR /&gt;Core was generated by `xcom'.&lt;BR /&gt;Program terminated with signal 11, Segmentation fault.&lt;BR /&gt;&lt;BR /&gt;warning: The shared libraries were not privately mapped; setting a&lt;BR /&gt;breakpoint in a shared library will not work until you rerun the program.&lt;BR /&gt;&lt;BR /&gt;Unable to find dynamic library list.&lt;BR /&gt;&lt;BR /&gt;#0  0x20202034 in ?? ()&lt;BR /&gt;(gdb) bt&lt;BR /&gt;#0  0x20202034 in ?? ()&lt;BR /&gt;Cannot access memory at address 0x2000.&lt;BR /&gt;(gdb) p/x $iir&lt;BR /&gt;$1 = 0x43ffff80&lt;BR /&gt;(gdb) p/x $ior&lt;BR /&gt;$2 = 0xca961d5f&lt;BR /&gt;(gdb) quit&lt;BR /&gt;&lt;BR /&gt;2.&lt;BR /&gt;&amp;gt;adb&lt;BR /&gt;0x43ffff80=i&lt;BR /&gt;                LDB             8128(sr3,r31),r31&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;3.&lt;BR /&gt;&amp;gt;file core&lt;BR /&gt;core:           core file from 'xcom' - received SIGSEGV&lt;BR /&gt;&lt;BR /&gt;&amp;gt;strings core | grep -i fatal&lt;BR /&gt;FATAL ERROR: running out of SVC control resources&lt;BR /&gt;FATAL: cannot get shared memory (SVC_RSC) with key = %ld&lt;BR /&gt;FATAL: cannot attach to shared memory (SESSION) with key = %d&lt;BR /&gt;FATAL: cannot get semaphore with key = %d&lt;BR /&gt;fatal&lt;BR /&gt;fatal&lt;BR /&gt;fatal&lt;BR /&gt;fatal&lt;BR /&gt;fatal&lt;BR /&gt;fatal&lt;BR /&gt;***Fatal: bad switch value &lt;BR /&gt;***Fatal: bad switch value &lt;BR /&gt;***Fatal: bad switch value &lt;BR /&gt;***Fatal: bad switch value&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 09 Sep 2006 02:42:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/regarding-core-dump-analysis/m-p/3858353#M276218</guid>
      <dc:creator>vind123</dc:creator>
      <dc:date>2006-09-09T02:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding core dump analysis</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/regarding-core-dump-analysis/m-p/3858354#M276219</link>
      <description>Can anyone help me out to locate the error?</description>
      <pubDate>Thu, 14 Sep 2006 10:42:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/regarding-core-dump-analysis/m-p/3858354#M276219</guid>
      <dc:creator>vind123</dc:creator>
      <dc:date>2006-09-14T10:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding core dump analysis</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/regarding-core-dump-analysis/m-p/3858355#M276220</link>
      <description>core dump analysis is a bit difficult task as per my knowlegde. hp support people knows that things. maybe some body here can help u&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Sep 2006 10:56:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/regarding-core-dump-analysis/m-p/3858355#M276220</guid>
      <dc:creator>bhupesh m</dc:creator>
      <dc:date>2006-09-14T10:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding core dump analysis</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/regarding-core-dump-analysis/m-p/3858356#M276221</link>
      <description>Do you have the source code for the daemon? If not, knowing that the program had a segmentation violation (SIGSEGV) is about all the information you have concerning the error. The program did something wrong internally and it crashed. It can't be fixed without rewriting the program. Contact the programmer.</description>
      <pubDate>Thu, 14 Sep 2006 11:38:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/regarding-core-dump-analysis/m-p/3858356#M276221</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-09-14T11:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding core dump analysis</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/regarding-core-dump-analysis/m-p/3858357#M276222</link>
      <description>As I tried to tell you earlier, analyzing a stack trace without the corresponding source code is very, very difficult and at the very least requires some understanding of the underlying code:&lt;BR /&gt;&lt;BR /&gt;Cannot access memory at address 0x2000.&lt;BR /&gt;&lt;BR /&gt;0x2000 is certainly a bogus address but that's really all you can know. Knowing that does almost nothing to help you fix the problem. You have to send your core file to the developer and even then it's not trivial to diagnose. A stack trace becomes easy to analyze when the debugger information is included in the object files. Then a stack trace will point you to the exact line in the exact source file. The "gotcha" even in this case is that the -g compiler option (to include debugger data) also disables the optimizer. I've seen cases where non-optimized code (with -g) could never be induced to crash while the optimized code would crash everytime. &lt;BR /&gt;&lt;BR /&gt;The suggestion to use the strings command on the core file is all but useless. All that will do is dump out all the string constants (including possible error messages) in the executable but it does absolutely nothing to identify which error message (if any) was actually output.&lt;BR /&gt;&lt;BR /&gt;As a Plan B. Try to run the application under tusc. That will show the arguments and result of every system call and can be very helpful in diagnosing a problem. However, even in this case, you aren't going to be able to fix this because a code change will be needed. The answer is the same: contact the developer.&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Sep 2006 12:08:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/regarding-core-dump-analysis/m-p/3858357#M276222</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-09-14T12:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding core dump analysis</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/regarding-core-dump-analysis/m-p/3858358#M276223</link>
      <description>I am the developer and i have the source code with me. I got the coredump from production machine and i ran the xcom executable in testmachine with the core file and i am getting the below output. I am able to see when i ran the command  "no debugging symbols found"  . What does it mean?  Is there any way from the below info i can locate the code where it failed?&lt;BR /&gt;&lt;BR /&gt;./gdb xcom core&lt;BR /&gt;HP gdb 3.0.01 for PA-RISC 1.1 or 2.0 (narrow), HP-UX 10.20.&lt;BR /&gt;Copyright 1986 - 2001 Free Software Foundation, Inc.&lt;BR /&gt;Hewlett-Packard Wildebeest 3.0.01 (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;..(no debugging symbols found)...&lt;BR /&gt;&lt;BR /&gt;warning: exec file is newer than core file.&lt;BR /&gt;Core was generated by `xcom'.&lt;BR /&gt;Program terminated with signal 11, Segmentation fault.&lt;BR /&gt;&lt;BR /&gt;warning: Unable to find __dld_flags symbol in object file.&lt;BR /&gt;&lt;BR /&gt;Error while reading dynamic library list.&lt;BR /&gt;&lt;BR /&gt;#0  0x20202034 in ?? ()&lt;BR /&gt;(gdb) frame 0&lt;BR /&gt;#0  0x20202034 in ?? ()&lt;BR /&gt;(gdb) bt&lt;BR /&gt;#0  0x20202034 in ?? ()&lt;BR /&gt;warning: Attempting to unwind past bad PC 0x20202034 &lt;BR /&gt;#1  0x20202034 in ?? ()&lt;BR /&gt;#2  0x20202034 in ?? ()&lt;BR /&gt;Cannot access memory at address 0x442c0a20&lt;BR /&gt;(gdb) frame 1&lt;BR /&gt;#1  0x20202034 in ?? ()&lt;BR /&gt;(gdb) frmae 2&lt;BR /&gt;Undefined command: "frmae".  Try "help".&lt;BR /&gt;(gdb) frame 2&lt;BR /&gt;#2  0x20202034 in ?? ()&lt;BR /&gt;(gdb) backtrace full&lt;BR /&gt;#0  0x20202034 in ?? ()&lt;BR /&gt;No symbol table info available.&lt;BR /&gt;#1  0x20202034 in ?? ()&lt;BR /&gt;No symbol table info available.&lt;BR /&gt;#2  0x20202034 in ?? ()&lt;BR /&gt;No symbol table info available.&lt;BR /&gt;Cannot access memory at address 0x442c0a20&lt;BR /&gt;(gdb) where&lt;BR /&gt;#0  0x20202034 in ?? ()&lt;BR /&gt;#1  0x20202034 in ?? ()&lt;BR /&gt;#2  0x20202034 in ?? ()&lt;BR /&gt;Cannot access memory at address 0x442c0a20</description>
      <pubDate>Fri, 15 Sep 2006 07:23:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/regarding-core-dump-analysis/m-p/3858358#M276223</guid>
      <dc:creator>vind123</dc:creator>
      <dc:date>2006-09-15T07:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding core dump analysis</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/regarding-core-dump-analysis/m-p/3858359#M276224</link>
      <description>In that case, recompile/link the application using the -g option and if there is a "strip" command in your makefile comment it out also. You then run the newly compiled executable and allow it to crash.&lt;BR /&gt;&lt;BR /&gt;Next you start gdb (or whatever debugger you are running) and add -d sourcedir arguments to tell it where the source code directories are. The stacktrace will then pinpoint your source code line.&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Sep 2006 08:44:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/regarding-core-dump-analysis/m-p/3858359#M276224</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-09-15T08:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding core dump analysis</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/regarding-core-dump-analysis/m-p/3858360#M276225</link>
      <description>i dont know under what condition it crashed.&lt;BR /&gt;So after compiling i will be not be able to create the new core dump. &lt;BR /&gt;if i compile it with -g option and run &lt;BR /&gt;with coredump i have will it workout. if no, is there any other debugger or way to find it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Sep 2006 06:22:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/regarding-core-dump-analysis/m-p/3858360#M276225</guid>
      <dc:creator>vind123</dc:creator>
      <dc:date>2006-09-18T06:22:12Z</dc:date>
    </item>
  </channel>
</rss>

