assertion on page number fails after reloading an altered pdf

Bug #922019 reported by Philipp Matthias Schäfer
38
This bug affects 8 people
Affects Status Importance Assigned to Milestone
evince (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When evince has a document open with a certain number of pages, say n, and the
document file is then altered/replaced on disc by a document file with less pages, say n
- k, the following error message is printed on stderr (or stdout)

(In my case I rebuild the document using pdflatex invoced from emacs to rebuild the pdf. And sometimes a new version is shorter than the previous one)

"(evince:2497): EvinceView-CRITICAL **: ev_page_cache_get_annot_mapping:
assertion `page >= 0 && page < cache->n_pages' failed".

I would assume that when reloading the document some information about the
number of pages is not updated properly.

I noticed no other problems other than the message.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: evince 2.30.3-0ubuntu1.2
ProcVersionSignature: Ubuntu 2.6.32-38.83-generic 2.6.32.52+drm33.21
Uname: Linux 2.6.32-38-generic x86_64
Architecture: amd64
Date: Thu Jan 26 11:33:17 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: evince

Revision history for this message
Philipp Matthias Schäfer (philipp-schaefer) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in evince (Ubuntu):
status: New → Confirmed
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.