evince crashes with cairo_surface_destroy

Bug #146860 reported by Marc Carter
28
Affects Status Importance Assigned to Milestone
libcairo
Fix Released
Medium
cairo (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: evince

Evince crashes a few seconds after loading the following file:
  http://www.londontown.com/ALondonCalendar2007.pdf
with the following stdout:
~$ evince
/bin/sh: /usr/bin/esd: not found
evince: /build/buildd/libcairo-1.4.10/src/cairo-surface.c:394: cairo_surface_destroy: Assertion `surface->ref_count > 0' failed.
Aborted (core dumped)

[ I don't believe the esd line has anything to do with this bug. ]

ubuntu gutsy
evince 2.20.0

ProblemType: Bug
Architecture: i386
Date: Sat Sep 29 17:13:26 2007
DistroRelease: Ubuntu 7.10
ExecutablePath: /usr/bin/evince
Package: evince 2.20.0-0ubuntu1
PackageArchitecture: i386
ProcCmdline: evince
ProcCwd: /home/marc
ProcEnviron:
 SHELL=/bin/bash
 PATH=/home/marc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_GB.UTF-8
SourcePackage: evince
Uname: Linux computron 2.6.22-12-generic #1 SMP Sun Sep 23 18:11:30 GMT 2007 i686 GNU/Linux

Tags: apport-bug
Revision history for this message
Marc Carter (drekbour) wrote :

Binary package hint: evince

Evince crashes a few seconds after loading the following file:
  http://www.londontown.com/ALondonCalendar2007.pdf
with the following stdout:
~$ evince
/bin/sh: /usr/bin/esd: not found
evince: /build/buildd/libcairo-1.4.10/src/cairo-surface.c:394: cairo_surface_destroy: Assertion `surface->ref_count > 0' failed.
Aborted (core dumped)

[ I don't believe the esd line has anything to do with this bug. ]

ubuntu gutsy
evince 2.20.0

ProblemType: Bug
Architecture: i386
Date: Sat Sep 29 17:13:26 2007
DistroRelease: Ubuntu 7.10
ExecutablePath: /usr/bin/evince
Package: evince 2.20.0-0ubuntu1
PackageArchitecture: i386
ProcCmdline: evince
ProcCwd: /home/marc
ProcEnviron:
 SHELL=/bin/bash
 PATH=/home/marc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_GB.UTF-8
SourcePackage: evince
Uname: Linux computron 2.6.22-12-generic #1 SMP Sun Sep 23 18:11:30 GMT 2007 i686 GNU/Linux

Revision history for this message
Marc Carter (drekbour) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug report. This bug has been reported to the developers of the software. You can track it and make comments here: https://bugs.freedesktop.org/show_bug.cgi?id=12619

Changed in evince:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: New → Triaged
Changed in libcairo:
status: Unknown → Confirmed
Revision history for this message
In , Michael R. Head (burner) wrote :

It also crashes around page 11 in this PDF: http://www.acm.org/acmqueue/digital/Queuevol5no6_September2007.pdf

Revision history for this message
In , Michael R. Head (burner) wrote :

BTW: I get the assertion failure on my 64-bit machine with a Xinerama setup on an nVidia card using the binary driver version 100.14.19.

On the 32-bit install on my laptop with the same nvidia driver version, with a single monitor, I don't get it.

Revision history for this message
In , Chris Wilson (ickle) wrote :

(In reply to comment #2)
> BTW: I get the assertion failure on my 64-bit machine with a Xinerama setup on
> an nVidia card using the binary driver version 100.14.19.
>
> On the 32-bit install on my laptop with the same nvidia driver version, with a
> single monitor, I don't get it.

That might explain why I've failed to reproduce this bug with either the two pdfs. Using cairo 1.4.10 evince reports "cairo context error: out of memory" which is fixed with HEAD. I presume it was Behdad's fix to handle the return value of FT_Load_Glyph more intelligently which fixed that false error. Could you try git HEAD on your 64-bit machine? One of the numerous bug fixes which have been made since 1.4.10 is the switch to atomic reference counting, which seems the most relevant to the assertion.

Revision history for this message
In , Todd Deshane (deshantm) wrote :

<email address hidden>

Revision history for this message
In , André Klitzing (misery) wrote :
Revision history for this message
In , André Klitzing (misery) wrote :

Seems to be fixed here. I have no problems anymore with that PDFs.

Cairo 1.6.4
Evince 2.22.2
Poppler 0.8.2

Changed in libcairo:
status: Confirmed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

the bug should be fixed in intrepid, feel free to reopen if you still get the issue though

Changed in cairo:
status: Triaged → Fix Released
Changed in libcairo:
importance: Unknown → Medium
Changed in libcairo:
importance: Medium → Unknown
Changed in libcairo:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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