Opened 14 months ago

Closed 7 months ago

#3424 closed bug (Fixed)

deluged: dictionary changed size during iteration

Reported by: cosmic Owned by:
Priority: minor Milestone: 2.0.4
Component: Unknown Version: 2.0.3
Keywords: Cc:

Description

Getting an error when deluge demon is stopped.

Error logs:

Aug 11 15:33:36 mc systemd[1]: Started Deluge Bittorrent Client Daemon.
Aug 11 15:41:59 mc systemd[1]: Stopping Deluge Bittorrent Client Daemon...
Aug 11 15:42:02 mc deluged[5569]: Unhandled error in Deferred:
Aug 11 15:42:02 mc deluged[5569]: Traceback (most recent call last):
Aug 11 15:42:02 mc deluged[5569]:   File "/usr/local/lib/python3.8/dist-packages/twisted/internet/defer.py", line 654, in _runCallbacks
Aug 11 15:42:02 mc deluged[5569]:     current.result = callback(current.result, *args, **kw)
Aug 11 15:42:02 mc deluged[5569]:   File "/usr/local/lib/python3.8/dist-packages/twisted/internet/defer.py", line 1116, in _cbDeferred
Aug 11 15:42:02 mc deluged[5569]:     self.callback(self.resultList)
Aug 11 15:42:02 mc deluged[5569]:   File "/usr/local/lib/python3.8/dist-packages/twisted/internet/defer.py", line 460, in callback
Aug 11 15:42:02 mc deluged[5569]:     self._startRunCallbacks(result)
Aug 11 15:42:02 mc deluged[5569]:   File "/usr/local/lib/python3.8/dist-packages/twisted/internet/defer.py", line 568, in _startRunCallbacks
Aug 11 15:42:02 mc deluged[5569]:     self._runCallbacks()
Aug 11 15:42:02 mc deluged[5569]: --- <exception caught here> ---
Aug 11 15:42:02 mc deluged[5569]:   File "/usr/local/lib/python3.8/dist-packages/twisted/internet/defer.py", line 654, in _runCallbacks
Aug 11 15:42:02 mc deluged[5569]:     current.result = callback(current.result, *args, **kw)
Aug 11 15:42:02 mc deluged[5569]:   File "/usr/lib/python3/dist-packages/deluge/component.py", line 451, in on_stopped
Aug 11 15:42:02 mc deluged[5569]:     [comp._component_shutdown() for comp in self.components.values()]
Aug 11 15:42:02 mc deluged[5569]:   File "/usr/lib/python3/dist-packages/deluge/component.py", line 451, in <listcomp>
Aug 11 15:42:02 mc deluged[5569]:     [comp._component_shutdown() for comp in self.components.values()]
Aug 11 15:42:02 mc deluged[5569]: builtins.RuntimeError: dictionary changed size during iteration
Aug 11 15:42:26 mc systemd[1]: deluged.service: Succeeded.
Aug 11 15:42:26 mc systemd[1]: Stopped Deluge Bittorrent Client Daemon.

System details: deluged 2.0.3 libtorrent: 1.1.13.0 Python: 3.8.2 OS: Linux Ubuntu 20.04 focal

Change History (1)

comment:1 Changed 7 months ago by Cas

  • Milestone changed from needs verified to 2.0.4
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed in develop: [ed4bc5fa17]

Note: See TracTickets for help on using tickets.