PlotSquared icon indicating copy to clipboard operation
PlotSquared copied to clipboard

Server Crash whilst deleting a plot

Open Hasenzahn1 opened this issue 1 year ago • 4 comments

Server Implementation

Paper

Server Version

1.20.4

Describe the bug

When deleting a plot filled with Sculk Sensors and Trapdoors the Server crashes.(Gist file 1) After restarting the server and retrying the server the console is flooded with lots and lots of errors. (Found in the gist. File 2). The fps also drops below 2.

This is an error with Plotsquared and not with the normal paper implementation as it does not occur when removing the blocks with Worldedit (FAWE), or vanilla commands. It only occurs when deleting the plot with plotsquared. As far as I tested.

The size of the plot is not important. The error seemingly only occurs if the plot is deleted whilst a sculk Sensor is deactivating and updating the blocks near it

To Reproduce

  1. Fill a layer of the plot with sculk sensors.
  2. Place a layer of Trapdoors on top of it.
  3. Add an Observer clock to always pulse on of the trapdoors. This sets up an chain reaction of opening and closing shulkers.
  4. Delete the plot (/p delete)

Expected behaviour

The plot should be deleted without crashing the Server ;)

Screenshots / Videos

image

Error log (if applicable)

https://gist.github.com/Hasenzahn1/07edcf4b9193df2b3cde7d4599a5717d

Plot Debugpaste

https://athion.net/ISPaster/paste/view/901e76a736af41c1a03b0e41536d6f7e

PlotSquared Version

Plotsquared-bukkit-7.3.2-Premium

Checklist

  • [X] I have included a Plot debugpaste.
  • [X] I am using the newest build from https://www.spigotmc.org/resources/77506/ and the issue still persists.

Anything else?

No response

Hasenzahn1 avatar Feb 13 '24 20:02 Hasenzahn1

https://gist.github.com/Hasenzahn1/07edcf4b9193df2b3cde7d4599a5717d#file-gistfile1-txt https://gist.github.com/Hasenzahn1/07edcf4b9193df2b3cde7d4599a5717d#file-gistfile2-txt

Hasenzahn1 avatar Feb 13 '24 20:02 Hasenzahn1

Using with sculk_sensor or calibrated_sculk_sensor.

Replicating is not that easy. It requires a certain size.

RedstoneFuture avatar Feb 14 '24 02:02 RedstoneFuture

Hi,

I can't reproduce the issue with the latest PS and Paper versions. Also, in the log files you provided, there is no log entry referring to PlotSquared. Please let me know if the bug still persists for you.

Fameless9 avatar May 18 '24 09:05 Fameless9

Test 1:

I get these errors without server crash: https://bytebin.lucko.me/lEZrhhPbJR

Test 2:

In a second test the server crashed ("Exception while updating neighbours"):

  • error: https://bytebin.lucko.me/oJdpAxDW9r
  • first part of crash-report: https://bytebin.lucko.me/SBxBRAP8Ak

Tested with:

  • PaperMC v. 1.20.4-R0.1, build 496
  • FastAsyncWorldEdit Bukkit v. 2.9.3, build 764
  • PlotSquared Bukkit v. 7.3.8

RedstoneFuture avatar May 18 '24 14:05 RedstoneFuture