Hello Matthieu, or anyone else affected,

Accepted cairo into quantal-proposed. The package will build now and be
available at http://launchpad.net/ubuntu/+source/cairo/1.12.2-1ubuntu2.2
in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please change the bug tag from
verification-needed to verification-done.  If it does not, change the
tag to verification-failed.  In either case, details of your testing
will help us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: cairo (Ubuntu Quantal)
       Status: In Progress => Fix Committed

** Tags added: verification-needed

-- 
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 Committed

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     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to