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: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
                CC: [email protected], [email protected]
     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.
_______________________________________________
Wayland-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to