Bug 125896

Summary: Segfault on loading gtk-ok.png
Product: [Fedora] Fedora Reporter: Michael Soulier <msoulier>
Component: gtk2Assignee: Matthias Clasen <mclasen>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-07-14 18:08:58 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:

Description Michael Soulier 2004-06-13 14:45:22 UTC
Hello,

I am using wxPython wxPythonGTK2-py2.2-2.5.1.5-1, which uses GTK2, and
I'm having a problem with it. 

When I try to pop up a dialog box using the stock ok icon, I get this:

free(): invalid pointer 0x9f5ab60!

(wxctw:1155): Gtk-WARNING **: Error loading icon: Failed to load image
'/usr/share/icons/Bluecurve/20x20/stock/gtk-ok.png': Fatal error in
PNG image file: invalid stored block lengths
Segmentation fault

I can load that image just fine in the gimp, so I'm not sure what the
issue is, but it's coming from the GTK2 layer apparently.

I'm using gtk2-2.2.4-5.1

Comment 1 Matthias Clasen 2004-06-26 03:56:53 UTC
Does this still occur with gtk2 2.4.x ?
What version of libpng ?
Do you have a stacktrace ?

Comment 2 Michael Soulier 2004-06-28 01:25:43 UTC
> Does this still occur with gtk2 2.4.x ?

I haven't tried it. I'm using FC 1. 

> What version of libpng ?

libpng-1.2.2-20

> Do you have a stacktrace ?

No. I'd have to reinstall the broken wxPython to get one. It should be
fully
reproduceable on FC 1. 

Comment 3 Matthias Clasen 2004-07-14 18:08:58 UTC
Works for me in rawhide, so I assume it was fixed by the libpng fixes
which happened since fc1.