Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-3764

Async Profile Lookup deadlock

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • None
    • None

      CraftMetaSkull#applyToItem invokes the TileEntitySkull.b method to do profile filling.

       

      It then waits until the Future returned is fulfilled.

       

      This results in a deadlock if executed on Main Thread as the TileEntitySkull.b() dispatches the lookup Async, then tries to return to main using the processQueue.

       

      The processQueue will never be processed because main is being held up by applyToItem, and the server crashes.

            Unassigned Unassigned
            Aikar Daniel Ennis
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: