Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Win QB crashes when VPN down at hibernation, not yet back up at resume, and then it's automatically reconnected #22022

Closed
christiansblackburn opened this issue Dec 17, 2024 · 2 comments
Labels
Crash Duplicate Libtorrent OS: Windows Issues specific to Windows Proxy/VPN Issues related to the use of proxy/VPN

Comments

@christiansblackburn
Copy link

qBittorrent & operating system versions

qBittorrent: 5.0.2 x64 (official release)
Operating system: Windows 10 x64 (22H2) 10.0.19045

What is the problem?

QBittorrent crashed shortly after I resumed from hibernation. At the time of hibernation the internet had gone down (but 5+GB was downloaded during that session). When it resumed the internet was already working on another PC in my house. I have QB configured to only use my VPN connection. So when it first resumed the connection would have likely been disabled or non-routable and then within a few seconds I was connected to Mexico where I am writing you from now. Within seconds of being in Windows I saw the QB crash notification.

Steps to reproduce

  1. Tools --> Options, Advanced, Network Interface: Express VPN, [OK]
  2. Download ~5GB of torrent data
  3. Turn off your internet (wait 5 minutes)
  4. Hibernate Windows (Windows + X, H)
  5. Resume (with ExpressVPN configured to autoreconnect)
  6. Observe crash

Additional context

qBittorrent version: v5.0.2 (64-bit)
Libtorrent version: 1.2.19.0
Qt version: 6.7.3
Boost version: 1.86.0
OpenSSL version: 3.4.0
zlib version: 1.3.1
OS version: Windows 10 Version 22H2 10.0.19045 x86_64

Caught signal: SIGABRT

 0# boost::stacktrace::basic_stacktrace >::init at G:\QBITTORRENT\boost_1_86_0\boost\stacktrace\stacktrace.hpp:111
 1# getStacktrace at G:\QBITTORRENT\qbt-src-5.0.2\src\app\stacktrace.cpp:35
 2# `anonymous namespace'::abnormalExitHandler at G:\QBITTORRENT\qbt-src-5.0.2\src\app\signalhandler.cpp:103
 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# RtlRaiseException 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_86_0\boost\throw_exception.hpp:157
16# boost::asio::detail::do_throw_error at G:\QBITTORRENT\boost_1_86_0\boost\asio\detail\impl\throw_error.ipp:42
17# boost::asio::detail::socket_select_interrupter::open_descriptors at G:\QBITTORRENT\boost_1_86_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_86_0\boost\asio\detail\impl\select_reactor.ipp:343
19# boost::asio::detail::win_iocp_io_context::do_one at G:\QBITTORRENT\boost_1_86_0\boost\asio\detail\impl\win_iocp_io_context.ipp:476
20# boost::asio::detail::win_iocp_io_context::run at G:\QBITTORRENT\boost_1_86_0\boost\asio\detail\impl\win_iocp_io_context.ipp:206
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

Log(s) & preferences file(s)

qbittorrent.log

@qBittUser
Copy link

Already reported before:

@xavier2k6 xavier2k6 added OS: Windows Issues specific to Windows Crash Libtorrent Proxy/VPN Issues related to the use of proxy/VPN Duplicate labels Dec 18, 2024
@xavier2k6
Copy link
Member

Duplicate of #17082

@xavier2k6 xavier2k6 marked this as a duplicate of #17082 Dec 18, 2024
@xavier2k6 xavier2k6 closed this as not planned Won't fix, can't repro, duplicate, stale Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Crash Duplicate Libtorrent OS: Windows Issues specific to Windows Proxy/VPN Issues related to the use of proxy/VPN
Projects
None yet
Development

No branches or pull requests

3 participants