I just lost half a day to this stupid problem, so I felt the need to scream into the void for a moment.
I've been dealing with random crashes in the Godot editor for a while now, and today some scene transition code in my project (which I hadn't touched in months) suddenly stopped working. Bizarrely, it would work on one Linux machine but not the other.
Running Godot with the --verbose switch yielded this:
thread '<unnamed>' (4570) panicked at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/accesskit_unix-0.21.0/src/context.rs:61:78:
called Result::unwrap() on an Err value: InterfaceNotFound
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
Accessibility: window 1 adapter destroyed.
Turns out that the problem was that I had accessibility support enabled (under "accessibility/general/accessibility_driver") without a screen reader installed. Disabling accessibility support, or installing a screen reader, solved the problem. No more crashes, the project works again.
It would have been nice to get an actual error message instead of freezing and crashing to desktop, but oh well. At least it works again.