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 around the CUPS printing system


# 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  -
snap-store                 41.3-71-g709398e            959       latest/stable  
canonical✓       -
snapd                      2.59.5                      19457     latest/stable  
canonical✓       snapd
snapd-desktop-integration  0.9                         83        latest/stable  
canonical✓       -


After removing the snap package the segfault did not occur again:

# snap remove cups

I have yet to investigate how the snap package got installed on this
system. I could verify that it does not get installed on by the Ubuntu
22.04.0 Desktop ISO image by default.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/2021956

Title:
  crash cups-proxyd

Status in cups package in Ubuntu:
  Incomplete

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/2021956/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to