IBM Support

MA45559 - LIC-PASE JVM job end hangs for deadlock between two threads

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 APAR (Authorized Program Analysis Report)

Abstract

LIC-PASE JVM job end hangs for deadlock between two threads

Error Description

JVM fails to end. Requires ENDJOBABN                            
                                                               
PROCESSINFO shows primary thread in stack:                      
                                                               
WAIT: QCO-QUCOUNTER                                            
MODULE RMPRLONGWAITRCVCOUNTER+0X738                            
MODULE PMPROCESSNONRESIDENT+0X76EC                              
MODULE PMINITIATEPROCESS+0X29D0                                
                                                               
Secondary thread is stuck:                                      
WAIT: U83-PASE_WAITFOREXIT                                      
ISF=E968B7576FFFBA20 NIA=FFFFFFFFC2AD8A00 MODULE                
RMPRLONGWAITRCVSTATECOUNTER+0X6F0                              
ISF=E968B7576FFFBB60 NIA=FFFFFFFFC36B5E98 MODULE                
PPPASEPROCESS+0X2D38                                            
ISF=E968B7576FFFBCA0 NIA=FFFFFFFFC4279568 MODULE                
PPPASEMIINTERFACE+0X3648                                        
ISF=E968B7576FFFBD00 NIA=FFFFFFFFC4279AD4 MODULE                
PPPASEMIINTERFACE+0X3BB4                                        
ISF=E968B7576FFFBD60 NIA=FFFFFFFFC427A944 MODULE                
PPPASEMIINTERFACE+0X4A24                                        
ISF=E968B7576FFFBE40 NIA=FFFFFFFFFF0050E8 MODULE #CFMIR+0XE8    
ISF=E968B7576FFFBF00 NIA=FFFFFFFFFF094778 MODULE CFSCV0A+0X158  
ISF=F88480FC05FFF160 NIA=1FCB17147D0059C4 SRVPGM                
QSYS/QP2USER2-QP2API:RUNPASE_COMMON__FIPVT2+0XB4 STMT# 5        
ISF=F88480FC05FFF2A0 NIA=1FCB17147D006004 SRVPGM                
QSYS/QP2USER2-QP2API:DO_CANCEL__FI+0X124 STMT# 19              

Problem Summary

Forced termination of a job running Java (for ENDJOB, ENDSBS,  
etc.) may hang because of deadlock between the MI initial thread
that is/remains attached to PASE while waiting for all MI      
secondary threads to end, and an MI secondary thread that waits
for all threads to detach from PASE.  ENDJOBABN is required to  
end the job after deadlock occurs.                              
                                                               
This condition has only been observed in jobs that start PASE in
an MI secondary thread and (later) attach to PASE in the MI    
initial thread, so it may be an issue only for jobs that run the
J9 JVM.                                                        

Problem Conclusion

Termination cleanup for PASE is changed to avoid waiting for    
other threads to detach if the job is ending.                  

Temporary Fix

Comments

Circumvention


PTFs Available

R720 MF61916 PTF Cover Letter   6306
R730 MF62203 PTF Cover Letter   6299

Affected Modules

         
         

Affected Publications

Summary Information

Status............................................ CLOSED PER
HIPER........................................... No
Component.................................. 9400DG300
Failing Module.......................... RCHMGR
Reported Release................... R720
Duplicate Of..............................




System i Support

IBM disclaims all warranties, whether express or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. By furnishing this document, IBM grants no licenses to any related patents or copyrights. Copyright © 1996,1997,1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017 IBM Corporation. Any trademarks and product or brand names referenced in this document are the property of their respective owners. Consult the Terms of use link for trademark information

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG15Q","label":"APARs - OS\/400 General"},"Component":"","ARM Category":[],"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"V7R2M0;V7R3M0","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG16E","label":"APARs - IBM i 7.2 environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"V7R2M0;V7R3M0","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG16G","label":"APARs - IBM i 7.3 environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"V7R2M0;V7R3M0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
11 November 2016