cupsd 2.2.0-2 crashed with SIGABRT in __malloc_assert()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cups (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
I am unable to print after a smooth upgrade from 16.04 to 16.10, as the cupsd service would not start. The installed version of cups-daemon is 2.2.0-2. I am using Ubuntu release 16.10.
Syslog shows:
Oct 22 18:36:46 mcarro-
ProblemType: Crash
DistroRelease: Ubuntu 16.10
Package: cups-daemon 2.2.0-2
ProcVersionSign
Uname: Linux 4.8.0-27-generic x86_64
ApportVersion: 2.20.3-0ubuntu8
Architecture: amd64
CrashCounter: 1
Date: Sat Oct 22 09:35:50 2016
ExecutablePath: /usr/sbin/cupsd
InstallationDate: Installed on 2015-06-15 (495 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: Bad file descriptor
MachineType: LENOVO 20BSCTO1WW
Papersize: a4
ProcAttrCurrent: /usr/sbin/cupsd (enforce)
ProcCmdline: BOOT_IMAGE=
ProcKernelCmdLine: BOOT_IMAGE=
Signal: 6
SourcePackage: cups
StacktraceTop:
__malloc_assert (assertion=
mremap_chunk (p=p@entry=
__GI__
cupsFilePrintf () from /usr/lib/
?? ()
Title: cupsd crashed with SIGABRT in __malloc_assert()
UpgradeStatus: Upgraded to yakkety on 2016-10-14 (7 days ago)
UserGroups:
dmi.bios.date: 05/08/2015
dmi.bios.vendor: LENOVO
dmi.bios.version: N14ET29W (1.07 )
dmi.board.
dmi.board.name: 20BSCTO1WW
dmi.board.vendor: LENOVO
dmi.board.version: SDK0E50512 STD
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 20BSCTO1WW
dmi.product.
dmi.sys.vendor: LENOVO
tags: | removed: need-amd64-retrace |
I have (apparently) solved the problem. In several printer definitions printers.conf had a long (some 4000 chars?) configuration line (see at the end of this message). There were recurring errors in cups/error_log stating "Unknown configuration directive" which I had not noticed. I removed the (offending?) printer entries by hand and it seemed to work (tested in my home printer). The rest of the printers (even the ones I removed by hand) seem to be available now. I can see them in the printing dialogs and in the system printer configuration. But the entries I removed (or very similar ones) are back in printers.conf, and now I can stop and re what start cupsd.
One of the entries that cups/error_log complained about is:
Info HP Designjet T520 36in \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\\\ \\\\\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