Deluge Hangs on Launch - Fastresume File Corrupted?

General support for problems installing or using Deluge
User avatar
pchc_lx
Member
Member
Posts: 16
Joined: Wed Dec 14, 2016 4:08 pm
OS or Distro: Ubuntu 16.10

Deluge Hangs on Launch - Fastresume File Corrupted?

Postby pchc_lx » Mon Feb 27, 2017 3:12 pm

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 !

yeyeoke
New User
New User
Posts: 4
Joined: Mon Feb 27, 2017 7:14 pm
OS or Distro: Ubuntu 16.10

Re: Deluge Hangs on Launch - Fastresume File Corrupted?

Postby yeyeoke » Mon Feb 27, 2017 7:17 pm

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.

User avatar
pchc_lx
Member
Member
Posts: 16
Joined: Wed Dec 14, 2016 4:08 pm
OS or Distro: Ubuntu 16.10

Re: Deluge Hangs on Launch - Fastresume File Corrupted?

Postby pchc_lx » Mon Feb 27, 2017 7:46 pm

Thanks for letting me know I'm not crazy! Been struggling with this for a long time.

Cas
Top Bloke
Top Bloke
Posts: 3426
Joined: Mon Dec 07, 2009 6:04 am
OS or Distro: Ubuntu 16.04
Location: Scotland

Re: Deluge Hangs on Launch - Fastresume File Corrupted?

Postby Cas » Tue Feb 28, 2017 12:02 pm

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?

User avatar
pchc_lx
Member
Member
Posts: 16
Joined: Wed Dec 14, 2016 4:08 pm
OS or Distro: Ubuntu 16.10

Re: Deluge Hangs on Launch - Fastresume File Corrupted?

Postby pchc_lx » Tue Feb 28, 2017 1:27 pm

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.
Attachments
deluge.png
deluge.png (90.16 KiB) Viewed 1897 times

Cas
Top Bloke
Top Bloke
Posts: 3426
Joined: Mon Dec 07, 2009 6:04 am
OS or Distro: Ubuntu 16.04
Location: Scotland

Re: Deluge Hangs on Launch - Fastresume File Corrupted?

Postby Cas » Tue Feb 28, 2017 2:03 pm

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?

User avatar
pchc_lx
Member
Member
Posts: 16
Joined: Wed Dec 14, 2016 4:08 pm
OS or Distro: Ubuntu 16.10

Re: Deluge Hangs on Launch - Fastresume File Corrupted?

Postby pchc_lx » Tue Feb 28, 2017 2:21 pm

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.

Cas
Top Bloke
Top Bloke
Posts: 3426
Joined: Mon Dec 07, 2009 6:04 am
OS or Distro: Ubuntu 16.04
Location: Scotland

Re: Deluge Hangs on Launch - Fastresume File Corrupted?

Postby Cas » Tue Feb 28, 2017 2:54 pm

What libtorrent version are you using? Can you test with libtorrent from ppa.

User avatar
pchc_lx
Member
Member
Posts: 16
Joined: Wed Dec 14, 2016 4:08 pm
OS or Distro: Ubuntu 16.10

Re: Deluge Hangs on Launch - Fastresume File Corrupted?

Postby pchc_lx » Tue Feb 28, 2017 3:06 pm

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 see here https://github.com/arvidn/libtorrent/releases that there seems to be a newer version of libtorrent, though I don't see a PPA.
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!

yeyeoke
New User
New User
Posts: 4
Joined: Mon Feb 27, 2017 7:14 pm
OS or Distro: Ubuntu 16.10

Re: Deluge Hangs on Launch - Fastresume File Corrupted?

Postby yeyeoke » Tue Feb 28, 2017 3:25 pm

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?


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.)

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.


Return to “Support”

Who is online

Users browsing this forum: No registered users and 5 guests