Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1738637

Summary: EAP 6.4.17 crashes in Class.forName0 after updating OpenJDK 7 to u211+
Product: Red Hat Enterprise Linux 7 Reporter: Aaron Ogburn <aogburn>
Component: java-1.7.0-openjdkAssignee: Andrew Haley <aph>
Status: CLOSED ERRATA QA Contact: OpenJDK QA <java-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.7CC: ahughes, aph, asaji, dbhole, jvanek, sgehwolf, zzambers
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: java-1.7.0-openjdk-1.7.0.231-2.6.19.3.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-31 20:01:04 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:
Attachments:
Description Flags
hs_error.log none

Description Aaron Ogburn 2019-08-07 16:51:21 UTC
Created attachment 1601458 [details]
hs_error.log

Description of problem:

After updating from u201 to u211+, these latest JDK updates are experiencing some crashes when running EAP 6.4.17 and accessing simple web app performing basic auth through a UsersRoleLoginModule.

Stack: [0x00007fa1457d8000,0x00007fa1458d9000],  sp=0x00007fa1458d6570,  free space=1017k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x7f4669]  ObjectMonitor::enter(Thread*)+0xa29
V  [libjvm.so+0x42964d]  ClassLoaderDependencies::locked_add(objArrayHandle, objArrayHandle, objArrayHandle, Thread*)+0x3d
V  [libjvm.so+0x429d40]  ClassLoaderDependencies::add(Handle, Handle, Thread*)+0x2a0
V  [libjvm.so+0x42a008]  ClassLoaderDependencies::record_dependency(oopDesc*, oopDesc*, Thread*)+0x98
V  [libjvm.so+0x91244b]  SystemDictionary::resolve_instance_class_or_null(Symbol*, Handle, Handle, Thread*)+0xb8b
V  [libjvm.so+0x912808]  SystemDictionary::resolve_or_fail(Symbol*, Handle, Handle, bool, Thread*)+0x28
V  [libjvm.so+0x665c64]  find_class_from_class_loader(JNIEnv_*, Symbol*, unsigned char, Handle, Handle, unsigned char, Thread*)+0x34
V  [libjvm.so+0x6660d9]  JVM_FindClassFromCaller+0x189
C  [libjava.so+0xd500]  Java_java_lang_Class_forName0+0x140
J 1851  java.lang.Class.forName0(Ljava/lang/String;ZLjava/lang/ClassLoader;Ljava/lang/Class;)Ljava/lang/Class; (0 bytes) @ 0x00007fa1dd3b1cd4 [0x00007fa1dd3b1be0+0xf4]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J 1851  java.lang.Class.forName0(Ljava/lang/String;ZLjava/lang/ClassLoader;Ljava/lang/Class;)Ljava/lang/Class; (0 bytes) @ 0x00007fa1dd3b1c5a [0x00007fa1dd3b1be0+0x7a]
J 712 C2 javax.security.auth.login.LoginContext.invoke(Ljava/lang/String;)V (1094 bytes) @ 0x00007fa1dd1ff464 [0x00007fa1dd1feda0+0x6c4]
J 1110 C2 javax.security.auth.login.LoginContext$4.run()Ljava/lang/Object; (5 bytes) @ 0x00007fa1dd1e6e6c [0x00007fa1dd1e6e20+0x4c]
v  ~StubRoutines::call_stub
J 928  java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; (0 bytes) @ 0x00007fa1dd214203 [0x00007fa1dd2141a0+0x63]
J 1105 C2 org.jboss.as.web.security.JBossWebRealm.authenticate(Ljava/lang/String;Ljava/lang/String;)Ljava/security/Principal; (449 bytes) @ 0x00007fa1dd2f1720 [0x00007fa1dd2f0520+0x1200]
J 1659 C2 org.apache.catalina.authenticator.BasicAuthenticator.authenticate(Lorg/apache/catalina/connector/Request;Ljavax/servlet/http/HttpServletResponse;Lorg/apache/catalina/deploy/LoginConfig;)Z (440 bytes) @ 0x00007fa1dd40cc6c [0x00007fa1dd40c340+0x92c]
J 1125 C2 org.apache.catalina.authenticator.AuthenticatorBase.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V (681 bytes) @ 0x00007fa1dd2d39a4 [0x00007fa1dd2d2e20+0xb84]
J 1793 C2 org.jboss.as.web.security.SecurityContextAssociationValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V (452 bytes) @ 0x00007fa1dd43fe74 [0x00007fa1dd43f3e0+0xa94]
J 1237 C2 org.apache.catalina.core.StandardHostValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V (437 bytes) @ 0x00007fa1dd330720 [0x00007fa1dd3303e0+0x340]
J 688 C2 org.apache.catalina.valves.AccessLogValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V (150 bytes) @ 0x00007fa1dd1f350c [0x00007fa1dd1f3460+0xac]
J 1368 C2 org.apache.catalina.connector.CoyoteAdapter.service(Lorg/apache/coyote/Request;Lorg/apache/coyote/Response;)V (574 bytes) @ 0x00007fa1dd37d734 [0x00007fa1dd37d3e0+0x354]
J 1069 C2 org.apache.coyote.http11.Http11Processor.process(Ljava/net/Socket;)Lorg/apache/tomcat/util/net/JIoEndpoint$Handler$SocketState; (585 bytes) @ 0x00007fa1dd2b7930 [0x00007fa1dd2b7340+0x5f0]
J 1825% C2 org.apache.tomcat.util.net.JIoEndpoint$Worker.run()V (159 bytes) @ 0x00007fa1dd461540 [0x00007fa1dd4613a0+0x1a0]
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub

Version-Release number of selected component (if applicable):

java-1.7.0-openjkd-1.7.0.211-2.6.17.1.el7_6.x86_64 and later


How reproducible:

Somewhat difficult, may take a few million requests


Actual results:

Crash


Expected results:

No crash

Additional info:

hs_error.log attached

Comment 11 errata-xmlrpc 2020-03-31 20:01:04 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:1110