01-30-2003
This is actually a frequently asked question. It's been answered several times before. And our search function will show you all the answers. The trouble is that they all say the same thing and you don't like the answer.
There are two types of core files...see
this post for a discussion of that. adb can be used to analyse both types. But that "Panic!..." book focuses on the complete dump of all of memory that results from the kernel calling the function called "panic". HP-UX now calls these "crashdumps" to help avoid confusion between the two.
My copy of that book is at home and I can't remember it touches on anything besides panic dumps. Still it does indeed have an adb tutorial. The book is oriented to Solaris.
I gather that you are interested in the other type of core file which is the dump of a the data and stack segments of a particular process. Here is the answer from
the last time you posed the question. And
here is another answer.
All of the answers say the same thing. You need to use a degugger. If the program was specialled compiled to support a symbolic debugger, then you can use a symbolic debugger. Otherwise it is adb.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Help me
How can I go about doing this.
also, if you have any idea of other files I can delete and what I can do to improve the performance of a system thats running too slow (6 Replies)
Discussion started by: IMPORTANT
6 Replies
2. UNIX for Advanced & Expert Users
please help me, what can i do with the bountiful amount of core files our systems seem to have on occassional basis?? how do I analyze it and determine why the core file was dumped by the application that dumped it. the operating systems we use are solaris, DG-UX and linux red hat systems. (5 Replies)
Discussion started by: TRUEST
5 Replies
3. UNIX for Dummies Questions & Answers
Solaris v5.6
What log files should be checked out as part of your sys admin daily routine?
I've printed out my syslog.conf file, and looked in /var/log and found authlog, syslog, and POPlog. I know of /var/adm/messages.
What others should I be looking for?
I know of the "find" command. I... (8 Replies)
Discussion started by: Westy564
8 Replies
4. Shell Programming and Scripting
How can I keep Solaris 10 GA with Fedora core 3 in the same system.I have got IBM Netvista system with 40 gb hdd ,128mb ram,pentium 4 1.66 gb processor.Pls tell me in detail,otherwise provide me good Url. :) :eek: :confused: (1 Reply)
Discussion started by: xinubhaskar
1 Replies
5. UNIX for Advanced & Expert Users
How can I keep Solaris 10 GA and Fedora Core 3 In the same machine.I have got IBM netvista machine,with 40 gb hdd and 128 mb ram and 1.6 gzh pentium processor.Give me the step in detail.How do I pertition?How can I boot up both? :( :eek: :confused: (2 Replies)
Discussion started by: xinubhaskar
2 Replies
6. Emergency UNIX and Linux Support
We have a binary that generates coredump. So I ran the gdb command to analyze the issue. Pleae note the binary and code are in two different locations and we cannot build the whole binary using debugging symbols. Hence how and what details can I find from below backtarce:
gdb binary corefile
... (5 Replies)
Discussion started by: uunniixx
5 Replies
7. Linux
Hi everyone,
Almost everything is in the title!
Which partitions do you keep?
Which partitions do you reformat, while doing a clean install?
Personaly, I never format /var and /home partitions when I update to latest linux distribution.
It has been working quite ok up to now, but I was... (3 Replies)
Discussion started by: freddie50
3 Replies
8. AIX
Hi Guys,
I need some help analyzing the attached metrics. System context is 2 LPAR's in a P795 running WebSphere App Server across 4 nodes (2 on each LPAR).
Over the weekend both LPAR's lost power and upon re-start the application server response times have degraded by 25-30% for no obvious... (1 Reply)
Discussion started by: mgburns
1 Replies
9. AIX
Hi,
I am running a remote shell from site A to site B, where both are AIX. The remote shell starts other application, and when it finishes, it returns to the site A.
The problem is that I am receiving an error signal 11 and system core error 50 - segmentation fault.
Does anyone know if there are... (6 Replies)
Discussion started by: brjohnsmith
6 Replies
10. Solaris
Dear all,
I am trying to install Sybase ASE 12.5.4 on a Sun OS Solaris 11.2 (sparcv9) machine but I am getting the following messages when launching the setup file :
-bash-4.1$ ./setup
InstallShield Wizard
Initializing InstallShield Wizard...
Searching for Java(tm) Virtual Machine...... (2 Replies)
Discussion started by: clement_te
2 Replies
adb(1) User Commands adb(1)
NAME
adb - general-purpose debugger
SYNOPSIS
adb [-kw] [-I dir] [-P prompt] [-V mode] [ object [ core]]
DESCRIPTION
The adb utility is an interactive, general-purpose debugger. It can be used to examine files and provides a controlled environment for the
execution of programs.
The adb utility is now implemented as a link to the mdb(1) utility in Solaris 9. mdb(1) is a low-level debugging utility that can be used
to examine user processes as well as the live operating system or operating system crash dumps. The new mdb(1) utility provides complete
backwards compatibility with the existing syntax and features of adb, including support for processing adb macro files. The Solaris Modular
Debugger Guide and mdb(1) man page describes the features of mdb, including its adb compatibility mode. This mode will be activated by
default when the adb link is executed.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWmdb |
+-----------------------------+-----------------------------+
SEE ALSO
mdb(1), attributes(5)
Solaris Modular Debugger Guide
SunOS 5.10 19 Aug 2003 adb(1)