After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 74708 - process_updates reentrancy problem
process_updates reentrancy problem
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: X11
2.0.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2002-03-14 22:06 UTC by Owen Taylor
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Rather improbable test case demonstrating problem (771 bytes, text/plain)
2002-03-14 22:08 UTC, Owen Taylor
Details

Description Owen Taylor 2002-03-14 22:06:33 UTC
No reference is held to the windows on updates_window list
during gdk_window_process_updates() ... if one got freed
during expose event processing (takes a lot of work ... need to 
destroy it, then iterate the main loop to get the destroy notify 
that removes it from the XID table) then it would still
try to access the destroyed window. (See bug 74311)
Comment 1 Owen Taylor 2002-03-14 22:08:41 UTC
Created attachment 7179 [details]
Rather improbable test case demonstrating problem
Comment 2 Owen Taylor 2002-03-14 22:12:56 UTC
Thu Mar 14 17:09:52 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkwindow.c (gdk_window_process_all_updates): Fix rather
        improbable reentrancy problem if a window is destroyed
        while updates are being processed on another window. (Noticed
        by Michael Meeks, #74708)