qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
27.52k stars 3.91k forks source link

Crash on VPN drop #20422

Closed DickyDoDah closed 7 months ago

DickyDoDah commented 7 months ago

qBittorrent & operating system versions

qBittorrent version: v4.6.3 (64-bit) Libtorrent version: 1.2.19.0 Qt version: 6.4.3 Boost version: 1.83.0 OpenSSL version: 1.1.1w zlib version: 1.3 OS version: Windows 11 Version 23H2 10.0.22631 x86_64

What is the problem?

When VPN is disconnected qBittorrent crashes. VPN is PrivadoVPN and qBitorrent is bound to the Wireguard interface although this happens if it's not bound. PrivadoVPN is set to tunnel qBittorrent. If VPN is set to not use tunnels this does not happen but all apps are then behind VPN. This happens on two seperate machines and this log is from a fresh install on a machine that has never had qBittorrent installed.

Caught signal: SIGABRT

 0# boost::stacktrace::basic_stacktrace >::init at G:\QBITTORRENT\boost_1_83_0\boost\stacktrace\stacktrace.hpp:78
 1# getStacktrace at G:\QBITTORRENT\qbt-src-4.6.3\src\app\stacktrace.cpp:35
 2# `anonymous namespace'::abnormalExitHandler at G:\QBITTORRENT\qbt-src-4.6.3\src\app\signalhandler.cpp:104
 3# raise at minkernel\crts\ucrt\src\appcrt\misc\signal.cpp:547
 4# abort at minkernel\crts\ucrt\src\appcrt\startup\abort.cpp:71
 5# terminate at minkernel\crts\ucrt\src\appcrt\misc\terminate.cpp:58
 6# FindHandler at D:\a\_work\1\s\src\vctools\crt\vcruntime\src\eh\frame.cpp:735
 7# __InternalCxxFrameHandler at D:\a\_work\1\s\src\vctools\crt\vcruntime\src\eh\frame.cpp:399
 8# __InternalCxxFrameHandlerWrapper at D:\a\_work\1\s\src\vctools\crt\vcruntime\src\eh\frame.cpp:234
 9# __CxxFrameHandler4 at D:\a\_work\1\s\src\vctools\crt\vcruntime\src\eh\risctrnsctrl.cpp:306
10# _chkstk in ntdll
11# RtlFindCharInUnicodeString in ntdll
12# RtlRaiseException in ntdll
13# RaiseException in KERNELBASE
14# _CxxThrowException at D:\a\_work\1\s\src\vctools\crt\vcruntime\src\eh\throw.cpp:75
15# boost::throw_exception at G:\QBITTORRENT\boost_1_83_0\boost\throw_exception.hpp:157
16# boost::asio::detail::do_throw_error at G:\QBITTORRENT\boost_1_83_0\boost\asio\detail\impl\throw_error.ipp:42
17# boost::asio::detail::socket_select_interrupter::open_descriptors at G:\QBITTORRENT\boost_1_83_0\boost\asio\detail\impl\socket_select_interrupter.ipp:66
18# boost::asio::detail::select_reactor::restart_reactor::do_complete at G:\QBITTORRENT\boost_1_83_0\boost\asio\detail\impl\select_reactor.ipp:343
19# boost::asio::detail::win_iocp_io_context::do_one at G:\QBITTORRENT\boost_1_83_0\boost\asio\detail\impl\win_iocp_io_context.ipp:477
20# boost::asio::detail::win_iocp_io_context::run at G:\QBITTORRENT\boost_1_83_0\boost\asio\detail\impl\win_iocp_io_context.ipp:207
21# std::thread::_Invoke >,0> at C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\thread:55
22# thread_start at minkernel\crts\ucrt\src\appcrt\startup\thread.cpp:97
23# BaseThreadInitThunk in KERNEL32
24# RtlUserThreadStart in ntdll

Steps to reproduce

  1. Start VPN
  2. Start qBittorrent
  3. Stop VPN

Additional context

No response

Log(s) & preferences file(s)

No response

xavier2k6 commented 7 months ago

Duplicate of #17082