Weird behavior with gdk-pixbuf



Is there anything special required by gdk-pixbuf? Memory, libraries, anything that might make it fail silently?

Reason I ask is that I just moved my app over to the real hardware (XFree 3.3.6 vs 4.0, btw) and I can't render anything to the screen any more. My previous code, using RGBs, worked fine. Go figure!

I now get assertions:

*** CRITICAL **: file gdk-pixbuf-render.c: line 210 (gdk_pixbuf_render_to_drawable): assertion `src_y >= 0 && src_y + height <= pixbuf->height' failed.

I get a similar assertion in scaling.

The pixbufs are being created OK, so I'm not out of memory (though physical memory available is pretty low).

Any ideas on how I can debug this? The program works A-OK on my development machine, of course.

--
-- Lewin A.R.W. Edwards (Embedded Engineer)
Work     http://www.digi-frame.com/
Personal http://www.larwe.com/
Tel (914) 937-4090 9am-6pm ET M-F






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]