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 692728 - wayland evet source doesn't handle poll err/hup
wayland evet source doesn't handle poll err/hup
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: Wayland
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2013-01-28 18:40 UTC by Kristian Høgsberg
Modified: 2013-02-06 18:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kristian Høgsberg 2013-01-28 18:40:46 UTC
The wayland event source integration (gdk/wayland/gdkeventsource.c) doesn't handle poll err/hup conditions.  It is possible to run a gtk+ appliation then quit the compositor and the see the gtk+ app keep running at 100% CPU.
Comment 1 Rob Bradford 2013-02-06 18:13:35 UTC
Kristian, hooray, fixed!

commit f6383ebf9ed3f8557b2eb9088887f2c9ac5fd0c7
Author: Rob Bradford <rob@linux.intel.com>
Date:   Wed Feb 6 18:08:15 2013 +0000

    wayland: React to G_IO_ERR and G_IO_HUP on the wayland socket
    
    Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=692728