TvL Posted March 3, 2012 Report Share Posted March 3, 2012 Hi Guys,I'm running utorrent-webui.2012010217350682.zip backed up by utorrent-server-3.0-25053.tar.gz.When I paste a magnet link in the 'Torrent URL' box and click OK, utserver segfaults:pollux ~ # /home/tom/utorrent/start_utorrent.sh./utserver: /usr/lib32/libcrypto.so.0.9.8: no version information available (required by ./utserver)./utserver: /usr/lib32/libssl.so.0.9.8: no version information available (required by ./utserver)server started - using locale CUsing locale Ctotal physical memory -1 max disk cache 33554432IPv6 is installed/bin/bash: line 1: 21978 Segmentation fault nice -n 19 ./utserver -configfile utserver.confContents of /home/tom/utorrent/start_utorrent.sh:#!/bin/bashsu - tom -c 'cd /home/tom/utorrent && nice -n 19 ./utserver -configfile utserver.conf'Are magnet links not supported on linux or am I doing something wrong?Regards,Tom Link to comment Share on other sites More sharing options...
WLS Posted March 3, 2012 Report Share Posted March 3, 2012 Work fine for me. uTorrent server 3.0-25053, using the WebUI v0.386. Link to comment Share on other sites More sharing options...
TvL Posted March 4, 2012 Author Report Share Posted March 4, 2012 Good to know it should work!I've straced the utserver main process (strace -f -p 23056 -o utserver-strace.txt) while entering a magnet link from the piratebay: http://thepiratebay.se/torrent/7046183/ubuntu-10.04.4-desktop-i386.isoThe utserver segfaulted immediately.Here's the strace file: http://www.vleeuwen.eu/utserver-strace.txtI hope you guys see any weird things in it, cause I don't...Regards,Tom Link to comment Share on other sites More sharing options...
Fisslefink Posted March 7, 2012 Report Share Posted March 7, 2012 I see the same bug using utorrent version Version 3.0 (build 24613) on Ubuntu 10.10 Maverick.However, I only see the bug when I use ./utserver -configfile ./utserver.conf to start the server.I was using a utserver.conf template circulating on the internet (i.e. here: http://pastebin.com/KqdY15q9) I went through line-by-line on the utserver.conf file until I found the culprit. If the option "state_cmd:" is defined in any way whatsoever (even as a blank "" string!) then you will get the segmentation fault.1. Shut down utorrent2. Comment out state_cmd as shown:# state_cmd: ""3. Delete settings.dat and settings.dat.old from the utorrent folder4. Restart utorrentVoila!If anyone knows how to report a bug, please go for it. This is extremely reproducible. Link to comment Share on other sites More sharing options...
TvL Posted March 7, 2012 Author Report Share Posted March 7, 2012 Good to know! I don't have the state_cmd line in my utserver.conf, but I do have it configured in the webui. End result is that it does show up in settings.datpollux utorrent # strings settings.dat | grep state_cmdVuze|http://search.vuze.com/xsearch/?q=17:seed_prio_limituli0e22:seed_prio_limitul_flagi1e10:seed_ratioi1000e22:settings_saved_systimei1331103600e3:ssti0e9:state_cmd42:/home/tom/utorrent/sendmail.sh '' %P %S %N2:tdi41883050319e12:tracker_last86:udp://tracker.openbittorrent.com:80/announceI have confirmed that blanking the statechange/finish commands in the webui and restarting utorrent solves this particular problem.I am using the state & finish commands however for emailing myself.Regards,Tom Link to comment Share on other sites More sharing options...
cry_wolf Posted June 13, 2013 Report Share Posted June 13, 2013 Any update on this?I am facing the exact problem in utorrent-server-3.0-ubuntu-10.10-27079. If I set state_cmd configuration variable, utorrent crashes when I add a magnet link (torrent files work fine). If state_cmd is not set, both magnet links and torrent files work fine. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.