qbittorrent / qBittorrent

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

qBittorrent has crashed #21552

Open uusea opened 1 month ago

uusea commented 1 month ago

qBittorrent & operating system versions

qBittorrent version: v5.0.0 (64-bit) Libtorrent version: 1.2.19.0 Qt version: 6.7.3 Boost version: 1.86.0 OpenSSL version: 3.3.2 zlib version: 1.3.1 OS version: Windows 11 Version 23H2 10.0.22631 x86_64

What is the problem?

Caught signal: SIGSEGV

 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.0\src\app\stacktrace.cpp:35
 2# `anonymous namespace'::abnormalExitHandler at G:\QBITTORRENT\qbt-src-5.0.0\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# libtorrent::file_storage::file_path at G:\QBITTORRENT\libtorrent\src\file_storage.cpp:824
10# BitTorrent::TorrentImpl::actualFilePath at G:\QBITTORRENT\qbt-src-5.0.0\src\base\bittorrent\torrentimpl.cpp:980
11# BitTorrent::TorrentImpl::handleFileCompletedAlert at G:\QBITTORRENT\qbt-src-5.0.0\src\base\bittorrent\torrentimpl.cpp:2349
12# BitTorrent::SessionImpl::dispatchTorrentAlert at G:\QBITTORRENT\qbt-src-5.0.0\src\base\bittorrent\sessionimpl.cpp:5677
13# BitTorrent::SessionImpl::handleAlert at G:\QBITTORRENT\qbt-src-5.0.0\src\base\bittorrent\sessionimpl.cpp:5567
14# BitTorrent::SessionImpl::readAlerts at G:\QBITTORRENT\qbt-src-5.0.0\src\base\bittorrent\sessionimpl.cpp:5454
15# QMetaCallEvent::placeMetaCall in qbittorrent
16# QObject::event in qbittorrent
17# QApplicationPrivate::notify_helper in qbittorrent
18# QApplication::notify in qbittorrent
19# QCoreApplication::notifyInternal2 in qbittorrent
20# QCoreApplicationPrivate::sendPostedEvents in qbittorrent
21# QWindowsGuiEventDispatcher::sendPostedEvents in qbittorrent
22# QEventDispatcherWin32::processEvents in qbittorrent
23# QWindowsGuiEventDispatcher::processEvents in qbittorrent
24# QEventLoop::exec in qbittorrent
25# QCoreApplication::exec in qbittorrent
26# Application::exec at G:\QBITTORRENT\qbt-src-5.0.0\src\app\application.cpp:975
27# main at G:\QBITTORRENT\qbt-src-5.0.0\src\app\main.cpp:337
28# QSqlCachedResult::setNumericalPrecisionPolicy in qbittorrent
29# __scrt_common_main_seh at D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
30# BaseThreadInitThunk in KERNEL32
31# RtlUserThreadStart in ntdll

Steps to reproduce

No response

Additional context

No response

Log(s) & preferences file(s)

Caught signal: SIGSEGV

 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.0\src\app\stacktrace.cpp:35
 2# `anonymous namespace'::abnormalExitHandler at G:\QBITTORRENT\qbt-src-5.0.0\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# libtorrent::file_storage::file_path at G:\QBITTORRENT\libtorrent\src\file_storage.cpp:824
