Rare(?) deadlock with `/computercraft track stop`
Lemmmy opened this issue ยท 0 comments
Minecraft Version
1.20.x
Version
1.109.0 (Fabric)
Details
There is a (probably rare?) deadlock when running /computercraft track stop
. SwitchCraft ran into this, and I managed to reproduce it in singleplayer on the SC version and 1.109.0 (only tested on Fabric) with similar looking results such as this and this.
Reproduction world
This test world has a ridiculous (not for SC standards) 1000 computers and a command computer that continously runs track start
and track stop
. On my machine I can reproduce the issue in under a minute but you may need to fiddle with the computer count.
- Download this test world for 1.20 Fabric: DeadlockTest.zip
- Run
test.lua
on the command computer - Run
/computercraft turn-on
- Wait 30-180 seconds for signs of the server thread being locked (can no longer right click computers, chat stops working, placing blocks exhibits weird behavior)
- Run jstack