how to debug SIGSEGV in jvm GCTaskThread

Posted by ekeren on Stack Overflow See other posts from Stack Overflow or by ekeren
Published on 2011-01-10T10:36:57Z Indexed on 2011/01/12 7:53 UTC
Read the original article Hit count: 331

Filed under:
|
|
|

Hi,

My application is experiencing cashes in production. The crash dump indicates a SIGSEGV has occurred in GCTaskThread

It uses JNI, so there might be some source for memory corruption, although I can't be sure.

How can I debug this problem - I though of doing -XX:OnError... but i am not sure what will help me debug this.

Also, can some of you give a concrete example on how JNI code can crash GC with SIGSEGV

EDIT:

OS:SUSE Linux Enterprise Server 10 (x86_64)

vm_info: Java HotSpot(TM) 64-Bit Server VM (11.0-b15) for linux-amd64 JRE (1.6.0_10-b33), built on Sep 26 2008 01:10:29 by "java_re" with gcc 3.2.2 (SuSE Linux)

© Stack Overflow or respective owner

Related posts about crash

Related posts about jvm