#21856·mono

Futex timeouts when KeePass Auto-Type invokes xdotool on Linux

Author: AntonVomFriedabachCreated Feb 20, 2026Updated Feb 27, 2026

Hi,

I've just upgraded from Debian bookworm to trixie and ever since have started observing a weird futex timeouts when using KeePass. I've raised this with KeePass already, but they asked me to raise this with mono (https://sourceforge.net/p/keepass/discussion/329221/thread/e6f530ecb4/).

I am using the same version of KeePass.exe in bookworm and in trixie, so I can rule out that this is (at least directly) caused by a new KeePass version.

Even if this is not a mono bug, it would be great if someone could at least point me into the right direction of what may have changed between bookworm and trixie. Maybe KeePass is doing something that's incompatible with the new mono version, in this case, I'd like to advise them - but I have no knowledge of KeePass or mono internals or how they interact.

Steps to Reproduce

  1. Install keepass2 in Debian trixie
  2. Perform auto-type using CTRL+V
  3. Observe a 3-4 second delay before auto-typing starts

I've attached an strace of that auto-type.

keepass_strace_timeout.txt

Current Behavior

KeePass triggers a key-type via mono (I don't know how this works internally) using xdotool: e.g. execve("/usr/bin/xdotool", ["/usr/bin/xdotool", "keyup", "Alt_L"]

Current behaviour: A timeout occurs after 0.5 seconds or so. KeePass does the same for a number of modifier keys (shift, alt, ctrl etc.), so it adds up to 3-4 seconds. The actual auto-type (user & password) shows no delay. 9411 11:42:30.860100 <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) <0.500012>

Expected Behavior

No futex timeout.

When I trigger the auto-type using their UI (not CTRL+V), there is no futex timeout, even though the same commands (e.g. execve("/usr/bin/xdotool", ["/usr/bin/xdotool", "keyup", "Alt_L"]) are in the strace.

On which platforms did you notice this

[ ] macOS [X] Linux [ ] Windows

Version Used: Mono JIT compiler version 6.12.0.199 (tarball Thu Apr 3 15:13:01 UTC 2025) (debian package mono-runtime).

I'm using X11 on Debian Gnome (all standard packages), in case this is important.

For reference, bookworm was using version 6.8.0.105.

Stacktrace

please see attached

Thank you!