Regression: PDF files created with Inkscape are crashing Xelatex

Bug #1051939 reported by Peter Würtz
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
cairo (Debian)
New
Unknown
cairo (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

After upgrading from Ubuntu 12.04 to Ubuntu 12.10 the PDF files created by Inkscape are causing Xelatex to crash. This happens when a figure includes gradients. The compilation process exits with the message:
** ERROR ** pdf_link_obj(): passed invalid object

As discussed in this thread, the error seems to appear for PDF file with broken references:
http://tug.org/pipermail/xetex/2010-December/019653.html

Such files seem to be fixed by running "pdftk". The version number of inkscape in 12.04 and 12.10 didn't change though, the libpoppler and cairo libraries did, so the error might be located there...

Steps to reproduce:
Create a figure with a gradient in Inkscape and save it as PDF. Include this PDF in a latex document and try to compile it with xelatex.

Revision history for this message
Peter Würtz (pwuertz) wrote :
Revision history for this message
Peter Würtz (pwuertz) wrote :

Ok.. I copied libcairo.so.2 (version 1.10.2) from an ubuntu 12.04 machine along with the required libpoppler.so.19 and libpoppler-glib.so.8.

When Inkscape uses the old cairo version, the exported PDF files work flawlessly with Xelatex.

affects: inkscape → libcairo (Ubuntu)
summary: - PDF files created with Inkscape are crashing Xelatex
+ Regression: PDF files created with Inkscape are crashing Xelatex
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in libcairo (Ubuntu):
status: New → Confirmed
Revision history for this message
Michel Briand (michelbriand) wrote :

Confirmed on Debian Wheezy

ii libcairo2:amd64 1.12.2-2 amd64 The Cairo 2D vector graphics library

Changed in cairo (Debian):
status: Unknown → New
Revision history for this message
Adrian Johnson (ajohnson-redneon) wrote :
Mathew Hodson (mhodson)
affects: libcairo (Ubuntu) → cairo (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.