[cups] CUPSD 2.2.4 LIBC6 2.24-12ubuntu1 Ubuntu Zesty 17.04 Kernel 4.10.0-32-generic Segementation Fault
Johannes Hörmann
johannes.laurin at gmail.com
Wed Aug 16 06:57:00 PDT 2017
Dear CUPS Community,
on my Ubuntu 17.04 64 bit machine, a few weeks ago (probably after some
package upgrade) cupsd stopped working. Everytime restarting the service
I get
Aug 16 14:33:57 jotelha-ESPRIMO-P957 systemd[1]: Started CUPS Scheduler.
Aug 16 14:33:57 jotelha-ESPRIMO-P957 kernel: [163039.032875]
cupsd[17319]: segfault at 0 ip 00007f406c539675 sp 00007ffec7ff31b8
error 4 in libc-2.24.so[7f406c3ec000+1bc000]
Aug 16 14:33:57 jotelha-ESPRIMO-P957 kernel: [163039.032879] audit:
type=1400 audit(1502886837.322:209): apparmor="DENIED" operation="open"
profile="/usr/sbin/cupsd" name="/proc/17319/cmdline" pid=17319
comm="cupsd" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Aug 16 14:33:57 jotelha-ESPRIMO-P957 systemd[1]: cups.service: Main
process exited, code=dumped, status=11/SEGV
Aug 16 14:33:57 jotelha-ESPRIMO-P957 systemd[1]: cups.service: Unit
entered failed state.
Aug 16 14:33:57 jotelha-ESPRIMO-P957 systemd[1]: cups.service: Failed
with result 'core-dump'.
in /var/log/syslog. No cupsd error log is written when activated in
/etc/cups/cupsd.conf, probably because it just crashes before even doing
anything.
In hope of somehow fixing the problem, I purged most of the cups-related
packages with APT and reinstalled, same problem. Then purged,
temporarily added the experimental sources
deb http://de.archive.ubuntu.com/ubuntu artful main
deb-src http://de.archive.ubuntu.com/ubuntu artful main
to /etc/apt/sources.list
and installed again the newest cups packages, same problem. Ten also
upgraded the libc6 packages, same problem. Finally purged cups related
packages again and compiled by myself from CUPS 2.2.4 sources. Now the
system consists of the following versions:
ii libc6:amd64 2.24-12ubuntu1 amd64 GNU C
Library: Shared libraries
ii libc6:i386 2.24-12ubuntu1 i386 GNU C
Library: Shared libraries
The problem remains. Even a simple `sudo /usr/sbin/cupsd --version`
gives `Segmentation fault (core dumped)`. I have no idea where to look
for the source of this issue.
There are some CUPS-related packages, which I never purged, since to
many other software packages depend on them. Those are:
libcups2/now 2.2.4-3 amd64 [installed,local]
libcups2-dev/now 2.2.4-3 amd64 [installed,local]
libcupsfilters-dev/now 1.16.0-2 amd64 [installed,local]
libcupsfilters1/now 1.16.0-2 amd64 [installed,local]
libcupsimage2/now 2.2.4-3 amd64 [installed,local]
libcupsimage2-dev/now 2.2.4-3 amd64 [installed,local]
libcupsmime1/now 2.2.4-3 amd64 [installed,local]
libcupsppdc1/now 2.2.4-3 amd64 [installed,local]
python3-cups/zesty,now 1.9.73-1 amd64 [installed,automatic]
python3-cupshelpers/zesty,zesty,now 1.5.7+20160812-0ubuntu9 all
[installed,automatic]
Should I also remove and reinstall those? Do you have any idea why this
problem arises?
Thank you very much in advance,
Johannes
Some other elevant information:
uname -r
4.10.0-32-generic
uname -a
Linux jotelha-ESPRIMO-P957 4.10.0-32-generic #36-Ubuntu SMP Tue Aug 8
12:10:06 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
cat /proc/version
Linux version 4.10.0-32-generic (buildd at lcy01-05) (gcc version 6.3.0
20170406 (Ubuntu 6.3.0-12ubuntu2) ) #36-Ubuntu SMP Tue Aug 8 12:10:06
UTC 2017
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 17.04
Release: 17.04
Codename: zesty
More information about the cups
mailing list