[Wayland-bugs] [Bug 784319] Sometimes tooltip_popup_timeout() in gtk/gtktooltip.c causes crash after closing a window

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Fri Jul 7 13:42:21 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=784319

--- Comment #11 from Olivier Fourdan <ofourdan at redhat.com> ---
I tried to reproduce this with a simple gtk+ program, but failed to reproduce,
so it could be /something/ that firefox does.

>From what I can see, we get an additional motion event for the gdk window which
is about to be destroyed, so we end up in gtk_tooltip_handle_event_internal()
with the event window being from the widget that has just been unrealized, so
it will start a gtk_tooltip_start_delay() that will end up crashing.

Obviously, attachment 354667 will avoid the crash, but I cannot really tell
whether or not this is correct unless I understand what mechanism leads to this
issue (i.e. I have the feeling that the patch is hiding the problem more than
solving it, and I'm not even sure the problem is in gtk+ rather than firefox in
the first place).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20170707/952ed822/attachment.html>


More information about the wayland-bugs mailing list