https://bugzilla.gnome.org/show_bug.cgi?id=784319
Bug ID: 784319
Summary: Sometimes tooltip_popup_timeout() in gtk/gtktooltip.c
causes crash after closing a window
Classification: Platform
Product: gtk+
Version: 3.20.x
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: Backend: Wayland
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected], [email protected]
GNOME version: ---
Created attachment 354667
--> https://bugzilla.gnome.org/attachment.cgi?id=354667&action=edit
A patch to avoid the crash
I'm now porting Firefox to Wayland/Weston on Renesas RZ/G1E.
* Renesas RZ/G1E:
http://elinux.org/RZ-G/Boards/SK-RZG1E
* How to build BSP for it:
http://elinux.org/RZ-G/Boards/Yocto_2.0
* Additional Yocto recipes to build Firefox:
https://github.com/mozilla-japan/meta-browser/tree/firefox-52.1esr
https://github.com/mozilla-japan/meta-gecko-embedded
The version of GTK+ is 3.20.9.
Sometimes tooltip_popup_timeout() in gtk/gtktooltip.c causes crash after
closing a browser window.
Although I'm not sure whether it's Firefox's fault or GTK+'s fault, I think
GTK+ should ensure to avoid the crash. It seems that the code in
gtk/gtktooltip.c doesn't observe destroying GdkWindow after registering a
timeout function, it may be the cause of the bug.
The attached patch seems work fine for me, it can avoid crash on my
environment.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
wayland-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs