graphic: 0.895 permissions: 0.893 device: 0.879 x86: 0.859 PID: 0.743 semantic: 0.723 vnc: 0.706 architecture: 0.669 debug: 0.656 files: 0.625 socket: 0.546 register: 0.531 boot: 0.524 ppc: 0.496 risc-v: 0.452 VMM: 0.442 performance: 0.433 network: 0.399 kernel: 0.375 arm: 0.368 TCG: 0.352 mistranslation: 0.283 user-level: 0.205 hypervisor: 0.139 i386: 0.120 peripherals: 0.088 virtual: 0.074 assembly: 0.060 KVM: 0.031 crash when interacting with the UI in any way during record/replay mode on macOS Description of problem: ``` ** ERROR:../replay/replay-events.c:119:replay_add_event: assertion failed: (replay_mutex_locked()) Bail out! ERROR:../replay/replay-events.c:119:replay_add_event: assertion failed: (replay_mutex_locked()) fish: Job 1, 'qemu-system-x86_64 -icount shif…' terminated by signal SIGABRT (Abort) ``` Steps to reproduce: 1. run the qemu command 2. click in the window 3. observe crash Additional information: [qemu-system-x86_64-2025-05-15-032037.ips](/uploads/2cccc7b967dacc8a18be8a3d0a0cf297/qemu-system-x86_64-2025-05-15-032037.ips)