Comment 0 for bug 2018504

Revision history for this message
James Henstridge (jamesh) wrote :

It could be a problem with the network, but I'm seeing cups-browsed appearing to keep one CPU core busy. This seems surprising, since I'd only expect it to be doing something when printers are advertised over mDNS.

It may be unrelated, but I'm also seeing warnings like the following in the journal:

    May 04 14:26:11 lrrr cups-browsed[68281]: Source ID 1207266864 was not found when attempting to remove it
    May 04 14:26:11 lrrr cups-browsed[68281]: Source ID 1207318247 was not found when attempting to remove it
    May 04 14:26:11 lrrr cups-browsed[68281]: Source ID 1207362184 was not found when attempting to remove it
    May 04 14:26:11 lrrr cups-browsed[68281]: Source ID 1207375185 was not found when attempting to remove it
    May 04 14:38:28 lrrr cups-browsed[68281]: Source ID 1303173242 was not found when attempting to remove it
    May 04 14:38:28 lrrr cups-browsed[68281]: Source ID 1303188526 was not found when attempting to remove it
    May 04 14:38:28 lrrr cups-browsed[68281]: Source ID 1303229832 was not found when attempting to remove it
    May 04 14:38:28 lrrr cups-browsed[68281]: Source ID 1303249965 was not found when attempting to remove it
    May 04 14:38:28 lrrr cups-browsed[68281]: Source ID 1303265399 was not found when attempting to remove it
    May 04 14:38:39 lrrr cups-browsed[68281]: Source ID 1304615115 was not found when attempting to remove it
    May 04 14:50:48 lrrr cups-browsed[68281]: Source ID 1398290009 was not found when attempting to remove it
    May 04 14:50:48 lrrr cups-browsed[68281]: Source ID 1398304338 was not found when attempting to remove it
    May 04 14:50:48 lrrr cups-browsed[68281]: Source ID 1398387203 was not found when attempting to remove it
    May 04 14:50:51 lrrr cups-browsed[68281]: Source ID 1398664816 was not found when attempting to remove it
    May 04 14:50:51 lrrr cups-browsed[68281]: Source ID 1398674240 was not found when attempting to remove it
    May 04 14:50:51 lrrr cups-browsed[68281]: Source ID 1398687187 was not found when attempting to remove it
    May 04 14:50:51 lrrr cups-browsed[68281]: Source ID 1398698982 was not found when attempting to remove it
    May 04 14:50:51 lrrr cups-browsed[68281]: Source ID 1398726803 was not found when attempting to remove it
    May 04 14:52:24 lrrr cups-browsed[68281]: Source ID 1410715532 was not found when attempting to remove it
    May 04 14:52:24 lrrr cups-browsed[68281]: Source ID 1410741036 was not found when attempting to remove it
    May 04 14:52:24 lrrr cups-browsed[68281]: Source ID 1410777106 was not found when attempting to remove it
    May 04 14:52:25 lrrr cups-browsed[68281]: Source ID 1410797157 was not found when attempting to remove it

These errors seem to be generated when glib's g_source_remove() function is called with an ID for a job that doesn't exist. This could indicate that cups-browsed is losing track of an idle or timeout function.

ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: cups-browsed 2.0~rc1-0ubuntu1
ProcVersionSignature: Ubuntu 6.2.0-20.20-generic 6.2.6
Uname: Linux 6.2.0-20-generic x86_64
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Thu May 4 15:10:03 2023
InstallationDate: Installed on 2017-09-02 (2070 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170901)
MachineType: LENOVO 20HRCTO1WW
Papersize: a4
PpdFiles:
 Error: command ['fgrep', '-H', '*NickName', '/etc/cups/ppd/Lexmark_MS610dn_3_.ppd', '/etc/cups/ppd/test6_59CD60.ppd', '/etc/cups/ppd/HP_OfficeJet_Pro_8710_C7327F.ppd', '/etc/cups/ppd/test4_F7866E.ppd', '/etc/cups/ppd/HP_Smart_Tank_530_series_E23C83.ppd'] failed with exit code 2: grep: /etc/cups/ppd/Lexmark_MS610dn_3_.ppd: Permission denied
 grep: /etc/cups/ppd/test6_59CD60.ppd: Permission denied
 grep: /etc/cups/ppd/HP_OfficeJet_Pro_8710_C7327F.ppd: Permission denied
 grep: /etc/cups/ppd/test4_F7866E.ppd: Permission denied
 grep: /etc/cups/ppd/HP_Smart_Tank_530_series_E23C83.ppd: Permission denied
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.2.0-20-generic root=UUID=94446fd9-8625-46ee-a8de-034cc22d680b ro quiet splash vt.handoff=7
SourcePackage: cups-browsed
UpgradeStatus: Upgraded to lunar on 2023-03-29 (36 days ago)
dmi.bios.date: 11/24/2022
dmi.bios.release: 1.57
dmi.bios.vendor: LENOVO
dmi.bios.version: N1MET72W (1.57 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20HRCTO1WW
dmi.board.vendor: LENOVO
dmi.board.version: Not Defined
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.ec.firmware.release: 1.22
dmi.modalias: dmi:bvnLENOVO:bvrN1MET72W(1.57):bd11/24/2022:br1.57:efr1.22:svnLENOVO:pn20HRCTO1WW:pvrThinkPadX1Carbon5th:rvnLENOVO:rn20HRCTO1WW:rvrNotDefined:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_20HR_BU_Think_FM_ThinkPadX1Carbon5th:
dmi.product.family: ThinkPad X1 Carbon 5th
dmi.product.name: 20HRCTO1WW
dmi.product.sku: LENOVO_MT_20HR_BU_Think_FM_ThinkPad X1 Carbon 5th
dmi.product.version: ThinkPad X1 Carbon 5th
dmi.sys.vendor: LENOVO