Skip to content

Logger sometimes prevents CTRL+C #1595

@TheTechromancer

Description

@TheTechromancer

Sometimes after being cancelled via CTRL+C, BBOT encounters a deadlock. Attaching to the frozen process with GDB and manually printing the call stack gives us:

  File "/usr/lib/python3.12/logging/handlers.py", line 1604, in stop
    self._thread.join()
  File "/usr/lib/python3.12/threading.py", line 1147, in join
    self._wait_for_tstate_lock()
  File "/usr/lib/python3.12/threading.py", line 1167, in _wait_for_tstate_lock
    if lock.acquire(block, timeout):
  File "<string>", line 1, in <module>

Metadata

Metadata

Labels

bugSomething isn't workinglow priorityFix these last

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions