Debugging core file from another server


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Debugging core file from another server
# 1  
Old 01-05-2009
Debugging core file from another server

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.
# 2  
Old 01-05-2009
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.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

Best reference for understanding core file and debugging for different architectures

Hi , could someone suggest best reference for core file understanding , analysis , debugging for different architectures like what registers represent what in a architecture specific core .. how to get maximum information out of corrupted core different tools and how they work and how to... (1 Reply)
Discussion started by: Gopi Krishna P
1 Replies

2. UNIX for Advanced & Expert Users

Help in Core File

Hi I am using Linux and I have Java as well as C++ services running on it. The ulimit -c is set to around 400Mb. Whenever any of the service fails they produce a core file.(Actual size of core could be greater than 400Mb). Whenever my Java service fails I get a core file of size 400Mb... (1 Reply)
Discussion started by: Raj999
1 Replies

3. Red Hat

Gdb error while debugging core file

Hi, I am trying to analyze one core file on my RHEL 6.5, but I am getting below error related to the core file. So I am not getting any stack trace about the crash. # gdb MyDebugBin /var/core/MyDebugBin.27005 GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6_4.1) Copyright (C) 2010 Free... (2 Replies)
Discussion started by: sanzee007
2 Replies

4. Solaris

Reducing Cores in T5240 server for meeting Oracle Core Licences

Hi I need to reduce cores on T5240 server for meeting Oracle Core licenses. For that I have install the LDOM packages & run below mention commands. bash-3.2# ldm list-config factory-default config_initial bash-3.2# ldm set-vcpu 32 primary bash-3.2# ldm list-config... (5 Replies)
Discussion started by: amity
5 Replies

5. Homework & Coursework Questions

how to delete core file (file created due to apps crashed)

1. The problem statement, all variables and given/known data: When looking for corefiles, include any file with core in its name. (Some UNIX/Linux systems add the PID of the process that created the core to reduce the chances of overwriting an already existing core file that might be needed. The... (6 Replies)
Discussion started by: s3270226
6 Replies

6. BSD

How to find the usage of Individual cpu core in FreeBsd server?

Hi, If anyone know Please answer me the following question : How to find the usage of individual core cpu usage in FreeBsd server? What command is used for that? Thanks, Maruthu (2 Replies)
Discussion started by: maruthu
2 Replies

7. Solaris

server reboot itself but no core dump

I wonder if anyone here came accross the same situation like me. One of server in my company reboot itself serveral days ago. I have checked /var/adm/messages... there is nothing there but a few messages mention explorer file has been generated by sysadmin. There is no core dump file either.... (4 Replies)
Discussion started by: uuontario
4 Replies

8. UNIX for Dummies Questions & Answers

difference between Dual-core & Core-to-duo

Can anybody tell What is the exact difference between a Dual-core processor and a Core-to-duo processor ?Advance thanks to all my friends. (1 Reply)
Discussion started by: Ajith kumar.G
1 Replies

9. Solaris

core file

Hi friends, Can core file be deleted if there is no need for any one to use it for debugging ? What should be the setting for a person who has root access to the solaris system ? thanks in advance Veera (2 Replies)
Discussion started by: sveera
2 Replies

10. UNIX for Dummies Questions & Answers

I cannot FTP onto my Fedora Core 3 server!

Hiya all, I cannot FTP onto my Fedora Core 3 server! Installed with Std Settings (Firewall on, FTP, SHH etc enabled...) My error is: FTP ****** 220 localhost.localdomain FTP server (Version 5.60) ready. User: martin 530 Must perform authentication before identifying USER. ... (3 Replies)
Discussion started by: marty 600
3 Replies
Login or Register to Ask a Question