10# BitTorrent::TorrentImpl::actualFilePath at G:\QBITTORRENT\qbt-src-5.0.0\src\base\bittorrent\torrentimpl.cpp:980
11# BitTorrent::TorrentImpl::handleFileCompletedAlert at G:\QBITTORRENT\qbt-src-5.0.0\src\base\bittorrent\torrentimpl.cpp:2349
12# BitTorrent::SessionImpl::dispatchTorrentAlert at G:\QBITTORRENT\qbt-src-5.0.0\src\base\bittorrent\sessionimpl.cpp:5677
13# BitTorrent::SessionImpl::handleAlert at G:\QBITTORRENT\qbt-src-5.0.0\src\base\bittorrent\sessionimpl.cpp:5567
14# BitTorrent::SessionImpl::readAlerts at G:\QBITTORRENT\qbt-src-5.0.0\src\base\bittorrent\sessionimpl.cpp:5454
15# QMetaCallEvent::placeMetaCall in qbittorrent
16# QObject::event in qbittorrent
17# QApplicationPrivate::notify_helper in qbittorrent
18# QApplication::notify in qbittorrent
19# QCoreApplication::notifyInternal2 in qbittorrent
20# QCoreApplicationPrivate::sendPostedEvents in qbittorrent
21# QWindowsGuiEventDispatcher::sendPostedEvents in qbittorrent
22# QEventDispatcherWin32::processEvents in qbittorrent
23# QWindowsGuiEventDispatcher::processEvents in qbittorrent
24# QEventLoop::exec in qbittorrent
25# QCoreApplication::exec in qbittorrent
26# Application::exec at G:\QBITTORRENT\qbt-src-5.0.0\src\app\application.cpp:975
27# main at G:\QBITTORRENT\qbt-src-5.0.0\src\app\main.cpp:337
28# QSqlCachedResult::setNumericalPrecisionPolicy in qbittorrent
29# __scrt_common_main_seh at D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
30# BaseThreadInitThunk in KERNEL32
31# RtlUserThreadStart in ntdll
mweaver59 commented 1 month ago

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

qBittorrent version: v5.0.0 (64-bit) Libtorrent version: 1.2.19.0 Qt version: 6.7.3 Boost version: 1.86.0 OpenSSL version: 3.3.2 zlib version: 1.3.1 OS version: Windows Server 2022 Version 24H2 10.0.26296 x86_64

Caught signal: SIGSEGV

 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.0\src\app\stacktrace.cpp:35
 2# `anonymous namespace'::abnormalExitHandler at G:\QBITTORRENT\qbt-src-5.0.0\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# RtlWow64GetCurrentCpuArea in ntdll
 8# KiUserExceptionDispatcher in ntdll
 9# libtorrent::file_storage::file_path at G:\QBITTORRENT\libtorrent\src\file_storage.cpp:824
10# BitTorrent::TorrentImpl::manageActualFilePaths at G:\QBITTORRENT\qbt-src-5.0.0\src\base\bittorrent\torrentimpl.cpp:2487
11# std::_Func_impl_no_alloc,void>::_Do_call at C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\functional:833
12# BitTorrent::TorrentImpl::updateStatus at G:\QBITTORRENT\qbt-src-5.0.0\src\base\bittorrent\torrentimpl.cpp:2620
13# BitTorrent::SessionImpl::handleStateUpdateAlert at G:\QBITTORRENT\qbt-src-5.0.0\src\base\bittorrent\sessionimpl.cpp:6105
14# BitTorrent::SessionImpl::handleAlert at G:\QBITTORRENT\qbt-src-5.0.0\src\base\bittorrent\sessionimpl.cpp:5570
15# BitTorrent::SessionImpl::saveResumeData at G:\QBITTORRENT\qbt-src-5.0.0\src\base\bittorrent\sessionimpl.cpp:3147
16# BitTorrent::SessionImpl::~SessionImpl at G:\QBITTORRENT\qbt-src-5.0.0\src\base\bittorrent\sessionimpl.cpp:635
17# BitTorrent::SessionImpl::`scalar deleting destructor' in qbittorrent
18# BitTorrent::Session::freeInstance at G:\QBITTORRENT\qbt-src-5.0.0\src\base\bittorrent\sessionimpl.cpp:346
19# Application::cleanup at G:\QBITTORRENT\qbt-src-5.0.0\src\app\application.cpp:1363
20# doActivate in qbittorrent
21# QMetaObject::activate in qbittorrent
22# QCoreApplication::aboutToQuit in qbittorrent
23# QCoreApplication::exit in qbittorrent
24# MainWindow::closeEvent at G:\QBITTORRENT\qbt-src-5.0.0\src\gui\mainwindow.cpp:1210
25# QWidget::event in qbittorrent
26# QMainWindow::event in qbittorrent
27# MainWindow::event at G:\QBITTORRENT\qbt-src-5.0.0\src\gui\mainwindow.cpp:1285
28# QApplicationPrivate::notify_helper in qbittorrent
29# QApplication::notify in qbittorrent
30# QCoreApplication::notifyInternal2 in qbittorrent
31# QWidgetPrivate::handleClose in qbittorrent
32# QWidgetWindow::closeEvent in qbittorrent
33# QWindow::event in qbittorrent
34# QWidgetWindow::event in qbittorrent
35# QApplicationPrivate::notify_helper in qbittorrent
36# QApplication::notify in qbittorrent
37# QCoreApplication::notifyInternal2 in qbittorrent
38# QGuiApplicationPrivate::processCloseEvent in qbittorrent
39# QGuiApplicationPrivate::processWindowSystemEvent in qbittorrent
40# QWindowSystemHelper::handleEvent in qbittorrent
41# QWindow::close in qbittorrent
42# MainWindow::qt_metacall at G:\QBITTORRENT\qbt-src-5.0.0\build-qt6-RC_1_2-x64\src\gui\qbt_gui_autogen\EWIEGA46WW\moc_mainwindow.cpp:541
43# QMetaObject::metacall in qbittorrent
44# doActivate in qbittorrent
45# QMetaObject::activate in qbittorrent
46# QAction::triggered in qbittorrent
47# QAction::activate in qbittorrent
48# QMenuPrivate::activateCausedStack in qbittorrent
49# QMenuPrivate::activateAction in qbittorrent
50# QMenu::mouseReleaseEvent in qbittorrent
51# QWidget::event in qbittorrent
52# QMenu::event in qbittorrent
53# QApplicationPrivate::notify_helper in qbittorrent
54# QApplication::notify in qbittorrent
55# QCoreApplication::notifyInternal2 in qbittorrent
56# QApplicationPrivate::sendMouseEvent in qbittorrent
57# QWidgetWindow::handleMouseEvent in qbittorrent
58# QWidgetWindow::event in qbittorrent
59# QApplicationPrivate::notify_helper in qbittorrent
60# QApplication::notify in qbittorrent
61# QCoreApplication::notifyInternal2 in qbittorrent
62# QGuiApplicationPrivate::processMouseEvent in qbittorrent
63# QGuiApplicationPrivate::processWindowSystemEvent in qbittorrent
64# QWindowSystemInterface::sendWindowSystemEvents in qbittorrent
65# QEventDispatcherWin32::processEvents in qbittorrent
66# QWindowsGuiEventDispatcher::processEvents in qbittorrent
67# QEventLoop::exec in qbittorrent
68# QCoreApplication::exec in qbittorrent
69# Application::exec at G:\QBITTORRENT\qbt-src-5.0.0\src\app\application.cpp:975
70# main at G:\QBITTORRENT\qbt-src-5.0.0\src\app\main.cpp:337
71# QSqlCachedResult::setNumericalPrecisionPolicy in qbittorrent
72# __scrt_common_main_seh at D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
73# BaseThreadInitThunk in KERNEL32
74# RtlUserThreadStart in ntdll
xavier2k6 commented 1 month ago

@uusea Logs?!

glassez commented 1 month ago

The stack trace looks similar to #21604. @uusea Under what circumstances did crash happen? Did you move torrents like the author of #21604 does? And yes, the log would be very useful in finding the cause of the crash.

uusea commented 1 month ago

Yes, but this release has issues way beyond what is happening. Is the old release code somewhere so I can get this code off my computer and replace it with the old package? As for the logs, all I have is what I have already posted. I have been using your package for years now, and this release is NOT doing you any favors.

glassez commented 1 month ago

@uusea Apparently, you will not going to help solve this problem... Well, let's wait for another affected user.

xavier2k6 commented 1 month ago

@uusea So you have no logs in %LOCALAPPDATA%\qBittorrent\logs at all?

uusea commented 1 month ago

I don't care to share what I use qBt to download, but here are three parts of logs. logs.txt

uusea commented 1 month ago

Here are parts of the logs from the 8th, when I had just finished moving about 4 or 5 TBs of torrents and then fired up qBt. logs.txt

glassez commented 1 month ago

IMO, steps to produce useful crash report would be like the following:

  1. Crash happened
  2. Copy stack trace
  3. Copy latest log (at least tail of the latest log)
  4. Create Issue with stack trace, latest log and try to describe circumstances of the crash

The best case is if you know how to reproduce this crash.

glassez commented 1 month ago

@uusea So what about answering the questions from https://github.com/qbittorrent/qBittorrent/issues/21552#issuecomment-2409090645?