The problem may be related to how exactly an XML file is embedded inside the 
RFC PDF documents.
See 
https://mailarchive.ietf.org/arch/msg/tools-discuss/12Efvwr7KXrgjVTWpaR4pa2hv-U 
.

Removing the embedded file with 'pdftk rfc8798.pdf cat output
rfc8798-no_xml.pdf' results in a PDF that evince can display.

Re-adding the embedded XML file with 'pdftk rfc8798-no_xml.pdf
attach_file rfc8798.xml output rfc8798-pdftk-embed.pdf' again results in
a PDF that works fine with evince.

Thus it is not the fact that an XML file is embedded that results in the
evince crash, but rather the exact procedure used respective the
specific result of document processing as done when creating a PDF
rendering of an RFC for publication.

This still is a bug in evince, because evince is not supposed to perform
invalid memory accesses and crash.  Especially since other PDF viewers
(e.g., Firefox) can display the PDF without visible problems (MuPDF
creates error and warning messages, but still displays the PDF
correctly).

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to evince in Ubuntu.
https://bugs.launchpad.net/bugs/1885313

Title:
  evince crashes when opening rfc8798.pdf

Status in evince package in Ubuntu:
  New
Status in evince package in Debian:
  Unknown

Bug description:
  evince reproducabely crashes when opening the file rfc8798.pdf from
  https://www.rfc-editor.org/rfc/rfc8798.pdf:

  $ evince --version
  GNOME Document Viewer 3.28.4
  $ evince rfc8798.pdf
  Segmentation fault (core dumped)
  $ cat /etc/lsb-release 
  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=18.04
  DISTRIB_CODENAME=bionic
  DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS"

  Required information:

  1) Ubuntu release info:
  $ lsb_release -rd
  Description:    Ubuntu 18.04.4 LTS
  Release:        18.04

  2) Package version info:
  $ apt-cache policy evince
  evince:
    Installed: 3.28.4-0ubuntu1.2
    Candidate: 3.28.4-0ubuntu1.2
    Version table:
   *** 3.28.4-0ubuntu1.2 500
          500 http://de.archive.ubuntu.com/ubuntu bionic-updates/main amd64 
Packages
          500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 
Packages
          100 /var/lib/dpkg/status
       3.28.2-1 500
          500 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 Packages

  3) Expected outcome:
  I expected evince to successfully open the PDF, allowing me to read the 
document.

  4) Observed behavior:
  The default PDF reader of Ubuntu, evince, crashed (reporting a "segmentation 
fault".

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1885313/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to