Opened 14 years ago
Closed 13 years ago
#1509 closed bug (Invalid)
deluge crashes when using proxy socks5 with authorization
Reported by: | MrErr | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | libtorrent | Version: | 1.3.1 |
Keywords: | Cc: | MrErr |
Description
I am using btguard as a proxy service. Deluge always crashes when i apply the btguard settings. I can restart deluge, but it crashes after a few seconds or minutes. The error is always "terminate called after throwing an instance of 'boost::lock_error'"
Can anyone please help.
Attachments (3)
Change History (24)
comment:1 by , 14 years ago
Cc: | added |
---|
comment:2 by , 14 years ago
Component: | core → libtorrent |
---|---|
Milestone: | 1.3.2 → Future |
Type: | defect → bug |
comment:3 by , 14 years ago
BTGuard is a proxy server service. So i add the "proxy.btgaurd.com" as a proxy server along with my username and password. Their website is bygaurd.com
My OS is fedora 14. Libtorrent packet is libtorrent-0.12.7-1.fc14.x86_64. boost is boost-1.44.0-7.fc14.x86_64
comment:4 by , 14 years ago
It does not crash immediately, but it runs for a while and crashes. Sometimes it is a few seconds, sometimes a few hours. It seems unpredictable. I am now running it with the debug options so when it crashes i will attach the log file.
comment:5 by , 14 years ago
There are two different libtorrents, and Deluge uses libtorrent-rasterbar. There are two stable version 0.14.x and 0.15.x but I can see from you logs you are actually using 0.14.11.
Can you try upgrading to 0.15.5.
comment:6 by , 14 years ago
OK i spent hours trying to install libtorrent-rasterbar. There are no rpm packages. I was able to do it. There was dependency nightmare i had to resolve. Then i tried to install deluge rpm and that would not work, because of the dependencies for libtorrent-ratser. Then i tried compiling deluge and installing and that worked. But when running it i got this error [myth@Tyrus ~]$ deluged -d -L DEBUG [ERROR ] 17:22:52 main:221 dynamic module does not define init function (initlibtorrent) Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/deluge-1.3.1-py2.7-linux-x86_64.egg/deluge/main.py", line 214, in start_daemon
Daemon(options, args)
File "/usr/lib64/python2.7/site-packages/deluge-1.3.1-py2.7-linux-x86_64.egg/deluge/core/daemon.py", line 136, in init
from deluge.core.core import Core
File "/usr/lib64/python2.7/site-packages/deluge-1.3.1-py2.7-linux-x86_64.egg/deluge/core/core.py", line 36, in <module>
from deluge._libtorrent import lt
File "/usr/lib64/python2.7/site-packages/deluge-1.3.1-py2.7-linux-x86_64.egg/deluge/_libtorrent.py", line 59, in <module>
import libtorrent as lt
ImportError: dynamic module does not define init function (initlibtorrent) [myth@Tyrus ~]$
So what next?
comment:7 by , 14 years ago
I did not realise Fedora has no rpm for 0.15.x
The error looks like the libtorrent python binding is missing.
If you're compiling deluge from source then you just need to drop the libtorrent source folder into the deluge folder and then follow normal Deluge build instructions.
Alternatively there is a script in the root of the deluge source called get_libtorrent that you can edit to 0.15 and it will fetch latest stable and build it.
I had a look around for an rpm and there was this one. I dont know if it usable however it shows what the exact dependencies are: http://rpmfind.unity-linux.org/Unity/libtorrent-rasterbar6-0.15.4-2.i586.html
comment:8 by , 14 years ago
I tried what you said and i still get the same problem.
/home/myth>deluged -d -L DEBUG [ERROR ] 15:55:50 main:221 dynamic module does not define init function (initlibtorrent) Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/deluge-1.3.1-py2.7-linux-x86_64.egg/deluge/main.py", line 214, in start_daemon
Daemon(options, args)
File "/usr/lib64/python2.7/site-packages/deluge-1.3.1-py2.7-linux-x86_64.egg/deluge/core/daemon.py", line 136, in init
from deluge.core.core import Core
File "/usr/lib64/python2.7/site-packages/deluge-1.3.1-py2.7-linux-x86_64.egg/deluge/core/core.py", line 36, in <module>
from deluge._libtorrent import lt
File "/usr/lib64/python2.7/site-packages/deluge-1.3.1-py2.7-linux-x86_64.egg/deluge/_libtorrent.py", line 59, in <module>
import libtorrent as lt
ImportError: dynamic module does not define init function (initlibtorrent) /home/myth>
comment:9 by , 14 years ago
OK i got it installed. It was user error :)
But deluge still crashes. The error is
deluged -d -L DEBUG -l deluge.log terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::lock_error> >'
what(): boost::lock_error
Aborted (core dumped)
I will add the log file.
comment:10 by , 14 years ago
Would it be better if i sent a couple of log files so that you might be able to look for similarities when the crashes happen?
comment:11 by , 14 years ago
I spoke with the lt developer and he has applied a fix r5250 to the RC_0_15 branch that you can test that if you wish.
http://libtorrent.svn.sourceforge.net/viewvc/libtorrent/branches/
comment:12 by , 14 years ago
I downloaded the latest libtorrent and installed it with the latest deluge and i still get the same error.
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::lock_error> >'
what(): boost::lock_error
/home/myth/bin/deluge.sh: line 8: 22144 Aborted (core dumped) deluged -d -L debug -l deluge.${COUNT}.log
I will add the log file.
by , 14 years ago
Attachment: | deluge.7.log added |
---|
comment:13 by , 14 years ago
Is there a way to increase the amount of time it stays up? Now it stays up only about 20 - 30 seconds before crashing.
follow-up: 15 comment:14 by , 14 years ago
Just to be sure, you downloaded the svn version of 0.15 RC? This fix will is not in 0.15.5.
comment:15 by , 14 years ago
I did download that version. I made sure the file udp_socket.cpp was updated. I used the script get_libtorrent.sh. Now when i rerun the script i get the message "At revision 5252". Is there something else i should do to get the latest?
comment:16 by , 14 years ago
You were pulling from trunk and not the branch that I specified.
Just download the tar pack instead:
http://libtorrent.svn.sourceforge.net/viewvc/libtorrent/branches/RC_0_15/?view=tar
comment:17 by , 14 years ago
Ok i installed from the tar file and rebuilt deluge. I get the same error as before.
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::lock_error> >'
what(): boost::lock_error
Log file follows.
by , 14 years ago
Attachment: | deluge.0.log added |
---|
comment:19 by , 14 years ago
Sorry I should have updated this to say that you should create a ticket on libtorrents bug tracker
comment:20 by , 13 years ago
Milestone: | Future |
---|---|
Status: | new → pending |
comment:21 by , 13 years ago
Resolution: | → invalid |
---|---|
Status: | pending → closed |
boost error would suggest libtorrent issue.
Can you supply more details (versions) of btguard
boost
libtorrent
OS