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

Newer versions of qBittorrent crash at least twice a day (on my computer). #18730

Closed
persona-joker opened this issue Mar 19, 2023 · 5 comments
Closed
Labels
Crash Duplicate Libtorrent OS: Windows Issues specific to Windows Proxy/VPN Issues related to the use of proxy/VPN

Comments

@persona-joker
Copy link

persona-joker commented Mar 19, 2023

qBittorrent & operating system versions

qBittorrent: v4.5.2 (64-bit)
Operating system: Windows 10 Enterprise 21H2 10.0.19044 x64
Qt: 5.15.8
libtorrent-rasterbar: 1.2.18.0

What is the problem?

Newer versions of qBittorrent crash at least twice a day (on my computer).
The problem happens with 4.3.9, 4.4.5, and 4.5.2
4.1.9 does NOT crash.

I want to use 4.5.2, and here's my crash report:

qBittorrent version: v4.5.2 (64-bit)
Libtorrent version: 1.2.18.0
Qt version: 5.15.8
Boost version: 1.81.0
OpenSSL version: 1.1.1t
zlib version: 1.2.13
OS version: Windows 10 Version 2009 10.0.19044 x86_64

Caught signal: SIGABRT

 0# boost::stacktrace::basic_stacktrace >::init at G:\QBITTORRENT\boost_1_81_0\boost\stacktrace\stacktrace.hpp:78
 1# getStacktrace at G:\QBITTORRENT\qbt-src-4.5.2-RC_1_2\src\app\stacktrace.cpp:35
 2# `anonymous namespace'::abnormalExitHandler at G:\QBITTORRENT\qbt-src-4.5.2-RC_1_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_81_0\boost\throw_exception.hpp:157
16# boost::asio::detail::do_throw_error at G:\QBITTORRENT\boost_1_81_0\boost\asio\detail\impl\throw_error.ipp:42
17# boost::asio::detail::socket_select_interrupter::open_descriptors at G:\QBITTORRENT\boost_1_81_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_81_0\boost\asio\detail\impl\select_reactor.ipp:335
19# boost::asio::detail::win_iocp_io_context::do_one at G:\QBITTORRENT\boost_1_81_0\boost\asio\detail\impl\win_iocp_io_context.ipp:474
20# boost::asio::detail::win_iocp_io_context::run at G:\QBITTORRENT\boost_1_81_0\boost\asio\detail\impl\win_iocp_io_context.ipp:204
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 up qBittorrent 4.5.2
  2. Wait until it crashes

Additional context

No response

Log(s) & preferences file(s)

Here are my logs and preferences.
I redacted some info (in the files) that may be sensitive.
logs and preferences.zip

@glassez
Copy link
Member

glassez commented Mar 19, 2023

Do you use some kind of Proxy/VPN?

@arvidn
Looks like some boost.asio exception unhandled in libtorrent code.

@persona-joker
Copy link
Author

Yes, I use Ivacy VPN when I use qBittorrent.

@glassez glassez added the Proxy/VPN Issues related to the use of proxy/VPN label Mar 19, 2023
@xavier2k6
Copy link
Member

Possibly relevant too -> #18255 (comment) & (FYI/Reminder) -> chriskohlhoff/asio#1061

@persona-joker
Copy link
Author

Looks like this is a known issue.
I figured out a few things.
qBit crashes every time my VPN disconnects.
All I have to do is intentionally disconnect my VPN, and qBit 4.5.2 will crash.
4.2.5 doesn't crash.
4.3.0 and 4.3.0.1 both crash.
I'm guessing that the following change in 4.3.0 is why 4.3.0 and everything newer crashes:
"OTHER: Support for libtorrent 1.1.x is dropped (Chocobo1)"

@xavier2k6 xavier2k6 added the OS: Windows Issues specific to Windows label Feb 15, 2024
@xavier2k6
Copy link
Member

Duplicate of #17082

@xavier2k6 xavier2k6 marked this as a duplicate of #17082 Feb 15, 2024
@xavier2k6 xavier2k6 closed this as not planned Won't fix, can't repro, duplicate, stale Feb 15, 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