WorldEdit for Bukkit

WorldEdit for Bukkit

21M Downloads

SERVER LAGGING: //line anyblock 1000

fadfhkdfga opened this issue ยท 5 comments

commented

WorldEdit Version

7.2.13

Platform Version

Paper-1.19.3

Confirmations

  • I am using the most recent Minecraft release.
  • I am using a version of WorldEdit compatible with my Minecraft version.
  • I am using the latest or recommended version of my platform software.
  • I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
  • I am NOT using a fork of WorldEdit, such as FastAsyncWorldEdit (FAWE) or AsyncWorldEdit (AWE)

Bug Description

  1. //limit 1000 (any number doesn't matter)
  2. //line anyblock 1000
  3. Server BOOOM

Expected Behavior

.

Reproduction Steps

.

Anything Else?

No response

commented

This issue is useless without a crash report attached

commented

Again, without any information there's nothing at all we can do

commented

This issue is useless without a crash report attached

'//limit' is applied to '//line', but there is a vulnerability in the algorithm itself that calculates '//line' that can cause lagging.

commented

Again, without any information there's nothing at all we can do

Servers all over the world, on all WorldEdit versions.

  1. //limit 1000
  2. //line anyblock 1000
  3. Server BOOOM

[19:30:13] [Paper Watchdog Thread/ERROR]: Current Thread: Server thread
[19:30:13] [Paper Watchdog Thread/ERROR]: PID: 29 | Suspended: false | Native: false | State: RUNNABLE
[19:30:13] [Paper Watchdog Thread/ERROR]: Stack:
[19:30:13] [Paper Watchdog Thread/ERROR]: worldedit-bukkit-7.2.13.jar//com.sk89q.worldedit.EditSession.getBallooned(EditSession.java:2589)
[19:30:13] [Paper Watchdog Thread/ERROR]: worldedit-bukkit-7.2.13.jar//com.sk89q.worldedit.EditSession.drawLine(EditSession.java:2516)
[19:30:13] [Paper Watchdog Thread/ERROR]: worldedit-bukkit-7.2.13.jar//com.sk89q.worldedit.command.RegionCommands.line(RegionCommands.java:149)
[19:30:13] [Paper Watchdog Thread/ERROR]: worldedit-bukkit-7.2.13.jar//com.sk89q.worldedit.command.RegionCommandsRegistration.cmd$_line(RegionCommandsRegistration.java:422)
[19:30:13] [Paper Watchdog Thread/ERROR]: worldedit-bukkit-7.2.13.jar//com.sk89q.worldedit.command.RegionCommandsRegistration$$Lambda$4639/0x000000080168b188.run(Unknown Source)
[19:30:13] [Paper Watchdog Thread/ERROR]: worldedit-bukkit-7.2.13.jar//org.enginehub.piston.CommandManager.execute(CommandManager.java:157)
[19:30:13] [Paper Watchdog Thread/ERROR]: worldedit-bukkit-7.2.13.jar//com.sk89q.worldedit.extension.platform.PlatformCommandManager.handleCommand(PlatformCommandManager.java:497)
[19:30:13] [Paper Watchdog Thread/ERROR]: [email protected]/java.lang.invoke.LambdaForm$DMH/0x0000000800c0a400.invokeSpecial(LambdaForm$DMH)
[19:30:13] [Paper Watchdog Thread/ERROR]: [email protected]/java.lang.invoke.LambdaForm$MH/0x000000080163cc00.invoke(LambdaForm$MH)
[19:30:13] [Paper Watchdog Thread/ERROR]: [email protected]/java.lang.invoke.LambdaForm$MH/0x00000008016b8400.invokeExact_MT(LambdaForm$MH)
[19:30:13] [Paper Watchdog Thread/ERROR]: worldedit-bukkit-7.2.13.jar//com.sk89q.worldedit.util.eventbus.MethodHandleEventHandler.dispatch(MethodHandleEventHandler.java:51)
[19:30:13] [Paper Watchdog Thread/ERROR]: worldedit-bukkit-7.2.13.jar//com.sk89q.worldedit.util.eventbus.EventHandler.handleEvent(EventHandler.java:73)
[19:30:13] [Paper Watchdog Thread/ERROR]: worldedit-bukkit-7.2.13.jar//com.sk89q.worldedit.util.eventbus.EventBus.dispatch(EventBus.java:193)
[19:30:13] [Paper Watchdog Thread/ERROR]: worldedit-bukkit-7.2.13.jar//com.sk89q.worldedit.util.eventbus.EventBus.post(EventBus.java:181)
[19:30:13] [Paper Watchdog Thread/ERROR]: worldedit-bukkit-7.2.13.jar//com.sk89q.worldedit.bukkit.WorldEditPlugin.onCommand(WorldEditPlugin.java:383)
[19:30:13] [Paper Watchdog Thread/ERROR]: worldedit-bukkit-7.2.13.jar//com.sk89q.bukkit.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:55)
[19:30:13] [Paper Watchdog Thread/ERROR]: org.bukkit.command.SimpleCommandMap.dispatch(simplecommandmap.java:159)
[19:30:13] [Paper Watchdog Thread/ERROR]: org.bukkit.craftbukkit.v1_18_R2.CraftServer.dispatchCommand(craftserver.java:906)
[19:30:13] [Paper Watchdog Thread/ERROR]: net.minecraft.server.network.ServerGamePacketListenerImpl.handleCommand(servergamepacketlistenerimpl.java:2307)
[19:30:13] [Paper Watchdog Thread/ERROR]: net.minecraft.server.network.ServerGamePacketListenerImpl.handleChat(servergamepacketlistenerimpl.java:2118)
[19:30:13] [Paper Watchdog Thread/ERROR]: net.minecraft.server.network.ServerGamePacketListenerImpl.handleChat(servergamepacketlistenerimpl.java:2099)
[19:30:13] [Paper Watchdog Thread/ERROR]: net.minecraft.network.protocol.game.ServerboundChatPacket.handle(serverboundchatpacket.java:46)
[19:30:13] [Paper Watchdog Thread/ERROR]: net.minecraft.network.protocol.game.ServerboundChatPacket.a(serverboundchatpacket.java:6)
[19:30:13] [Paper Watchdog Thread/ERROR]: net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$1(packetutils.java:51)
[19:30:13] [Paper Watchdog Thread/ERROR]: net.minecraft.network.protocol.PlayerConnectionUtils$$Lambda$6283/0x0000000801c2a240.run(Unknown Source)
[19:30:13] [Paper Watchdog Thread/ERROR]: net.minecraft.server.TickTask.run(ticktask.java:18)
[19:30:13] [Paper Watchdog Thread/ERROR]: net.minecraft.util.thread.BlockableEventLoop.doRunTask(blockableeventloop.java:153)
[19:30:13] [Paper Watchdog Thread/ERROR]: net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(reentrantblockableeventloop.java:24)
[19:30:13] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer.doRunTask(minecraftserver.java:1400)
[19:30:13] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer.d(minecraftserver.java:188)
[19:30:13] [Paper Watchdog Thread/ERROR]: net.minecraft.util.thread.BlockableEventLoop.pollTask(blockableeventloop.java:126)
[19:30:13] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer.pollTaskInternal(minecraftserver.java:1377)
[19:30:13] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer.pollTask(minecraftserver.java:1370)
[19:30:13] [Paper Watchdog Thread/ERROR]: net.minecraft.util.thread.BlockableEventLoop.managedBlock(blockableeventloop.java:136)
[19:30:13] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer.waitUntilNextTick(minecraftserver.java:1348)
[19:30:13] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer.runServer(minecraftserver.java:1230)
[19:30:13] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer.lambda$spin$0(minecraftserver.java:316)
[19:30:13] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer$$Lambda$4124/0x0000000801494000.run(Unknown Source)
[19:30:13] [Paper Watchdog Thread/ERROR]: [email protected]/java.lang.Thread.run(thread.java:833)

commented

This issue has been automatically marked as stale because it has not been fully confirmed. It will be closed if no further activity occurs. Thank you for your contributions.