Solved

How to debug a java application core dump on solaris 5.8

Posted on 2004-04-12
4
3,227 Views
Last Modified: 2013-12-21
Hi,
i was running a huge java application on Solaris 5.8 for performance tuning. After 18 Hours the process exited with a core dump. The dump is from Java program. Can anybody tell me which tool i can use to analyse the core dump.
0
Comment
Question by:kiranmaiem
4 Comments
 
LVL 9

Accepted Solution

by:
Alf666 earned 500 total points
ID: 10804558
gdb would be the answer. The java program is written in C.

The problem here is that you are going to try to debug the Java program itself. This might not lead you far.

Two kinds of "crashes" can happen on a Java app. The JVM can exit if your program issued an exception (handled or not). This goes to debugging your app.
But if the java program itself is core dumping, then it's very bad. Did you try a more recent java distrib ?

To use gdb, just run :

gdb java core_file

Then, you can type "where" to see where it crashed. But I doubt you'll have all the symbols. So I doubt it will be vrey useful.
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 10807666
if you don't have gdb, adb can also be used (a bit more cumbersome, but programmers get used to it ;-)
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question