-   Linux - Software (
-   -   CUPS unable to print. CUPS runs gs and libgs8 shows segfault in /var/log/messages (

ianthe 07-14-2010 05:14 AM

CUPS unable to print. CUPS runs gs and libgs8 shows segfault in /var/log/messages
Package: libgs8
Version: 8.62.dfsg.1-3.2lenny1
Severity: important

On 12.7.2010 I did the last update of packages for lenny amd64 with aptitude and now CUPS is unable to print (blank pages). CUPS runs gs to print and the library libgs8 shows segmentation fault in the /var/log/messages:
"Jul 13 14:28:13 ianthe kernel: [ 8819.083526] gs[16519]: segfault at ffffffffd659c9c8 ip 7f26dbe7849c sp 7fffe49d2430 error 4 in[7f26dbc33000+4d2000]"

In addition, I get the message
"hpijs: unable to read client data err=-2".
Version of hpijs and hplip is 2.8.6.b-4

I'm using HP LaserJet P2015 Series. Printer Driver: HP LaserJet p2015dn series Foomatic/hpijs, hpijs 2.8.6b

IMPORTANT: before that last update with aptitude, printing was working pertectly (since lenny amd64 Installation July 2009)

Thanks in advance

-- System Information:
Debian Release: 5.0.5
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libgs8 depends on:
ii libc6 2.7-18lenny4 GNU C Library: Shared libraries
ii libcomerr2 1.41.3-1 common error description library
ii libcups2 1.3.8-1+lenny8 Common UNIX Printing System(tm) -
ii libcupsimage2 1.3.8-1+lenny8 Common UNIX Printing System(tm) -
ii libfontconfig1 2.6.0-3 generic font configuration library
ii libgnutls26 2.4.2-6+lenny2 the GNU TLS library - runtime libr
ii libjpeg62 6b-14 The Independent JPEG Group's JPEG
ii libkrb53 1.6.dfsg.4~beta1-5lenny4 MIT Kerberos runtime libraries
ii libpaper1 1.1.23+nmu1 library for handling paper charact
ii libpng12-0 1.2.27-2+lenny3 PNG library - runtime
ii libstdc++6 4.3.2-1.1 The GNU Standard C++ Library v3
ii libtiff4 3.8.2-11.2 Tag Image File Format (TIFF) libra
ii zlib1g 1: compression library - runtime

libgs8 recommends no packages.

libgs8 suggests no packages.

business_kid 07-14-2010 03:03 PM

I'm using the Laserjet P1005, and it uses foo2zjs, and runs very well. The help is excellent on site. That integrates itself with hotplug, cups etc.

ianthe 07-15-2010 03:11 PM

Thanks business_kid,

I might try that. I was also thinking of configuring the printer in KDE so that if doesn't use gs, which seems to give the problem now. Did you configure foo2zjs to be used by the printer in the control center of KDE or Gnome? I'll check the site.

However, I'm puzzled because I never had a printing problem with HP and Debian CUPS, either in the past using etch for i386 and or recently using lenny for amd64. The regular update with aptitude seems to have changed it now. I wonder if a next update soon will fix some library (eg libgs8) which is giving me probmels.

Thanks again!

business_kid 07-16-2010 02:51 AM

The problem is actually the strange language thiose printers speak. I configured that exactly as the package told me to.i.e.
./configure [options]
./getweb P1005 # which gets the firmware
make install
make install-hotplug # which sets it up to download the firmware every time you plug it in/switch it on.

It shows as a system priinter, but I wouldn't use kde, so I can't help you there. They have forums

ianthe 07-16-2010 03:09 AM

I'll try it today later at work, which is where I have the problem.
In any case, it will be a good idea to make CUPS not use gs for a while so that I can print more than blank pages again :-)
I'll try foo2zjs!

AwesomeMachine 07-16-2010 03:23 AM

It's probably a bug. You should run reportbug, and report it.

ianthe 07-16-2010 07:11 AM

Yes, I think that as well. I reported it with reportbug 3 days ago. Hope to get an answer soon.


All times are GMT -5. The time now is 04:01 PM.