qbittorrent / qBittorrent

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

Crash Report. 20th+ crash of the day. Crashes every 5-60 min. #17082

Open Quest79 opened 2 years ago

Quest79 commented 2 years ago

qBittorrent & operating system versions

qBittorrent version: v4.4.2 (64-bit) Libtorrent version: 2.0.5.0 Qt version: 5.15.2 Boost version: 1.78.0 OpenSSL version: 1.1.1n zlib version: 1.2.11 OS version: Windows 10 Version 2009 10.0.22000 x86_64 (This is windows 11 why is this app reporting windows 10?)

Caught signal: SIGABRT

What is the problem?

qBittorrent has crashed Please file a bug report at http://bugs.qbittorrent.org and provide the following information:

qBittorrent version: v4.4.2 (64-bit) Libtorrent version: 2.0.5.0 Qt version: 5.15.2 Boost version: 1.78.0 OpenSSL version: 1.1.1n zlib version: 1.2.11 OS version: Windows 10 Version 2009 10.0.22000 x86_64

Caught signal: SIGABRT

#  0 qbittorrent.exe      0x00007ff61e1499ec straceWin::getBacktrace()[ app\stacktrace_win.h : 220 ]
#  1 qbittorrent.exe      0x00007ff61e14ab6b sigAbnormalHandler(signum)[ app\main.cpp : 368 ]
#  2 qbittorrent.exe      0x00007ff61ef7a365 raise(signum)[ minkernel\crts\ucrt\src\appcrt\misc\signal.cpp : 541 ]
#  3 qbittorrent.exe      0x00007ff61ef86a94 abort()[ minkernel\crts\ucrt\src\appcrt\startup\abort.cpp : 64 ]
#  4 qbittorrent.exe      0x00007ff61ef7dd73 terminate()[ minkernel\crts\ucrt\src\appcrt\misc\terminate.cpp : 58 ]
#  5 qbittorrent.exe      0x00007ff61ef551b7 __scrt_unhandled_exception_filter(pointers)[ d:\agent\_work\1\s\src\vctools\crt\vcstartup\src\utility\utility_desktop.cpp : 91 ]
#  6 KERNELBASE.dll       0x00007ffb5f236391 UnhandledExceptionFilter()
#  7 ntdll.dll            0x00007ffb617aaeec memset()
#  8 ntdll.dll            0x00007ffb61793eb6 _C_specific_handler()
#  9 ntdll.dll            0x00007ffb617a8e4f _chkstk()
# 10 ntdll.dll            0x00007ffb61735e9a RtlRestoreContext()
# 11 ntdll.dll            0x00007ffb61733163 RtlRaiseException()
# 12 KERNELBASE.dll       0x00007ffb5f13474c RaiseException()
# 13 qbittorrent.exe      0x00007ff61ef73611 _CxxThrowException(pExceptionObject, pThrowInfo)[ d:\agent\_work\1\s\src\vctools\crt\vcruntime\src\eh\throw.cpp : 129 ]
# 14 qbittorrent.exe      0x00007ff61e14279b boost::throw_exception(e)[ g:\qbittorrent\boost_1_78_0\boost\throw_exception.hpp : 148 ]
# 15 qbittorrent.exe      0x00007ff61e13c8ed boost::asio::detail::do_throw_error(err, location)[ g:\qbittorrent\boost_1_78_0\boost\asio\detail\impl\throw_error.ipp : 38 ]
# 16 qbittorrent.exe      0x00007ff61e47929e boost::asio::detail::socket_select_interrupter::open_descriptors()[ g:\qbittorrent\boost_1_78_0\boost\asio\detail\impl\socket_select_interrupter.ipp : 66 ]
# 17 qbittorrent.exe      0x00007ff61e479e3e boost::asio::detail::select_reactor::run(ops, ops)[ g:\qbittorrent\boost_1_78_0\boost\asio\detail\impl\select_reactor.ipp : 266 ]
# 18 qbittorrent.exe      0x00007ff61e47a099 boost::asio::detail::select_reactor::run_thread()[ g:\qbittorrent\boost_1_78_0\boost\asio\detail\impl\select_reactor.ipp : 303 ]
# 19 qbittorrent.exe      0x00007ff61e4126cf boost::asio::detail::win_thread_function(arg)[ g:\qbittorrent\boost_1_78_0\boost\asio\detail\impl\win_thread.ipp : 119 ]
# 20 qbittorrent.exe      0x00007ff61ef864a0 thread_start(parameter, parameter)[ minkernel\crts\ucrt\src\appcrt\startup\thread.cpp : 115 ]
# 21 KERNEL32.DLL         0x00007ffb5f9154e0 BaseThreadInitThunk()
# 22 ntdll.dll            0x00007ffb6170485b RtlUserThreadStart()

Steps to reproduce

  1. Launch app
  2. wait 5-30 min
  3. another crash

Additional context

Nothing else on my system network related or otherwise is crashing (online games included). I have a feeling it is crashing every time my wifi is interrupted. So instead of just neatly allowing for sudden connection loss, it just flat out freaks out and dies? A wild guess as I have no other ideas.

This is a fresh (few days old) install of windows 11 22000.

Log(s) & preferences file(s)

No response

xavier2k6 commented 1 month ago

@Quest79 Are you still on windscribe 2.10.16 or latest 2.11.11?

EverybodyGetsHurt commented 1 month ago

@cappelikan > The v5.0.0 is running flawless so far, fingers crossed. Its still too early to give an opinion with the extremely low frequency of the situation.

Its not about frequency, its about repeatability. This reliably crashes when it loses VPN connection or a VPN closes a connection. Instead of going into a wait state of some sort qbt (or a lib it uses?) just apparently has no graceful way to deal with it and crashes instead.

Regarding the repeatability:

@qBittUser I could reliably re-produce this crash over & over using cloudflare warp program....then there was an update & haven't been able to reliably re-produce anymore.....there are less & lees users experiencing this issue & unfortunately for @Quest79 it remains consistent & we still haven't been able to ascertain a fix that will cater for all/eradicate this very annoying crash.

I could pretty much reproduce it on demand also (this by messing with ProtonVPN in a way). But many months ago that repeatability stopped for me also. Since then (6+ months) it happened maybe twice, once not even being able to write the logging.

But reliable "triggering" it for investigation as of this day I don't find / come across anymore no.

stalkerok commented 1 month ago

@xavier2k6 As long as I've been using WireGuard and Cloudflare WARP, the client has never crashed. Are there clear steps to reproduce?

xavier2k6 commented 1 month ago

@xavier2k6 As long as I've been using WireGuard and Cloudflare WARP, the client has never crashed. Are there clear steps to reproduce?

I had a consistent/reproducible step(s) in https://github.com/qbittorrent/qBittorrent/issues/18811#issuecomment-1501165433 but then the app got an update & could never reproduce.