crash cups-proxyd

Bug #2021956 reported by Ionut Nechita
32
This bug affects 7 people
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Ubuntu IOT Desktop 22.04 LTS

# cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.2 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

Kernel Version: 5.15.0-1028-intel-iotg

# journalctl --no-hostname -b --no-pager | grep cups-proxyd
mai 31 11:51:22 cups.cupsd[949]: + PROXY_DAEMON=cups-proxyd
mai 31 11:51:22 cups.cupsd[3032]: exec cups-proxyd /var/snap/cups/common/run/cups.sock /run/cups/cups.sock -l --logdir /var/snap/cups/872/var/log
mai 31 11:51:23 audit[3032]: SECCOMP auid=4294967295 uid=0 gid=0 ses=4294967295 subj=snap.cups.cupsd pid=3032 comm="cups-proxyd" exe="/snap/cups/872/sbin/cups-proxyd" sig=0 arch=c000003e syscall=314 compat=0 ip=0x7fb050c2973d code=0x50000
mai 31 11:51:23 kernel: audit: type=1326 audit(1685523083.773:85): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=snap.cups.cupsd pid=3032 comm="cups-proxyd" exe="/snap/cups/872/sbin/cups-proxyd" sig=0 arch=c000003e syscall=314 compat=0 ip=0x7fb050c2973d code=0x50000
mai 31 11:51:24 kernel: cups-proxyd[3032]: segfault at 18 ip 0000558e95990d6e sp 00007ffe2436a230 error 4 in cups-proxyd[558e9598d000+7000]

Error: cups-proxyd[3032]: segfault at 18 ip 0000558e95990d6e sp 00007ffe2436a230 error 4 in cups-proxyd[558e9598d000+7000]

Snap list:
# snap list
Name Version Rev Tracking Publisher Notes
bare 1.0 5 latest/stable canonical✓ base
chromium 113.0.5672.126 2477 latest/stable canonical✓ -
core20 20230503 1891 latest/stable canonical✓ base
core22 20230503 634 latest/stable canonical✓ base
cups 2.4.2-5 872 latest/stable openprinting✓ -
firefox 111.0-2 2432 latest/stable/… mozilla✓ -
gnome-3-38-2004 0+git.6f39565 140 latest/stable/… canonical✓ -
gnome-42-2204 0+git.587e965 102 latest/stable canonical✓ -
gtk-common-themes 0.1-81-g442e511 1535 latest/stable/… canonical✓ -
snap-store 41.3-71-g709398e 959 latest/stable/… canonical✓ -
snapd 2.59.2 19122 latest/stable canonical✓ snapd
snapd-desktop-integration 0.9 83 latest/stable/… canonical✓ -

Reproduced: At every boot OS

Tags: snap
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

cups-proxyd is replicating your system CUPS' print queues and IPP print services available to your system on the CUPS of the CUPS Snap. Therefore | need to know what is available on your system. So please run the following commands and post the output here:

lpstat -v
driverless
driverless --std-ipp-uris
ippfind

Also please attach your file

/var/snap/cups/current/var/log/cups-proxyd_log

Do not compress the file.

Changed in cups (Ubuntu):
status: New → Incomplete
Revision history for this message
Nathan Bryant (nbryant42) wrote :

This also affects me (identical IP in the segfault) but I don't have any printers set up.

Revision history for this message
Ro (robert-markula) wrote :
Download full text (8.4 KiB)

I also experience this issue on a freshly installed Ubuntu 22.04 Desktop with no printers atteched.

First I give an overview of my system and then I'll try to add the missing information.

*** Kernel version: ***
# uname -a
Linux hostname 5.15.0-76-generic #83-Ubuntu SMP Thu Jun 15 19:16:32 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

*** OS information: ***
# cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.2 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

