Bug#910303: Xdvi stoped showing emedded EPS figures after updating ghostscript

2018-10-04 Thread Serguei DACHIAN



I just made the test and can confirm that removing "/flushpage" from the 
line


/.devicename /.doneshowpage /flushpage /.getbitsrect /.getdevice 
/.getdefaultdevice /.getdeviceparams /.gethardwareparams


(line number 2176) of the 
"/usr/share/ghostscript/9.20/Resource/Init/gs_init.ps" (provided by the 
package "libgs9-common", version 9.20~dfsg-3.2+deb9u5) solves the problem.


Apparently, xdvi also uses flushpage to display EPS files.  This can 
perhaps be changed on the xdvi side, but since the upstream seem to have 
decided to restore flushpage anyway, there is probably no need for that.


S. Dachian



Processed: Re: Bug#910303: Xdvi stoped showing emedded EPS figures after updating ghostscript

2018-10-04 Thread Debian Bug Tracking System
Processing control commands:

> tag -1 patch
Bug #910303 [ghostscript] Xdvi stoped showing emedded EPS figures after 
updating ghostscript
Added tag(s) patch.
> forwarded -1 http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=19ebb5f
Bug #910303 [ghostscript] Xdvi stoped showing emedded EPS figures after 
updating ghostscript
Set Bug forwarded-to-address to 
'http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=19ebb5f'.

-- 
910303: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=910303
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#910303: Xdvi stoped showing emedded EPS figures after updating ghostscript

2018-10-04 Thread Jonas Smedegaard
Control: tag -1 patch
Control: forwarded -1 
http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=19ebb5f

Quoting Serguei DACHIAN (2018-10-04 19:30:46)
> I don't know how to make the problem appear directly with Ghostscript, 
> but here is a typycal output from xdvi:
[...]
> After googling a bit, I find out that exactly the same problem already 
> appeared (approximately at the same time, in September) in ubuntu and 
> the solutions are more or less known, cf. 
> https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/1793742
> 
> Hope this helps, and thank you once more.

That looks helpful indeed.

@Moritz, it seems the stable update need the referenced patch.  Can you 
please include that?  And thanks a lot for handling those many CVEs!


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Bug#910303: Xdvi stoped showing emedded EPS figures after updating ghostscript

2018-10-04 Thread Jonas Smedegaard
Hi Serguei,

Quoting Serguei DACHIAN (2018-10-04 18:06:46)
> Xdvi stoped showing emedded EPS figures after updating ghostscript (as 
> well as ghostscript-x, libgs9 and libgs9-common) from 
> 9.20~dfsg-3.2+deb9u2 to 9.20~dfsg-3.2+deb9u4.  Subsequent upgrading to 
> 9.20~dfsg-3.2+deb9u5 did not solve the problem.  Reverting back to 
> 9.20~dfsg-3.2+deb9u2 makes everething work again.

Thanks for reporting!

I am not familiar with xdvi, so would appreciate some help isolating 
tests using Ghostscript directly.

Does it emit some warnings or errors?

It seems "xdvi -debug 32" provides valuable details.  Can you try 
isolate and share an example file directly passed to Ghostscript which 
renders wrongly, and the Ghostscript command that is being called?


Thanks,

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Bug#910303: Xdvi stoped showing emedded EPS figures after updating ghostscript

2018-10-04 Thread Serguei DACHIAN
Package: ghostscript
Version: 9.20~dfsg-3.2+deb9u2
Severity: important

Xdvi stoped showing emedded EPS figures after updating ghostscript (as well
as ghostscript-x, libgs9 and libgs9-common) from 9.20~dfsg-3.2+deb9u2
to 9.20~dfsg-3.2+deb9u4.  Subsequent upgrading to 9.20~dfsg-3.2+deb9u5
did not solve the problem.  Reverting back to 9.20~dfsg-3.2+deb9u2 makes
everething work again.



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

Kernel: Linux 4.9.0-8-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages ghostscript depends on:
ii  debconf [debconf-2.0]  1.5.61
ii  libc6  2.24-11+deb9u3
pn  libgs9 

Versions of packages ghostscript recommends:
ii  gsfonts  1:8.11+urwcyr1.0.7~pre44-4.3

Versions of packages ghostscript suggests:
pn  ghostscript-x  

-- no debconf information