Skip to main content

developerWorks >  Java technology  >  Forums  >  IBM Java Runtimes and SDKs  >  developerWorks

JVM death in lkMonitorEnter    Point your RSS reader here for a feed of the latest messages in this thread


Tags for this thread: 

     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
This question is answered.

Permlink Replies: 3 - Pages: 1 - Last Post: Nov 12, 2009 6:14 PM Last Post By: ChrisBailey
MenezesDNS

Posts: 8
Registered: Nov 26, 2004 02:32:51 PM
JVM death in lkMonitorEnter
Posted: Nov 06, 2009 08:16:29 AM
 
Click to report abuse...   Click to reply to this thread Reply
Hi there,

I´ve a 1.4.2 SR11 that is dying due to a SIGSEGV received in lkMonitorEnter.

Here it´s the native stack of the offending thread:

lkMonitorEnter at B732057A in libjvm.so
L1_monitorenter__ at B7386198 in libjvm.so
L0_invokevirtual_quick_w__ at B737CC92 in libjvm.so
L0_invokevirtualobject_quick__ at B737C82A in libjvm.so
mmipExecuteJava at B7376863 in libjvm.so
A22B8930

In the JAVA stack trace I can see that a FFDC file was generated and looking at that file I can see that a ClassCastException have been thrown. Not sure whether this can be related to the major issue (lkMonitorEnter).

Have anyone seen this before?

BTW, JVM is using optavgpause as its GC policy.

Thanks in advance,
Davi
ChrisBailey

Posts: 134
Registered: Dec 02, 2004 09:07:58 AM
Re: JVM death in lkMonitorEnter
Posted: Nov 12, 2009 04:36:51 PM   in response to: MenezesDNS in response to: MenezesDNS's post
 
Click to report abuse...   Click to reply to this thread Reply
Hi Davi:

I'm not aware of a similar problem that's been fixed since 1.4.2 SR11, but you might want to try the latest release anywhay (SR13 FP2) which you can get from either of the following locations:
IBM SDKs for Java Downloads on DeveloperWorks
IBM SDKs for Java Downloads on Fix Central

The fact that your crashing in the locking code implies that there's some memory corruption - which could potentially have lead to the ClassCastException as well (if corruption has affected the class structure in memory).

Is there any JNI code loaded in the process?
MenezesDNS

Posts: 8
Registered: Nov 26, 2004 02:32:51 PM
Re: JVM death in lkMonitorEnter
Posted: Nov 12, 2009 05:14:26 PM   in response to: MenezesDNS in response to: MenezesDNS's post
 
Click to report abuse...   Click to reply to this thread Reply
Hi Chris,

From the application standpoint, there is no JNI code. But I´m not sure whether WebSphere may be doing use of native functions (I guess the answer is NO since the application do not leverage from anything else despite servlet 2.3 and JSP 1.2).

We´re about to apply SR13. Not sure if the one available at http://www-01.ibm.com/support/docview.wss?uid=swg24022776 is the SP2 that you´ve mentioned. However we don´t have steps to reproduce the problem... so we probably will never know for sure whether this release has fixed the error or the error happened only once.

Thanks for your attention.

--Davi
ChrisBailey

Posts: 134
Registered: Dec 02, 2004 09:07:58 AM
Re: JVM death in lkMonitorEnter
Posted: Nov 12, 2009 06:14:22 PM   in response to: MenezesDNS in response to: MenezesDNS's post
 
Click to report abuse...   Click to reply to this thread Reply
The package at that link is the base Service Refresh 13 (SR 13). The additional fixes that are in Service Refresh 13 Fix Pack 2 (SR13 FP2) are listed here:
http://www-01.ibm.com/support/docview.wss?uid=swg21395683

Fix Packs are defect only releases on top of the SR. From looking at the fix list, there's only one problem that is related to a crash, and that only occurred when generating a thread dump/javacore, so it doesn't look like its worth waiting for WebSphere to package SR13 FP2.
 Tags
Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

 

MoreLess 


Point your RSS reader here for a feed of the latest messages in all forums