After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 772755 - [wayland] mutter nested keeps hitting an assert in translate_device_event()
[wayland] mutter nested keeps hitting an assert in translate_device_event()
Status: RESOLVED OBSOLETE
Product: mutter
Classification: Core
Component: wayland
git master
Other Linux
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks: WaylandRelated
 
 
Reported: 2016-10-11 13:29 UTC by Olivier Fourdan
Modified: 2017-09-01 13:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
[PATCH] x11: do not die when used as a nested Wayland compositor (1.48 KB, patch)
2016-10-11 13:33 UTC, Olivier Fourdan
none Details | Review

Description Olivier Fourdan 2016-10-11 13:29:56 UTC
Description:

When running mutter nested as a wayland compositor, it keeps hitting an assert() in translate_device_event() which makes debugging particularly painful...

mutter:ERROR:backends/x11/meta-backend-x11.c:124:translate_device_event: assertion failed: (priv->mode == META_BACKEND_X11_MODE_COMPOSITOR)

How reproducible

Always

Steps to reproduce:

 - Run mutter --nested --wayland
 - Run an X11 client inside that nested mutter
 - Move the pointer in and out of the mutter nested window

Actual result:

mutter dies with:

mutter:ERROR:backends/x11/meta-backend-x11.c:124:translate_device_event: assertion failed: (priv->mode == META_BACKEND_X11_MODE_COMPOSITOR)

Expected result:

mutter doesn't die, at least not because of this assertion...
Comment 1 Olivier Fourdan 2016-10-11 13:33:01 UTC
Created attachment 337432 [details] [review]
[PATCH] x11: do not die when used as a nested Wayland compositor

Probably not the right fix but enough to make "mutter --wayland --nested" usable again...
Comment 2 Olivier Fourdan 2017-09-01 13:45:57 UTC
Don't seem to need this patch anymore, marking as obsolete.