11-10-2008
dbx is a symbolic debugger. It can help you analyze the core file, find out what caused the dump and specify advice to the software developers as to what they have to change in their code. So, in a sense, dbx can help you.
Unfortunately to analyze the core you will need a deep understanding of the inner workings of AIX and software development in general. If i got you correctly (if not - sorry, no offense intended) you lack these credentials so chances are you will not be able to analyze the core file correctly, not even with help from us. Telling you what you might need to know is practically teaching you a trade you have no knowledge about and this would be too complex to do over the internet.
I suggest you hire a professional to do it for you. His background should include software development with AIX. AND: AIX is somewhat different - "i have once programmed something" is NOT going to be sufficient.
I hope this helps.
bakunin
10 More Discussions You Might Find Interesting
1. Programming
Hi,
We are trying to run dbx on a core file for which we have the original executable and libs, but not the source / object tree. We have recompiled the objects from the original source, but dbx complains that they were compiled at a different time, and refuses to read them:
Object file:... (0 Replies)
Discussion started by: Sabari Nath S
0 Replies
2. UNIX for Dummies Questions & Answers
I've noticed most of my postings here are because of syntax errors.
So I want to begin compiling a large txt file that contains all the "man <cmd>" of the commands I most have problems with. I ran a "man nawk >> nawk.txt" but it included a header/footer on each "page". Anyone know how I'd be... (6 Replies)
Discussion started by: yongho
6 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I have a core dump problem in HP-UX. I have searched in this forum, but could not get any answer related to my issue.
I debugged the core file by 'gdb' and by using 'bt' cmd I got the function and line no, but I am not sure that the problem lies on the same function .
I want to know... (0 Replies)
Discussion started by: ronix007
0 Replies
4. Programming
hello every one,
I am trying to debug a pro*c program which is resulting in a core dump. It used to work fine in with Oracle 10g precompiler but is causing a core dump with 11g. When I run dbx here is what I get.
dbx wreg309
Type 'help' for help.
reading symbolic information ...... (5 Replies)
Discussion started by: wvuguy
5 Replies
5. Programming
hi i have executable(eg test) of my application
that has the following syntax to run
test -Ddatabase_name Inputfile
Now i want to debug it using dbx
so i do
dbx test
(dbx) stop at /abc/test/test.c:90
stop at /abc/test/test.c:90
^ syntax error
the... (0 Replies)
Discussion started by: mad_man12
0 Replies
6. Shell Programming and Scripting
I have four files a,b,c,d which need to contain certain in the sequence a, b, c ,d , each file command which needs to be executed,
what i m in need is that to executed file and cmd in the defined order and if any of the command FAIL or throw ERROR, it script shud come out... (3 Replies)
Discussion started by: tarunn.dubeyy
3 Replies
7. Shell Programming and Scripting
Hi,
I am using SunOS
I want to serch my previous command
from unix prompt
(like on AIX we can search by ESC -k)
how to get in SunOs
urgent help require. (10 Replies)
Discussion started by: RahulJoshi
10 Replies
8. Solaris
Hi,
There are servers SERVER1 and SERVER2. Both have Sun Solaris 5.1 operating system . A binary file called "Runme" is running in SERVER1 without any issues. But same binary file " Runme" creates core file while exiting . Both operating systems have similar setups. What would be the reason for... (1 Reply)
Discussion started by: joe.mani
1 Replies
9. Emergency UNIX and Linux Support
Hi In SunOS the gdb command outputs the following info.
---Type <return> to continue, or q <return> to quit---
Reading symbols from /opt/dcs_5.1/lib/libssl.so...done.
Loaded symbols for /opt/dcs_5.1/lib/libssl.so
Reading symbols from /opt/dcs_5.1/lib/libcrypto.so...done.
Loaded symbols for... (1 Reply)
Discussion started by: kumaran_5555
1 Replies
10. Solaris
I am new to UNIX.
My Application is using c (.so files) and Java code.
My application crashes and CORE DUMP file is generated ,which is huge.
Now I want to view the CORE DUMP file to debug the application using dbx without starting process again.
By only using the CORE DUMP file and dbx ,can i... (1 Reply)
Discussion started by: satde
1 Replies
LEARN ABOUT SUSE
gc-analyze
GC-ANALYZE(1) GNU GC-ANALYZE(1)
NAME
gc-analyze - Analyze Garbage Collector (GC) memory dumps
SYNOPSIS
gc-analyze [OPTION] ... [file]
DESCRIPTION
gc-analyze prints an analysis of a GC memory dump to standard out.
The memory dumps may be created by calling "gnu.gcj.util.GCInfo.enumerate(String namePrefix)" from java code. A memory dump will be
created on an out of memory condition if "gnu.gcj.util.GCInfo.setOOMDump(String namePrefix)" is called before the out of memory occurs.
Running this program will create two files: TestDump001 and TestDump001.bytes.
import gnu.gcj.util.*;
import java.util.*;
public class GCDumpTest
{
static public void main(String args[])
{
ArrayList<String> l = new ArrayList<String>(1000);
for (int i = 1; i < 1500; i++) {
l.add("This is string #" + i);
}
GCInfo.enumerate("TestDump");
}
}
The memory dump may then be displayed by running:
gc-analyze -v TestDump001
OPTIONS
--verbose
-v Verbose output.
-p tool-prefix
Prefix added to the names of the nm and readelf commands.
-d directory
Directory that contains the executable and shared libraries used when the dump was generated.
--help
Print a help message, then exit.
--version
Print version information, then exit.
SEE ALSO
COPYRIGHT
Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or
any later version published by the Free Software Foundation; with no Invariant Sections, the Front-Cover Texts being (a) (see below), and
with the Back-Cover Texts being (b) (see below). A copy of the license is included in the man page gfdl(7).
(a) The FSF's Front-Cover Text is:
A GNU Manual
(b) The FSF's Back-Cover Text is:
You have freedom to copy and modify this GNU Manual, like GNU
software. Copies published by the Free Software Foundation raise
funds for GNU development.
gcc-4.5 2010-07-05 GC-ANALYZE(1)