Refined Storage

Refined Storage

77M Downloads

Crash after pasting some RS blocks using Building Gadgets copy-paste tool

Quinteger opened this issue ยท 4 comments

commented

Issue description:

I pasted a small contraption consisting of a network receiver, cable, and external storage going into a drawer controller and some drawer controller slaves next to it. I didn't actually have a network receiver or any drawer controllers in my inventory.

What happens:

I caught a glimpse of cable+external storage successfully being pasted and the server crashed.
https://gist.github.com/Quinteger/038b01a4186e1a24049bae33420a3b70
I am not sure which mod is responsible for the crash, so I am posting it here since the top stack frames comes from RS.

What you expected to happen:

Definitely not crashing the server

Steps to reproduce:

  1. This is the contraption I copied (ignore oak drawers):
    image
    Because of weird interactions with right-click, you may need to add some plain blocks to be able to copy it properly
  2. Paste without having any drawer controllers and network receivers

Version (make sure you are on the latest version before reporting):

  • Modpack: Valhelsia 3 v3.4.4
  • Minecraft: 1.16.5
  • Forge: 36.2.8
  • Refined Storage: 1.9.15

Does this issue occur on a server? [yes/no] yes

If a (crash)log is relevant for this issue, link it here:

https://gist.github.com/Quinteger/038b01a4186e1a24049bae33420a3b70

commented

Wow this bug is still going on... #2842

commented

I just ran into exactly this earlier this week as well, same exception, same case (copy paste gadget)

commented

I had the same multiple times now. Seems like when the area is chunkloaded the server won't start anymore. It's now stuck in a restart loop, because the exception occurs over and over again.
This is by the way a consistent way to crash any server with Refined Storage. I would love to see a better approach than just failing. For example breaking the block in question and dropping it's item.

This is not limited to Building Gadgets or any third-party mod. You can crash it with vanilla pistons as well. Just push a cable into a connection using a piston:
Screenshot 2021-12-21 at 13 57 23

commented

This won't be fixed for RS 1.