On 00:47 Thu 04 Dec     , Mark Purcell wrote:
MP> On Tuesday 25 November 2008 00:00:29 Dmitry E. Oboukhov wrote:
>> If command 'fi.get_filename_last' received from SCGI interface, then
>> rtorrent crashes.

MP> Jose, Arnaud,

MP> This RC bug was reported against your package over a week ago without any
MP> comment from you.

MP> Are you in a position to investigate this report?

Additional information for reproduce this bug:

SCGI port:

$ grep scgi .rtorrent.rc   
scgi_port = localhost:5000

Apache:

apt-get install libapache2-mod-scgi
a2enmod scgi

Create the virtual server, my variant:

    <VirtualHost *>
    ServerName server_test
    ....
    SCGIMount /RPC2 127.0.0.1:5000
    </VirtualHost>


Reproduce the bug:
1. apt-get install libxmlrpc-c3-dev
2. browser to http://server_test/RPC2 - 500 error (normal situation)
3. start rtorrent/add few torrents into it
4. use commands:
 *  xmlrpc  http://server_test/RPC2 system.listMethods 
        - show all supported methods

for ex (my system):
        $ xmlrpc  http://apache/RPC2 system.listMethods|grep 
fi.get_filename_last
          Index 177 String: 'fi.get_filename_last'
        
        
 *  xmlrpc  http://server_test/RPC2 download_list default
            - show list of torrent's ids

for ex (my system (two torrents)):
        $ xmlrpc  http://apache/RPC2 download_list default     
        Result:

        Array of 2 items:
          Index  0 String: '2D562393BD489CB4E703CB520FEA24352BA59F97'
      Index  1 String: '0D9BF0B913F825F44A11D6C37BC1D68B2B84B514'

 *  xmlrpc  http://server_test/RPC2 fi.get_filename_last 'any value'

will lead to crash (versions from lenny)

Version from experimental works fine.

I rebuilt the package with DEB_BUILD_OPTIONS=nostrip and took the backtrace
see my previous mail.

see also:
    http://libtorrent.rakshasa.no/wiki/RTorrentXMLRPCGuide
    http://libtorrent.rakshasa.no/wiki/RTorrentCommands

--
... mpd is off

. ''`.                               Dmitry E. Oboukhov
: :’  :   email: [EMAIL PROTECTED] jabber://[EMAIL PROTECTED]
`. `~’              GPGKey: 1024D / F8E26537 2006-11-21
  `- 1B23 D4F8 8EC0 D902 0555  E438 AB8C 00CF F8E2 6537

Attachment: signature.asc
Description: Digital signature

Reply via email to