Comment 14 for bug 144326

Revision history for this message
Alexander Sack (asac) wrote :

gtk 2.12 introduced gdk_window_is_toplevel_frozen (window) and makes use of it in gdk_window_process_all_updates; this introduces crashes when there are NULL pointers in update_windows list; in addition gdk_window_get_toplevel crashes when there is no TOPLEVEL ancestor.

Both cases appear to happen in this firefox "print preview" crash.

This patch adds some NULL checks to make gdkwindow more failsafe in these cases.