Closed GoogleCodeExporter closed 9 years ago
Issue 37
Original comment by novik65
on 21 Aug 2009 at 11:28
I would like to reopen this because I noticed I made a mistake. Issue 37 is
suggesting 0.8.5, but I just checkend and this is my output:
flx@~: rtorrent -help
Rakshasa's BitTorrent client version 0.8.5.
Original comment by flx...@gmail.com
on 21 Aug 2009 at 11:39
Also, it was suggested that a lot of torrents may cause the crash. I tried with
0
torrents and it still crashes.
Original comment by flx...@gmail.com
on 21 Aug 2009 at 11:40
1) On which system you run it?
2) Which plugins are installed? (try to remove all of it's)
3) Paste here backtrace of rtorrent crash.
Original comment by novik65
on 21 Aug 2009 at 11:50
Original comment by novik65
on 21 Aug 2009 at 11:50
I'm using a ARM-arch NAS using busybox as OS.
lighttpd configuration (this is what i currently use for wtorrent and works):
scgi.server = (
"/RPC2" =>
( "127.0.0.1" =>
(
"socket" => "/root/.rtorrent/rpc.socket",
"check-local" => "disable",
"disable-time" => 0,
)
)
)
rutorrent scgi config:
$scgi_port = 8081;
$scgi_host = "127.0.0.1/RPC2";
I also tried using the rpc plugin without avail. Also tested with no plugins and
trying different scgi_host settings.
Where can I find this backtrace of rtorrent? It just closes.
Original comment by flx...@gmail.com
on 21 Aug 2009 at 12:01
>rutorrent scgi config:
>$scgi_port = 8081;
>$scgi_host = "127.0.0.1/RPC2";
In your case must be
$scgi_port = 0;
$scgi_host = "unix:///root/.rtorrent/rpc.socket";
Original comment by novik65
on 21 Aug 2009 at 12:26
I just tried, still closes rtorrent.
scgi related lines in rtorrent.rc:
scgi_local = /root/.rtorrent/rpc.socket
Original comment by flx...@gmail.com
on 21 Aug 2009 at 12:30
>I just tried, still closes rtorrent.
Check your configuration files yet once. And attach configuration files for
rtorrent,
rutorrent and lighttpd here.
Original comment by novik65
on 21 Aug 2009 at 12:44
See attached files.
Original comment by flx...@gmail.com
on 21 Aug 2009 at 12:55
Attachments:
I create all directories (like /root/.rtorrent, /volume1/Downloads etc) and use
your
files "as is". All works correctly.
1) Does your rtorrent work normally if you don't use ruTorrent? Now?
2) Are some errors in web-server log present?
Original comment by novik65
on 21 Aug 2009 at 1:14
1)Yes, it works. I currently use it with wtorrent. rtgui also works fine.
2)I cleaned the error.log of lighttpd. restarted both rtorrent and lighttpd and
went
to the rutorrent url. Error.log results:
2009-08-21 15:30:11: (log.c.172) server started
2009-08-21 15:31:07: (mod_scgi.c.1360) connect failed: 8 Connection refused 111
0
/root/.rtorrent/rpc.socket
2009-08-21 15:31:07: (mod_scgi.c.2395) fcgi-server disabled: 0
/root/.rtorrent/rpc.socket
2009-08-21 15:31:07: (mod_scgi.c.2776) all handlers for /RPC2 on /RPC2 are
down.
2009-08-21 15:31:08: (mod_scgi.c.2089) fcgi-server re-enabled: 0
/root/.rtorrent/rpc.socket
rutorrent webui log:
[21.08.2009 15:30:50] WebUI started.
[21.08.2009 15:30:51] Bad response: (500) <?xml version="1.0"
encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html
xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>500
-
Internal Server Error</title> </head> <body> <h1>500 - Internal Server
Error</h1>
</body> </html>
Original comment by flx...@gmail.com
on 21 Aug 2009 at 1:32
Don't say anything. Try to use standard configuration through normal port. As
described in main page.
Original comment by novik65
on 21 Aug 2009 at 1:42
What port do you mean? I use the local rpc socket correct?
Original comment by flx...@gmail.com
on 21 Aug 2009 at 2:16
>What port do you mean?
I write this into main page of this project. "Setup and tuning" and "Setup
scgi-gateway on the web-server". Try to read. Link through port - is a
alternative to
link through unix domain socket.
>I use the local rpc socket correct?
1) I can't find error in your configuration.
2) On my two systems (desktop & asus router) your configuration works correctly.
In this situation i can't say to you something constructive. May be your
lighttpd use
another config file, for example. May be something else.
Original comment by novik65
on 21 Aug 2009 at 3:16
BTW, if you see in log WebUI this -
>[21.08.2009 15:30:50] WebUI started.
>[21.08.2009 15:30:51] Bad response: (500) <?xml version="1.0"
encoding="iso-8859-1"?>
and don't see line
>Bad link to rTorrent. Check if it is really running.
Check $scgi_port and $scgi_host settings in config.php and scgi_port in
rTorrent configuration file.
this mean:
Link from ruTorrent to rtorrent is exist. But link from web-server to rtorrent
is
absent. Something whith web-server configuration, i think.
Original comment by novik65
on 21 Aug 2009 at 3:27
I've done some further digging:
Caught Segmentation fault, dumping stack:
0 rtorrent [0x1004864c]
1 rtorrent [0x1004ad4c]
2 rtorrent [0x1004ec44]
3 /lib/libpthread.so.0 [0xf610df4]
4 [0x100454]
5 /opt/lib/libxmlrpc.so.3 [0xfd4f708]
6 /opt/lib/libxmlrpc.so.3(xmlrpc_struct_read_value+0x3c) [0xfd4e0fc]
7 /opt/lib/libxmlrpc.so.3 [0xfd4f708]
8 /opt/lib/libxmlrpc.so.3(xmlrpc_decompose_value_va+0x90) [0xfd50140]
9 /opt/lib/libxmlrpc.so.3(xmlrpc_decompose_value+0x48) [0xfd5030c]
10 /opt/lib/libxmlrpc_server.so.3 [0xfd6afa8]
11 /opt/lib/libxmlrpc_server.so.3(xmlrpc_dispatchCall+0x104) [0xfd6a2d0]
12 /opt/lib/libxmlrpc_server.so.3(xmlrpc_registry_process_call2+0x118)
[0xfd6a470]
13 /opt/lib/libxmlrpc_server.so.3(xmlrpc_registry_process_call+0x20) [0xfd6a5d0]
14 rtorrent [0x100d853c]
15 rtorrent [0x1003bc30]
16 rtorrent [0x100d7090]
17 rtorrent [0x100d7d64]
18
/opt/lib/libtorrent.so.11(_ZSt8for_eachIN9__gnu_cxx17__normal_iteratorIPPN7torre
nt5EventESt6vectorIS4_SaIS4_EEEENS2_12poll_check_tISt9mem_fun_tIvS3_EEEET0_T_SF_
SE_+0xa0)
[0xfdda47c]
19
/opt/lib/libtorrent.so.11(_ZN7torrent10PollSelect7performEP6fd_setS2_S2_+0x104)
[0xfdd904c]
Aborted (core dumped)
Original comment by flx...@gmail.com
on 11 Nov 2009 at 10:52
Something bad with xmlrpc-c library, i guess. Try to get the latest "advanced"
version of xmlrpc-c, compile it, install it, after that recompile rtorrent with
it.
Original comment by novik65
on 12 Nov 2009 at 8:33
Hi novik65,
Thats exactly what I did yesterday. The advanced release didn't work so I went
with
svn stable. I did a configure with ./configure --disable-cplusplus, and make &&
make
install it. After this I could finally enjoy rutorrent :)
This post was merely to share the knowledge if someone else has problems with
this.
Regards,
Dennis
Original comment by flx...@gmail.com
on 12 Nov 2009 at 9:13
I have tried to reinstall xmlrpc, make it from your intstructions, etc.
getting this error in RTORRENT (rutorrent closes rtorrent and I get that basic
DOCTYPE HTML error)
builddir/build/BUILD/xmlrpc-c-1.16.6/src/xmlrpc_array.c:104: assertion failed
Aborted
[root@ks34322 stable]#
rtorrent has worked fine up until now
Thanks!
Cagney
Original comment by melodeat...@hotmail.com
on 23 Dec 2009 at 10:30
rTorrent must load correct version of dynamic xmlrpc library. Check this. Type
"ldd
rtorrent" and see - what .so xmlrpc library it use. Is it some, with which
rtorrent
was compiled?
Original comment by novik65
on 24 Dec 2009 at 8:26
This can happen when you have 2 versions of xmlrpc-c installed as well.
in this case, either remove the version on the base system OR set rtorrent to
use the
correct version via --with-xmlrpc-c=/some/dir
Original comment by Wonslung@gmail.com
on 24 Dec 2009 at 10:07
It's pointing to all the right ones and everything is installed...
Here are the ldd results
Original comment by melodeat...@hotmail.com
on 1 Jan 2010 at 2:48
Attachments:
I want to run lighttpd on ARM with linux. Whats the procedure for setting up
cross comiler.
Original comment by ajaianto...@gmail.com
on 20 Feb 2011 at 11:10
Original issue reported on code.google.com by
flx...@gmail.com
on 21 Aug 2009 at 11:10