hpps crashed with BrokenPipeError in __main__: [Errno 32] Broken pipe

Bug #1495826 reported by Walter Garcia-Fontes on 2015-09-15
102
This bug affects 22 people
Affects Status Importance Assigned to Milestone
HPLIP
Undecided
Unassigned
hplip (Ubuntu)
Medium
Unassigned

Bug Description

Got this error after today's updates.

ProblemType: Crash
DistroRelease: Ubuntu 15.10
Package: hplip 3.15.7-0ubuntu2
ProcVersionSignature: Ubuntu 4.2.0-7.7-generic 4.2.0
Uname: Linux 4.2.0-7-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.18.1-0ubuntu1
Architecture: amd64
Date: Wed Sep 9 09:07:05 2015
ExecutablePath: /usr/lib/cups/filter/hpps
InstallationDate: Installed on 2010-10-25 (1785 days ago)
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
InterpreterPath: /usr/bin/python3.4
MachineType: Dell Inc. Precision WorkStation T3400
Papersize: letter
ProcCmdline: /usr/bin/python3 /usr/lib/cups/filter/hpps 2822 wgarcia printable 1 HPRGBEmulation=DefaultSRGB\ HPGeneralHalftone=Smooth\ HPGraphicsNeutralGrays=Black\ noHPEconoMode\ number-up=1\ HPEdgeControl=Normal\ PageSize=Letter\ InputSlot=Auto\ HPPhotoNeutralGrays=ProcessBlack\ HPTextNeutralGrays=Black\ noHPEasyColor\ MediaType=Unspecified\ HPColorAsGray\ job-uuid=urn:uuid:1c51f32e-7371-3dc7-60eb-e363d3b6af75\ job-originating-host-name=localhost\ date-time-at-creation=\ date-time-at-processing=\ time-at-creation=1441782411\ time-at-processing=1441782411
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.2.0-7-generic root=UUID=dadc68cb-c217-4aef-a751-ba0b61137c4a ro quiet splash
PythonArgs: ['/usr/lib/cups/filter/hpps', '2822', 'wgarcia', 'printable', '1', 'HPRGBEmulation=DefaultSRGB HPGeneralHalftone=Smooth HPGraphicsNeutralGrays=Black noHPEconoMode number-up=1 HPEdgeControl=Normal PageSize=Letter InputSlot=Auto HPPhotoNeutralGrays=ProcessBlack HPTextNeutralGrays=Black noHPEasyColor MediaType=Unspecified HPColorAsGray job-uuid=urn:uuid:1c51f32e-7371-3dc7-60eb-e363d3b6af75 job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1441782411 time-at-processing=1441782411']
SourcePackage: hplip
Title: hpps crashed with BrokenPipeError in __main__: [Errno 32] Broken pipe
Traceback:
 Traceback (most recent call last):
   File "/usr/lib/cups/filter/hpps", line 354, in <module>
     os.write(output_fd, data)
 BrokenPipeError: [Errno 32] Broken pipe
UpgradeStatus: Upgraded to wily on 2015-09-02 (12 days ago)
UserGroups:

dmi.bios.date: 06/04/2009
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A09
dmi.board.name: 0TP412
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 7
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA09:bd06/04/2009:svnDellInc.:pnPrecisionWorkStationT3400:pvr:rvnDellInc.:rn0TP412:rvr:cvnDellInc.:ct7:cvr:
dmi.product.name: Precision WorkStation T3400
dmi.sys.vendor: Dell Inc.

tags: removed: need-duplicate-check
Changed in hplip (Ubuntu):
importance: Undecided → Medium
information type: Private → Public
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in hplip (Ubuntu):
status: New → Confirmed
kadirbalkis (kadirbalkis) wrote :
Download full text (311.1 KiB)

ProblemType: Crash
CrashCounter: 1
Date: Thu Feb 25 10:22:39 2016
ExecutablePath: /usr/lib/cups/filter/hpps
ExecutableTimestamp: 1456326108
InterpreterPath: /usr/bin/python3.5
ProcCmdline: /usr/bin/python3 /usr/lib/cups/filter/hpps 2 kadir İsimsiz1 1 InputSlot=Auto\ PageSize=A4\ job-uuid=urn:uuid:882f573c-fa10-396a-6b95-8d8241c855c0\ job-originating-host-name=localhost\ date-time-at-creation=\ date-time-at-processing=\ time-at-creation=1456388258\ time-at-processing=1456388559\ document-name-supplied=Tv2yKb
ProcCwd: /usr/share/hplip
ProcEnviron:
 PATH=(custom, no user)
 LANG=tr_TR.UTF-8
