GNOME Bugzilla – Bug 669701
GTK crashes when resizing the window
Last modified: 2014-01-25 03:24:23 UTC
Only happens if the application has many widgets, this is more likely on application with tabs (AKA Notebooks). But I found this happens on some other escenaries. It seems to only happen with the MS-Windows theme. I've attached the code to reproduce this bug. In order to reproduce this bug, you must keep resizing the window over and over again, the ram consumption will keep growing very fast and the application will crash reporting the following errors: ...\pygtk_resizing.py:133: GtkWarning: gdkgc-win32.c:828: Sav eDC failed: La operaci├│n se complet├│ correctamente. gtk.main() ...\pygtk_resizing.py:133: GtkWarning: gdkgc-win32.c:968: Res toreDC failed: La operaci├│n se complet├│ correctamente. gtk.main() pnc: E** GLib:ERROR:gmain.c:2444:g_main_dispatch: assertion failed: (current->dispatching _sources == ¤t_source_link) This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. Tested on: Python 2.7 Pygtk 2.24.1 (gtk+ 2.24.8) Windows 7 MS-Windows Theme
Created attachment 207138 [details] pygtk bug on resize .
> (gtk+ 2.24.8) That's old. According to http://ftp.acc.umu.se/pub/GNOME/binaries/win32/gtk+/2.24/ , 2.24.10 is the last version.
Well, Idid try the latest release from http://www.gtk.org/download/win32.php and this bug was not fixed.
It also happens if you drag the window around in an erratic way for a long time (well, a few minutes). As I said most people wont do things like this, it's just an "easy" way to reproduce this bug (resizing is easier). But I've experience this same crash (rarely) in the daily use.
This should have been fixed in 2.24.9. Seeing I never managed to find the time to upload win32 binaries for that release and 2.24.10 win32 binaries have been uploaded just yesterday + a matching pygtk all-in-one 2.24.2 just moments ago, I'd appreciate it if you could test this again and report back. Thanks!
Thanks for your work Dieter, but yes, the bug still persist.
Funny thing, it only happens when you set the tabs position at the bottom (notebook.set_tab_pos(gtk.POS_BOTTOM)) .
Same thing at the right and left positions. Sorry about the flooding.
Likely a duplicate of bug 671538.
*** This bug has been marked as a duplicate of bug 671538 ***