segfault in gdk_pixbuf_render_to_drawable ()



I'm rendering a PNG file into a drawable with

gdk_pixbuf_render_to_drawable(
   pbuf,
   plot->pixmap,
   plot->canvas->style->fg_gc[GTK_STATE_NORMAL],
   0, 0, 0, 0, width, height,
   GDK_RGB_DITHER_NONE, 0, 0
);

where "plot" is a struct that has the appropriate members.

This works just fine when the app is run locally, but when
I run it from a remote server (X session connected via ssh)
I get a reliable segfault

#0  0x4037e3ec in gdk_draw_rgb_image_dithalign ()
#1  0x40238254 in gdk_pixbuf_render_to_drawable ()

This is with gtk 1.2.X and gdk-pixbuf 0.11.0.  Any ideas on
what's going wrong?

Allin Cottrell.





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