Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Debugging core file from another server Post 302273556 by diasgeorge on Monday 5th of January 2009 06:23:09 AM
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.
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
GZEXE(1)						      General Commands Manual							  GZEXE(1)

NAME
gzexe - compress executable files in place SYNOPSIS
gzexe name ... DESCRIPTION
The gzexe utility allows you to compress executables in place and have them automatically uncompress and execute when you run them (at a penalty in performance). For example if you execute ``gzexe /usr/bin/gdb'' it will create the following two files: -rwxr-xr-x 1 root root 1026675 Jun 7 13:53 /usr/bin/gdb -rwxr-xr-x 1 root root 2304524 May 30 13:02 /usr/bin/gdb~ /usr/bin/gdb~ is the original file and /usr/bin/gdb is the self-uncompressing executable file. You can remove /usr/bin/gdb~ once you are sure that /usr/bin/gdb works properly. This utility is most useful on systems with very small disks. OPTIONS
-d Decompress the given executables instead of compressing them. SEE ALSO
gzip(1), znew(1), zmore(1), zcmp(1), zforce(1) CAVEATS
The compressed executable is a shell script. This may create some security holes. In particular, the compressed executable relies on the PATH environment variable to find gzip and some standard utilities (basename, chmod, ln, mkdir, mktemp, rm, sleep, and tail). BUGS
gzexe attempts to retain the original file attributes on the compressed executable, but you may have to fix them manually in some cases, using chmod or chown. GZEXE(1)
All times are GMT -4. The time now is 03:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy