cups crashes when using web-gui and refuses to print
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Ubuntu) |
Fix Released
|
High
|
Jamie Strandboge | ||
Hardy |
Fix Released
|
High
|
Jamie Strandboge | ||
Intrepid |
Fix Released
|
High
|
Jamie Strandboge | ||
samba (Ubuntu) |
Triaged
|
Undecided
|
Unassigned | ||
Hardy |
Won't Fix
|
Undecided
|
Unassigned | ||
Intrepid |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: cupsys
I tried to print today but the printing job was just put in the queue and nothing was printed. I did not get the printer icon in the notification area.
I noticed how I got errors in auth.log from cups:
Apr 15 15:42:56 thnov-desktop cupsd: PAM unable to dlopen(
Apr 15 15:42:56 thnov-desktop cupsd: PAM [error: /lib/security/
I found that in bug #216990 this was solved by installing libpam-smbpass. Why was i missing this package?
Anyway, after I installed it, still I cannot print. I restarted cups via '/etc/init.d/cupsys restart' and I can see that user lp has a couple of processes which seems to be handling by printing jobs.
When I go to localhost:631 in a browser cups immediately crashes. This crash is not picked up by apport nor is anything written in /var/crash.
I started the process manually so I could see the crash:
$ sudo /usr/sbin/cupsd -f
sh: /usr/share/
Aborted (core dumped)
So, every time I restart cups now my jobs are being processed but nothing is being printed. I see no activity at my printer. As soon as I try to use the web gui it crashes.
$ lsb_release -rd
Description: Ubuntu hardy (development branch)
Release: 8.04
$ dpkg -l | grep cups
ii bluez-cups 3.26-0ubuntu5 Bluetooth printer driver for CUPS
ii cups-pdf 2.4.6-4ubuntu2 PDF printer for CUPS
ii cupsddk 1.2.0-0ubuntu1 CUPS Driver Development Kit
ii cupsddk-drivers 1.2.0-0ubuntu1 CUPS Driver Development Kit - Driver files
ii cupsys 1.3.7-1ubuntu2 Common UNIX Printing System(tm) - server
ii cupsys-bsd 1.3.7-1ubuntu2 Common UNIX Printing System(tm) - BSD comman
ii cupsys-client 1.3.7-1ubuntu2 Common UNIX Printing System(tm) - client pro
ii cupsys-common 1.3.7-1ubuntu2 Common UNIX Printing System(tm) - common fil
ii cupsys-
ii hal-cups-utils 0.6.13+
ii libcupsimage2 1.3.7-1ubuntu2 Common UNIX Printing System(tm) - image libs
ii libcupsys2 1.3.7-1ubuntu2 Common UNIX Printing System(tm) - libs
ii libgnomecups1.0-1 0.2.3-1ubuntu1 GNOME library for CUPS interaction
ii python-cups 1.9.34-0ubuntu1 Python bindings for CUPS
TEST CASE:
- install libpam-smbpass and cupsys
- adjust all the 'Require user' directives to point to a non-existant user
- go to http://
Changed in samba: | |
assignee: | nobody → jdstrand |
status: | New → Triaged |
Changed in apparmor: | |
assignee: | nobody → jdstrand |
Changed in samba: | |
assignee: | jdstrand → nobody |
Changed in samba: | |
status: | New → Won't Fix |
Changed in apparmor: | |
assignee: | nobody → jdstrand |
importance: | Undecided → High |
milestone: | none → ubuntu-8.04.1 |
status: | New → Triaged |
milestone: | ubuntu-8.04.1 → none |
milestone: | ubuntu-8.04.1 → none |
status: | Triaged → Fix Committed |
Changed in samba: | |
status: | Won't Fix → Fix Committed |
Changed in samba: | |
status: | Fix Committed → Won't Fix |
description: | updated |
description: | updated |
Changed in apparmor: | |
milestone: | none → ubuntu-8.04.1 |
affects: | samba (Ubuntu Hardy) → kdesudo (Ubuntu Hardy) |
Changed in kdesudo (Ubuntu Hardy): | |
assignee: | nobody → neil.james130@ntlworld.com (neil-james130) |
Changed in kdesudo (Ubuntu): | |
assignee: | nobody → neil.james130@ntlworld.com (neil-james130) |
affects: | kdesudo (Ubuntu) → samba (Ubuntu) |
Changed in samba (Ubuntu): | |
assignee: | neil.james130@ntlworld.com (neil-james130) → nobody |
Changed in samba (Ubuntu Hardy): | |
assignee: | neil.james130@ntlworld.com (neil-james130) → nobody |
After booting the computer this morning I could immediately see that the printer icon appeared after logging in. I could see one job there struggling to get printed. After I while I got a popup that my printer might not be connected.
I cancelled the job and then tried the web-gui. It worked without any problem, no segmentation faults.
Printing new documents still fails though. My last completed printout was printed Mon 14 Apr 2008 08:29:32 PM CEST ("Show Completed Jobs").