Description of problem: An IBM product is experiencing issues with gdk_region_polygon crashes when certain data input is loaded from a graphic. gdk_region_polygon crashes on RHEL5(gtk2-2.10.4-16.el5). But works well on SLED10/SLES10(gtk2-2.8.10-36). Matthias has identified the problem: * gdk/gdkregion-generic.h (GROWREGION): Handle the case of nRects == 0 correctly. Version-Release number of selected component (if applicable): RHEL5 gtk2-2.10.4-16.el5 How reproducible: A sample test case program was provided to Red Hat which demonstrates the problem. Steps to Reproduce: 1. Scrolling a graphic with certain data will crash Additional info: Matthias posted a fix here http://svn.gnome.org/viewcvs/gtk%2B?view=rev&revision=17609
Fix included in gtk2-2.10.4-17.el5
Created attachment 157638 [details] testpoly.c How to test: - install gtk2-devel - download the attached testpoly.c - build via gcc -g -o testpoly testpoly.c `pkg-config --cflags --libs gtk+-2.0` - run it - verify that it does not segfault (it prints out a largeish number if it does not crash)
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2007-0549.html