Bug 222260
| Summary: | gtk2 leaks memory on expose | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Davyd <davyd> | ||||||
| Component: | gtk2 | Assignee: | Matthias Clasen <mclasen> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 6 | CC: | idht4n, tonynelson | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2007-02-02 21:31:38 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Davyd
2007-01-11 07:23:24 UTC
Created attachment 145319 [details]
testcase to demonstrate leak, compile with gcc -g -o gtk_rc_style_test `pkg-config --cflags --libs gtk+-2.0` gtk_rc_style_test.c
Created attachment 145320 [details]
valgrind log from one of my tests
gtk2-2.10.4-10.fc6.i386 has several leaks that are fixed in 2.10.7 upstream and in rawhide, according to the changelog. I noticed a leak when setting a statusbar's text a few million times (used over 500 MB memory), and that replacing the statusbar with a label did the same. This was in Python, so I wrote a trivial GTK program in C, which leaked the same way. Linking that program against a libgtk built from rawhide fixes that leak. RFE gtk2 2.10.7 as in rawhide? No, 2.10.7 has other issues. I'll do a 2.10.8 early next week, that will hopefully find its way into fc6-updates OK. That's why I didn't make the request as a separate RFE. I certainly didn't test anything else with 2.10.7. *** Bug 220903 has been marked as a duplicate of this bug. *** 2.10.8 is in FC-6 updates now and should resolve this issue. |