xdvi stops showing emedded figures after updating ghostscript

Bug #1793742 reported by Peter Olsson
256
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ghostscript (Ubuntu)
Fix Released
Undecided
Unassigned
Trusty
Fix Released
Undecided
Marc Deslauriers
Xenial
Fix Released
Undecided
Marc Deslauriers
Bionic
Fix Released
Undecided
Marc Deslauriers
Cosmic
Fix Released
Undecided
Unassigned

Bug Description

I like to report a problem with using xdvi after upgrading ghostscript (and libgs9) in Trusty Tahr from version 9.10~dfsg-0ubuntu10.12 to version 9.10~dfsg-0ubuntu10.13.

The error message after invoking xdvi looks as below.

$ xdvi scaling.dvi
gs: Error: /undefined in flushpage
gs: Operand stack:
gs:
gs: Execution stack:
gs: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval--
gs: 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- fals
gs: e 1 %stopped_push 1916 1 3 %oparray_pop 1915 1 3 %oparray_pop
gs: 1899 1 3 %oparray_pop 1787 1 3 %oparray_pop --nostringval--
gs: %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval--
gs: 2 %stopped_push --nostringval-- --nostringval-- %loop_continue --nost
gs: ringval--
gs: Dictionary stack:
gs: --dict:957/1684(ro)(G)-- --dict:0/20(G)-- --dict:81/200(L)--
gs: Current allocation mode is local
gs: Last OS error: No such file or directory
gs: GPL Ghostscript 9.10: Unrecoverable error, exit code 1
xdvi.bin: Warning: Read_from_gs returned 0 bytes

For the (unlikely) possibility that this error could be due to the update of some other package I also include the full list of the packages that were installed at the same time.

Setting up libglib2.0-data (2.40.2-0ubuntu1.1) ...
Setting up libglib2.0-0:amd64 (2.40.2-0ubuntu1.1) ...
Setting up libglib2.0-bin (2.40.2-0ubuntu1.1) ...
Setting up libglib2.0-dev (2.40.2-0ubuntu1.1) ...
Setting up liblcms2-2:amd64 (2.5-0ubuntu4.2) ...
Setting up libopencv-core2.4:amd64 (2.4.8+dfsg1-2ubuntu1.2) ...
Setting up libopencv-flann2.4:amd64 (2.4.8+dfsg1-2ubuntu1.2) ...
Setting up libopencv-imgproc2.4:amd64 (2.4.8+dfsg1-2ubuntu1.2) ...
Setting up libopencv-features2d2.4:amd64 (2.4.8+dfsg1-2ubuntu1.2) ...
Setting up libopencv-calib3d2.4:amd64 (2.4.8+dfsg1-2ubuntu1.2) ...
Setting up libopencv-highgui2.4:amd64 (2.4.8+dfsg1-2ubuntu1.2) ...
Setting up libopencv-ml2.4:amd64 (2.4.8+dfsg1-2ubuntu1.2) ...
Setting up libopencv-video2.4:amd64 (2.4.8+dfsg1-2ubuntu1.2) ...
Setting up libopencv-legacy2.4:amd64 (2.4.8+dfsg1-2ubuntu1.2) ...
Setting up libopencv-objdetect2.4:amd64 (2.4.8+dfsg1-2ubuntu1.2) ...
Setting up libopencv-contrib2.4:amd64 (2.4.8+dfsg1-2ubuntu1.2) ...
Setting up libisc95 (1:9.9.5.dfsg-3ubuntu0.18) ...
Setting up libdns100 (1:9.9.5.dfsg-3ubuntu0.18) ...
Setting up libisccc90 (1:9.9.5.dfsg-3ubuntu0.18) ...
Setting up libisccfg90 (1:9.9.5.dfsg-3ubuntu0.18) ...
Setting up libbind9-90 (1:9.9.5.dfsg-3ubuntu0.18) ...
Setting up liblwres90 (1:9.9.5.dfsg-3ubuntu0.18) ...
Setting up bind9-host (1:9.9.5.dfsg-3ubuntu0.18) ...
Setting up dnsutils (1:9.9.5.dfsg-3ubuntu0.18) ...
Setting up libgs9-common (9.10~dfsg-0ubuntu10.13) ...
Setting up libgs9 (9.10~dfsg-0ubuntu10.13) ...
Setting up ghostscript (9.10~dfsg-0ubuntu10.13) ...
Setting up ghostscript-x (9.10~dfsg-0ubuntu10.13) ...

Description: Ubuntu 14.04.5 LTS
Release: 14.04

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

Thanks for reporting this issue. It looks like upstream reverted a change in later releases.

http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=19ebb5f1f497b6f2d50fe13d17d3e627dfb6c868

I'll prepare a regression fix soon.

Changed in ghostscript (Ubuntu Cosmic):
status: New → Fix Released
Changed in ghostscript (Ubuntu Trusty):
assignee: nobody → Marc Deslauriers (mdeslaur)
Changed in ghostscript (Ubuntu Xenial):
assignee: nobody → Marc Deslauriers (mdeslaur)
Changed in ghostscript (Ubuntu Bionic):
assignee: nobody → Marc Deslauriers (mdeslaur)
Changed in ghostscript (Ubuntu Trusty):
status: New → Confirmed
Changed in ghostscript (Ubuntu Xenial):
status: New → Confirmed
Changed in ghostscript (Ubuntu Trusty):
status: Confirmed → In Progress
Changed in ghostscript (Ubuntu Xenial):
status: Confirmed → In Progress
Changed in ghostscript (Ubuntu Bionic):
status: New → In Progress
information type: Public → Public Security
Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

Hi! Any chance you could send me the problematic dvi file?

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

I have released ghostscript 9.25 to all stable releases. That should fix this issue. Thanks!

Changed in ghostscript (Ubuntu Trusty):
status: In Progress → Fix Released
Changed in ghostscript (Ubuntu Xenial):
status: In Progress → Fix Released
Changed in ghostscript (Ubuntu Bionic):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

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