Opened 13 months ago

#3620 new bug

attempt to remove torrent that is currently moved to new destination results in UI hang

Reported by: Hark0nnen Owned by:
Priority: minor Milestone: needs verified
Component: GTK UI Version: 2.1.0
Keywords: Cc:

Description

If in GTK UI, right click -> remove torrent is used on a torrent that is in a "moving" state, UI will stop responding (it continue to update, but doesnt respond to any actions) , reconnecting to it will show everything empty, log is spammed with the following block repeating every few seconds

04:54:08 [ERROR   ][deluge.core.rpcserver         :1418] Exception calling RPC request: invalid torrent handle used
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/deluge/core/rpcserver.py", line 334, in dispatch
    ret = self.factory.methods[method](*args, **kwargs)
  File "/usr/lib/python3/dist-packages/deluge/core/core.py", line 761, in get_torrent_status
    all_keys=not keys,
  File "/usr/lib/python3/dist-packages/deluge/core/core.py", line 734, in create_torrent_status
    torrent_keys, diff, update=update, all_keys=all_keys
  File "/usr/lib/python3/dist-packages/deluge/core/torrent.py", line 1029, in get_status
    self.get_lt_status()
  File "/usr/lib/python3/dist-packages/deluge/core/torrent.py", line 1065, in get_lt_status
    self.status = self.handle.status()
RuntimeError: invalid torrent handle used

the daemon seems to continue working - the torrent in question did got moved completely to new destination, and there is network and disk activity

Change History (0)

Note: See TracTickets for help on using tickets.