SRU: Evince crashes after opening certain PDF file (due to poppler)

Bug #1072129 reported by mschaeffler
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evince
Unknown
Critical
Poppler
Unknown
Unknown
evince (Ubuntu)
Invalid
High
Unassigned
Declined for Raring by Sebastien Bacher
Quantal
Invalid
High
Unassigned
poppler (Ubuntu)
Fix Released
High
Unassigned
Declined for Raring by Sebastien Bacher
Quantal
Fix Released
High
Unassigned

Bug Description

[ Impact ]

Some apps (which use Poppler) crash when loading some pdf files.

[ Test case ]

 * Open these files with Evince:
   - https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1072129/+attachment/3415595/+files/3898071.pdf
   - http://asiancentury.dpmc.gov.au/sites/default/files/white-paper/australia-in-the-asian-century-white-paper.pdf
   - http://pgfplots.sourceforge.net/pgfplots.pdf (pages 102 and 129)
   After a few seconds, Evince will crash

[ Regression Potential ]

 * The new proposed version contains a patch from Git upstream repository. It is also available in the 0.21.1 version. According to Poppler devs, it should have any regression:
   - http://cgit.freedesktop.org/poppler/poppler/commit/?id=ae8fc0cbfc6123189e17b3cf1286e0540f181646
   - https://bugs.freedesktop.org/show_bug.cgi?id=56463

[ Other Info ]

 * These BZR branches should fix this bug:
   - lp:~matttbe/ubuntu/raring/poppler/lp1072129
   - lp:~matttbe/ubuntu/quantal/poppler/lp1072129
 * You can easily test the new version by using these packages:
   - Ubuntu Raring 13.04: https://launchpad.net/~matttbe/+archive/ppa/+sourcepub/2781218/+listing-archive-extra
   - Ubuntu Quantal 12.10: https://launchpad.net/~matttbe/+archive/ppa/+sourcepub/2781220/+listing-archive-extra

[ Original bug report ]

evince crashes after opening the attached PDF file.

This is printed on the console:

evince:2460): Gdk-CRITICAL **: gdk_error_trap_pop_internal: assertion `trap != NULL' failed
failed to look up ��
failed to look up ��
failed to look up ��
failed to look up ��
failed to look up ��
failed to look up ��
failed to look up ��
failed to look up ��
failed to look up ��
failed to look up ��
failed to look up ��
failed to look up ��
evince: GfxState.cc:4159: void GfxGouraudTriangleShading::getTriangle(int, double*, double*, GfxColor*, double*, double*, GfxColor*, double*, double*, GfxColor*): Zusicherung »!isParameterized()« nicht erfüllt.
Abgebrochen

Related branches

Revision history for this message
mschaeffler (mschaeffler) wrote :
Revision history for this message
mschaeffler (mschaeffler) wrote :

This is happening on Ubuntu 12.10 with evince version 3.6.0

Revision history for this message
Sam L. (somethinginteres) wrote :

I can confirm this bug is occurring on 12.10 with evince 3.6.0. Marked as "Confirmed".

Another file that results in the crash can be found at http://asiancentury.dpmc.gov.au/sites/default/files/white-paper/australia-in-the-asian-century-white-paper.pdf

Terminal output:

 >> evince australia-in-the-asian-century-white-paper.pdf

evince: GfxState.cc:4159: void GfxGouraudTriangleShading::getTriangle(int, double*, double*, GfxColor*, double*, double*, GfxColor*, double*, double*, GfxColor*): Assertion `!isParameterized()' failed.
Aborted (core dumped)

-----------------------------------------------------------------

Devs, please let me know if I can provide further information.

Changed in evince (Ubuntu):
status: New → Confirmed
Changed in evince:
importance: Unknown → Critical
status: Unknown → New
Changed in evince:
status: New → Unknown
Revision history for this message
Matthieu Baerts (matttbe) wrote :

It seems this bug is due to Poppler: https://bugs.freedesktop.org/show_bug.cgi?id=56463

And this patch should fix this bug: http://cgit.freedesktop.org/poppler/poppler/commit/?id=ae8fc0cbfc6123189e17b3cf1286e0540f181646

Is it possible to confirm that this new patched version available on my ppa:matttbe/ppa fixes this bug? :)
  * Ubuntu Raring 13.04: https://launchpad.net/~matttbe/+archive/ppa/+sourcepub/2781218/+listing-archive-extra
  * Ubuntu Quantal 12.10: https://launchpad.net/~matttbe/+archive/ppa/+sourcepub/2781220/+listing-archive-extra

Revision history for this message
mschaeffler (mschaeffler) wrote :

With this PPA Evince does no longer crash.

Changed in evince (Ubuntu):
status: Confirmed → Invalid
Changed in poppler (Ubuntu):
status: New → Confirmed
summary: - evince crashes after opening certain PDF file
+ SRU: Evince crashes after opening certain PDF file (due to poppler)
description: updated
Changed in poppler (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package poppler - 0.20.4-0ubuntu2

---------------
poppler (0.20.4-0ubuntu2) raring; urgency=low

  * debian/patches/git_gouraud_shading_support.patch: (LP: #1072129)
    - Evince crashes after opening certain PDF file because parameterized
      Gouraud shading is not supported.
 -- Matthieu Baerts (matttbe) <email address hidden> Sat, 10 Nov 2012 16:51:12 +0100

Changed in poppler (Ubuntu):
status: Fix Committed → Fix Released
Changed in evince (Ubuntu Quantal):
status: New → Triaged
status: Triaged → Invalid
Changed in poppler (Ubuntu Quantal):
status: New → Triaged
importance: Undecided → High
Changed in poppler (Ubuntu):
importance: Undecided → High
Changed in evince (Ubuntu):
importance: Undecided → High
Changed in evince (Ubuntu Quantal):
importance: Undecided → High
Revision history for this message
mschaeffler (mschaeffler) wrote :

)I have seen that the bug is fixed for raring, but what is with quantal?

Revision history for this message
Matthieu Baerts (matttbe) wrote :

@mschaeffler: Ubuntu-SRU team has to accept this new version. Feel free to contact members of this team on IRC to give more details about this bug ;)

Changed in poppler (Ubuntu Quantal):
status: Triaged → In Progress
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello mschaeffler, or anyone else affected,

Accepted poppler into quantal-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/poppler/0.20.4-0ubuntu1.1 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 add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and 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 poppler (Ubuntu Quantal):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
mschaeffler (mschaeffler) wrote :

I tested the version 0.20.4-ubuntu1.1_amd64.
Now the issue is solved and I can open the PDF file.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Ilya Barygin (randomaction) wrote :

Comfirming the fix for i386.

Revision history for this message
Colin Watson (cjwatson) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package poppler - 0.20.4-0ubuntu1.1

---------------
poppler (0.20.4-0ubuntu1.1) quantal-proposed; urgency=low

  * debian/patches/git_gouraud_shading_support.patch: (LP: #1072129)
    - Evince crashes after opening certain PDF file because parameterized
      Gouraud shading is not supported.
 -- Matthieu Baerts (matttbe) <email address hidden> Sat, 10 Nov 2012 16:53:36 +0100

Changed in poppler (Ubuntu Quantal):
status: Fix Committed → Fix Released
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.