Bug 152720

Summary: hpijs segfaults on x86_64 for the LJFastRaster device class
Product: [openSUSE] SUSE Linux 10.1 Reporter: Johannes Meixner <jsmeix>
Component: PrintingAssignee: Johannes Meixner <jsmeix>
Status: RESOLVED FIXED QA Contact: Johannes Meixner <jsmeix>
Severity: Minor    
Priority: P5 - None    
Version: Beta 3   
Target Milestone: ---   
Hardware: x86-64   
OS: SuSE Linux 10.1   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: strace-f of the gs call

Description Johannes Meixner 2006-02-22 10:09:49 UTC
This is just an initial report to have the problem reported.
A more detailed analysis will follow.

On Suse Linux 10.1 beta3 on x86_64 gs fails when the
HPISJ driver is used for the LJFastRaster device class.
Only the HP LaserJet 1010 and 1012 belong to this class, see
/usr/share/doc/packages/hplip/hpijs-*/hpijs_readme.html
and it works on i386, therefore only a minor problem.

How to reproduce:
-------------------------------------------------------------------------
cat /usr/share/doc/packages/ghostscript/examples/colorcir.ps \
 | gs -dBATCH -dPARANOIDSAFER -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs \
      -sDeviceManufacturer="HEWLETT-PACKARD" \
      -sDeviceModel="hp LaserJet 1010" \
      -dIjsUseOutputFD -sOutputFile=- - \
 | cat - >/tmp/hpijs.out

ESP Ghostscript 8.15.1: Unrecoverable error, exit code 1
-------------------------------------------------------------------------

At the moment I don't know if the bug is in gs or in hpijs.
Comment 1 Johannes Meixner 2006-02-22 10:23:28 UTC
Created attachment 69726 [details]
strace-f of the gs call
Comment 2 Johannes Meixner 2006-02-22 10:25:37 UTC
Near the end the strace shows
--------------------------------------------------------------------------
[pid  4021] --- SIGSEGV (Segmentation fault) @ 0 (0) ---
Process 4021 detached
<... read resumed> "", 8)               = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
write(8, "\0\0\0\20\0\0\0\10", 8)       = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) @ 0 (0) ---
--------------------------------------------------------------------------
so that it is the hpijs process which segfaults.
Comment 3 Johannes Meixner 2006-02-22 10:26:07 UTC
Only my problem.
Comment 4 Johannes Meixner 2006-02-22 10:28:31 UTC
This bug was already present in Suse Linux 10.0
Comment 5 Johannes Meixner 2006-02-24 13:15:05 UTC
Fixed package submitted to STABLE.