qbittorrent / qBittorrent

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

Crash report when i opened 9 torrents at once from Search tab #8572

Closed slrslr closed 5 years ago

slrslr commented 6 years ago

I have opened 9 torrents which appeared to have same size and similar names, many had same hash and qbt crashed when i was rapidly clicking OK to confirm torrent "is already adding":

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.10586 x86_64

Caught signal: SIGSEGV


#  0 qbittorrent.exe      0x00007ff6a11809c6 straceWin::getBacktrace()[ app\stacktrace_win.h : 213 ]
#  1 qbittorrent.exe      0x00007ff6a1183c31 sigAbnormalHandler(signum)[ app\main.cpp : 315 ]
#  2 qbittorrent.exe      0x00007ff6a1ca2a61 _seh_filter_exe(xcptnum, pxcptinfoptrs)[ minkernel\crts\ucrt\src\appcrt\misc\exception_filter.cpp : 215 ]
#  3 qbittorrent.exe      0x00007ff6a1d79323 `thread_start'::`1'::filt$0()[ minkernel\crts\ucrt\src\appcrt\startup\thread.cpp : 117 ]
#  4 qbittorrent.exe      0x00007ff6a1c85070 __C_specific_handler(ExceptionRecord, EstablisherFrame, ContextRecord, DispatcherContext)
#  5 ntdll.dll            0x00007ff9abe29afd _chkstk()
#  6 ntdll.dll            0x00007ff9abdb4fe9 RtlImageNtHeaderEx()
#  7 ntdll.dll            0x00007ff9abe28c0a KiUserExceptionDispatcher()
#  8 ntdll.dll            0x00007ff9abdada73 RtlAcquireSRWLockExclusive()
#  9 ntdll.dll            0x00007ff9abd86e4c RtlDeregisterWaitEx()
# 10 KERNELBASE.dll       0x00007ff9a8f639b8 UnregisterWaitEx()
# 11 qbittorrent.exe      0x00007ff6a1bedce4 QWinEventNotifierPrivate::unregisterWaitObject()
# 12 qbittorrent.exe      0x00007ff6a1bd632a QEventDispatcherWin32::activateEventNotifiers()
# 13 qbittorrent.exe      0x00007ff6a1bd53c8 QEventDispatcherWin32::processEvents()
# 14 qbittorrent.exe      0x00007ff6a15c6515 QWindowsGuiEventDispatcher::processEvents()
# 15 qbittorrent.exe      0x00007ff6a1bdb646 QEventLoop::exec()
# 16 qbittorrent.exe      0x00007ff6a16a0fae QDialog::exec()
# 17 qbittorrent.exe      0x00007ff6a1273a03 MessageBoxRaised::impl(icon, parent, title, text, buttons)[ gui\messageboxraised.cpp : 40 ]
# 18 qbittorrent.exe      0x00007ff6a1273a49 MessageBoxRaised::critical(parent, title, text, buttons)[ gui\messageboxraised.cpp : 44 ]
# 19 qbittorrent.exe      0x00007ff6a124312e AddNewTorrentDialog::loadTorrent(torrentPath)[ gui\addnewtorrentdialog.cpp : 312 ]
# 20 qbittorrent.exe      0x00007ff6a12427ad AddNewTorrentDialog::show(source, source, source, inParams, parent)[ gui\addnewtorrentdialog.cpp : 251 ]
# 21 qbittorrent.exe      0x00007ff6a12428d1 AddNewTorrentDialog::show(source, source, parent)[ gui\addnewtorrentdialog.cpp : 266 ]
# 22 qbittorrent.exe      0x00007ff6a12c92c4 SearchWidget::addTorrentToSession(source)[ gui\search\searchwidget.cpp : 256 ]
# 23 qbittorrent.exe      0x00007ff6a1ac03fa QMetaObject::activate()
# 24 qbittorrent.exe      0x00007ff6a1327a89 SearchEngine::torrentFileDownloaded(_t1)[ release\moc_searchengine.cpp : 403 ]
# 25 qbittorrent.exe      0x00007ff6a120b7f1 SearchEngine::torrentFileDownloadFinished(exitcode)[ base\searchengine.cpp : 406 ]
# 26 qbittorrent.exe      0x00007ff6a1ac03fa QMetaObject::activate()
# 27 qbittorrent.exe      0x00007ff6a1b0a2ac QProcess::finished()
# 28 qbittorrent.exe      0x00007ff6a1b088cc QProcessPrivate::_q_processDied()
# 29 qbittorrent.exe      0x00007ff6a1b09fc7 QProcess::qt_static_metacall()
# 30 qbittorrent.exe      0x00007ff6a1ac04e0 QMetaObject::activate()
# 31 qbittorrent.exe      0x00007ff6a1c29a80 QWinEventNotifier::activated()
# 32 qbittorrent.exe      0x00007ff6a1bedc0e QWinEventNotifier::event()
# 33 qbittorrent.exe      0x00007ff6a16815e7 QApplicationPrivate::notify_helper()
# 34 qbittorrent.exe      0x00007ff6a1680f0f QApplication::notify()
# 35 qbittorrent.exe      0x00007ff6a117880c Application::notify(receiver, event)[ app\application.cpp : 563 ]
# 36 qbittorrent.exe      0x00007ff6a1af537b QCoreApplication::notifyInternal2()
# 37 qbittorrent.exe      0x00007ff6a1bd6374 QEventDispatcherWin32::activateEventNotifiers()
# 38 qbittorrent.exe      0x00007ff6a1bd53c8 QEventDispatcherWin32::processEvents()
# 39 qbittorrent.exe      0x00007ff6a15c6515 QWindowsGuiEventDispatcher::processEvents()
# 40 qbittorrent.exe      0x00007ff6a1bdb646 QEventLoop::exec()
# 41 qbittorrent.exe      0x00007ff6a16a0fae QDialog::exec()
# 42 qbittorrent.exe      0x00007ff6a1273a03 MessageBoxRaised::impl(icon, parent, title, text, buttons)[ gui\messageboxraised.cpp : 40 ]
# 43 qbittorrent.exe      0x00007ff6a1273a49 MessageBoxRaised::critical(parent, title, text, buttons)[ gui\messageboxraised.cpp : 44 ]
# 44 qbittorrent.exe      0x00007ff6a124312e AddNewTorrentDialog::loadTorrent(torrentPath)[ gui\addnewtorrentdialog.cpp : 312 ]
# 45 qbittorrent.exe      0x00007ff6a12427ad AddNewTorrentDialog::show(source, source, source, inParams, parent)[ gui\addnewtorrentdialog.cpp : 251 ]
# 46 qbittorrent.exe      0x00007ff6a12428d1 AddNewTorrentDialog::show(source, source, parent)[ gui\addnewtorrentdialog.cpp : 266 ]
# 47 qbittorrent.exe      0x00007ff6a12c92c4 SearchWidget::addTorrentToSession(source)[ gui\search\searchwidget.cpp : 256 ]
# 48 qbittorrent.exe      0x00007ff6a1ac03fa QMetaObject::activate()
# 49 qbittorrent.exe      0x00007ff6a1327a89 SearchEngine::torrentFileDownloaded(_t1)[ release\moc_searchengine.cpp : 403 ]
# 50 qbittorrent.exe      0x00007ff6a120b7f1 SearchEngine::torrentFileDownloadFinished(exitcode)[ base\searchengine.cpp : 406 ]
# 51 qbittorrent.exe      0x00007ff6a1ac03fa QMetaObject::activate()
# 52 qbittorrent.exe      0x00007ff6a1b0a2ac QProcess::finished()
# 53 qbittorrent.exe      0x00007ff6a1b088cc QProcessPrivate::_q_processDied()
# 54 qbittorrent.exe      0x00007ff6a1b09fc7 QProcess::qt_static_metacall()
# 55 qbittorrent.exe      0x00007ff6a1ac04e0 QMetaObject::activate()
# 56 qbittorrent.exe      0x00007ff6a1c29a80 QWinEventNotifier::activated()
# 57 qbittorrent.exe      0x00007ff6a1bedc0e QWinEventNotifier::event()
# 58 qbittorrent.exe      0x00007ff6a16815e7 QApplicationPrivate::notify_helper()
# 59 qbittorrent.exe      0x00007ff6a1680f0f QApplication::notify()
# 60 qbittorrent.exe      0x00007ff6a117880c Application::notify(receiver, event)[ app\application.cpp : 563 ]
# 61 qbittorrent.exe      0x00007ff6a1af537b QCoreApplication::notifyInternal2()
# 62 qbittorrent.exe      0x00007ff6a1bd6374 QEventDispatcherWin32::activateEventNotifiers()
# 63 qbittorrent.exe      0x00007ff6a1bd53c8 QEventDispatcherWin32::processEvents()
# 64 qbittorrent.exe      0x00007ff6a15c6515 QWindowsGuiEventDispatcher::processEvents()
# 65 qbittorrent.exe      0x00007ff6a1bdb646 QEventLoop::exec()
# 66 qbittorrent.exe      0x00007ff6a1178469 Application::exec(params)[ app\application.cpp : 508 ]
# 67 qbittorrent.exe      0x00007ff6a1183af9 main(argc, argv, argv)[ app\main.cpp : 267 ]
# 68 qbittorrent.exe      0x00007ff6a1c7d7b7 WinMain()
# 69 qbittorrent.exe      0x00007ff6a1c83443 __scrt_common_main_seh()[ f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl : 283 ]
# 70 KERNEL32.DLL         0x00007ff9a9258102 BaseThreadInitThunk()
# 71 ntdll.dll            0x00007ff9abddc5b4 RtlUserThreadStart()
slrslr commented 5 years ago

It is long time i have not spot this issue again, so i am closing this... (if devs agree)