[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#422712: marked as done (pstoraster segfaults with ancient cups)



Your message dated Tue, 02 Jan 2024 10:42:26 -0600
with message-id <7678809.EvYhyI6sBW@riemann>
and subject line Re: [gs-esp]
has caused the Debian Bug report #422712,
regarding pstoraster segfaults with ancient cups
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
422712: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=422712
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: gs-esp
Version: 8.15.3.dfsg.1-1
Severity: important

I defined an EPSON Stylus Photo 890 to cups using the gutenprint PPD 
for that printer.  The PPD is automatically generated when 
the cupsys-driver-gutenprint package is installed and can be found at:
/usr/share/ppd/gutenprint/5.0/en/stp-escp2-890.5.0.ppd.gz after 
cupsys-driver-gutenprint is installed.

When I attempt to print anything on this printer it fails.  Turning on 
debug logging in cups I find that:

PID 4440 (/usr/lib/cups/filter/pstoraster) crashed on signal 11!

This occurs for every job sent to this printer.

When I manually run gs-esp using the options in pstoraster with the 
cups testpage as input it works ok.  However if I filter the cups testpage 
first using pstops (which is what cups does), and then put it through 
gs-esp it dies with signal 11.

It would therefore appear that some of the postscript pstops is adding 
from the PPD file is causing gs-esp to choke.  I have another HP 
printer defined on the same box that doesn't cause any problems.

I am reporting this against gs-esp since I would expect it not to 
get a segmentation violation even if there were errors in the 
postscript it processes.  However it is quite possible the cause
of this is something in the PPD file that was autogenerated.

Here are the last 150 lines or so output by pstoraster leading up to the
segmentation violation when cups has debug level logging enabled:

D [08/May/2007:04:09:13 +1000] [Job 7] cups->header.Duplex = 0
D [08/May/2007:04:09:13 +1000] [Job 7] cups->page = 1
D [08/May/2007:04:09:13 +1000] [Job 7] cupsPPD = 0x645e98
D [08/May/2007:04:09:13 +1000] [Job 7] cupsPPD->flip_duplex = 0
D [08/May/2007:04:09:13 +1000] [Job 7] width = 5950, height = 4210
D [08/May/2007:04:09:13 +1000] [Job 7] PageSize = [ 595 842 ], HWResolution = [ 720 360 ]
D [08/May/2007:04:09:13 +1000] [Job 7] HWMargins = [ 0.000 0.000 0.000 0.000 ]
D [08/May/2007:04:09:13 +1000] [Job 7] matrix = [ 10.000 0.000 0.000 -5.000 -0.000 4210.000 ]
D [08/May/2007:04:09:13 +1000] [Job 7] Finishing.
D [08/May/2007:04:09:13 +1000] [Job 7] -dict-
D [08/May/2007:04:09:13 +1000] [Job 7] -dict-
D [08/May/2007:04:09:13 +1000] [Job 7] -dict-
D [08/May/2007:04:09:13 +1000] [Job 7] -dict-
D [08/May/2007:04:09:13 +1000] [Job 7] -mark-
D [08/May/2007:04:09:13 +1000] [Job 7] -dict-
D [08/May/2007:04:09:13 +1000] [Job 7] -mark-
D [08/May/2007:04:09:13 +1000] [Job 7] Checking.
D [08/May/2007:04:09:13 +1000] [Job 7] -dict-
D [08/May/2007:04:09:13 +1000] [Job 7] -dict-
D [08/May/2007:04:09:13 +1000] [Job 7] -mark-
D [08/May/2007:04:09:13 +1000] [Job 7] -dict-
D [08/May/2007:04:09:13 +1000] [Job 7] -mark-
D [08/May/2007:04:09:13 +1000] [Job 7] Merging.
D [08/May/2007:04:09:13 +1000] [Job 7] -dict-
D [08/May/2007:04:09:13 +1000] [Job 7] -dict-
D [08/May/2007:04:09:13 +1000] [Job 7] -mark-
D [08/May/2007:04:09:13 +1000] [Job 7] -dict-
D [08/May/2007:04:09:13 +1000] [Job 7] -mark-
D [08/May/2007:04:09:13 +1000] [Job 7] Selecting.
D [08/May/2007:04:09:13 +1000] [Job 7] -dict-
D [08/May/2007:04:09:13 +1000] [Job 7] -dict-
D [08/May/2007:04:09:13 +1000] [Job 7] -dict-
D [08/May/2007:04:09:13 +1000] [Job 7] -mark-
D [08/May/2007:04:09:13 +1000] [Job 7] -dict-
D [08/May/2007:04:09:13 +1000] [Job 7] -mark-
D [08/May/2007:04:09:13 +1000] [Job 7] Constructing.
D [08/May/2007:04:09:13 +1000] [Job 7] -dict-
D [08/May/2007:04:09:13 +1000] [Job 7] -dict-
D [08/May/2007:04:09:13 +1000] [Job 7] -dict-
D [08/May/2007:04:09:13 +1000] [Job 7] -dict-
D [08/May/2007:04:09:13 +1000] [Job 7] -mark-
D [08/May/2007:04:09:13 +1000] [Job 7] -dict-
D [08/May/2007:04:09:13 +1000] [Job 7] -mark-
D [08/May/2007:04:09:13 +1000] [Job 7] Putting.
D [08/May/2007:04:09:13 +1000] [595.0 842.0]
D [08/May/2007:04:09:13 +1000] [Job 7] /.MediaSize
D [08/May/2007:04:09:13 +1000] [Job 7] 0
D [08/May/2007:04:09:13 +1000] [Job 7] /%MediaDestination
D [08/May/2007:04:09:13 +1000] [Job 7] 0
D [08/May/2007:04:09:13 +1000] [Job 7] /%MediaSource
D [08/May/2007:04:09:13 +1000] [Job 7] 0
D [08/May/2007:04:09:13 +1000] [Job 7] /MediaPosition
D [08/May/2007:04:09:13 +1000] [Job 7] 8
D [08/May/2007:04:09:13 +1000] [Job 7] /cupsBitsPerColor
D [08/May/2007:04:09:13 +1000] [Job 7] -mark-
D [08/May/2007:04:09:13 +1000] [Job 7] true
D [08/May/2007:04:09:13 +1000] [Job 7] -dict-
D [08/May/2007:04:09:13 +1000] [Job 7] -device-
D [08/May/2007:04:09:13 +1000] [Job 7] -dict-
D [08/May/2007:04:09:13 +1000] [Job 7] -dict-
D [08/May/2007:04:09:13 +1000] [Job 7] -dict-
D [08/May/2007:04:09:13 +1000] [Job 7] -dict-
D [08/May/2007:04:09:13 +1000] [Job 7] -mark-
D [08/May/2007:04:09:13 +1000] [Job 7] -dict-
D [08/May/2007:04:09:13 +1000] [Job 7] -mark-
D [08/May/2007:04:09:13 +1000] [Job 7] Setting MediaPosition to 0...
D [08/May/2007:04:09:13 +1000] [Job 7] Setting cupsBitsPerColor to 8...
D [08/May/2007:04:09:13 +1000] [Job 7] cupsEncodeLUT[0] = 0
D [08/May/2007:04:09:13 +1000] [Job 7] cupsEncodeLUT[65535] = 255
D [08/May/2007:04:09:13 +1000] [Job 7] num_components = 3, depth = 24
D [08/May/2007:04:09:13 +1000] [Job 7] cupsColorSpace = 1, cupsColorOrder = 0
D [08/May/2007:04:09:13 +1000] [Job 7] cupsBitsPerPixel = 24, cupsBitsPerColor = 8
D [08/May/2007:04:09:13 +1000] [Job 7] max_gray = 0, dither_grays = 0
D [08/May/2007:04:09:13 +1000] [Job 7] max_color = 255, dither_colors = 256
D [08/May/2007:04:09:13 +1000] [Job 7] Updating PageSize to [595 842]...
D [08/May/2007:04:09:13 +1000] [Job 7] size = A4
D [08/May/2007:04:09:13 +1000] [Job 7] margins[] = [ 0.000000 0.000000 0.000000 0.000000 ]
D [08/May/2007:04:09:13 +1000] [Job 7] Reallocating memory, [595 842] = 5950x4210 pixels...
D [08/May/2007:04:09:13 +1000] [Job 7] cache_size = 8388608
D [08/May/2007:04:09:13 +1000] [Job 7] cups->header.Duplex = 0
D [08/May/2007:04:09:13 +1000] [Job 7] cups->page = 1
D [08/May/2007:04:09:13 +1000] [Job 7] cupsPPD = 0x645e98
D [08/May/2007:04:09:13 +1000] [Job 7] cupsPPD->flip_duplex = 0
D [08/May/2007:04:09:13 +1000] [Job 7] width = 5950, height = 4210
D [08/May/2007:04:09:13 +1000] [Job 7] PageSize = [ 595 842 ], HWResolution = [ 720 360 ]
D [08/May/2007:04:09:13 +1000] [Job 7] HWMargins = [ 0.000 0.000 0.000 0.000 ]
D [08/May/2007:04:09:13 +1000] [Job 7] matrix = [ 10.000 0.000 0.000 -5.000 -0.000 4210.000 ]
D [08/May/2007:04:09:13 +1000] [Job 7] cups->header.Duplex = 0
D [08/May/2007:04:09:13 +1000] [Job 7] cups->page = 1
D [08/May/2007:04:09:13 +1000] [Job 7] cupsPPD = 0x645e98
D [08/May/2007:04:09:13 +1000] [Job 7] cupsPPD->flip_duplex = 0
D [08/May/2007:04:09:13 +1000] [Job 7] width = 5950, height = 4210
D [08/May/2007:04:09:13 +1000] [Job 7] PageSize = [ 595 842 ], HWResolution = [ 720 360 ]
D [08/May/2007:04:09:13 +1000] [Job 7] HWMargins = [ 0.000 0.000 0.000 0.000 ]
D [08/May/2007:04:09:13 +1000] [Job 7] matrix = [ 10.000 0.000 0.000 -5.000 -0.000 4210.000 ]
D [08/May/2007:04:09:13 +1000] [Job 7] Result of putting.
D [08/May/2007:04:09:13 +1000] [Job 7] false
D [08/May/2007:04:09:13 +1000] [Job 7] -device-
D [08/May/2007:04:09:13 +1000] [Job 7] -dict-
D [08/May/2007:04:09:13 +1000] [Job 7] -dict-
D [08/May/2007:04:09:13 +1000] [Job 7] -dict-
D [08/May/2007:04:09:13 +1000] [Job 7] -dict-
D [08/May/2007:04:09:13 +1000] [Job 7] -mark-
D [08/May/2007:04:09:13 +1000] [Job 7] -dict-
D [08/May/2007:04:09:13 +1000] [Job 7] -mark-
D [08/May/2007:04:09:13 +1000] [Job 7] Installing.
D [08/May/2007:04:09:13 +1000] [Job 7] false
D [08/May/2007:04:09:13 +1000] [Job 7] -device-
D [08/May/2007:04:09:13 +1000] [Job 7] -dict-
D [08/May/2007:04:09:13 +1000] [Job 7] -dict-
D [08/May/2007:04:09:13 +1000] [Job 7] -dict-
D [08/May/2007:04:09:13 +1000] [Job 7] -dict-
D [08/May/2007:04:09:13 +1000] [Job 7] -mark-
D [08/May/2007:04:09:13 +1000] [Job 7] -dict-
D [08/May/2007:04:09:13 +1000] [Job 7] -mark-
D [08/May/2007:04:09:13 +1000] [Job 7] cups->header.Duplex = 0
D [08/May/2007:04:09:13 +1000] [Job 7] cups->page = 1
D [08/May/2007:04:09:13 +1000] [Job 7] cupsPPD = 0x645e98
D [08/May/2007:04:09:13 +1000] [Job 7] cupsPPD->flip_duplex = 0
D [08/May/2007:04:09:13 +1000] [Job 7] width = 5950, height = 4210
D [08/May/2007:04:09:13 +1000] [Job 7] PageSize = [ 595 842 ], HWResolution = [ 720 360 ]
D [08/May/2007:04:09:13 +1000] [Job 7] HWMargins = [ 0.000 0.000 0.000 0.000 ]
D [08/May/2007:04:09:13 +1000] [Job 7] matrix = [ 10.000 0.000 0.000 -5.000 -0.000 4210.000 ]
D [08/May/2007:04:09:13 +1000] [Job 7] cups->header.Duplex = 0
D [08/May/2007:04:09:13 +1000] [Job 7] cups->page = 1
D [08/May/2007:04:09:13 +1000] [Job 7] cupsPPD = 0x645e98
D [08/May/2007:04:09:13 +1000] [Job 7] cupsPPD->flip_duplex = 0
D [08/May/2007:04:09:13 +1000] [Job 7] width = 5950, height = 4210
D [08/May/2007:04:09:13 +1000] [Job 7] PageSize = [ 595 842 ], HWResolution = [ 720 360 ]
D [08/May/2007:04:09:13 +1000] [Job 7] HWMargins = [ 0.000 0.000 0.000 0.000 ]
D [08/May/2007:04:09:13 +1000] [Job 7] matrix = [ 10.000 0.000 0.000 -5.000 -0.000 4210.000 ]
D [08/May/2007:04:09:13 +1000] [Job 7] cups->header.Duplex = 0
D [08/May/2007:04:09:13 +1000] [Job 7] cups->page = 1
D [08/May/2007:04:09:13 +1000] [Job 7] cupsPPD = 0x645e98
D [08/May/2007:04:09:13 +1000] [Job 7] cupsPPD->flip_duplex = 0
D [08/May/2007:04:09:13 +1000] [Job 7] width = 5950, height = 4210
D [08/May/2007:04:09:13 +1000] [Job 7] PageSize = [ 595 842 ], HWResolution = [ 720 360 ]
D [08/May/2007:04:09:13 +1000] [Job 7] HWMargins = [ 0.000 0.000 0.000 0.000 ]
D [08/May/2007:04:09:13 +1000] [Job 7] matrix = [ 10.000 0.000 0.000 -5.000 -0.000 4210.000 ]
D [08/May/2007:04:09:14 +1000] [Job 7] cups->header.Duplex = 0
D [08/May/2007:04:09:14 +1000] [Job 7] cups->page = 1
D [08/May/2007:04:09:14 +1000] [Job 7] cupsPPD = 0x645e98
D [08/May/2007:04:09:14 +1000] [Job 7] cupsPPD->flip_duplex = 0
D [08/May/2007:04:09:14 +1000] [Job 7] width = 5950, height = 4210
D [08/May/2007:04:09:14 +1000] [Job 7] PageSize = [ 595 842 ], HWResolution = [ 720 360 ]
D [08/May/2007:04:09:14 +1000] [Job 7] HWMargins = [ 0.000 0.000 0.000 0.000 ]
D [08/May/2007:04:09:14 +1000] [Job 7] matrix = [ 10.000 0.000 0.000 -5.000 -0.000 4210.000 ]
D [08/May/2007:04:09:14 +1000] [Job 7] cups->header.Duplex = 0
D [08/May/2007:04:09:14 +1000] [Job 7] cups->page = 1
D [08/May/2007:04:09:14 +1000] [Job 7] cupsPPD = 0x645e98
D [08/May/2007:04:09:14 +1000] [Job 7] cupsPPD->flip_duplex = 0
D [08/May/2007:04:09:14 +1000] [Job 7] width = 5950, height = 4210
D [08/May/2007:04:09:14 +1000] [Job 7] PageSize = [ 595 842 ], HWResolution = [ 720 360 ]
D [08/May/2007:04:09:14 +1000] [Job 7] HWMargins = [ 0.000 0.000 0.000 0.000 ]
D [08/May/2007:04:09:14 +1000] [Job 7] matrix = [ 10.000 0.000 0.000 -5.000 -0.000 4210.000 ]
D [08/May/2007:04:09:14 +1000] [Job 7] cups->header.Duplex = 0
D [08/May/2007:04:09:14 +1000] [Job 7] cups->page = 1
D [08/May/2007:04:09:14 +1000] [Job 7] cupsPPD = 0x645e98
D [08/May/2007:04:09:14 +1000] [Job 7] cupsPPD->flip_duplex = 0
D [08/May/2007:04:09:14 +1000] [Job 7] width = 5950, height = 4210
D [08/May/2007:04:09:14 +1000] [Job 7] PageSize = [ 595 842 ], HWResolution = [ 720 360 ]
D [08/May/2007:04:09:14 +1000] [Job 7] HWMargins = [ 0.000 0.000 0.000 0.000 ]
D [08/May/2007:04:09:14 +1000] [Job 7] matrix = [ 10.000 0.000 0.000 -5.000 -0.000 4210.000 ]
E [08/May/2007:04:09:14 +1000] PID 4440 (/usr/lib/cups/filter/pstoraster) crashed on signal 11!


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: arm (armv5tel)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-ixp4xx
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages gs-esp depends on:
ii  gs-common                 0.3.11         Common files for different Ghostsc
ii  libc6                     2.3.6.ds1-13   GNU C Library: Shared libraries
ii  libcupsimage2             1.2.7-4        Common UNIX Printing System(tm) - 
ii  libcupsys2                1.2.7-4        Common UNIX Printing System(tm) - 
ii  libfontconfig1            2.4.2-1.2      generic font configuration library
ii  libgnutls13               1.4.4-3        the GNU TLS library - runtime libr
ii  libice6                   1:1.0.1-2      X11 Inter-Client Exchange library
ii  libjpeg62                 6b-13          The Independent JPEG Group's JPEG 
ii  libpaper1                 1.1.21         Library for handling paper charact
ii  libpng12-0                1.2.15~beta5-1 PNG library - runtime
ii  libsm6                    1:1.0.1-3      X11 Session Management library
ii  libstdc++6                4.1.1-21       The GNU Standard C++ Library v3
ii  libtiff4                  3.8.2-7        Tag Image File Format (TIFF) libra
ii  libx11-6                  2:1.0.3-7      X11 client-side library
ii  libxext6                  1:1.0.1-2      X11 miscellaneous extension librar
ii  libxt6                    1:1.0.2-2      X11 toolkit intrinsics library
ii  zlib1g                    1:1.2.3-13     compression library - runtime

Versions of packages gs-esp recommends:
ii  gsfonts       1:8.11+urwcyr1.0.7~pre41-1 Fonts for the Ghostscript interpre
pn  psfontmgr     <none>                     (no description available)

-- no debconf information


--- End Message ---
--- Begin Message ---
The upstream bug has been closed, so I'll close this as well.
https://bugs.ghostscript.com/show_bug.cgi?id=693213

On Mon, 7 Feb 2011 14:20:33 +0100 Bastien ROUCARIES 
<roucaries.bastien@gmail.com> wrote:
> tags 422712  + patch
> clone 422712 -1
> reassign 422712 ghostscript
> thanks
> 
> On Mon, Feb 7, 2011 at 2:10 PM, Jonathan Nieder <jrnieder@gmail.com> wrote:
> > Bastien ROUCARIES wrote:
> >
> >> Package: gs-esp
> >>
> >> Does this bug fixed in gpl version ?
> >
> > gs-esp was merged into ghostscript bit by bit, culminating in
> > 2007-06-22 (so gs-gpl versions before then lack some gs-esp patches).
> >
> > Anyway, I've checked that modern ghostscript doesn't have Troy's
> > patch applied but not decided whether something like it is useful for
> > robustness.  Probably it isn't (which would mean that the bug was
> > fixed in cups at some point).
> >
> 
> I disagree, I tend to aply patch that avoid segfault. I could lead to
> security bug . But I agree the problem is not major.
> 
> Bastien
> 
> 
> 

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---

Reply to: