How do I debug Segfaults occurring in the JVM when it runs my code?

后端 未结 5 1011
青春惊慌失措
青春惊慌失措 2020-12-14 02:46

My Java application has started to crash regularly with a SIGSEGV and a dump of stack data and a load of information in a text file.

I have debugged C programs in gd

5条回答
  •  粉色の甜心
    2020-12-14 03:37

    If you have a corefile you could try running jstack on it, which would give you something a little more comprehensible - see http://download.oracle.com/javase/6/docs/technotes/tools/share/jstack.html, although if it's a bug in the gc thread it may not be all that helpful.

提交回复
热议问题