GdkPixbufLoader not closed properly if loading an icon from the embedded resources fails

Bug #987396 reported by Cameron White
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pinta
Invalid
Medium
Cameron White

Bug Description

If Gdk.Pixbuf.LoadFromResource throws an exception due to an invalid resource name, the following warning later shows up in the console:

(Pinta:12861): GdkPixbuf-WARNING **: GdkPixbufLoader finalized without calling gdk_pixbuf_loader_close() - this is not allowed. You must explicitly end the data stream to the loader before dropping the last reference.

This occurs if an icon is missing from both the default theme and Pinta's embedded resources.

Revision history for this message
Cameron White (cameronwhite91) wrote :

This started occurring after the fix for bug #879043. In that fix, we caught the exceptions and provided a fallback icon, whereas Pinta would previously just crash.

Revision history for this message
Cameron White (cameronwhite91) wrote :

I can't reproduce this in Pinta 2.0. It's obsolete with changes to Pinta.Resources and GtkSharp 3

Changed in pinta:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.