ProcMaps:
 00400000-00798000 r-xp 00000000 08:02 9166 /usr/bin/python3.5
 00997000-00998000 r--p 00397000 08:02 9166 /usr/bin/python3.5
 00998000-00a2f000 rw-p 00398000 08:02 9166 /usr/bin/python3.5
 00a2f000-00a5f000 rw-p 00000000 00:00 0
 01c28000-020df000 rw-p 00000000 00:00 0 [heap]
 7f9242ece000-7f9242f4e000 rw-p 00000000 00:00 0
 7f9242f4e000-7f9242f5e000 r-xp 00000000 08:02 11454 /usr/lib/x86_64-linux-gnu/liblz4.so.1.7.1
 7f9242f5e000-7f924315d000 ---p 00010000 08:02 11454 /usr/lib/x86_64-linux-gnu/liblz4.so.1.7.1
 7f924315d000-7f924315e000 r--p 0000f000 08:02 11454 /usr/lib/x86_64-linux-gnu/liblz4.so.1.7.1
 7f924315e000-7f924315f000 rw-p 00010000 08:02 11454 /usr/lib/x86_64-linux-gnu/liblz4.so.1.7.1
 7f924315f000-7f9243175000 r-xp 00000000 08:02 526968 /lib/x86_64-linux-gnu/libgcc_s.so.1
 7f9243175000-7f9243374000 ---p 00016000 08:02 526968 /lib/x86_64-linux-gnu/libgcc_s.so.1
 7f9243374000-7f9243375000 rw-p 00015000 08:02 526968 /lib/x86_64-linux-gnu/libgcc_s.so.1
 7f9243375000-7f92434e7000 r-xp 00000000 08:02 11805 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
 7f92434e7000-7f92436e7000 ---p 00172000 08:02 11805 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
 7f92436e7000-7f92436f1000 r--p 00172000 08:02 11805 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
 7f92436f1000-7f92436f3000 rw-p 0017c000 08:02 11805 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
 7f92436f3000-7f92436f7000 rw-p 00000000 00:00 0
 7f92436f7000-7f924385d000 r-xp 00000000 08:02 10773 /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0.0
 7f924385d000-7f9243a5c000 ---p 00166000 08:02 10773 /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0.0
 7f9243a5c000-7f9243a62000 r--p 00165000 08:02 10773 /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0.0
 7f9243a62000-7f9243a63000 rw-p 0016b000 08:02 10773 /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0.0
 7f9243a63000-7f9243aa7000 r-xp 00000000 08:02 9151 /usr/lib/python3/dist-packages/apt_pkg.cpython-35m-x86_64-linux-gnu.so
 7f9243aa7000-7f9243ca7000 ---p 00044000 08:02 9151 /usr/lib/python3/dist-packages/apt_pkg.cpython-35m-x86_64-linux-gnu.so
 7f9243ca7000-7f9243ca8000 r--p 00044000 08:02 915...

kadirbalkis (kadirbalkis) wrote :

My problem is, when not printing system language Turkish.
While not a problem in English, I can print.
I had previously filed a registration error.
https://bugs.launchpad.net/ubuntu/+source/system-config-printer/+bug/1460936

rpr nospam (rpr-nospam) wrote :

I am seeing this bug on Ubuntu 16.04 64-bit, with Linux 4.4.0-101-generic, hplip 3.16.3+repack0-1, cups 2.1.3-4ubuntu0.3 and python 3.5.2-2.

Dylan Medina (dmedina) wrote :

This error seems to be in the /prnt/filters/hpps file. The file handle output_fd is never opened. The line opens the file (150) is commented out. The issue is that when the HPPS filter throws an error, it attempts to write to a non-existant temp file. It could be solved by uncommenting line 150, or even better, adding some exception handling. See attached patch.

The attachment "hpps.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers