<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED DUPLICATE - Crash in libcairo when opening a (corrupted?) svg file with gdk_pixbuf_new_from_file_at_scale"
href="https://bugs.freedesktop.org/show_bug.cgi?id=56698#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED DUPLICATE - Crash in libcairo when opening a (corrupted?) svg file with gdk_pixbuf_new_from_file_at_scale"
href="https://bugs.freedesktop.org/show_bug.cgi?id=56698">bug 56698</a>
from <span class="vcard"><a class="email" href="mailto:matttbe@gmail.com" title="Matttbe <matttbe@gmail.com>"> <span class="fn">Matttbe</span></a>
</span></b>
<pre>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
(<a href="https://bugs.freedesktop.org/attachment.cgi?id=69464">https://bugs.freedesktop.org/attachment.cgi?id=69464</a>)
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?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>