Bug#805276: evince: When the pdf file gets its number of pages shortened, if the removed page is viewed, evince crashes

Hong Xu hong at topbug.net
Mon Nov 16 09:07:52 UTC 2015


Package: evince
Version: 3.14.1-2
Severity: normal
Tags: upstream

Dear Maintainer,

You can use LaTeX to assist to reproduce this bug. Create a file named
test.tex, with the following contents:

==============================
\documentclass{article}

\begin{document}
aa
\newpage
zz
\end{document}

==============================

Compile the tex file by running `pdflatex test.tex`, which generates test.pdf.
Open test.pdf with evince.

Now, scroll evince to the second page and zoom in until the first page is not
in view. Close the side panel if it is open. Modify the test.tex file by
removing the line "\newpage" and run `pdflatex tex.tex` again. Now you should
see evince crash.

   * What was the outcome of this action?

evince crashes, with the following error message:

(evince:6380): EvinceView-CRITICAL **: ev_page_cache_get_link_mapping:
assertion 'page >= 0 && page < cache->n_pages' failed

(evince:6380): EvinceView-CRITICAL **: ev_page_cache_get_form_field_mapping:
assertion 'page >= 0 && page < cache->n_pages' failed

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

(evince:6380): EvinceView-CRITICAL **: ev_page_cache_get_text_mapping:
assertion 'page >= 0 && page < cache->n_pages' failed


   * What outcome did you expect instead?

evince should go to view page 1.



-- System Information:
Debian Release: 8.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-0.bpo.1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages evince depends on:
ii  evince-common              3.14.1-2
ii  gnome-icon-theme-symbolic  3.12.0-1
ii  libatk1.0-0                2.14.0-1
ii  libc6                      2.19-18+deb8u1
ii  libcairo-gobject2          1.14.0-2.1
ii  libcairo2                  1.14.0-2.1
ii  libevdocument3-4           3.14.1-2
ii  libevview3-3               3.14.1-2
ii  libgdk-pixbuf2.0-0         2.31.1-2+deb8u3
ii  libglib2.0-0               2.42.1-1
ii  libgtk-3-0                 3.14.5-1+deb8u1
ii  libnautilus-extension1a    3.14.1-2
ii  libpango-1.0-0             1.36.8-3
ii  libpangocairo-1.0-0        1.36.8-3
ii  libsecret-1-0              0.18-1+b1
ii  libxml2                    2.9.1+dfsg1-5
ii  shared-mime-info           1.3-1
ii  zlib1g                     1:1.2.8.dfsg-2+b1

Versions of packages evince recommends:
ii  dbus-x11  1.8.20-0+deb8u1
ii  gvfs      1.22.2-1

Versions of packages evince suggests:
ii  nautilus      3.14.1-2
ii  poppler-data  0.4.7-1
pn  unrar         <none>

-- no debconf information



More information about the pkg-gnome-maintainers mailing list