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

Async Profile Lookup deadlock

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: