Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-2158

AbstractReceiveListener: java.lang.IllegalStateException: UT000091: Buffer has already been freed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 2.2.18.Final
    • Web Sockets
    • None
    • Hide

      Unfortunately I don't know how to reproduce this.

      Show
      Unfortunately I don't know how to reproduce this.

      Occasionally we see the following exception in our application log:

      2022-09-02 05:10:44,762 [XNIO-1 I/O-12] ERROR org.xnio.listener  - XNIO001007: A channel event listener threw an exception
      java.lang.IllegalStateException: UT000091: Buffer has already been freed
              at io.undertow.util.ReferenceCountedPooled.getBuffer(ReferenceCountedPooled.java:104)
              at io.undertow.server.protocol.framed.AbstractFramedChannel.receive(AbstractFramedChannel.java:398)
              at io.undertow.websockets.core.AbstractReceiveListener.handleEvent(AbstractReceiveListener.java:38)
              at app.core.proxy$io.undertow.websockets.core.AbstractReceiveListener$ff19274a.handleEvent(Unknown Source)
              at io.undertow.websockets.core.AbstractReceiveListener.handleEvent(AbstractReceiveListener.java:33)
              at app.core.proxy$io.undertow.websockets.core.AbstractReceiveListener$ff19274a.handleEvent(Unknown Source)
              at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
              at io.undertow.server.protocol.framed.AbstractFramedChannel$FrameReadListener.handleEvent(AbstractFramedChannel.java:959)
              at io.undertow.server.protocol.framed.AbstractFramedChannel$FrameReadListener.handleEvent(AbstractFramedChannel.java:939)
              at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
              at io.undertow.server.protocol.framed.AbstractFramedChannel$FrameReadListener$1.run(AbstractFramedChannel.java:971)
              at io.undertow.server.protocol.framed.AbstractFramedChannel$1.run(AbstractFramedChannel.java:144)
              at org.xnio.nio.WorkerThread.safeRun(WorkerThread.java:612)
              at org.xnio.nio.WorkerThread.run(WorkerThread.java:479)
       

      Surrounding lines suggest the exception is caused by clients closing WebSocket connections, but I can't be certain of that.

              flaviarnn Flavia Rainone
              alan-14 Alan Dipert (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: