Bug 1062565 - Rare 'java.lang.OutOfMemoryError: GC overhead limit exceeded' running AdvancedLdapLoginModuleTestCase
Summary: Rare 'java.lang.OutOfMemoryError: GC overhead limit exceeded' running Advance...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Testsuite
Version: 6.2.0,6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ER2
: EAP 6.3.0
Assignee: Ondřej Žižka
QA Contact: Pavel Jelinek
URL:
Whiteboard:
Depends On: 1078958 1085709
Blocks: 1090309
TreeView+ depends on / blocked
 
Reported: 2014-02-07 10:31 UTC by Carlo de Wolf
Modified: 2014-06-28 15:24 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
: 1090309 (view as bug list)
Environment:
Last Closed: 2014-06-28 15:24:45 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
6.2.0 test log (274.01 KB, application/x-zip)
2014-02-07 10:34 UTC, Carlo de Wolf
no flags Details
6.2.1-CR4 test log (4.39 MB, application/x-zip)
2014-02-07 10:34 UTC, Carlo de Wolf
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Icedtea Bugzilla 1722 0 None None None 2019-07-05 07:34:10 UTC
Red Hat Bugzilla 1012354 0 unspecified CLOSED Reduce usage of Apache DS components 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1061605 0 urgent CLOSED (SET) (6.2.1) Reduce usage of Apache DS components 2021-02-22 00:41:40 UTC

Internal Links: 1012354 1061605

Description Carlo de Wolf 2014-02-07 10:31:00 UTC
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.

Comment 1 Carlo de Wolf 2014-02-07 10:34:09 UTC
Created attachment 860432 [details]
6.2.0 test log

Comment 2 Carlo de Wolf 2014-02-07 10:34:47 UTC
Created attachment 860433 [details]
6.2.1-CR4 test log

Comment 3 Dominik Pospisil 2014-02-14 20:52:28 UTC
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.

Comment 4 Dominik Pospisil 2014-02-24 09:42:30 UTC
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

Comment 5 Dominik Pospisil 2014-03-21 11:47:50 UTC
Unfortunatelly, upgrading ApacheDS solves OOME however it exposes a bug in latest OpenJDK which makes it crash on SPNEGOLoginModuleTestCase.

Comment 6 Kabir Khan 2014-03-31 11:25:38 UTC
https://github.com/jbossas/jboss-eap/pull/1147

Comment 7 Pavel Jelinek 2014-04-15 14:08:15 UTC
Verification blocked by https://bugzilla.redhat.com/show_bug.cgi?id=1085709 
Will be verified in ER2.

Comment 8 Pavel Jelinek 2014-04-30 14:52:24 UTC
Didn't occured in EAP 6.3.0.ER2 so far again.


Note You need to log in before you can comment on or make changes to this bug.