qbittorrent / qBittorrent

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

Crash when locating the file using "open containing folder" option on the Content box #11666

Closed kayliu356 closed 2 years ago

kayliu356 commented 4 years ago

Please provide the following information

qBittorrent version and Operating System

v4.2.0 (64-bit)

If on linux, libtorrent-rasterbar and Qt version

(type here)

What is the problem

the software crashed when I trying to locate the file that I downloaded on qBittorrent using "open containing folder" option on the Content box

What is the expected behavior

the software crashed and the Crash info box shows up and tells me to report the crash.

Steps to reproduce

Right-click the downloaded file and choose Open Containing Folder under the Content box

Extra info(if any)

qBittorrent version: v4.2.0 (64-bit) Libtorrent version: 1.2.2.0 Qt version: 5.13.2 Boost version: 1.71.0 OpenSSL version: 1.1.1d zlib version: 1.2.11 OS version: Windows 10 (10.0) 10.0.18363 x86_64

Caught signal: SIGSEGV

#  0 qbittorrent.exe      0x00007ff7368be0fa straceWin::getBacktrace()[ app\stacktrace_win.h : 213 ]
#  1 qbittorrent.exe      0x00007ff7368bf0ba sigAbnormalHandler(signum)[ app\main.cpp : 327 ]
#  2 qbittorrent.exe      0x00007ff737526776 _seh_filter_exe(xcptnum, pxcptinfoptrs)[ minkernel\crts\ucrt\src\appcrt\misc\exception_filter.cpp : 215 ]
#  3 qbittorrent.exe      0x00007ff737591e77 `__scrt_common_main_seh'::`1'::filt$0()[ d:\agent\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl : 304 ]
#  4 qbittorrent.exe      0x00007ff737505ea8 __C_specific_handler(ExceptionRecord, EstablisherFrame, ContextRecord, DispatcherContext)[ d:\agent\_work\1\s\src\vctools\crt\vcruntime\src\eh\riscchandler.cpp : 277 ]
#  5 ntdll.dll            0x00007ff9471c11ff _chkstk()
#  6 ntdll.dll            0x00007ff94718a289 RtlRaiseException()
#  7 ntdll.dll            0x00007ff9471bfe6e KiUserExceptionDispatcher()
#  8 qbittorrent.exe      0x00007ff7368b5d50 QList::const_iterator::operator*()
#  9 qbittorrent.exe      0x00007ff736ec0413 QMenu::setActiveAction()
# 10 qbittorrent.exe      0x00007ff736974639 QtPrivate::QFunctorSlotObject,0,QtPrivate::List,void>::impl(which, this_, r, a, ret)[ g:\qbittorrent\install_msvc64\qt5\include\qtcore\qobjectdefs_impl.h : 439 ]
# 11 qbittorrent.exe      0x00007ff73731b8a9 QMetaObject::activate()
# 12 qbittorrent.exe      0x00007ff7373f4948 QAbstractItemModel::modelAboutToBeReset()
# 13 qbittorrent.exe      0x00007ff7373fdf64 QSortFilterProxyModel::qt_static_metacall()
# 14 qbittorrent.exe      0x00007ff73731b981 QMetaObject::activate()
# 15 qbittorrent.exe      0x00007ff7373f4948 QAbstractItemModel::modelAboutToBeReset()
# 16 qbittorrent.exe      0x00007ff736a0503c TorrentContentModel::clear()[ gui\torrentcontentmodel.cpp : 432 ]
# 17 qbittorrent.exe      0x00007ff73696f9cd PropertiesWidget::loadTorrentInfos(torrent)[ gui\properties\propertieswidget.cpp : 298 ]
# 18 qbittorrent.exe      0x00007ff73731b8a9 QMetaObject::activate()
# 19 qbittorrent.exe      0x00007ff736a5ee96 TransferListWidget::currentTorrentChanged(_t1)[ release\moc_transferlistwidget.cpp : 379 ]
# 20 qbittorrent.exe      0x00007ff736a2150f TransferListWidget::currentChanged(current, __formal)[ gui\transferlistwidget.cpp : 1141 ]
# 21 qbittorrent.exe      0x00007ff73731b981 QMetaObject::activate()
# 22 qbittorrent.exe      0x00007ff73740bc93 QItemSelectionModel::currentChanged()
# 23 qbittorrent.exe      0x00007ff73740929e QItemSelectionModel::setCurrentIndex()
# 24 qbittorrent.exe      0x00007ff736ec8788 QAbstractItemView::mousePressEvent()
# 25 qbittorrent.exe      0x00007ff736eda828 QTreeView::mousePressEvent()
# 26 qbittorrent.exe      0x00007ff736ea1315 QWidget::event()
# 27 qbittorrent.exe      0x00007ff736ee47a4 QFrame::event()
# 28 qbittorrent.exe      0x00007ff736ec84a5 QAbstractItemView::viewportEvent()
# 29 qbittorrent.exe      0x00007ff7373276aa QCoreApplicationPrivate::sendThroughObjectEventFilters()
# 30 qbittorrent.exe      0x00007ff736e8cc87 QApplicationPrivate::notify_helper()
# 31 qbittorrent.exe      0x00007ff736e8bc78 QApplication::notify()
# 32 qbittorrent.exe      0x00007ff73732733c QCoreApplication::notifyInternal2()
# 33 qbittorrent.exe      0x00007ff736e8a948 QApplicationPrivate::sendMouseEvent()
# 34 qbittorrent.exe      0x00007ff737009934 QWidgetWindow::handleMouseEvent()
# 35 qbittorrent.exe      0x00007ff7370086e5 QWidgetWindow::event()
# 36 qbittorrent.exe      0x00007ff736e8cc9b QApplicationPrivate::notify_helper()
# 37 qbittorrent.exe      0x00007ff736e8c7a9 QApplication::notify()
# 38 qbittorrent.exe      0x00007ff73732733c QCoreApplication::notifyInternal2()
# 39 qbittorrent.exe      0x00007ff7370b2610 QGuiApplicationPrivate::processMouseEvent()
# 40 qbittorrent.exe      0x00007ff7370b1cec QGuiApplicationPrivate::processWindowSystemEvent()
# 41 qbittorrent.exe      0x00007ff737122893 QWindowSystemInterface::sendWindowSystemEvents()
# 42 qbittorrent.exe      0x00007ff737426fd3 qt_internal_proc()
# 43 USER32.dll           0x00007ff946f563ed CallWindowProcW()
# 44 USER32.dll           0x00007ff946f55de2 DispatchMessageW()
# 45 SHELL32.dll          0x00007ff946aa6cd3 SHOpenPropSheetW()
# 46 SHELL32.dll          0x00007ff946aa704e Ordinal944()
# 47 SHELL32.dll          0x00007ff946aa6add SHOpenPropSheetW()
# 48 SHELL32.dll          0x00007ff946aa6e0c SHOpenFolderAndSelectItems()
# 49 SHELL32.dll          0x00007ff946aa6ddc SHOpenFolderAndSelectItems()
# 50 qbittorrent.exe      0x00007ff736a25a00 Utils::Gui::openFolderSelect(absolutePath)[ gui\utils.cpp : 183 ]
# 51 qbittorrent.exe      0x00007ff736971f49 PropertiesWidget::openFolder(index, containingFolder)[ gui\properties\propertieswidget.cpp : 562 ]
# 52 qbittorrent.exe      0x00007ff73731b8a9 QMetaObject::activate()
# 53 qbittorrent.exe      0x00007ff736eba863 QAction::triggered()
# 54 qbittorrent.exe      0x00007ff736eb9ede QAction::activate()
# 55 qbittorrent.exe      0x00007ff736ebf561 QMenuPrivate::activateCausedStack()
# 56 qbittorrent.exe      0x00007ff736ebf85f QMenuPrivate::activateAction()
# 57 qbittorrent.exe      0x00007ff736ec223a QMenu::mouseReleaseEvent()
# 58 qbittorrent.exe      0x00007ff736ea1301 QWidget::event()
# 59 qbittorrent.exe      0x00007ff736ec2785 QMenu::event()
# 60 qbittorrent.exe      0x00007ff736e8cc9b QApplicationPrivate::notify_helper()
# 61 qbittorrent.exe      0x00007ff736e8bc78 QApplication::notify()
# 62 qbittorrent.exe      0x00007ff73732733c QCoreApplication::notifyInternal2()
# 63 qbittorrent.exe      0x00007ff736e8a948 QApplicationPrivate::sendMouseEvent()
# 64 qbittorrent.exe      0x00007ff7370092e8 QWidgetWindow::handleMouseEvent()
# 65 qbittorrent.exe      0x00007ff7370086e5 QWidgetWindow::event()
# 66 qbittorrent.exe      0x00007ff736e8cc9b QApplicationPrivate::notify_helper()
# 67 qbittorrent.exe      0x00007ff736e8c7a9 QApplication::notify()
# 68 qbittorrent.exe      0x00007ff73732733c QCoreApplication::notifyInternal2()
# 69 qbittorrent.exe      0x00007ff7370b2610 QGuiApplicationPrivate::processMouseEvent()
# 70 qbittorrent.exe      0x00007ff7370b1cec QGuiApplicationPrivate::processWindowSystemEvent()
# 71 qbittorrent.exe      0x00007ff737122893 QWindowSystemInterface::sendWindowSystemEvents()
# 72 qbittorrent.exe      0x00007ff737426fd3 qt_internal_proc()
# 73 USER32.dll           0x00007ff946f563ed CallWindowProcW()
# 74 USER32.dll           0x00007ff946f55de2 DispatchMessageW()
# 75 qbittorrent.exe      0x00007ff7374281f4 QEventDispatcherWin32::processEvents()
# 76 qbittorrent.exe      0x00007ff736dc2231 QWindowsGuiEventDispatcher::processEvents()
# 77 qbittorrent.exe      0x00007ff73742ba61 QEventLoop::exec()
# 78 qbittorrent.exe      0x00007ff737327897 QCoreApplication::exec()
# 79 qbittorrent.exe      0x00007ff7368b4f3c Application::exec(params)[ app\application.cpp : 582 ]
# 80 qbittorrent.exe      0x00007ff7368bee50 main(argc, argv, argv)[ app\main.cpp : 273 ]
# 81 qbittorrent.exe      0x00007ff7374e2e43 WinMain()
# 82 qbittorrent.exe      0x00007ff7374e7652 __scrt_common_main_seh()[ d:\agent\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl : 288 ]
# 83 KERNEL32.DLL         0x00007ff9461f7bd4 BaseThreadInitThunk()
# 84 ntdll.dll            0x00007ff94718ced1 RtlUserThreadStart()
thalieht commented 4 years ago

Doesn't seem like a Qt bug. I got a similar stacktrace as in this issue, when i reproduced #10328

ghost commented 2 years ago

Issue was reported on a very old version. If anyone still experiencing this please comment to reopen or create a new ticket.