Hi,
I tracked this bug down to a null ptr dereference in cairo.
The whole thing starts in gtk/gtk_thumbnail.c, in line 54
GdkPixmap *pixmap = gdk_pixmap_new(NULL, content->width, content->width, depth);

will fail for whatever reason on this site.
After that current_cr is assigned to pixmap which is NULL at 
this point. current_cr is then later used as the cairo 
object that is worked with in gtk/gtk_plotters.c.
The nsgtk_set_colour() function cairo_set_source_rgba() is 
called which then dereferences cr (cr->status) and this 
causes the segfault.

Checking pixmap for NULL fixes this for me but I am not sure 
if that is the appropriate fix or the initial gdk_pixmap_new 
call should not fail normally. I already reported that to 
the upstream people in IRC, just wanted to let you know it 
is being worked on that.

Kind regards
Nico

-- 
Nico Golde - http://www.ngolde.de - [EMAIL PROTECTED] - GPG: 0x73647CFF
For security reasons, all text in this mail is double-rot13 encrypted.

Attachment: pgp704315NxUc.pgp
Description: PGP signature

Reply via email to