This bug was fixed in the package cairo - 1.12.2-1ubuntu2.2
---------------
cairo (1.12.2-1ubuntu2.2) quantal-proposed; urgency=low
* debian/patches/git-crash_in_tor-fudge_the_edge.patch: Fix crashes when
loading some svg or pdf files (LP: #1074667).
-- Matthieu Baerts (matttbe) <[email protected]> Sat, 10 Nov 2012 15:21:25
+0100
** Changed in: cairo (Ubuntu Quantal)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to cairo in Ubuntu.
https://bugs.launchpad.net/bugs/1074667
Title:
SRU: Cairo crashes when loading some svg or pdf files
Status in libcairo - cairo vector graphics library:
Fix Released
Status in “cairo” package in Ubuntu:
Fix Released
Status in “cairo” source package in Quantal:
Fix Released
Bug description:
[ Impact ]
Some apps (which use Cairo) crash when loadgin some svg[1] or pdf[2]
files.
[ Test case ]
* Open this file with Evince:
http://kernsec.org/files/LinuxSecuritySummit2012_rpm.pdf
* Open the svg file[1] with this little program compiled with:
$ gcc -ggdb test.c -o test `pkg-config --libs --cflags gtk+-3.0`
Then, launch it from the same dir of the 'geany.svg' file[1]
===========
#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);
return 0;
}
===========
[ Regression Potential ]
* The new proposed version contains a patch from Git upstream repository. It
is also available in the 1.12.4 version. According to Cairo devs, it should
have any regression:
-
http://cgit.freedesktop.org/cairo/commit/?id=797441093a8346003552e0cf89aef2a644ff53ab
- https://bugs.freedesktop.org/show_bug.cgi?id=54822
- https://bugs.freedesktop.org/show_bug.cgi?id=56698 (a duplicated bug)
[ Other Info ]
* This BZR branch should fix this bug:
lp:~matttbe/ubuntu/quantal/cairo/lp1074667
* You can easily test the new version by using these packages on Quantal:
https://launchpad.net/~matttbe/+archive/experimental-debian-build/+sourcepub/2781148/+listing-archive-extra
* Or on Ubuntu Raring:
https://launchpad.net/~matttbe/+archive/ppa/+sourcepub/2767939/+listing-archive-extra
[ Original bug report ]
Hello,
Cairo (libcairo2 1.12.2-2ubuntu1) crashes when loading some svg[1] or pdf[2]
files.
This bug has already been reported to Cairo devs:
* https://bugs.freedesktop.org/show_bug.cgi?id=54822
* https://bugs.freedesktop.org/show_bug.cgi?id=56698 (a duplicated bug)
And it's already fixed in the bug-fix version 1.12.4 thanks to this commit by
Chris Wilson:
*
http://cgit.freedesktop.org/cairo/commit/?id=797441093a8346003552e0cf89aef2a644ff53ab
How to reproduce this crash:
1] Open this file with Evince:
http://kernsec.org/files/LinuxSecuritySummit2012_rpm.pdf
2] Open the svg file[1] with this little program compiled with:
$ gcc -ggdb test.c -o test `pkg-config --libs --cflags gtk+-3.0`
Then, launch it from the same dir of the 'geany.svg' file[1]
===========
#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);
return 0;
}
===========
A bzr branch will be linked to this bug report:
lp:~matttbe/ubuntu/raring/cairo/1074667
This new version should fix this bug.
How to easily test the new version:
You can use the new version of this package available in my ppa:matttbe/ppa
https://launchpad.net/~matttbe/+archive/ppa/+sourcepub/2767939/+listing-archive-extra
Is it possible to upload this new package to Raring repos?
And is it also possible to backport this change to Quantal-update repos?
Thank you for your help! :)
[1] The svg file joined to this bug report:
https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/1074667/+attachment/3422628/+files/geany.svg
[2] http://kernsec.org/files/LinuxSecuritySummit2012_rpm.pdf
To manage notifications about this bug go to:
https://bugs.launchpad.net/libcairo/+bug/1074667/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp