Chrome crashes when opening system (e.g. save file) dialog after a notification window has appeared
Submitted by Andy Getzendanner
Created attachment 300866 patch: NULL-check gdkwin to prevent use-after-free in gdk_window_add_filter
I can reliably reproduce this crash when using awesome WM by triggering a notification popup (e.g. email myself in GMail), waiting for it to go away, and then opening a file dialog (e.g. ^S). I expect disabling Chrome notification popups will be an effective workaround, but I haven't tried that.
The attached patch fixes the problem, which seems to be a use-after-free which occurs because gdk_window_lookup_for_display returns NULL when no window is found but gdk_window_add_filter interprets gdkwin == NULL as 'all windows'.
Ubuntu 14.04 Gtk+ 2.24.23-0ubuntu1.1 Chrome 40.0.2214.115 awesome v3.4.15
Patch 300866, "patch: NULL-check gdkwin to prevent use-after-free in gdk_window_add_filter":