-
Bug
-
Resolution: Done
-
Major
-
7.1.2.GA
Issue reproduced with EAP 7.1 CP2 remoting client talking to EAP 7.1 CP2, trace-logs.zip attached.
01:16:17,649 ERROR (Remoting "TestRemotingConnection-6endpoint-12" I/O-1) [org.xnio.listener] XNIO001007: A channel event listener threw an exception: java.lang.IllegalStateException: XNIO000017: Buffer was already freed
at org.xnio.ByteBufferSlicePool$PooledByteBuffer.getResource(ByteBufferSlicePool.java:214) [jboss-client.jar:7.1.2.GA-redhat-1]
at org.xnio.ByteBufferSlicePool$PooledByteBuffer.getResource(ByteBufferSlicePool.java:184) [jboss-client.jar:7.1.2.GA-redhat-1]
at org.xnio.ssl.JsseSslConduitEngine.unwrap(JsseSslConduitEngine.java:601) [jboss-client.jar:7.1.2.GA-redhat-1]
at org.xnio.ssl.JsseSslStreamSourceConduit.read(JsseSslStreamSourceConduit.java:126) [jboss-client.jar:7.1.2.GA-redhat-1]
at org.xnio.conduits.ConduitStreamSourceChannel.read(ConduitStreamSourceChannel.java:123) [jboss-client.jar:7.1.2.GA-redhat-1]
at org.jboss.remoting3.remote.MessageReader.getMessage(MessageReader.java:132) [jboss-client.jar:7.1.2.GA-redhat-1]
at org.jboss.remoting3.remote.RemoteReadListener.handleEvent(RemoteReadListener.java:72) [jboss-client.jar:7.1.2.GA-redhat-1]
at org.jboss.remoting3.remote.RemoteReadListener.handleEvent(RemoteReadListener.java:46) [jboss-client.jar:7.1.2.GA-redhat-1]
at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) [jboss-client.jar:7.1.2.GA-redhat-1]
at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66) [jboss-client.jar:7.1.2.GA-redhat-1]
at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:89) [jboss-client.jar:7.1.2.GA-redhat-1]
at org.xnio.nio.NioHandle$1.run(NioHandle.java:50) [jboss-client.jar:7.1.2.GA-redhat-1]
at org.xnio.nio.WorkerThread.safeRun(WorkerThread.java:612) [jboss-client.jar:7.1.2.GA-redhat-1]
at org.xnio.nio.WorkerThread.run(WorkerThread.java:479) [jboss-client.jar:7.1.2.GA-redhat-1]
Also reproduced with Client application using EAP 7.1 client jars and legacy EJB jar calling EAP 7.0 randomly hits this.
I've tried to replicate with EAP 7.1 client jars talking to EAP 7.1, but the EJB enhancement there do not close the connection each time, so it makes it harder to replicate.
17:25:59,167 ERROR (Remoting "76052@ovpn-120-203.rdu2.redhat.com-ClientThread-187" I/O-1) [org.xnio.listener] XNIO001007: A channel event listener threw an exception: java.lang.IllegalStateException: XNIO000017: Buffer was already freed
at org.xnio.ByteBufferSlicePool$PooledByteBuffer.getResource(ByteBufferSlicePool.java:214) [jboss-client-legacy.jar:7.1.2.GA-redhat-1]
at org.xnio.ByteBufferSlicePool$PooledByteBuffer.getResource(ByteBufferSlicePool.java:184) [jboss-client-legacy.jar:7.1.2.GA-redhat-1]
at org.xnio.ssl.JsseSslConduitEngine.unwrap(JsseSslConduitEngine.java:601) [jboss-client-legacy.jar:7.1.2.GA-redhat-1]
at org.xnio.ssl.JsseSslStreamSourceConduit.read(JsseSslStreamSourceConduit.java:126) [jboss-client-legacy.jar:7.1.2.GA-redhat-1]
at org.xnio.conduits.ConduitStreamSourceChannel.read(ConduitStreamSourceChannel.java:123) [jboss-client-legacy.jar:7.1.2.GA-redhat-1]
at org.jboss.remoting3.remote.MessageReader.getMessage(MessageReader.java:132) [jboss-client-legacy.jar:7.1.2.GA-redhat-1]
at org.jboss.remoting3.remote.RemoteReadListener.handleEvent(RemoteReadListener.java:72) [jboss-client-legacy.jar:7.1.2.GA-redhat-1]
at org.jboss.remoting3.remote.RemoteReadListener.handleEvent(RemoteReadListener.java:46) [jboss-client-legacy.jar:7.1.2.GA-redhat-1]
at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) [jboss-client-legacy.jar:7.1.2.GA-redhat-1]
at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66) [jboss-client-legacy.jar:7.1.2.GA-redhat-1]
at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:89) [jboss-client-legacy.jar:7.1.2.GA-redhat-1]
at org.xnio.nio.WorkerThread.run(WorkerThread.java:591) [jboss-client-legacy.jar:7.1.2.GA-redhat-1]
- clones
-
XNIO-325 SSL connection breakup causes java.lang.IllegalStateException: XNIO000017: Buffer was already freed
- Resolved
- is incorporated by
-
JBEAP-15280 (7.1.z) Upgrade XNIO from 3.5.5.Final-redhat-1 to 3.5.6
- Closed
- is related to
-
XNIO-291 SSL connection breakup causes java.lang.IllegalStateException: XNIO000017: Buffer was already freed
- Closed