SBPrime / AsyncWorldEdit-Premium

Async WorldEdit - Edit millions of blocks without lag! (Premium version)
Other
19 stars 4 forks source link

Error with dynmap? #166

Closed medeman closed 5 years ago

medeman commented 5 years ago

I was testing AsyncWorldEdit Premium by marking a fairly large chunk of the map and trying //set stone,dirt on it. It started and it seemed like it would work (progress messages showed up), but suddenly I got DC'd (just like with regular WorldEdit) and couldn't reconnect.

spigot 1.13.2 (built last week iirc) WorldEdit 7.0.0-beta.5 AsyncWorldEdit - Premium 3.6.0-rc-05 dynmap 3.0 beta-3

The CPU usage went down to zero (well, the Spigot process at least) and I could never reconnect until I restarted the server.

This is the console output after I issued the //set command:

[07:51:55 ERROR]: ------------------------------
[07:51:55 ERROR]: The server has stopped responding! This is (probably) not a Spigot bug.
[07:51:55 ERROR]:       PID: 51 | Suspended: false | Native: true | State: RUNNABLE
[07:51:55 ERROR]:       Thread is waiting on monitor(s):
[07:51:55 ERROR]:               Locked on:sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:250)
[07:51:55 ERROR]:       Stack:
[07:51:55 ERROR]:               sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
[07:51:55 ERROR]:               sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:422)
[07:51:55 ERROR]:               sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:250)
[07:51:55 ERROR]:               org.dynmap.jetty.server.nio.SelectChannelConnector.accept(SelectChannelConnector.java:109)
[07:51:55 ERROR]:               org.dynmap.jetty.server.AbstractConnector$Acceptor.run(AbstractConnector.java:938)
[07:51:55 ERROR]:               java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[07:51:55 ERROR]:               java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[07:51:55 ERROR]:               java.lang.Thread.run(Thread.java:748)
[07:51:55 ERROR]: ------------------------------
[07:51:55 ERROR]: Current Thread: pool-9-thread-1 Selector0
[07:51:55 ERROR]:       PID: 50 | Suspended: false | Native: false | State: RUNNABLE
[07:51:55 ERROR]:       Thread is waiting on monitor(s):
[07:51:55 ERROR]:               Locked on:sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
[07:51:55 ERROR]:               Locked on:sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
[07:51:55 ERROR]:               Locked on:sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
[07:51:55 ERROR]:       Stack:
[07:51:55 ERROR]:               sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)
[07:51:55 ERROR]:               sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269)
[07:51:55 ERROR]:               sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:93)
[07:51:55 ERROR]:               sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
[07:51:55 ERROR]:               sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
[07:51:55 ERROR]:               org.dynmap.jetty.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:569)
[07:51:55 ERROR]:               org.dynmap.jetty.io.nio.SelectorManager$1.run(SelectorManager.java:290)
[07:51:55 ERROR]:               java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[07:51:55 ERROR]:               java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[07:51:55 ERROR]:               java.lang.Thread.run(Thread.java:748)
[07:51:55 ERROR]: ------------------------------
[07:51:55 ERROR]: Current Thread: HashSessionScavenger-0
[07:51:55 ERROR]:       PID: 49 | Suspended: false | Native: false | State: TIMED_WAITING
[07:51:55 ERROR]:       Stack:
[07:51:55 ERROR]:               java.lang.Object.wait(Native Method)
[07:51:55 ERROR]:               java.util.TimerThread.mainLoop(Timer.java:552)
[07:51:55 ERROR]:               java.util.TimerThread.run(Timer.java:505)
[07:51:55 ERROR]: ------------------------------
[07:51:55 ERROR]: Current Thread: Dynmap Render Thread
[07:51:55 ERROR]:       PID: 46 | Suspended: false | Native: false | State: TIMED_WAITING
[07:51:55 ERROR]:       Stack:
[07:51:55 ERROR]:               sun.misc.Unsafe.park(Native Method)
[07:51:55 ERROR]:               java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
[07:51:55 ERROR]:               java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
[07:51:55 ERROR]:               java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093)
[07:51:55 ERROR]:               java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809)
[07:51:55 ERROR]:               java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
[07:51:55 ERROR]:               java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
[07:51:55 ERROR]:               java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[07:51:55 ERROR]:               java.lang.Thread.run(Thread.java:748)
[07:51:55 ERROR]: ------------------------------
[07:51:55 ERROR]: Current Thread: Dynmap Render Thread
[07:51:55 ERROR]:       PID: 45 | Suspended: false | Native: false | State: WAITING
[07:51:55 ERROR]:       Stack:
[07:51:55 ERROR]:               java.lang.Object.wait(Native Method)
[07:51:55 ERROR]:               org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftFuture.get(CraftFuture.java:50)
[07:51:55 ERROR]:               org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftFuture.get(CraftFuture.java:38)
[07:51:55 ERROR]:               org.dynmap.MapManager$CheckWorldTimes.run(MapManager.java:817)
[07:51:55 ERROR]:               org.dynmap.MapManager$DynmapScheduledThreadPoolExecutor$2.run(MapManager.java:209)
[07:51:55 ERROR]:               java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[07:51:55 ERROR]:               java.util.concurrent.FutureTask.run(FutureTask.java:266)
[07:51:55 ERROR]:               java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
[07:51:55 ERROR]:               java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
[07:51:55 ERROR]:               java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[07:51:55 ERROR]:               java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[07:51:55 ERROR]:               java.lang.Thread.run(Thread.java:748)
[07:51:55 ERROR]: ------------------------------
[07:51:55 ERROR]: Current Thread: Dynmap Render Thread
[07:51:55 ERROR]:       PID: 44 | Suspended: false | Native: false | State: WAITING
[07:51:55 ERROR]:       Stack:
[07:51:55 ERROR]:               sun.misc.Unsafe.park(Native Method)
[07:51:55 ERROR]:               java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
[07:51:55 ERROR]:               java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
[07:51:56 ERROR]:               java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:216)
[07:51:56 ERROR]: ------------------------------
[07:51:56 ERROR]: Current Thread: Reference Handler
[07:51:56 ERROR]:       PID: 2 | Suspended: false | Native: false | State: WAITING
[07:51:56 ERROR]:       Stack:
[07:51:56 ERROR]:               java.lang.Object.wait(Native Method)
[07:51:56 ERROR]:               java.lang.Object.wait(Object.java:502)
[07:51:56 ERROR]:               java.lang.ref.Reference.tryHandlePending(Reference.java:191)
[07:51:56 ERROR]:               java.lang.ref.Reference$ReferenceHandler.run(Reference.java:153)
[07:51:56 ERROR]: ------------------------------
[07:51:56 INFO]: Attempting to restart with ./start.sh
[07:51:56 INFO]: medeman lost connection: Server is restarting

Maybe some incompatibility with Dynmap?

I tried again (with much smaller selections) and it seems to work fine (most of the time) now...

SBPrime commented 5 years ago

The provided log has no references of AWE could you send the full stack.

SBPrime commented 5 years ago

No reply.