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

Deadlock on shiftclicking an itemstack into a 'custom' dispenser inventory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • None
    • Windows 10, creators update.

      java version "1.8.0_121"
      Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
      Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)

       

    • InventoryTest

      Spigot's main thread deadlocks when a player shift-clicks an item into a plugin-created dispenser inventory. I couldn't reproduce the deadlock with the Chest inventory type a.k.a. Server#createInventory(InventoryHolder,int). I haven't tested other types of inventories. The bug occurs on both Spigot 1.12 as well as Spigot 1.12.1

       

      Demo plugin:[ https://github.com/Jannyboy11/SpigotInventoryBug|https://github.com/Jannyboy11/SpigotInventoryBug]

      Crash log: latest.log

            Unassigned Unassigned
            Jannyboy11 Jan Boerman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: