Skip to content

Disk Drives hanging and causing crash on Sable sublevel #2450

Description

@benjaminiserman

Minecraft Version

1.21.1

Version

1.119.0

Details

Hi again!

crash-2026-05-31_03.57.32-server.txt

I haven't tested fully enough to know for sure that it's an interaction with Sable that's causing this, but here's the set-up:

  • I have an airship (Sable sub-level) with four computers and three shared disk drives on it.
  • The four computers read from & write to the three shared disk drives constantly while the ship is on. (This works fine)
  • The server never crashes while the ship is constantly loaded in, but if players in multiplayer walk in the area nearby such that the ship is loaded & unloaded while the computers are on, sometimes it crashes with the above error.

Looking at the code I think this is maybe a lock contention issue arising from the disk drives & computers being loaded and unloaded? Maybe the filesystem lock isn't being released properly when the Sable sublevel is unloaded? The crash is come-and-go unfortunately, so this might be tricky to reproduce.

Sable sublevels are loaded in chunks over multiple ticks, so that could also be a part of it? One of the computers is in a different chunk than the other computers and the disk drives, and that computer cds into to one of the disk drives on load.

I'm planning to look into this myself and possibly PR you a fix, but if you have any immediate pointers on what this might be do let me know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-MinecraftThis affects CC's Minecraft-specific content.bugA problem or unexpected behaviour with the mod.cannot reproduceI'm unable to reproduce this bug.

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions