Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-5638

"Buffer was already freed" error from http request processing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 9.0.1.Final
    • Web (Undertow)
    • None
    • Hide

      Uncertain, but

      • http request
      • close connection from client while the server is writing response
      Show
      Uncertain, but http request close connection from client while the server is writing response

      Undertow causes XNIO exception "Buffer was already freed" during response write, possibly due to premature client close.

      I suspect this may also cause the socket to leak, because the number of "Buffer was already freed" messages in widlfly server.log corresponds to the number of leaked sockets in the lsof command output for the wildfly process (seen as sockets with "can't identify protocol" description).

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              armihu Arto Huusko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: