qbittorrent / qBittorrent

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

Crash on opening containing folder right after checking files for download #5651

Closed adem4ik closed 6 years ago

adem4ik commented 8 years ago

It is quite rare case, but I can reproduce it constantly.

qBittorrent version: v3.3.6 Libtorrent version: 1.0.9.0 Qt version: 5.7.0 Boost version: 1.61.0 OS version: Windows 10 10.0.14393 x86_64

Preconditions: there is a torrent, that has multiple files, only a part of files has been checked for download and they has been downloaded, so torrent is in "Seeding" state

1) Click on "Seeding" status on the left panel 2) Click on that torrent in the "Transfers" list 3) Select "Content" tab 4) Check the files that hasn't been downloaded for downloading 5) Right before "Content" tab becomes empty do a right mouse click on one of the files from "Content" and click on "Open Containing Folder"

Here is the full crash info:

#  0 qbittorrent.exe      0x000000000016962e straceWin::getBacktrace()[ app\stacktrace_win.h : 191 ]
#  1 qbittorrent.exe      0x000000000016bc2d sigAbnormalHandler(signum)[ app\main.cpp : 354 ]
#  2 qbittorrent.exe      0x00000000008d3b69 _seh_filter_exe(xcptnum, pxcptinfoptrs)[ d:\th\minkernel\crts\ucrt\src\appcrt\misc\exception_filter.cpp : 215 ]
#  3 qbittorrent.exe      0x00000000008bb093 __scrt_common_main_seh()[ f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl : 269 ]
#  4 qbittorrent.exe      0x00000000008c0440 _EH4_CallFilterFunc()
#  5 qbittorrent.exe      0x00000000008bff8f _except_handler4(ExceptionRecord, EstablisherFrame, EstablisherFrame, ContextRecord, DispatcherContext)
#  6 ntdll.dll            0x00000000770023b2 RtlConvertUlongToLargeInteger()
#  7 ntdll.dll            0x0000000077002384 RtlConvertUlongToLargeInteger()
#  8 ntdll.dll            0x0000000076feff1f KiUserExceptionDispatcher()
#  9 qbittorrent.exe      0x00000000001db8d5 PropertiesWidget::openFolder(index, index, containing_folder)[ gui\properties\propertieswidget.cpp : 540 ]
#10 qbittorrent.exe      0x00000000001dbe53 PropertiesWidget::displayFilesListMenu()[ gui\properties\propertieswidget.cpp : 608 ]
#11 qbittorrent.exe      0x000000000024af10 PropertiesWidget::qt_static_metacall(_o, _c, _id, _a)[ release\moc_propertieswidget.cpp : 164 ]
#12 qbittorrent.exe      0x000000000078d6f5 QMetaObject::activate()
#13 qbittorrent.exe      0x00000000003cc43f QWidget::customContextMenuRequested()
#14 qbittorrent.exe      0x00000000003c745f QWidget::event()
#15 qbittorrent.exe      0x00000000003fce8f QFrame::event()
#16 qbittorrent.exe      0x00000000004267b1 QAbstractScrollArea::viewportEvent()
#17 qbittorrent.exe      0x00000000003e65ae QAbstractItemView::viewportEvent()
#18 qbittorrent.exe      0x00000000003f3d6b QTreeView::viewportEvent()
#19 qbittorrent.exe      0x0000000000424fd0 QAbstractScrollAreaFilter::eventFilter()
#20 qbittorrent.exe      0x00000000007afed7 QCoreApplicationPrivate::sendThroughObjectEventFilters()
#21 qbittorrent.exe      0x00000000003b91fd QApplicationPrivate::notify_helper()
#22 qbittorrent.exe      0x00000000003b87f5 QApplication::notify()
#23 qbittorrent.exe      0x0000000000166b39 Application::notify(receiver, event)[ app\application.cpp : 502 ]
#24 qbittorrent.exe      0x00000000007afce4 QCoreApplication::notifyInternal2()
#25 qbittorrent.exe      0x000000000048df80 QWidgetWindow::handleMouseEvent()
#26 qbittorrent.exe      0x000000000048d2c7 QWidgetWindow::event()
#27 qbittorrent.exe      0x00000000003b9209 QApplicationPrivate::notify_helper()
#28 qbittorrent.exe      0x00000000003b8d12 QApplication::notify()
#29 qbittorrent.exe      0x0000000000166b39 Application::notify(receiver, event)[ app\application.cpp : 502 ]
#30 qbittorrent.exe      0x00000000007afce4 QCoreApplication::notifyInternal2()
#31 qbittorrent.exe      0x00000000005f1969 QGuiApplicationPrivate::processMouseEvent()
#32 qbittorrent.exe      0x00000000005f1342 QGuiApplicationPrivate::processWindowSystemEvent()
#33 qbittorrent.exe      0x0000000000666353 QWindowSystemInterface::sendWindowSystemEvents()
#34 qbittorrent.exe      0x00000000005a9245 QWindowsGuiEventDispatcher::sendPostedEvents()
#35 qbittorrent.exe      0x0000000000834aa5 qt_internal_proc()
#36 USER32.dll           0x0000000076e4d273 SetManipulationInputTarget()
#37 USER32.dll           0x0000000076e2e84a DispatchMessageW()
#38 USER32.dll           0x0000000076e2e1a4 DispatchMessageW()
#39 USER32.dll           0x0000000076e2df60 DispatchMessageW()
#40 qbittorrent.exe      0x00000000008355db QEventDispatcherWin32::processEvents()
#41 qbittorrent.exe      0x00000000005a922c QWindowsGuiEventDispatcher::processEvents()
#42 qbittorrent.exe      0x000000000081a3be QEventLoop::exec()
#43 qbittorrent.exe      0x00000000007b0072 QCoreApplication::exec()
#44 qbittorrent.exe      0x000000000016694a Application::exec(params)[ app\application.cpp : 447 ]
#45 qbittorrent.exe      0x000000000016b81c main(argc, argv)[ app\main.cpp : 269 ]
#46 qbittorrent.exe      0x00000000008a596f WinMain()
#47 qbittorrent.exe      0x00000000008bb053 __scrt_common_main_seh()[ f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl : 253 ]
#48 KERNEL32.DLL         0x00000000753062c4 BaseThreadInitThunk()
#49 ntdll.dll            0x0000000076fe0609 RtlSubscribeWnfStateChangeNotification()
#50 ntdll.dll            0x0000000076fe05d4 RtlSubscribeWnfStateChangeNotification()
thalieht commented 8 years ago

I reproduced from seeding, downloading, active and inactive filters.

adem4ik commented 7 years ago

The crash is reproduceable in v3.3.11

adem4ik commented 6 years ago

This is still a case in v4.0.4, but the crash log looks a bit different: qBittorrent has crashed Please file a bug report at http://bugs.qbittorrent.org and provide the following information:

qBittorrent version: v4.0.4 (64-bit) Libtorrent version: 1.1.6.0 Qt version: 5.10.0 Boost version: 1.66.0 OS version: Windows 10 (10.0) 10.0.17134 x86_64

Caught signal: SIGSEGV

#  0 qbittorrent.exe      0x00007ff6cef209c6 straceWin::getBacktrace()[ app\stacktrace_win.h : 213 ]
#  1 qbittorrent.exe      0x00007ff6cef23c31 sigAbnormalHandler(signum)[ app\main.cpp : 315 ]
#  2 qbittorrent.exe      0x00007ff6cfa42a61 _seh_filter_exe(xcptnum, pxcptinfoptrs)[ minkernel\crts\ucrt\src\appcrt\misc\exception_filter.cpp : 215 ]
#  3 qbittorrent.exe      0x00007ff6cfb19323 `thread_start'::`1'::filt$0()[ minkernel\crts\ucrt\src\appcrt\startup\thread.cpp : 117 ]
#  4 qbittorrent.exe      0x00007ff6cfa25070 __C_specific_handler(ExceptionRecord, EstablisherFrame, ContextRecord, DispatcherContext)
#  5 ntdll.dll            0x00007ff9b816edcd _chkstk()
#  6 ntdll.dll            0x00007ff9b80d6c86 RtlWalkFrameChain()
#  7 ntdll.dll            0x00007ff9b816dcfe KiUserExceptionDispatcher()
#  8 qbittorrent.exe      0x00007ff6cf948ea0 QSortFilterProxyModelPrivate::proxy_to_source()
#  9 qbittorrent.exe      0x00007ff6cf94ff5f QSortFilterProxyModel::mapToSource()
# 10 qbittorrent.exe      0x00007ff6cefce9c7 PropertiesWidget::openFolder(index, containingFolder, parent)[ gui\properties\propertieswidget.cpp : 557 ]
# 11 qbittorrent.exe      0x00007ff6cefcf25b PropertiesWidget::displayFilesListMenu()[ gui\properties\propertieswidget.cpp : 628 ]
# 12 qbittorrent.exe      0x00007ff6cf0c8464 PropertiesWidget::qt_static_metacall(_o, _c, _id, _a)[ release\moc_propertieswidget.cpp : 174 ]
# 13 qbittorrent.exe      0x00007ff6cf8604e0 QMetaObject::activate()
# 14 qbittorrent.exe      0x00007ff6cf43bd89 QWidget::customContextMenuRequested()
# 15 qbittorrent.exe      0x00007ff6cf434ce9 QWidget::event()
# 16 qbittorrent.exe      0x00007ff6cf474a65 QFrame::event()
# 17 qbittorrent.exe      0x00007ff6cf45a20a QAbstractItemView::viewportEvent()
# 18 qbittorrent.exe      0x00007ff6cf8956e4 QCoreApplicationPrivate::sendThroughObjectEventFilters()
# 19 qbittorrent.exe      0x00007ff6cf4215d3 QApplicationPrivate::notify_helper()
# 20 qbittorrent.exe      0x00007ff6cf4209a6 QApplication::notify()
# 21 qbittorrent.exe      0x00007ff6cef1880c Application::notify(receiver, event)[ app\application.cpp : 563 ]
# 22 qbittorrent.exe      0x00007ff6cf89537b QCoreApplication::notifyInternal2()
# 23 qbittorrent.exe      0x00007ff6cf57933b QWidgetWindow::handleMouseEvent()
# 24 qbittorrent.exe      0x00007ff6cf57822f QWidgetWindow::event()
# 25 qbittorrent.exe      0x00007ff6cf4215e7 QApplicationPrivate::notify_helper()
# 26 qbittorrent.exe      0x00007ff6cf420f0f QApplication::notify()
# 27 qbittorrent.exe      0x00007ff6cef1880c Application::notify(receiver, event)[ app\application.cpp : 563 ]
# 28 qbittorrent.exe      0x00007ff6cf89537b QCoreApplication::notifyInternal2()
# 29 qbittorrent.exe      0x00007ff6cf6324af QGuiApplicationPrivate::processMouseEvent()
# 30 qbittorrent.exe      0x00007ff6cf631beb QGuiApplicationPrivate::processWindowSystemEvent()
# 31 qbittorrent.exe      0x00007ff6cf69b7dc QWindowSystemInterface::sendWindowSystemEvents()
# 32 qbittorrent.exe      0x00007ff6cf974200 qt_internal_proc()
# 33 USER32.dll           0x00007ff9b7a66cc1 CallWindowProcW()
# 34 USER32.dll           0x00007ff9b7a66693 DispatchMessageW()
# 35 qbittorrent.exe      0x00007ff6cf975360 QEventDispatcherWin32::processEvents()
# 36 qbittorrent.exe      0x00007ff6cf366515 QWindowsGuiEventDispatcher::processEvents()
# 37 qbittorrent.exe      0x00007ff6cf97b646 QEventLoop::exec()
# 38 qbittorrent.exe      0x00007ff6cef18469 Application::exec(params)[ app\application.cpp : 508 ]
# 39 qbittorrent.exe      0x00007ff6cef23af9 main(argc, argv, argv)[ app\main.cpp : 267 ]
# 40 qbittorrent.exe      0x00007ff6cfa1d7b7 WinMain()
# 41 qbittorrent.exe      0x00007ff6cfa23443 __scrt_common_main_seh()[ f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl : 283 ]
# 42 KERNEL32.DLL         0x00007ff9b7803034 BaseThreadInitThunk()
# 43 ntdll.dll            0x00007ff9b8141551 RtlUserThreadStart()
ngosang commented 6 years ago

We are closing all issues related to old qBittorrent versions (qBittorrent < 4.1.0). Please, update to last release and, if the bug/error/crash is still present, open another issue. Thank you.