Deluge will hang on launch, every time, unable to use (greyed-out interface, no error message) and needs to be force killed. Deleting /state/torrents.fastresume (occasionally/possibly torrents.state file as well/instead) fixes and allows Deluge to be launched. All torrents need to be re-checked at this point.
Deluge also freezes & dies after 2-5 days of run time- memory leak? Attempting to restart after this point leads to above launch error. Rinse & repeat.
This has been the case for me across multiple clean Deluge installations / OS installations / drive formats / hardware swaps / all use cases & fix attempts for over a year. Currently Ubuntu 16.10 w/ 8GB RAM. Only thing I can think of is I do not have a swap partition? Getting a little frustrating !
Deluge Hangs on Launch - Fastresume File Corrupted?
Re: Deluge Hangs on Launch - Fastresume File Corrupted?
I'm having the exact same issue, but I would suspect that it isn't because of a memory leak as my session also fails after about 2-3 days and I have 24 GB RAM. Also on Ubuntu 16.10. No error in logs what so ever.
Edit: And I do have a swap partition.
Edit: And I do have a swap partition.
Re: Deluge Hangs on Launch - Fastresume File Corrupted?
Thanks for letting me know I'm not crazy! Been struggling with this for a long time.
Re: Deluge Hangs on Launch - Fastresume File Corrupted?
There is not enough information here to provide assistance. Have you tried running deluge as a thinclient to isolate the UI interface from the daemon? Have you tried to get a gdb trace?
Re: Deluge Hangs on Launch - Fastresume File Corrupted?
Just now on restart this is Deluge (attached).
Deleting fastresume allows it to open. All torrents now re-checking.
Deluge was closed politely on last run, by me clicking X and then manually restarting the machine.
Every time, 100% reproducible on my machine.
Would be happy to attempt debugging / investigation things if given instruction.
Deleting fastresume allows it to open. All torrents now re-checking.
Deluge was closed politely on last run, by me clicking X and then manually restarting the machine.
Every time, 100% reproducible on my machine.
Would be happy to attempt debugging / investigation things if given instruction.
- Attachments
-
- deluge.png (90.16 KiB) Viewed 7187 times
Re: Deluge Hangs on Launch - Fastresume File Corrupted?
Cas wrote:Have you tried running deluge as a thinclient to isolate the UI interface from the daemon? Have you tried to get a gdb trace?
Re: Deluge Hangs on Launch - Fastresume File Corrupted?
I have never been able to successfully set up the thinclient mode without issue- however I can say this is not just a UI hang; the torrents are definitely not seeding up or down as viewable by stats on tracker sites & connectable status etc etc.
I do not know how to do a gdb backtrace, I would be willing to try if given some simple instruction.
I could also upload my fastresume file next time this happens. Definitely up for trying to help here.
I do not know how to do a gdb backtrace, I would be willing to try if given some simple instruction.
I could also upload my fastresume file next time this happens. Definitely up for trying to help here.
Re: Deluge Hangs on Launch - Fastresume File Corrupted?
What libtorrent version are you using? Can you test with libtorrent from ppa.
Re: Deluge Hangs on Launch - Fastresume File Corrupted?
Code: Select all
deluge --version
deluge: 1.3.13
/usr/lib/python2.7/dist-packages/deluge/_libtorrent.py:59: RuntimeWarning: to-Python converter for boost::shared_ptr<libtorrent::alert> already registered; second conversion method ignored.
import libtorrent as lt
libtorrent: 1.1.0.0
I do have http://ppa.launchpad.net/deluge-team/ppa/ubuntu in my software sources and apt-get update/upgrade is all current.
Apologies if I'm being slow but how can I install the newer version of libtorrent?
Thanks!
Re: Deluge Hangs on Launch - Fastresume File Corrupted?
This is exactly what I am doing, running it as a thinclient. I've tried to connect with different computers and also the Web-UI (which is running on the same machine as deluge and points to 127.0.0.1 but it also fails.)Cas wrote:Cas wrote:Have you tried running deluge as a thinclient to isolate the UI interface from the daemon? Have you tried to get a gdb trace?
I'm a bit unsure of how to get the libtorrent version, but according to the documentation I should run: python -c "from deluge._libtorrent import lt; print lt.version"
which returns 1.1.0.0.