[SOLVED] CUPS unable to print. CUPS runs gs and libgs8 shows segfault in /var/log/messages
Linux - SoftwareThis 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.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
CUPS unable to print. CUPS runs gs and libgs8 shows segfault in /var/log/messages
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: 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)
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:188.8.131.52.dfsg-12 compression library - runtime
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.
The problem is actually the strange language thiose printers speak. I configured that exactly as the package told me to.i.e.
./getweb P1005 # which gets the firmware
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
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!