Skip to content

Server crash (watchdog timeout) when using Waystones to teleport onto a Sable-simulated contraption #872

@RadiccPlayz

Description

@RadiccPlayz

Context

Summary
When a player uses a Waystones waystone to teleport to a location on or inside a Sable-simulated contraption (e.g. a boat or vehicle), the server crashes with a watchdog timeout after ~60 seconds.

Steps to Reproduce
Have a Sable-simulated contraption active (e.g. a boat/vehicle in motion)
Set a waystone destination on or near the contraption
Teleport to that waystone while the contraption is simulated
Server begins lagging severely and crashes after ~60 seconds

What happens
Sable throws repeated Aborting entity get for abnormally large AABB errors after the teleport, suggesting the physics bounding box is not initialised correctly when a player is teleported into a simulated contraption. The AABB expands to near-infinite size (~20 million blocks), causing the server to hang on collision calculations until the watchdog forcibly shuts it down.

Key error

[Sable]: Aborting entity get for abnormally large AABB:
AABB[1974.83, 64.01, -11524.53] -> [2.0481032800000113E7, 131.3, 2.0483083800000113E7]

Expected behaviour
The player teleports successfully and contraption physics continue normally, or the teleport is safely cancelled if the destination is on a simulated contraption.
Workaround
Avoid setting waystone destinations on or near active simulated contraptions.

Environment

  • Minecraft: 1.21.1
  • NeoForge: 21.1.228
  • Create Aeronautics: 1.2.1 (bundled)
  • Sable: 1.2.2
  • Waystones: 21.1.32

Crash Report

https://mclo.gs/Gg880MP

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: crashSomething crashes my game

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions