2.0beta4 The Resolve peer host names option crashes the Gui

Bug #486098 reported by leigh123linux
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qBittorrent
Fix Released
High
Christophe Dumez

Bug Description

Enabling and disabling the Resolve peer host names option crashes the Gui.

Deleting async host name resolver...
Configuring session
Setting a global download rate limit at -1
set upload_limit to 9.000000kb/s
Loading country resolution settings
Set session settings
Set DHT Port to 6881
Applying encryption settings
Disabling IPFilter
Disabling P2P proxy
Set Proxy settings
Setting trackers proxy
Setting peers proxy
Setting web seeds proxy
Setting DHT proxy, 0
Disabling search proxy
Session configured
GUI settings loaded
Deleting host name resolver...
Host name resolver was deleted
Unrecognized country code: EE
Unrecognized country code: BS
Unrecognized country code: CY
Unrecognized country code: SA
Unrecognized country code: SA
Unrecognized country code: EE
Unrecognized country code: VE
Unrecognized country code: PY
Unrecognized country code: A2
Unrecognized country code: EE
Configuring session
Setting a global download rate limit at -1
set upload_limit to 9.000000kb/s
Loading country resolution settings
Set session settings
Set DHT Port to 6881
Applying encryption settings
Disabling IPFilter
Disabling P2P proxy
Set Proxy settings
Setting trackers proxy
Setting peers proxy
Setting web seeds proxy
Setting DHT proxy, 0
Disabling search proxy
Session configured
GUI settings loaded
terminate called after throwing an instance of 'boost::system::system_error'
  what(): Host not found (non-authoritative), try again later

*************************************************************
Catching SIGABRT, please report a bug at http://bug.qbittorrent.org
and provide the following backtrace:
stack trace:
  /lib64/libc.so.6() [0x306da32730]
  /lib64/libc.so.6 : gsignal()+0x35 [0x306da326b5]
  /lib64/libc.so.6 : abort()+0x175 [0x306da33e95]
  /usr/lib64/libstdc++.so.6 : __gnu_cxx::__verbose_terminate_handler()+0x115 [0x307b6c57b5]
  /usr/lib64/libstdc++.so.6() [0x307b6c3886]
  /usr/lib64/libstdc++.so.6() [0x307b6c38b3]
  /usr/lib64/libstdc++.so.6() [0x307b6c39ae]
  qbittorrent : void boost::throw_exception<boost::system::system_error>(boost::system::system_error const&)+0x4a [0x4c011a]
  qbittorrent : boost::asio::detail::throw_error(boost::system::error_code const&)+0x49 [0x51f06e]
  qbittorrent : boost::asio::ip::basic_resolver<boost::asio::ip::tcp, boost::asio::ip::resolver_service<boost::asio::ip::tcp> >::resolve(boost::asio::ip::basic_endpoint<boost::asio::ip::tcp> const&)+0x5b [0x5e4dd5]
  qbittorrent : ReverseResolutionST::run()+0x40 [0x5e42ae]
  /usr/lib64/libQtCore.so.4() [0x3a54a59d25]
  /lib64/libpthread.so.0() [0x306e206a3a]
  /lib64/libc.so.6 : clone()+0x6d [0x306daddf3d]

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

Could you reproduce this in gdb? debug is already enabled in qBT (unless you disabled it explicitely). It would help me to get the line numbers.

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

I have just committed a fix for this in SVN.

I caught the exception and displayed the error message on stderr. Can you check that hostname resolution is working now?
If it does not, please give the output on stderr.

Changed in qbittorrent:
assignee: nobody → Christophe Dumez (hydr0g3n)
importance: Undecided → High
milestone: none → 2.0.0
status: New → Fix Committed
Revision history for this message
leigh123linux (leigh123linux-deactivatedaccount) wrote :

Thanks, your last commit fixed it.

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

Great.

Changed in qbittorrent:
status: Fix Committed → Fix Released
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.