rakshasa / rtorrent

rTorrent BitTorrent client
https://github.com/rakshasa/rtorrent/wiki
GNU General Public License v2.0
4.15k stars 414 forks source link

Weird output: Going to xmlrpc_createXmlrpcValue #861

Open jakobbg opened 5 years ago

jakobbg commented 5 years ago

Weird console output in rtorrent:

pcValue
       Back from createXmlrpcValue
                                  stringNew exiting
                                      96.9         stringNew entere70.5
                                                                    Going to xmlrpc_createXmlrpcValue
                                                                                                     Back from createXmlrpcValue

stringNew exiting
                 stringNew entered
                                  Going to xmlrpc_createXmlrpcValue
                                                                   Back from createXmlrpcValue
                                                                                              stringNew exiting
                                                                                                               stringNew entered

Going to xmlrpc_createXmlrpcValue
                                 Back from createXmlrpcValue
                                                            stringNew exiting
                                                                             stringNew entered
                                                                                              Going to xmlrpc_createXmlrpcValue
                                                                                                                               Back from createXmlrpcValue
                          stringNew exiting
                                           stringNew entered
                                                            Going to xmlrpc_createXmlrpcValue
                                                                                             Back from createXmlrpcValue
                                                                                                                        stringNew exiting
         stringNew entered
                          Going to xmlrpc_createXmlrpcValue
                                                           Back from createXmlrpcValue
                                                                                      stringNew exiting
                                 48.4/  2.6                                                                        3/43

I see this is related to these cases, but cannot see any reason for this to "suddenly" appear on my FreeBSD box:

Related:

$ pkg info | grep -e torrent -e xmlrpc libtorrent-0.13.7_3 BitTorrent Library written in C++ rtorrent-0.9.7_3 BitTorrent Client written in C++ xmlrpc-c-1.51.03 XML-RPC library for C and C++

$ uname -a FreeBSD core2.grimstveit.no 11.2-RELEASE-p9 FreeBSD 11.2-RELEASE-p9 #0 fa113e14a11(releng/11.2): Wed Feb 20 11:23:56 CET 2019 root@core2.grimstveit.no:/usr/obj/usr/src/sys/CORE2 amd64

Hmm. Might this be related to xmlrpc-c being updated to v1.51.03 a few weeks ago, and that I haven't restarted rtorrent in a while? https://www.freshports.org/net/xmlrpc-c/

image

kannibalox commented 5 years ago

Correct, that output is coming from xmlrpc-c, not rTorrent, and yeah changes to xmlrpc-c wouldn't take effect until rtorrent is restarted. It looks like 1.51.03 ought to contain the fix, so check that your current rtorrent was built against the pkg-installed xmlrpc-c (ldd can help with that), and if it was, raise the issue with the xmlrpc-c package maintainer for FreeBSD.

dotted commented 4 years ago

You will need to update xmlrpc-c to at least version 1.51.05 which contains a fix for this issue: https://sourceforge.net/p/xmlrpc-c/code/3068/