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

Server not shutting down after worldedit

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • None
    • Debian 9.8
      openjdk version "1.8.0_222"
      OpenJDK Runtime Environment (build 1.8.0_222-8u222-b10-1~deb9u1-b10)
      OpenJDK 64-Bit Server VM (build 25.222-b10, mixed mode)

      Server is running inside 'rtoolkit' plugin

    • This server is running CraftBukkit version git-Spigot-56f8471-ccd47a5 (MC: 1.14.4) (Implementing API version 1.14.4-R0.1-SNAPSHOT)
    • WorldEdit
    • Yes

      Server appears to be locking up on shutdown after disabling worldedit

      Unregistering com.sk89q.worldedit.bukkit.BukkitServerInterface from WorldEdit
      

      I tried without worldedit as a work around, doesnt happen all the time

      Jstack attached as a file as requested!

      Also - i dont know if its related but i thought id also share a successful shutdown as i started seeing this mailbox stacktrace

      [11:30:35] [Server thread/INFO]: Unregistering com.sk89q.worldedit.bukkit.BukkitServerInterface from WorldEdit
      [11:30:35] [Server thread/INFO]: Saving players
      [11:30:35] [Server thread/INFO]: Hiran_Asura lost connection: Server closed
      [11:30:35] [Server thread/INFO]: Hiran_Asura left the game
      [11:30:35] [Server thread/INFO]: Saving worlds
      [11:30:35] [Server thread/INFO]: Saving chunks for level 'world'/minecraft:overworld
      [11:30:35] [Server thread/INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved
      [11:30:35] [Server thread/INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved
      [11:30:35] [Server-Worker-4/ERROR]: Cound not schedule mailbox
      java.util.concurrent.RejectedExecutionException: null
              at java.util.concurrent.ForkJoinPool.externalSubmit(ForkJoinPool.java:2328) ~[?:1.8.0_222]
              at java.util.concurrent.ForkJoinPool.externalPush(ForkJoinPool.java:2419) ~[?:1.8.0_222]
              at java.util.concurrent.ForkJoinPool.execute(ForkJoinPool.java:2648) ~[?:1.8.0_222]
              at net.minecraft.server.v1_14_R1.ThreadedMailbox.f(SourceFile:112) [spigot-1.14.4.jar:git-Spigot-56f8471-ccd47a5]
              at net.minecraft.server.v1_14_R1.ThreadedMailbox.run(SourceFile:94) [spigot-1.14.4.jar:git-Spigot-56f8471-ccd47a5]
              at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1402) [?:1.8.0_222]
              at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) [?:1.8.0_222]
              at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) [?:1.8.0_222]
              at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) [?:1.8.0_222]
              at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) [?:1.8.0_222]
      

      ```

            Unassigned Unassigned
            mixxit Michael Bolland
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: