qbittorrent / qBittorrent

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

qbitorrent crashed #21082

Open ghost opened 1 month ago

ghost commented 1 month ago

qBittorrent & operating system versions

qBittorrent version: v5.0.0beta1 (64-bit) Libtorrent version: 2.0.11.0 Qt version: 6.6.2 Boost version: 1.84.0 OpenSSL version: 3.2.1 zlib version: 1.3.1 OS version: Windows 11 Version 23H2 10.0.22631 x86_64

Caught signal: SIGSEGV

What is the problem?

 0# boost::stacktrace::basic_stacktrace >::init at G:\QBITTORRENT\boost_1_84_0\boost\stacktrace\stacktrace.hpp:77
 1# getStacktrace at G:\QBITTORRENT\qbt-src-5.0.0beta1\src\app\stacktrace.cpp:35
 2# `anonymous namespace'::abnormalExitHandler at G:\QBITTORRENT\qbt-src-5.0.0beta1\src\app\signalhandler.cpp:103
 3# _seh_filter_exe at minkernel\crts\ucrt\src\appcrt\misc\exception_filter.cpp:219
 4# `__scrt_common_main_seh'::`1'::filt$0 at D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:304
 5# __C_specific_handler at D:\a\_work\1\s\src\vctools\crt\vcruntime\src\eh\riscchandler.cpp:389
 6# _chkstk in ntdll
 7# RtlFindCharInUnicodeString in ntdll
 8# KiUserExceptionDispatcher in ntdll
 9# memcpy at D:\a\_work\1\s\src\vctools\crt\vcruntime\src\string\amd64\memcpy.asm:403
10# std::basic_string,std::allocator >::assign in qbittorrent
11# std::vector,std::allocator >,std::allocator,std::allocator > > >::_Assign_counted_range,std::allocator > *> at C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\vector:1499
12# libtorrent::v2::add_torrent_params::operator= at G:\QBITTORRENT\libtorrent\src\add_torrent_params.cpp:43
13# BitTorrent::TorrentImpl::prepareResumeData at G:\QBITTORRENT\qbt-src-5.0.0beta1\src\base\bittorrent\torrentimpl.cpp:2126
14# BitTorrent::TorrentImpl::handleSaveResumeDataAlert at G:\QBITTORRENT\qbt-src-5.0.0beta1\src\base\bittorrent\torrentimpl.cpp:2100
15# BitTorrent::SessionImpl::dispatchTorrentAlert at G:\QBITTORRENT\qbt-src-5.0.0beta1\src\base\bittorrent\sessionimpl.cpp:5531
16# BitTorrent::SessionImpl::handleAlert at G:\QBITTORRENT\qbt-src-5.0.0beta1\src\base\bittorrent\sessionimpl.cpp:5421
17# BitTorrent::SessionImpl::readAlerts at G:\QBITTORRENT\qbt-src-5.0.0beta1\src\base\bittorrent\sessionimpl.cpp:5299
18# QMetaCallEvent::placeMetaCall in qbittorrent
19# QObject::event in qbittorrent
20# QApplicationPrivate::notify_helper in qbittorrent
21# QApplication::notify in qbittorrent
22# QCoreApplication::notifyInternal2 in qbittorrent
23# QCoreApplicationPrivate::sendPostedEvents in qbittorrent
24# QWindowsGuiEventDispatcher::sendPostedEvents in qbittorrent
25# QEventDispatcherWin32::processEvents in qbittorrent
26# QWindowsGuiEventDispatcher::processEvents in qbittorrent
27# QEventLoop::exec in qbittorrent
28# QCoreApplication::exec in qbittorrent
29# Application::exec at G:\QBITTORRENT\qbt-src-5.0.0beta1\src\app\application.cpp:976
30# main at G:\QBITTORRENT\qbt-src-5.0.0beta1\src\app\main.cpp:337
31# QSqlCachedResult::setNumericalPrecisionPolicy in qbittorrent
32# __scrt_common_main_seh at D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
33# BaseThreadInitThunk in KERNEL32
34# RtlUserThreadStart in ntdll

Steps to reproduce

No response

Additional context

No response

Log(s) & preferences file(s)

 0# boost::stacktrace::basic_stacktrace >::init at G:\QBITTORRENT\boost_1_84_0\boost\stacktrace\stacktrace.hpp:77
 1# getStacktrace at G:\QBITTORRENT\qbt-src-5.0.0beta1\src\app\stacktrace.cpp:35
 2# `anonymous namespace'::abnormalExitHandler at G:\QBITTORRENT\qbt-src-5.0.0beta1\src\app\signalhandler.cpp:103
 3# _seh_filter_exe at minkernel\crts\ucrt\src\appcrt\misc\exception_filter.cpp:219
 4# `__scrt_common_main_seh'::`1'::filt$0 at D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:304
 5# __C_specific_handler at D:\a\_work\1\s\src\vctools\crt\vcruntime\src\eh\riscchandler.cpp:389
 6# _chkstk in ntdll
 7# RtlFindCharInUnicodeString in ntdll
 8# KiUserExceptionDispatcher in ntdll
 9# memcpy at D:\a\_work\1\s\src\vctools\crt\vcruntime\src\string\amd64\memcpy.asm:403
10# std::basic_string,std::allocator >::assign in qbittorrent
11# std::vector,std::allocator >,std::allocator,std::allocator > > >::_Assign_counted_range,std::allocator > *> at C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\vector:1499
12# libtorrent::v2::add_torrent_params::operator= at G:\QBITTORRENT\libtorrent\src\add_torrent_params.cpp:43
13# BitTorrent::TorrentImpl::prepareResumeData at G:\QBITTORRENT\qbt-src-5.0.0beta1\src\base\bittorrent\torrentimpl.cpp:2126
14# BitTorrent::TorrentImpl::handleSaveResumeDataAlert at G:\QBITTORRENT\qbt-src-5.0.0beta1\src\base\bittorrent\torrentimpl.cpp:2100
15# BitTorrent::SessionImpl::dispatchTorrentAlert at G:\QBITTORRENT\qbt-src-5.0.0beta1\src\base\bittorrent\sessionimpl.cpp:5531
16# BitTorrent::SessionImpl::handleAlert at G:\QBITTORRENT\qbt-src-5.0.0beta1\src\base\bittorrent\sessionimpl.cpp:5421
17# BitTorrent::SessionImpl::readAlerts at G:\QBITTORRENT\qbt-src-5.0.0beta1\src\base\bittorrent\sessionimpl.cpp:5299
18# QMetaCallEvent::placeMetaCall in qbittorrent
19# QObject::event in qbittorrent
20# QApplicationPrivate::notify_helper in qbittorrent
21# QApplication::notify in qbittorrent
22# QCoreApplication::notifyInternal2 in qbittorrent
23# QCoreApplicationPrivate::sendPostedEvents in qbittorrent
24# QWindowsGuiEventDispatcher::sendPostedEvents in qbittorrent
25# QEventDispatcherWin32::processEvents in qbittorrent
26# QWindowsGuiEventDispatcher::processEvents in qbittorrent
27# QEventLoop::exec in qbittorrent
28# QCoreApplication::exec in qbittorrent
29# Application::exec at G:\QBITTORRENT\qbt-src-5.0.0beta1\src\app\application.cpp:976
30# main at G:\QBITTORRENT\qbt-src-5.0.0beta1\src\app\main.cpp:337
31# QSqlCachedResult::setNumericalPrecisionPolicy in qbittorrent
32# __scrt_common_main_seh at D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
33# BaseThreadInitThunk in KERNEL32
34# RtlUserThreadStart in ntdll
cg31 commented 1 month ago

I got a similar crash, it is fixed after I upgraded vcruntime.

xavier2k6 commented 1 month ago

I got a similar crash, it is fixed after I upgraded vcruntime.

👍

We may need to include latest in installer after all?!

ronnocnave commented 1 month ago

Possibly similar crash on Linux. If it's not related and needs to be moved to another issue, please advise.

qBittorrent version: v4.5.5 (64-bit) Libtorrent version: 2.0.9.0 Qt version: 5.15.3 Boost version: 1.74.0 OpenSSL version: 3.0.2 zlib version: 1.2.11 OS version: KDE neon 6.0 6.7.10-060710-generic x86_64

Caught signal: SIGABRT

 0# getStacktrace[abi:cxx11]() in /usr/bin/qbittorrent
 1# 0x0000651ADEA4F1F8 in /usr/bin/qbittorrent
 2# 0x0000759851242520 in /lib/x86_64-linux-gnu/libc.so.6
 3# pthread_kill in /lib/x86_64-linux-gnu/libc.so.6
 4# raise in /lib/x86_64-linux-gnu/libc.so.6
 5# abort in /lib/x86_64-linux-gnu/libc.so.6
 6# 0x0000759851A90B53 in /lib/x86_64-linux-gnu/libQt5Core.so.5
 7# 0x0000759851AA701E in /lib/x86_64-linux-gnu/libQt5Core.so.5
 8# QSvgRenderer::QSvgRenderer(QString const&, QObject*) in /lib/x86_64-linux-gnu/libQt5Svg.so.5
 9# 0x0000759847C17CD4 in /usr/lib/x86_64-linux-gnu/qt5/plugins/iconengines/libqsvgicon.so
10# 0x0000759847C15E4E in /usr/lib/x86_64-linux-gnu/qt5/plugins/iconengines/libqsvgicon.so
11# QIcon::addFile(QString const&, QSize const&, QIcon::Mode, QIcon::State) in /lib/x86_64-linux-gnu/libQt5Gui.so.5
12# QIcon::QIcon(QString const&) in /lib/x86_64-linux-gnu/libQt5Gui.so.5
13# UIThemeManager::getIcon(QString const&, QString const&) const in /usr/bin/qbittorrent
14# Application::exec(QStringList const&) in /usr/bin/qbittorrent
15# main in /usr/bin/qbittorrent
16# 0x0000759851229D90 in /lib/x86_64-linux-gnu/libc.so.6
17# __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6
18# _start in /usr/bin/qbittorrent
xavier2k6 commented 1 month ago

@ronnocnave 4.6.5 is latest - your version of 4.5.5 is outdated.

luzpaz commented 2 weeks ago

We may need to include latest in installer after all?!

did this happen or pending ?

xavier2k6 commented 2 weeks ago

We may need to include latest in installer after all?!

did this happen or pending ?

No - this didn't happen @sledgehammer999 you may take this under consideration for future releases & the uses of NSIS 3.10 which brings a RTL fix from a user report.