Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3259
  • Last Modified:

How to debug a java application core dump on solaris 5.8

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
kiranmaiem
Asked:
kiranmaiem
1 Solution
 
Alf666Commented:
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
 
ahoffmannCommented:
if you don't have gdb, adb can also be used (a bit more cumbersome, but programmers get used to it ;-)
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now