GNOME Bugzilla – Bug 507605
[patch] gtk_recent_files_menu_populate() does not guard properly against recursion
Last modified: 2008-02-13 09:43:25 UTC
Steps to reproduce: 1. Install Ubuntu Hardy to get gtk+ 2.12.3. 2. Run pbuilder. 3. Watch as gnome-panel or other gtk+ applications crash in idle_populate_func() due to recursion in gtk_recent_files_menu_populate(). Stack trace:
+ Trace 184236
Thread 1 (process 6302)
Other information: Included is a patch to fix this bug.
Created attachment 102256 [details] [review] Fix possible recursion in gtk_recent_files_menu_populate().
patch looks fine. if you don't have commit access I'll commit it myself as soon as possible.
hi, that's great. i don't have commit access, so you committing it would be a wonderful idea.
fixed in trunk, will backport it to gtk-2-12 as well 2008-01-10 Emmanuele Bassi <ebassi@gnome.org> * gtk/gtkrecentchoosermenu.c: (idle_populate_func), (idle_populate_clean_up): Fix possible recursion by resetting the idle source id. (#507605, William Pitcock)
Seems that you forgot to backport it to 2.12 as well... or is there another reason why it isn't there yet? :)
mmh, apparently I thought I did commit it to both branches, but turns out it's only in trunk. backported now. 2008-02-13 Emmanuele Bassi <ebassi@gnome.org> Merge from trunk: * gtk/gtkrecentchoosermenu.c: (idle_populate_func), (idle_populate_clean_up): Fix possible recursion by resetting the idle source id. (#507605, William Pitcock)