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 669701 - GTK crashes when resizing the window
GTK crashes when resizing the window
Status: RESOLVED DUPLICATE of bug 671538
Product: gtk+
Classification: Platform
Component: Widget: Other
2.24.x
Other Windows
: Normal major
: Small fix
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2012-02-08 20:24 UTC by Esteban
Modified: 2014-01-25 03:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
pygtk bug on resize . (3.77 KB, text/x-python)
2012-02-08 20:25 UTC, Esteban
Details

Description Esteban 2012-02-08 20:24:10 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 == &current_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
Comment 1 Esteban 2012-02-08 20:25:05 UTC
Created attachment 207138 [details]
pygtk bug on resize .
Comment 2 André Klapper 2012-02-09 08:48:45 UTC
> (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.
Comment 3 Esteban 2012-02-09 11:29:04 UTC
Well, Idid try the latest release from http://www.gtk.org/download/win32.php and this bug was not fixed.
Comment 4 Esteban 2012-02-09 20:47:23 UTC
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.
Comment 5 Dieter Verfaillie 2012-02-09 21:34:53 UTC
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!
Comment 6 Esteban 2012-02-09 22:00:41 UTC
Thanks for your work Dieter, but yes, the bug still persist.
Comment 7 Esteban 2012-02-12 22:51:12 UTC
Funny thing, it only happens when you set the tabs position at the bottom (notebook.set_tab_pos(gtk.POS_BOTTOM)) .
Comment 8 Esteban 2012-02-12 23:22:47 UTC
Same thing at the right and left positions.

Sorry about the flooding.
Comment 9 Morten Welinder 2013-08-23 02:30:38 UTC
Likely a duplicate of bug 671538.
Comment 10 Matthias Clasen 2014-01-25 03:24:23 UTC

*** This bug has been marked as a duplicate of bug 671538 ***