[Wayland-bugs] [Bug 735226] New: Avoid NULL surface access if a window is shown/hidden within a frame

gtk+ (bugzilla.gnome.org) bugzilla at gnome.org
Fri Aug 22 07:47:08 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=735226
  gtk+ | Backend: Wayland | unspecified

           Summary: Avoid NULL surface access if a window is shown/hidden
                    within a frame
    Classification: Platform
           Product: gtk+
           Version: unspecified
        OS/Version: Mac OS
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: Backend: Wayland
        AssignedTo: gtk-bugs at gtk.org
        ReportedBy: carlosg at gnome.org
         QAContact: gtk-bugs at gtk.org
                CC: rob at robster.org.uk, wayland-bugs at lists.freedesktop.org
     GNOME version: ---


When investigating bug #734374, I've sometimes seen crashes when triggering the
xdg_popup misbehaviors on touch. Those seem to be due to the popup window being
shown and hidden through popup_done whithin a single frame, so the window
GdkFrameClock gets to be started, but impl->surface is already NULL at the time
after_paint() is called.

I'm attaching a patch to add a check for the window being mapped at that time,
in order to avoid NULL access.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Wayland-bugs mailing list