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 775116 - Segfault when running d-feet on Wayland
Segfault when running d-feet on Wayland
Status: RESOLVED FIXED
Product: libwnck
Classification: Core
Component: general
3.20.x
Other Linux
: Normal normal
: ---
Assigned To: libwnck maintainers
libwnck maintainers
Depends on:
Blocks:
 
 
Reported: 2016-11-25 20:27 UTC by Olivier Crête
Modified: 2016-11-28 10:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screen: Check for Wayland display (1.96 KB, patch)
2016-11-25 20:27 UTC, Olivier Crête
committed Details | Review

Description Olivier Crête 2016-11-25 20:27:07 UTC
The code doesn't check hard enough if the display is a X11 display, add a couple more checks to prevent d-feet from crashing on Wayland.
Comment 1 Olivier Crête 2016-11-25 20:27:24 UTC
Created attachment 340776 [details] [review]
screen: Check for Wayland display

The current code doesn't check hard enough and segfaults when
starting d-feet.
Comment 2 Marco Trevisan (Treviño) 2016-11-28 10:14:13 UTC
Review of attachment 340776 [details] [review]:

Thanks!