LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-14-2010, 05:14 AM   #1
ianthe
LQ Newbie
 
Registered: Jul 2010
Posts: 4

Rep: Reputation: 0
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
File: libgs.so.8.62

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 libgs.so.8.62[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
ianthe


-- 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:1.2.3.3.dfsg-12 compression library - runtime

libgs8 recommends no packages.

libgs8 suggests no packages.
 
Old 07-14-2010, 03:03 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,289

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
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.
 
Old 07-15-2010, 03:11 PM   #3
ianthe
LQ Newbie
 
Registered: Jul 2010
Posts: 4

Original Poster
Rep: Reputation: 0
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!
 
Old 07-16-2010, 02:51 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,289

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
The problem is actually the strange language thiose printers speak. I configured that exactly as the package told me to.i.e.
./configure [options]
make
./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
 
Old 07-16-2010, 03:09 AM   #5
ianthe
LQ Newbie
 
Registered: Jul 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks!
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!
 
Old 07-16-2010, 03:23 AM   #6
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
It's probably a bug. You should run reportbug, and report it.
 
Old 07-16-2010, 07:11 AM   #7
ianthe
LQ Newbie
 
Registered: Jul 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks!
Yes, I think that as well. I reported it with reportbug 3 days ago. Hope to get an answer soon.

Cheers
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CUPS - Print jobs shows completed, but page doesn't print hikerguy Linux - Software 10 05-12-2017 12:17 PM
/var/log/messages shows IN=eth0 OUT soumen1974 Linux - Networking 2 01-30-2009 05:28 AM
CUPS shows job sent from gLabels, but doesn't print it CJ Chitwood Linux - General 2 09-30-2007 08:27 AM
/var/log/messages is empty, and also dmesg shows nothing beagle2 Linux - General 5 11-08-2005 08:12 AM
/var/log/messages shows failed login attempts... plan9 Linux - Security 8 08-08-2004 12:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration