-
Bug
-
Resolution: Fixed
-
P3
-
11, 12
-
b08
-
x86_64
-
linux
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8220751 | 12.0.2 | Anthony Scarpino | P3 | Resolved | Fixed | b01 |
JDK-8219373 | 11.0.4-oracle | Ivan Gerasimov | P3 | Resolved | Fixed | b01 |
JDK-8220573 | 11.0.4 | Anthony Scarpino | P3 | Resolved | Fixed | b01 |
JDK-8256676 | openjdk8u272 | Martin Balao Alonso | P3 | Closed | Fixed | b06 |
JDK-8243746 | 8u261 | Prasadarao Koppula | P3 | Resolved | Fixed | b05 |
JDK-8247084 | emb-8u261 | Prasadarao Koppula | P3 | Resolved | Fixed | team |
openjdk version "11.0.1" 2018-10-16
OpenJDK Runtime Environment 18.9 (build 11.0.1+13)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.1+13, mixed mode)
A DESCRIPTION OF THE PROBLEM :
Occasionally we see stack traces like the following on our production servers
Exception in thread "main" java.nio.BufferUnderflowException
at java.base/java.nio.Buffer.nextGetIndex(Buffer.java:641)
at java.base/java.nio.HeapByteBuffer.get(HeapByteBuffer.java:162)
at java.base/sun.security.ssl.ClientHello$ClientHelloMessage.<init>(ClientHello.java:166)
at java.base/sun.security.ssl.ClientHello$ClientHelloConsumer.consume(ClientHello.java:803)
at java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:392)
at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:444)
at java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run(SSLEngineImpl.java:1065)
at java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run(SSLEngineImpl.java:1052)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask.run(SSLEngineImpl.java:999)
at ... application specific methods ...
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Is it expected behavior for delegated tasks created by javax.net.ssl.SSLEngine to throw RuntimeExceptions of type java.nio.BufferUnderflowException?
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Not reproducible, happens occasionally on production servers.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
No RuntimeExceptions are thrown from delegated tasks created by javax.net.ssl.SSLEngine.
ACTUAL -
RuntimeExceptions are thrown from delegated tasks created by javax.net.ssl.SSLEngine.
FREQUENCY : occasionally
- backported by
-
JDK-8219373 Delegated task created by SSLEngine throws java.nio.BufferUnderflowException
- Resolved
-
JDK-8220573 Delegated task created by SSLEngine throws java.nio.BufferUnderflowException
- Resolved
-
JDK-8220751 Delegated task created by SSLEngine throws java.nio.BufferUnderflowException
- Resolved
-
JDK-8243746 Delegated task created by SSLEngine throws java.nio.BufferUnderflowException
- Resolved
-
JDK-8247084 Delegated task created by SSLEngine throws java.nio.BufferUnderflowException
- Resolved
-
JDK-8256676 Delegated task created by SSLEngine throws java.nio.BufferUnderflowException
- Closed
- relates to
-
JDK-8219389 Delegated task created by SSLEngine throws BufferUnderflowException
- Closed