whenever cups receives a job it crashes
Bug #126981 reported by
stevie
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cupsys (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: cupsys
If I remove all the files from /var/spool/cups and restart the daemon it'll run for a while, then as soon as a file gets created in /var/spool/cups the daemon crashes with the following in /var/log/messages:
Jul 19 14:47:32 moose [881012.906851] cupsd[20730]: segfault at 0000000000000000 rip 000000000040bded rsp 00007ffffff539e0 error 4
To post a comment you must log in.
I have attached an strace and error log entry at time of crash:
I [19/Jul/ 2007:15: 07:40 +0100] Listening to 192.168.9.4:631 (IPv4) 2007:15: 07:40 +0100] Listening to 127.0.0.1:631 (IPv4) 2007:15: 07:40 +0100] Loaded configuration file "/etc/cups/ cupsd.conf" 2007:15: 07:40 +0100] Cleaning out old temporary files in "/var/spool/ cups/tmp" ... 2007:15: 07:40 +0100] Configured for up to 100 clients. 2007:15: 07:40 +0100] Allowing up to 100 client connections per host. 2007:15: 07:40 +0100] Using policy "default" as the default! 2007:15: 07:40 +0100] Full reload is required. 2007:15: 07:40 +0100] Loaded MIME database from '/etc/cups': 34 types, 39 filters... 2007:15: 07:40 +0100] Loading printer hp_usb_ OfficeJet_ 6100_Series. .. 2007:15: 07:40 +0100] Loading class squirrel... 2007:15: 07:40 +0100] Scanning /var/spool/cups for jobs... 2007:15: 07:40 +0100] Loading NextJobId from job cache file "/var/cache/ cups/job. cache". .. 2007:15: 07:40 +0100] Full reload complete. 2007:15: 07:40 +0100] Listening to 192.168.9.4:631 on fd 0... 2007:15: 07:40 +0100] Listening to 127.0.0.1:631 on fd 1... 2007:15: 07:57 +0100] cupsdAcceptClient: 6 from 192.168.9.210:631 (IPv4) 2007:15: 07:57 +0100] cupsdReadClient: 6 POST /printers/squirrel HTTP/1.1 2007:15: 07:57 +0100] cupsdAuthorize: No authentication data provided. 2007:15: 07:57 +0100] cupsdNetIFUpdate: "lo" = localhost... 2007:15: 07:57 +0100] cupsdNetIFUpdate: "eth0" = moose.lockdown. nu... 2007:15: 07:57 +0100] cupsdNetIFUpdate: "eth0:1" = 192.168.9.5... 2007:15: 07:57 +0100] cupsdNetIFUpdate: "lo" = localhost... 2007:15: 07:57 +0100] cupsdNetIFUpdate: "eth0" = fe80::218: f3ff:fe6c: 3de0%eth0. .. 2007:15: 07:57 +0100] Get-Printer- Attributes http:// moose:631/ printers/ squirrel 2007:15: 07:57 +0100] cupsdProcessIPP Request: 6 status_code=0 (successful-ok) 2007:15: 07:57 +0100] cupsdReadClient: 6 POST /printers/squirrel HTTP/1.1 2007:15: 07:57 +0100] cupsdAuthorize: No authentication data provided. 2007:15: 07:57 +0100] Print-Job http:// moose:631/ printers/ squirrel 2007:15: 07:57 +0100] print_job: request file type is application/ vnd.cups- raw. 2007:15: 07:57 +0100] add_job: requesting- user-name= "steve" 2007:15: 07:57 +0100] Adding default job-sheets values "none,none"... 2007:15: 07:57 +0100] Adding start banner page "none" to job 1. 2007:15: 07:57 +0100] Discarding unused job-created event... 2007:15: 07:57 +0100] Adding end banner page "none" to job 1. 2007:15: 07:57 +0100] Job 1 queued on "squirrel" by "steve". 2007:15: 07:57 +0100] Job 1 hold_until = 0
I [19/Jul/
I [19/Jul/
I [19/Jul/
I [19/Jul/
I [19/Jul/
I [19/Jul/
I [19/Jul/
I [19/Jul/
D [19/Jul/
D [19/Jul/
D [19/Jul/
I [19/Jul/
I [19/Jul/
I [19/Jul/
I [19/Jul/
D [19/Jul/
D [19/Jul/
D [19/Jul/
D [19/Jul/
D [19/Jul/
D [19/Jul/
D [19/Jul/
D [19/Jul/
D [19/Jul/
D [19/Jul/
D [19/Jul/
D [19/Jul/
D [19/Jul/
D [19/Jul/
D [19/Jul/
D [19/Jul/
I [19/Jul/
D [19/Jul/
I [19/Jul/
I [19/Jul/
D [19/Jul/