*** List of installed Snaps: ***
root@hostname:~# snap list
Name Version Revision Tracking Herausgeber Hinweise
bare 1.0 5 latest/stable canonical✓ base
chromium 114.0.5735.198 2529 latest/stable canonical✓ -
core18 20230530 2785 latest/stable canonical✓ base
core20 20230622 1974 latest/stable canonical✓ base
core22 20230703 817 latest/stable canonical✓ base
cups 2.4.6-4 980 latest/stable openprinting✓ -
firefox 115.0.2-1 2908 latest/stable mozilla✓ -
gnome-3-28-1804 3.28.0-19-g98f9e67.98f9e67 198 latest/stable canonical✓ -
gnome-3-38-2004 0+git.efb213a 143 latest/stable canonical✓ -
gnome-42-2204 0+git.ff35a85 120 latest/stable canonical✓ -
gtk-common-themes 0.1-81-g442e511 1535 latest/stable canonical✓ -
mqtt-explorer 0.3.5 29 latest/stable thomasnordquist -
snapd 2.59.5 19457 latest/stable canonical✓ snapd

*** Segfault in the syslog: ***
# less /var/log/syslog:
Jul 20 09:48:29 hostname kernel: [ 86.133013] audit: type=1326 audit(1689839309.216:87): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=snap.cups.cupsd pid=8278 comm="cupsd" exe="/snap/cups/980/sbin/cupsd" sig=0 arch=c000003e syscall=93 compat=0 ip=0x7fd3108a8c4b code=0x50000
Jul 20 09:48:30 hostname kernel: [ 87.194090] audit: type=1326 audit(1689839310.280:88): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=snap.cups.cupsd pid=8280 comm="cups-proxyd" exe="/snap/cups/980/sbin/cups-proxyd" sig=0 arch=c000003e syscall=314 compat=0 ip=0x7f652264ca3d code=0x50000
Jul 20 09:48:30 hostname kernel: [ 87.861485] cups-proxyd[8280]: segfault at 18 ip 000056043483ad75 sp 00007fffff58ad80 error 4 in cups-proxyd[560434837000+7000]
Jul 20 09:48:30 hostname kernel: [ 87.861534] Code: 83 3d ee b2 00 00 00 41 54 55 48 89 fd 53 0f 85 f4 00 00 00 48 8d 1d 69 3d 00 00 48 63 45 1c 48 89 df 48 c1 e0 05 48 03 45 08 <48> 8b 50 18 8b 70 14 e8 0f d0 ff ff 44 8b 65 18 48 89 c7 45 85 e4

*** cups-proxyd_log from the...

Read more...

Revision history for this message
Ro (robert-markula) wrote :
Download full text (5.0 KiB)

Upon further investigation, I noticed that the cups snap was installed alongside the apt package from the Ubuntu repositories, which is installed by default on ubuntu-desktop and ubuntu-desktop-minimal:

# dpkg -l | grep cups
ii bluez-cups 5.64-0ubuntu1 amd64 Bluetooth printer driver for CUPS
ii cups 2.4.1op1-1ubuntu4.4 amd64 Common UNIX Printing System(tm) - PPD/driver support, web interface
ii cups-browsed 1.28.15-0ubuntu1.2 amd64 OpenPrinting CUPS Filters - cups-browsed
ii cups-bsd 2.4.1op1-1ubuntu4.4 amd64 Common UNIX Printing System(tm) - BSD commands
ii cups-client 2.4.1op1-1ubuntu4.4 amd64 Common UNIX Printing System(tm) - client programs (SysV)
ii cups-common 2.4.1op1-1ubuntu4.4 all Common UNIX Printing System(tm) - common files
ii cups-core-drivers 2.4.1op1-1ubuntu4.4 amd64 Common UNIX Printing System(tm) - driverless printing
ii cups-daemon 2.4.1op1-1ubuntu4.4 amd64 Common UNIX Printing System(tm) - daemon
ii cups-filters 1.28.15-0ubuntu1.2 amd64 OpenPrinting CUPS Filters - Main Package
ii cups-filters-core-drivers 1.28.15-0ubuntu1.2 amd64 OpenPrinting CUPS Filters - Driverless printing
ii cups-ipp-utils 2.4.1op1-1ubuntu4.4 amd64 Common UNIX Printing System(tm) - IPP developer/admin utilities
ii cups-pk-helper 0.2.6-1ubuntu5 amd64 PolicyKit helper to configure cups with fine-grained privileges
ii cups-ppdc 2.4.1op1-1ubuntu4.4 amd64 Common UNIX Printing System(tm) - PPD manipulation utilities
ii cups-server-common 2.4.1op1-1ubuntu4.4 all Common UNIX Printing System(tm) - server common files
ii libcups2:amd64 2.4.1op1-1ubuntu4.4 amd64 Common UNIX Printing System(tm) - Core library
ii libcupsfilters1:amd64 1.28.15-0ubuntu1.2 amd64 OpenPrinting CUPS Filters - Shared library
ii libcupsimage2:amd64 2.4.1op1-1ubuntu4.4 amd64 Common UNIX Printing System(tm) - Raster image library
ii printer-driver-hpcups 3.21.12+dfsg0-1 amd64 HP Linux Printing and Imaging - CUPS Raster driver (hpcups)
ii python3-cups:amd64 2.0.1-5build1 amd64 Python3 bindings for CUPS
ii python3-cupshelpers 1.5.16-0ubuntu3 all Python utility modules...

