Hi all,
One fine day one of the services in our prod server started core dumping and then the core file was ftp'd to our test server , to debug we used gdb with the executable which we had but we could not get the function names ( maybe due to missing symbols ) How do i solve this
Example output
gdb /usr/bin/Crest Crest.cr9
HP gdb 1.1
Copyright 1986 - 1999 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 1.1 (based on GDB 4.17-hpwdb-980821)
Wildebeest is free software, covered by the GNU General Public License, and
you are welcome to change it and/or distribute copies of it under certain
conditions. Type "show copying" to see the conditions. There is
absolutely no warranty for Wildebeest. Type "show warranty" for details.
Wildebeest was built for PA-RISC 1.1 or 2.0 (narrow), HP-UX 10.20.
..
Core was generated by `Crest'.
Program terminated with signal 11, Segmentation fault.
#0 0x26480840 in ?? ()
(gdb) backtrace
#0 0x26480840 in ?? ()
#1 0x26480840 in ?? ()
#2 0x26480840 in ?? ()
#3 0x26480840 in ?? ()
Cannot access memory at address 0xb6a80000.
You may need to run packcore on the production system to generate a tarball which includes the core dump, executable and any shared libraries. Then copy the tarball to your system and run unpackcore.
See http://docs.hp.com/en/5992-0560/5992-0560.pdf page 24 for more info.