I changed the amount of peers allowed to connect and the program crashed

Bug #663595 reported by Lynn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qBittorrent
Incomplete
Undecided
Christophe Dumez

Bug Description

The following is what bash had to report when i tried to start the program using bash. I purposely left out my
Peer ID but can send it if needed.

HTTP user agent is qBittorrent v2.4.5
terminate called after throwing an instance of 'boost::system::system_error'
  what(): Invalid argument

*************************************************************
Catching SIGABRT, please report a bug at http://bug.qbittorrent.org
and provide the following backtrace:
stack trace:
  [0xffffe400]
  [0xffffe430]
  /lib/libc.so.6 : gsignal()+0x51 [0xb61f2441]
  /lib/libc.so.6 : abort()+0x182 [0xb61f3b82]
  /usr/lib/gcc/i686-pc-linux-gnu/4.4.2/libstdc++.so.6 : __gnu_cxx::__verbose_terminate_handler()+0x14f [0xb63e96af]
  /usr/lib/gcc/i686-pc-linux-gnu/4.4.2/libstdc++.so.6 : ()+0xb95d5 [0xb63e75d5]
  /usr/lib/gcc/i686-pc-linux-gnu/4.4.2/libstdc++.so.6 : ()+0xb9612 [0xb63e7612]
  /usr/lib/gcc/i686-pc-linux-gnu/4.4.2/libstdc++.so.6 : ()+0xb9751 [0xb63e7751]
  /usr/bin/qbittorrent : FilterParserThread::processFilterList(libtorrent::session*, QStringList)+0x426 [0x80e6476]
  /usr/bin/qbittorrent : Bittorrent::configureSession()+0x3590 [0x80c1330]
  /usr/bin/qbittorrent : Bittorrent::Bittorrent()+0xaf5 [0x80c7435]
  /usr/bin/qbittorrent : GUI::GUI(QWidget*, QStringList)+0xd23 [0x813f833]
  /usr/bin/qbittorrent : main()+0x134d [0x80a53fd]
  /lib/libc.so.6 : __libc_start_main()+0xe6 [0xb61debb6]
  /usr/bin/qbittorrent() [0x809fc51]
Aborted

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

This is odd. I'm looking into it but it seems to be related to the IP filter you defined. Could I get this filter file to test myself?

In the meantime, I suggest you disable this feature:

replace
IPFilter\Enabled=true
by
IPFilter\Enabled=false

in ~/.config/qBittorrent/qBittorrent.conf

Changed in qbittorrent:
assignee: nobody → Christophe Dumez (hydr0g3n)
status: New → Incomplete
Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Sorry, misread the code:

You should delete the line starting with (please post this line here too so that I can understand what's wrong with it):
IPFilter\BannedIPs=

in ~/.config/qBittorrent/qBittorrent.conf

It seems to be caused by manual peer ban. I have committed a possible fix for this in SVN but I would like to understand why the banned IP is wrong in the first place.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.