Bug#997038: evince: Print preview of PS file get blank page and en error "fatal internal error -100"

Davide Prina Davide.Prina at gmail.com
Fri Oct 22 20:36:54 BST 2021


Package: evince
Version: 41.2-1
Severity: normal
X-Debbugs-Cc: Davide.Prina at gmail.com

Dear Mainteiner,

when I try to do a print preview I have a blank page, the same if I try to print it.
PS file is obtained with pdftops program (I used it to print faster PDF files on ps printers) and some time ago (probably about 2 year ago, befoure covid) I used it a lot.

I can reproduce the bug with any ps generated file, for example:

$ pdftops /usr/share/debian-reference/debian-reference.en.pdf ref.ps

$ evince ref.ps 

and when I try to see the print preview I get blank page.

I see that there are same bug reports on similar issues, but I see that they are old (so not my case) and I see that there was a bug #977754 on evince now closed and I think that the problem is the same solved with PDF file.

When I try to print or print preview a ps file obtained by pdftops i get:

$ evince a.ps
GPL Ghostscript 9.54.0: Unrecoverable error, exit code 1
(libspectre) ghostscript reports: fatal internal error -100

I have try to use valgrind, but I get only "blocks definitely/indirectly/possibly lost"

Looking at libspectre1 package I can see that:

I found that this error is generate calling in the spectre_gs_run function the instruction:
gsapi_init_with_args (gs->ghostscript_instance, n_args, args);

the three values are:

gs->ghostscript_instance: 0x5583febe7ed0 (so it is not null)
n_args: 10
 arg[0]=libspectre
 arg[1]=-dMaxBitmap=10000000
 arg[2]=-dBATCH
 arg[3]=-dNOPAUSE
 arg[4]=-dSAFER
 arg[5]=-P-
 arg[6]=-sDEVICE=pdfwrite
 arg[7]=-sOutputFile=/tmp/user/1000/evince_print.pdf.AVDQB1
 arg[8]=-c
 arg[9]=.setpdfwrite

Ciao
Davide


-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-proposed-updates-debug'), (500, 'testing-debug'), (500, 'stable-security')
Architecture: amd64 (x86_64)

Kernel: Linux 5.14.9-dp-20211009 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages evince depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.40.0-2
ii  evince-common                                41.2-1
ii  gsettings-desktop-schemas                    41.0-1
ii  libatk1.0-0                                  2.36.0-2
ii  libc6                                        2.32-4
ii  libcairo-gobject2                            1.16.0-5
ii  libcairo2                                    1.16.0-5
ii  libevdocument3-4                             41.2-1
ii  libevview3-3                                 41.2-1
ii  libgdk-pixbuf-2.0-0                          2.42.6+dfsg-2
ii  libglib2.0-0                                 2.70.0-1+b1
ii  libgnome-desktop-3-19                        41.0-1
ii  libgtk-3-0                                   3.24.30-3
ii  libhandy-1-0                                 1.4.0-1
ii  libnautilus-extension1a                      41.0-1
ii  libpango-1.0-0                               1.48.10+ds1-1
ii  libpangocairo-1.0-0                          1.48.10+ds1-1
ii  libsecret-1-0                                0.20.4-2
ii  shared-mime-info                             2.0-1

Versions of packages evince recommends:
ii  dbus-user-session [default-dbus-session-bus]  1.12.20-2
ii  dbus-x11 [dbus-session-bus]                   1.12.20-2

Versions of packages evince suggests:
ii  gvfs             1.48.1-2
ii  nautilus-sendto  3.8.6-3.1
ii  poppler-data     0.4.11-1
ii  unrar            1:6.0.7-5

-- no debconf information



More information about the pkg-gnome-maintainers mailing list