** Description changed:

  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)
+   * 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
+   * 
http://cgit.freedesktop.org/cairo/commit/?id=797441093a8346003552e0cf89aef2a644ff53ab
  
- Test case:
-  1] Open this file with Evince: 
http://kernsec.org/files/LinuxSecuritySummit2012_rpm.pdf
+ 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`
+  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;
+  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.
+ 
+ A bzr branch will be linked to this bug report: 
lp:~matttbe/ubuntu/raring/cairo/1074667
+ This new version should fix this bug.
  
  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
+ [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

** Bug watch added: freedesktop.org Bugzilla #54822
   https://bugs.freedesktop.org/show_bug.cgi?id=54822

** Also affects: libcairo via
   https://bugs.freedesktop.org/show_bug.cgi?id=54822
   Importance: Unknown
       Status: Unknown

-- 
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:
  Cairo crashes when loading some svg or pdf files

Status in libcairo  -  cairo vector graphics library:
  Unknown
Status in “cairo” package in Ubuntu:
  New

Bug description:
  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

Reply via email to