mojira.dev
BDS-4039

Container blocks go invisible and cause crash - only in dedicated

Hello,

We've been dealing with a weird bug since January that greatly affects our experience and we have no slightest idea what's causing it.

Container blocks in random chunks suddenly become corrupted and they are rendered unusable (for hoppers and furnaces) or become invisible (for chests and shulkers). Whenever these blocks become corrupt, the server crashes and we get the following info:

11.04 09:22:01 [Server] INFO Crash
11.04 09:22:01 [Server] INFO at gsignal (UnknownFile:?)
11.04 09:22:01 [Server] INFO at abort (UnknownFile:?)
11.04 09:22:01 [Server] INFO at std::__throw_bad_variant_access[char const*] (UnknownFile:?)
11.04 09:22:01 [Server] INFO at decltype[auto] std::visit<CompoundTagVariant::get[] const::{lambda[auto:1&]#1}, std::variant<EndTag, ByteTag, ShortTag, IntTag, Int64Tag, FloatTag, DoubleTag, ByteArrayTag, StringTag, ListTag, CompoundTag, IntArrayTag> const&>[CompoundTagVariant::get[] const::{lambda[auto:1&]#1}&&, std::variant<EndTag, ByteTag, ShortTag, IntTag, Int64Tag, FloatTag, DoubleTag, ByteArrayTag, StringTag, ListTag, CompoundTag, IntArrayTag> const&] (UnknownFile:?)
11.04 09:22:01 [Server] INFO at CompoundTagVariant::get[] const (UnknownFile:?)
11.04 09:22:01 [Server] INFO at CompoundTagVariant::operator*[] const (UnknownFile:?)
11.04 09:22:01 [Server] INFO at CompoundTag::write[IDataOutput&] const (UnknownFile:?)
11.04 09:22:01 [Server] INFO at Tag::writeNamedTag[std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Tag const&, IDataOutput&] (UnknownFile:?)
11.04 09:22:01 [Server] INFO at NbtIo::write[CompoundTag const*, IDataOutput&] (UnknownFile:?)
11.04 09:22:01 [Server] INFO at SubChunkBlockStoragePaletted<4ul, [SubChunkBlockStorage::Type]4>::_serialize[IDataOutput&, bool] const (UnknownFile:?)
11.04 09:22:01 [Server] INFO at SubChunkBlockStorage::serialize[IDataOutput&, bool] const (UnknownFile:?)
11.04 09:22:01 [Server] INFO at SubChunk::serialize[IDataOutput&, bool] const (UnknownFile:?)
11.04 09:22:01 [Server] INFO at DBChunkStorage::_serializeChunk[LevelChunk const&, DBStorageWriteBatch&] (UnknownFile:?)
11.04 09:22:01 [Server] INFO at std::function<TaskResult []>::operator[][] const (UnknownFile:?)
11.04 09:22:01 [Server] INFO at BackgroundTask::invoke[] (UnknownFile:?)
Skipped 4 lines due to rate limit (30/s)

Corrupted containers can be still destroyed and picked up but they don't drop anything they had inside before they became unusable/invisible. Mining a shulker chest causes whole server to crash again and the console returns the following:

10.04 20:28:27 [Server] INFO Session ID: d03515c9-732f-4483-86f7-c73715069eb1
10.04 20:28:27 [Server] INFO Commit hash: 
10.04 20:28:27 [Server] INFO Build id: development
10.04 20:28:27 [Server] INFO CrashReporter Key: 8c4937c1-64cb-3532-a8dc-1deb28f67293
10.04 20:28:27 [Server] INFO Crash
10.04 19:04:30 [Server] INFO] at ShulkerBoxBlock::playerWillDestroy[Player&, BlockPos const&, Block const& const (UnknownFile:?)
10.04 19:04:30 [Server] INFO at Block::playerWillDestroy[Player&, BlockPos const&] const (UnknownFile:?)
10.04 19:04:30 [Server] INFO at GameMode::_destroyBlockInternal[BlockPos const&, unsigned char] (UnknownFile:?)
10.04 19:04:30 [Server] INFO at std::function<void []>::operator[][] const (UnknownFile:?)
10.04 19:04:30 [Server] INFO at Container::createTransactionContext[std::function<void [Container&, int, ItemStack const&, ItemStack const&]>, std::function<void []>] (UnknownFile:?)
10.04 19:04:30 [Server] INFO at PlayerInventoryProxy::createTransactionContext[std::function<void [Container&, int, ItemStack const&, ItemStack const&]>, std::function<void []>] (UnknownFile:?)
10.04 19:04:30 [Server] INFO at GameMode::destroyBlock[BlockPos const&, unsigned char] (UnknownFile:?)
10.04 19:04:30 [Server] INFO at SurvivalMode::destroyBlock[BlockPos const&, unsigned char] (UnknownFile:?)
10.04 19:04:30 [Server] INFO at std::function<void []>::operator[][] const (UnknownFile:?)
10.04 19:04:30 [Server] INFO at Container::createTransactionContext[std::function<void [Container&, int, ItemStack const&, ItemStack const&]>, std::function<void []>] (UnknownFile:?)
10.04 19:04:30 [Server] INFO at PlayerInventoryProxy::createTransactionContext[std::function<void [Container&, int, ItemStack const&, ItemStack const&]>, std::function<void []>] (UnknownFile:?)
10.04 19:04:30 [Server] INFO at ItemUseInventoryTransaction::handle[Player&, bool] const (UnknownFile:?)
10.04 19:04:30 [Server] INFO at ServerNetworkHandler::handle[NetworkIdentifier const&, InventoryTransactionPacket const&] (UnknownFile:?)
10.04 19:04:30 [Server] INFO at PacketHandlerDispatcherInstance<InventoryTransactionPacket, false>::handle[NetworkIdentifier const&, NetEventCallback&, std::shared_ptr<Packet>&] const (UnknownFile:?)
10.04 19:04:30 [Server] INFO at Packet::handle[NetworkIdentifier const&, NetEventCallback&, std::shared_ptr<Packet>&] (UnknownFile:?)
10.04 19:04:30 [Server] INFO at NetworkHandler::_sortAndPacketizeEvents[NetworkHandler::Connection&, std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > >] (UnknownFile:?)
10.04 19:04:30 [Server] INFO at NetworkHandler::runEvents[bool] (UnknownFile:?)
10.04 19:04:30 [Server] INFO at Minecraft::update[] (UnknownFile:?)
Skipped 2 lines due to rate limit (30/s)

Sadly, there are two more lines missing from the above but I cannot extract it from the log .txt file because it's always empty.

Container blocks going invisible seem to be totally random BUT we noticed there's a bigger chance to happen in a chunk that has more container blocks than the others. No idea how to replicate it.

I attached a screenshot with Visible Chunks resource pack on, which shows the semi-automatic smelting design corrupted. Chests became invisible. Note that the chests on the right are still there.

 

Attachments

Comments 11

Updated the issue. Added additional logs.

Updated the issue. Added additional logs.

Still happens in 1.14.60

Still happens in 1.14.60

1 more comments

We just experienced the same thing on my server. 

It looks like there have been a couple instances of this issue tracked under the Bedrock project, 2 have been fixed in 1.16 and one remains open.

If you're still having this issue in 1.16 please check MCPE-52790 and see if it describes your issue.

Commenting back will reopen the report automagically.

It looks like there have been a couple instances of this issue tracked under the Bedrock project, 2 have been fixed in 1.16 and one remains open.

If you're still having this issue in 1.16 please check MCPE-52790 and see if it describes your issue.

Commenting back will reopen the report automagically.

Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

Syde Veriod

(Unassigned)

Unconfirmed

chest

Retrieved