Gdk-Message: 13:44:53.888: Error 22 (Invalid argument) dispatching to Wayland display.
Affected version
-
- RHEL-9
- mutter-40.0-5.el9.x86_64
- Wayland
-
- Fedora 35
- mutter-40.0-6.fc35.x86_64
- Wayland
Bug summary
When running our desktop automation tests - via python3 - the wl_display@1.delete_id will sometime attempt to delete the same display twice and the communication between client(python3) and compositor will end with message: Gdk-Message: 13:44:53.888: Error 22 (Invalid argument) dispatching to Wayland display.
Steps to reproduce
Reproducer is not 100% - it will occur in seemingly random places - so I will just attach log of it running: wayland_debug.log
In the log you can see it attempted to do the .delete twice:
- [2290116.343] wl_display@1.delete_id(30)
- [2304123.380] wl_display@1.delete_id(30)
What happened
Script ended with Gdk-Message: 13:44:53.888: Error 22 (Invalid argument) dispatching to Wayland display.
And journal entry: May 06 15:46:22 fedora gnome-shell[1000]: WL: error in client communication (pid 9582)
With pid being the script that started the test - which is behave(python3) script
What did you expect to happen
No error in journal and the communication between the client and compositor not being ended.