Read more...

Revision history for this message
Nathan Bryant (nbryant42) wrote :

Maybe that's because it was upgraded from Focal? Seems like the probable cause at least on my machine

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for cups (Ubuntu) because there has been no activity for 60 days.]

Changed in cups (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Islam (islam) wrote :

I'm getting this error on 23.10:
cups-proxyd[2415]: segfault at 18 ip 000055efd95e6d75 sp 00007ffc3ee0d810 error 4 in cups-proxyd[55efd95e3000+7000] likely on CPU 1 (core 1, socket 0)

Changed in cups (Ubuntu):
status: Expired → New
Revision history for this message
Eugene San (eugenesan) wrote :

I can confirm the issue on 23.10 with no printers configured

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in cups (Ubuntu):
status: New → Confirmed
Revision history for this message
Islam (islam) wrote :

Still happening in 24.04.

Revision history for this message
Birgit Edel (biredel) wrote :

From 22.04, no printers (LP: #2017447):

2024-06-12 16:15:04.871 kernel cups-proxyd[1716]: segfault at 18 ip 00005ab34f1b1d75 sp 00007fff18534040 error 4 in cups-proxyd[5ab34f1ae000+7000] likely on CPU 1 (core 1, socket 0)
2024-06-12 16:15:04.871+02 kernel Code: 83 3d ee b2 00 00 00 41 54 55 48 89 fd 53 0f 85 f4 00 00 00 48 8d 1d 69 3d 00 00 48 63 45 1c 48 89 df 48 c1 e0 05 48 03 45 08 <48> 8b 50 18 8b 70 14 e8 0f d0 ff ff 44 8b 65 18 48 89 c7 45 85 e4
2024-06-12 16:15:40.830 snap.cups.cupsd.service cups.cupsd[3630]: ==> Shutting down cups-browsed first
2024-06-12 16:15:40.830 snap.cups.cupsd.service cups.cupsd[3659]: /snap/cups/1047/scripts/stop-cupsd: 15: /snap/cups/1047/stop-cups-browsed: not found
2024-06-12 16:15:40.833 init.scope systemd[1]: snap.cups.cupsd.service: Control process exited, code=exited, status=127/n/a
2024-06-12 16:15:40.899 init.scope systemd[1]: snap.cups.cupsd.service: Failed with result 'exit-code'.
2024-06-12 16:15:41.000 init.scope systemd[1]: snap.cups.cups-browsed.service: Main process exited, code=exited, status=143/n/a
2024-06-12 16:15:41.013 init.scope systemd[1]: snap.cups.cups-browsed.service: Failed with result 'exit-code'.
2024-06-12 16:15:53.858 kernel cups-proxyd[4275]: segfault at 18 ip 0000562d38300d75 sp 00007ffe3755adc0 error 4 in cups-proxyd[562d382fd000+7000] likely on CPU 0 (core 0, socket 0)
2024-06-12 16:15:53.859 kernel Code: 83 3d ee b2 00 00 00 41 54 55 48 89 fd 53 0f 85 f4 00 00 00 48 8d 1d 69 3d 00 00 48 63 45 1c 48 89 df 48 c1 e0 05 48 03 45 08 <48> 8b 50 18 8b 70 14 e8 0f d0 ff ff 44 8b 65 18 48 89 c7 45 85 e4

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.