Bug 1090309

Summary: [QE] (6.2.x) Rare 'java.lang.OutOfMemoryError: GC overhead limit exceeded' running AdvancedLdapLoginModuleTestCase
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Pavel Jelinek <pjelinek>
Component: TestsuiteAssignee: Pavel Jelinek <pjelinek>
Status: CLOSED WONTFIX QA Contact: Pavel Jelinek <pjelinek>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.1, 6.2.2CC: cdewolf, dpospisi
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1062565 Environment:
Last Closed: 2014-07-25 10:55:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1062565, 1078958, 1085709    
Bug Blocks:    

Description Pavel Jelinek 2014-04-23 06:31:26 UTC
+++ This bug was initially created as a clone of Bug #1062565 +++

In care (and unknown) conditions Apache DS goes in an infinite loop with:
ERROR [org.apache.directory.shared.asn1.ber.grammar.AbstractGrammar] (NioDatagramAcceptor-1) ERR_00001_BAD_TRANSITION_FROM_STATE Bad transition from state START_STATE, tag 0x6C

This results in Maven surefire going OutOfMemory.

--- Additional comment from Carlo de Wolf on 2014-02-07 05:34:09 EST ---



--- Additional comment from Carlo de Wolf on 2014-02-07 05:34:47 EST ---



--- Additional comment from Dominik Pospisil on 2014-02-14 15:52:28 EST ---

The infinite loop is caused by wrong exception handling in org.apache.directory.server.kerberos.protocol.codec.KerberosDecoder. The issue seems to be fixed in latest ApacheDS release (2.0.0.M15). Will retest and confirm the fix.

--- Additional comment from Dominik Pospisil on 2014-02-24 04:42:30 EST ---

When the ApacheDS is updated to 2.0.0.M15, the OOME is gone. However, we are hitting another issue with kerberos pre-auth:
https://issues.apache.org/jira/browse/DIRKRB-99

--- Additional comment from Dominik Pospisil on 2014-03-21 07:47:50 EDT ---

Unfortunatelly, upgrading ApacheDS solves OOME however it exposes a bug in latest OpenJDK which makes it crash on SPNEGOLoginModuleTestCase.

--- Additional comment from Kabir Khan on 2014-03-31 07:25:38 EDT ---

https://github.com/jbossas/jboss-eap/pull/1147

--- Additional comment from Pavel Jelinek on 2014-04-15 10:08:15 EDT ---

Verification blocked by https://bugzilla.redhat.com/show_bug.cgi?id=1085709 
Will be verified in ER2.

Comment 1 Pavel Jelinek 2014-07-25 10:55:51 UTC
This issue is reported against a version which is no longer maintained, which means that it will not receive a fix. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of Enterprise Application Platform please feel free to open a bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.