这是indexloc提供的服务,不要输入任何密码
Skip to content

cupsd sometimes enters a infinite loop when timeout variable gets lower than current_time #604

@zdohnal

Description

@zdohnal

Describe the bug
cupsd is in infinite loop, causing doing a certain operation (expiring subscriptions/deleting temp printers/removing job files) every second until the service is restarted. The trigger of the issue is unknown, but it happens when a timeout variable (f.e. expire_time or local_timeout) is lower than current_time, causing cupsd to run an operation every second.

To Reproduce
Steps to reproduce the behavior:
Unknown

Expected behavior
No infinite loop after a certain event

System Information:

  • seen in Fedora 36/37, NixOS
  • cupsd
  • CUPS version 2.4.2

Additional context
The additional data here #578 , however the complete error_log is difficult to provide, since we don't know what triggers the issue and once the issue finally shows itself, a ton of logs are provided and it is difficult to track what triggered it. I'll keep my eyes on this.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions