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
jinfo(1)						      General Commands Manual							  jinfo(1)

NAME
jinfo - configuration info SYNOPSIS
jinfo [ option ] pid jinfo [ option ] executable core jinfo [ option ] [ server-id@ ] remote-hostname-or-IP PARAMETERS
Options are mutually exclusive. Option, if used, should follow immediately after the command name. See OPTIONS below. pid process id for which the configuration info is to be printed. The process must be a Java process. To get a list of Java pro- cesses running on a machine, jps many be used. executable Java executable from which the core dump was produced. core core file for which the configuration info is to be printed. remote-hostname-or-IP remote debug server's (see jsadebugd) hostname or IP address. server-id optional unique id, if multiple debug servers are running on the same remote host. DESCRIPTION
jinfo prints Java configuration information for a given Java process or core file or a remote debug server. Configuration information includes Java System properties and Java virtual machine command line flags. NOTE - This utility is unsupported and may or may not be available in future versions of the J2SE SDK. jinfo is not currently available on Windows platforms or on the Linux Itanium platform. OPTIONS
<no option> prints both command line flags as well as System properties name, value pairs -flags prints command line flags as name, value pairs -sysprops prints JavaSystem properties as name, value pairs -h prints a help message -help prints a help message SEE ALSO
jps(1) jsadebugd(1) 13 June 2004 jinfo(1)
All times are GMT -4. The time now is 09:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy