Solved

How to debug a java application core dump on solaris 5.8

Posted on 2004-04-12
4
3,213 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now