deluge keeps stopping, have to start stop it.

General support for problems installing or using Deluge
Post Reply
rkid
New User
New User
Posts: 3
Joined: Wed Aug 14, 2013 7:17 pm

deluge keeps stopping, have to start stop it.

Post by rkid »

Hello,

I have just setup deluge 1.3.6 on ubuntu 12.04.2 LTS.

Its quite common that my downloads will just stop. The only way to fix it is to completely kill deluge and start it again. Is this a known bug :(?

I have also enabled remote connections.

tcp 0 0 *:58846 *:* LISTEN

But what ever I do, I cannot get a client, connect button to light up.

I have added a user in.
mdavid
New User
New User
Posts: 3
Joined: Tue Apr 23, 2013 5:20 am

Re: deluge keeps stopping, have to start stop it.

Post by mdavid »

It happens to me every day. I have to kill it and restart it many times per day. Sometimes it completely locks up and i have to kill it through the task manager as it will not respond. Deluge needs to come out with an update to fix this problem.
rkid
New User
New User
Posts: 3
Joined: Wed Aug 14, 2013 7:17 pm

Re: deluge keeps stopping, have to start stop it.

Post by rkid »

I'm glad its not just me...

Shame no one has replied to this thread...

I re-install ubuntu, now got remote connections working. And deluge seems more "stable", but does still crash :(
abubin
Seeder
Seeder
Posts: 217
Joined: Thu Sep 13, 2007 6:03 am

Re: deluge keeps stopping, have to start stop it.

Post by abubin »

if you look at my previous thread, I am also having this problem myself. It have been many months already. I am also using ubuntu 12.04. I find that self compiled deluge will be more stable. And I am still having this problem like almost everyday. I had to restart deluge service as well. According to developer, this is the problem of the version of libtorrent being used in ubuntu 12.04.

edit:
After posting this, I thought I will compile my own deluge instead of using the ones from PPA. BIG MISTAKE.

First, libtorrent will be hard to compile. Had to install tons of boost related development kits. Once I done that compiling deluge will come up with error saying libtorrent does not exist. So I tried the method that I always did before which is to include libtorrent source into deluge folder. This time deluge compiled successfully. However, when I try to start deluge, I get segfault error.

I did not want to waste anymore time playing catch the bugs. So I ditched all these self compiled stuffs and re-install deluge from PPA. Back to square one.
mdavid
New User
New User
Posts: 3
Joined: Tue Apr 23, 2013 5:20 am

Re: deluge keeps stopping, have to start stop it.

Post by mdavid »

I think only three of us are adult to admit that we are having a problem. I have a windows pc and a linux pc. Deluge cuts off on both. I believe this can all be corrected with an update but we're dependent on deluge for this. So, I hope some of the programmers see our please for help and recognize this issue as a problem that needs to be fixed.
davej45
New User
New User
Posts: 3
Joined: Mon Sep 16, 2013 3:39 am

Re: deluge keeps stopping, have to start stop it.

Post by davej45 »

Also having the same crashing problem here as well.
It comes and goes, off and on, for the past few months actually

Log files report the following-

ERROR: apport (pid 22561) Sun Sep 15 14:08:35 2013: script: /usr/bin/deluge-gtk, interpreted by /usr/bin/python2.7 (command line "/usr/bin/python /usr/bin/deluge-gtk")
ERROR: apport (pid 22561) Sun Sep 15 14:08:48 2013: wrote report /var/crash/_usr_bin_deluge-gtk.1000.crash
ERROR: apport (pid 25070) Sun Sep 15 15:19:30 2013: script: /usr/bin/deluge-gtk, interpreted by /usr/bin/python2.7 (command line "/usr/bin/python /usr/bin/deluge-gtk")
ERROR: apport (pid 25070) Sun Sep 15 15:19:42 2013: wrote report /var/crash/_usr_bin_deluge-gtk.1000.crash
ERROR: apport (pid 25676) Sun Sep 15 15:25:35 2013: script: /usr/bin/deluge-gtk, interpreted by /usr/bin/python2.7 (command line "/usr/bin/python /usr/bin/deluge-gtk")
ERROR: apport (pid 25838) Sun Sep 15 16:05:09 2013: script: /usr/bin/deluge-gtk, interpreted by /usr/bin/python2.7 (command line "/usr/bin/python /usr/bin/deluge-gtk")
ERROR: apport (pid 25880) Sun Sep 15 16:06:42 2013: script: /usr/bin/deluge-gtk, interpreted by /usr/bin/python2.7 (command line "/usr/bin/python /usr/bin/deluge-gtk")
ERROR: apport (pid 26126) Sun Sep 15 16:46:01 2013: script: /usr/bin/deluge-gtk, interpreted by /usr/bin/python2.7 (command line "/usr/bin/python /usr/bin/deluge-gtk")
ERROR: apport (pid 5661) Sun Sep 15 23:27:42 2013: script: /usr/bin/deluge-gtk, interpreted by /usr/bin/python2.7 (command line "/usr/bin/python /usr/bin/deluge-gtk")

Sep 15 14:08:35 DLJ-Mint64DT kernel: [140588.035640] /usr/bin/deluge[22468] general protection ip:7f787d56fa99 sp:7fffee777e00 error:0 in libglib-2.0.so.0.3200.3[7f787d528000+f2000]
Sep 15 15:19:30 DLJ-Mint64DT kernel: [144842.719202] /usr/bin/deluge[22768]: segfault at 3aeb000 ip 00007f2f3b4e9746 sp 00007f2f177fcfa0 error 4 in libcrypto.so.1.0.0[7f2f3b460000+1b1000]
Sep 15 15:25:35 DLJ-Mint64DT kernel: [145207.839388] /usr/bin/deluge[25303] general protection ip:7fd92a1b7b30 sp:7fff134a3c50 error:0 in libglib- .0.so.0.3200.3[7fd92a170000+f2000]
Sep 15 16:05:09 DLJ-Mint64DT kernel: [147582.170924] /usr/bin/deluge[25822] general protection ip:7f084e16f9f3 sp:7fff80bc1570 error:0 in libglib-2.0.so.0.3200.3[7f084e128000+f2000]
Sep 15 16:06:42 DLJ-Mint64DT kernel: [147675.173976] /usr/bin/deluge[25844] general protection ip:7f47c10a7a99 sp:7fff139de6d0 error:0 in libglib-2.0.so.0.3200.3[7f47c1060000+f2000]
Sep 15 16:46:01 DLJ-Mint64DT kernel: [150034.053244] /usr/bin/deluge[26075] general protection ip:7ffd4e23f9f3 sp:7fff8b7cceb0 error:0 in libglib-2.0.so.0.3200.3[7ffd4e1f8000+f2000]
Sep 15 23:27:42 DLJ-Mint64DT kernel: [24030.233444] /usr/bin/deluge[5578] general protection ip:7f80fcb57a99 sp:7fff2d63f3c0 error:0 in libglib-2.0.so.0.3200.3[7f80fcb10000+f2000]

Sep 15 14:08:35 DLJ-Mint64DT kernel: [140588.035640] /usr/bin/deluge[22468] general protection ip:7f787d56fa99 sp:7fffee777e00 error:0 in libglib-2.0.so.0.3200.3[7f787d528000+f2000]
Sep 15 15:19:30 DLJ-Mint64DT kernel: [144842.719202] /usr/bin/deluge[22768]: segfault at 3aeb000 ip 00007f2f3b4e9746 sp 00007f2f177fcfa0 error 4 in libcrypto.so.1.0.0[7f2f3b460000+1b1000]
Sep 15 15:25:35 DLJ-Mint64DT kernel: [145207.839388] /usr/bin/deluge[25303] general protection ip:7fd92a1b7b30 sp:7fff134a3c50 error:0 in libglib-2.0.so.0.3200.3[7fd92a170000+f2000]
Sep 15 16:05:09 DLJ-Mint64DT kernel: [147582.170924] /usr/bin/deluge[25822] general protection ip:7f084e16f9f3 sp:7fff80bc1570 error:0 in libglib-2.0.so.0.3200.3[7f084e128000+f2000]
Sep 15 16:06:42 DLJ-Mint64DT kernel: [147675.173976] /usr/bin/deluge[25844] general protection ip:7f47c10a7a99 sp:7fff139de6d0 error:0 in libglib-2.0.so.0.3200.3[7f47c1060000+f2000]
Sep 15 16:46:01 DLJ-Mint64DT kernel: [150034.053244] /usr/bin/deluge[26075] general protection ip:7ffd4e23f9f3 sp:7fff8b7cceb0 error:0 in libglib-2.0.so.0.3200.3[7ffd4e1f8000+f2000]
Sep 15 23:27:42 DLJ-Mint64DT kernel: [24030.233444] /usr/bin/deluge[5578] general protection ip:7f80fcb57a99 sp:7fff2d63f3c0 error:0 in libglib-2.0.so.0.3200.3[7f80fcb10000+f2000]
abubin
Seeder
Seeder
Posts: 217
Joined: Thu Sep 13, 2007 6:03 am

Re: deluge keeps stopping, have to start stop it.

Post by abubin »

Sep 15 15:19:30 DLJ-Mint64DT kernel: [144842.719202] /usr/bin/deluge[22768]: segfault at 3aeb000 ip 00007f2f3b4e9746 sp 00007f2f177fcfa0 error 4 in libcrypto.so.1.0.0[7f2f3b460000+1b1000]
Looks like same error that I have been having. I have already reported this long time ago but still no fix for it. According to developer, libcrypto library is something to do with SSL. I was told problem is maybe one of the tracker in my torrent are using HTTPS. However, I have checked and none are HTTPS.

Anyway, the only way I find to minimize this problem is to reduce the number of torrents in the application. Remove all torrents that are no longer seeding or leeching from deluge and it will minimize the crashing.
davej45
New User
New User
Posts: 3
Joined: Mon Sep 16, 2013 3:39 am

Re: deluge keeps stopping, have to start stop it.

Post by davej45 »

I did delete all of the 'long term' seeds (I keep a half dozen seeds of various linux distros going at all times), and cut down the number of downloads to a minimum.

At no seeds, and only two downloads, Deluge 'seemed' to work for a bit, but adding a third brought me right back to constant crashes.

A bittorrent client that can't seed, and can only handle maybe two downloads, isn't exactly an optimal solution.

And if there is no solution to this problem in the works, then the other only solution is to find a different client, no matter how much I would prefer to continue to use Deluge instead.
abubin
Seeder
Seeder
Posts: 217
Joined: Thu Sep 13, 2007 6:03 am

Re: deluge keeps stopping, have to start stop it.

Post by abubin »

For those still having problem with the crash, I suggest you compile libtorrent latest version 0.16.11. I have done this and now my deluge is very stable. It has been few days since I have done compiling the new version and it has been stable. However, I have not done many downloads for the past few days to truly say it solved the problem 100%. But I would say that I have always suspected the problem to be due to the version of libtorrent that comes with ubuntu 12.04.

For those who want to try, here is what I did:
- I did not uninstall current version of libtorrent cause running command apt-get to remove libtorrent, it will also remove deluge. I wanted to keep the deluge package.
- take note I am running as root. If you are running as user, you might need to add sudo command.
- reference from here for more information on compilation: http://forum.deluge-torrent.org/viewtop ... 7&p=173249

Code: Select all

cd /home
wget http://libtorrent.googlecode.com/files/libtorrent-rasterbar-0.16.11.tar.gz
tar -zxvf libtorrent-rasterbar-0.16.11.tar.gz
cd libtorrent-rasterbar-0.16.11
./configure --enable-python-binding
make
sudo checkinstall --install=no
Using checkinstall --install=no, it will create a .deb installation file. This is a better method because you don't want to disturb your current deluge running. The whole steps above will compile a .deb package for libtorrent 0.16.11 and will not install into your system. Up to this stage, your current deluge service will not be disturbed.

Once you have are done with the checkinstall command and assuming no errors, you can then proceed to replace libtorrent by stopping your deluge. If possible, make sure all torrents are downloaded because there are chances that you need to re-do the configurations. It worked fine for me without needing me to redo anything but doesn't mean it will work fine for you. Once you are prepared, run command below:

Code: Select all

killall -9 deluged
killall -9 deluge-web 
killall -9 {all the deluge services that are still running like deluge-gtk and so on...I am using deluge-web only}
ps aux | grep deluge {to see if any deluge services are still running - kill them all}
cd /home/libtorrent-rasterbar-0.16.11
dpkg -i libtorrent-rasterbar_0.16.11-1_amd64.deb {the deb file you got in checkinstall previously}
ldconfig
Once done, you can start your deluge services again. This time it should be using the new libtorrent. To confirm,

Code: Select all

deluged --version
You should get:
deluged: 1.3.6
libtorrent: 0.16.11.0

Let me know if you guys have problem compiling. Cause in my tutorial, I expect you to have some of the required package for compilation and running checkinstall. You will get error if some of the packages are missing. You might want to run below to install them packages:

Code: Select all

apt-get update
apt-get install build-essential
apt-get install checkinstall
rkid
New User
New User
Posts: 3
Joined: Wed Aug 14, 2013 7:17 pm

Re: deluge keeps stopping, have to start stop it.

Post by rkid »

thanks.. I have done above and it does seem better. Will report back if I have any more troubles in a few days.
Post Reply