[gtkada] Problems with GDK.Pixbuf.Composite after upgrade?

Bobby D. Bryant bdbryant at mail.utexas.edu
Sat Mar 10 15:09:38 CET 2001


Has anyone had trouble with GDK.Pixbuf.Composite after upgrading
gdk-pixbuf from 0.5.0 to 0.8.0 or 0.9.0 ?

The .Composite in the testgtk program that ships with GtkAda still works
for me, but the the .Composite in some of my own code that worked
previously now fails with Storage_Error.  (The relevant pixbufs are much
larger than the ones in the example program.  I have set
GNAT_STACK_LIMIT as high as 20480, and the .Composite still fails.)

If I trap the exception but continue running, the visible symptom is
that the target pixbuf is corrupted with horizontal lines and rows of
horizontal speckles of various colors.  These are the full width of the
pixbuf, but only in the vertical range of where the smaller composition
was supposed to occur.

I have viewed the pixbufs separately to make sure that they are not
already corrupted before I invoke .Composite, and they seem to be OK.

The upgrade to gdk-pixbuf was part of a system upgrade, so I cannot
downgrade gdk-pixbuf to 0.5.0 to see whether it still works, due to
other system dependencies.

Has anyone seen something similar?  Does the underlying code for the
.Composite work differently now than previously?

Thanks,

Bobby Bryant
Austin, Texas






More information about the gtkada mailing list