[cairo-bugs] [Bug 56698] Crash in libcairo when opening a (corrupted?) svg file with gdk_pixbuf_new_from_file_at_scale

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Nov 2 15:44:53 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=56698

--- Comment #5 from Matttbe <matttbe at gmail.com> ---
Thank you for this quick answer!

I was not able to reproduce this crash with rsvg-view too.
But I can reproduce it with this tiny code:

===========

#include <stdio.h>
#include <gtk/gtk.h>

int main (int argc, char **argv)
{
    gtk_init (&argc, &argv);
    GdkPixbuf *pixbuf = gdk_pixbuf_new_from_file_at_size ("geany.svg", 64, 64,
NULL);
}

===========

Compiled with:
  $ gcc -ggdb test.c -o test `pkg-config --libs --cflags gtk+-3.0`

And launched from the same dir of the 'geany.svg' file
(https://bugs.freedesktop.org/attachment.cgi?id=69464)

I have the same crash as before: 
   0x00007ffff5cad02c in full_row (mask=1, coverages=0x797b28, active=0x797aa0)
at /build/buildd/cairo-1.12.2/src/cairo-tor-scan-converter.c:1361


Is it a bug in Gdk Pixbuf? But should it crash in libcairo?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20121102/3ff0a7b0/attachment.html>


More information about the cairo-bugs mailing list