Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Core Dumps Solaris

  • 25-09-2003 9:51am
    #1
    Closed Accounts Posts: 536 ✭✭✭


    Any Idea on how I can anlyze a core dump on Solaris?

    It's a java app that's crashing and I need to know why :(


Comments

  • Registered Users, Registered Users 2 Posts: 1,186 ✭✭✭davej


    mdb is the standard debugger that comes with solaris. Look at man mdb. However remember that core files often only tell you the effect of what happened - not the root cause.

    Edit: also take a look here:

    http://docs.sun.com/db/doc/806-5194

    davej


  • Registered Users, Registered Users 2 Posts: 2,013 ✭✭✭lynchie


    Originally posted by flyz
    Any Idea on how I can anlyze a core dump on Solaris?

    It's a java app that's crashing and I need to know why :(

    Whats actually core dumping, the Java runtime environment i.e. the java/jre binary or some other binary?

    If its the java binary, have you checked the logs of the application? Have you applied all of Sun's recommended patches for running java on solaris 7 & 8?


  • Closed Accounts Posts: 536 ✭✭✭flyz


    Originally posted by lynchie
    Whats actually core dumping, the Java runtime environment i.e. the java/jre binary or some other binary?

    If its the java binary, have you checked the logs of the application? Have you applied all of Sun's recommended patches for running java on solaris 7 & 8?


    it's the java binary thats crashing.
    however I've figured out that it's the version of jdk that I'm running is the problem.


  • Registered Users, Registered Users 2 Posts: 16,414 ✭✭✭✭Trojan


    This isn't so relevant to your prob I guess, but might be handy for others reading this thread.

    Couple of things you can check out:

    --

    "file core": should give some info, e.g. if you don't know what app it came from:
    core: ELF 32-bit MSB core file SPARC
    Version 1, from 'bug-del2'


    --

    "adb core"
    core file = core - program
    "bug-del2" on platform SUNW,Ultra-60
    SIGSEGV: Segmentation Fault


    (You can quit adb using ctrl-D).

    --

    Very useful and relatively easy to use, is dbx. You need to call dbx in the format:

    "dbx /path/to/app /path/to/core"

    From the dbx prompt you can then do a "where" command which will give you a stack trace. Very useful.

    Good luck,
    Al.






    #include <std/disclaimer.h>


Advertisement