qBittorrent has crashed after auto-adding a 14GB torrent file from humblebundle. #6390

Closed
tibbyfury opened this Issue Feb 16, 2017 · 3 comments

Projects

None yet

4 participants

@tibbyfury

Please provide the following information

qBittorrent version and Operating System:

qBittorrent version: v3.3.10
Libtorrent version: 1.0.10.0
Qt version: 5.7.1
Boost version: 1.62.0
OS version: Windows 10 10.0.14393 x86_64

What is the problem:

I downloaded a 1.3MB torrent file (Doublefineadventure_full_part3) from HumbleBundle and it leads to a 14GB file. As soon as the file goes to my downloads folder, qBittorrent (x64) automatically picks it up into the program and then crashes.

What is the expected behavior:

I expected qBittorrent (x64) to pick up the torrent and add the torrent information to the client, and prepare to download the file once it's time had come.

Steps to reproduce:

Here is a direct copy of the torrent. Try adding it to your torrent client, specifically after adding the part 2 torrent, and see if it crashes.
Torrent files part 2 and 3 (3 is the one that crashes).zip

Extra info(if any):

#  0 qbittorrent.exe      0x00007ff7e15ebd49 straceWin::getBacktrace()[ app\stacktrace_win.h : 213 ]
#  1 qbittorrent.exe      0x00007ff7e15ef80b sigAbnormalHandler(signum)[ app\main.cpp : 371 ]
#  2 qbittorrent.exe      0x00007ff7e205e4a1 _seh_filter_exe(xcptnum, pxcptinfoptrs)[ d:\th\minkernel\crts\ucrt\src\appcrt\misc\exception_filter.cpp : 215 ]
#  3 qbittorrent.exe      0x00007ff7e2122be5 `__scrt_common_main_seh'::`1'::filt$0()[ f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl : 269 ]
#  4 qbittorrent.exe      0x00007ff7e2043294 __C_specific_handler(ExceptionRecord, EstablisherFrame, ContextRecord, DispatcherContext)
#  5 ntdll.dll            0x00007fff37b6ab9d _chkstk()
#  6 ntdll.dll            0x00007fff37b09913 RtlImageNtHeaderEx()
#  7 ntdll.dll            0x00007fff37b69cba KiUserExceptionDispatcher()
#  8 qbittorrent.exe      0x00007ff7e2041710 memcpy()[ f:\dd\vctools\crt\vcruntime\src\string\amd64\memcpy.asm : 138 ]
#  9 qbittorrent.exe      0x00007ff7e1783dac libtorrent::torrent_info::hash_for_piece(index)[ g:\qbittorrent\libtorrent\include\libtorrent\torrent_info.hpp : 561 ]
# 10 qbittorrent.exe      0x00007ff7e179764a libtorrent::create_torrent::create_torrent(ti)[ g:\qbittorrent\libtorrent\src\create_torrent.cpp : 360 ]
# 11 qbittorrent.exe      0x00007ff7e16467f1 BitTorrent::TorrentHandle::saveTorrentFile(path)[ base\bittorrent\torrenthandle.cpp : 1315 ]
# 12 qbittorrent.exe      0x00007ff7e162f622 BitTorrent::Session::createTorrentHandle(nativeHandle)[ base\bittorrent\session.cpp : 3295 ]
# 13 qbittorrent.exe      0x00007ff7e162fb05 BitTorrent::Session::handleAddTorrentAlert(p)[ base\bittorrent\session.cpp : 3342 ]
# 14 qbittorrent.exe      0x00007ff7e162f032 BitTorrent::Session::handleAlert(a, a)[ base\bittorrent\session.cpp : 3217 ]
# 15 qbittorrent.exe      0x00007ff7e162edec BitTorrent::Session::readAlerts()[ base\bittorrent\session.cpp : 3179 ]
# 16 qbittorrent.exe      0x00007ff7e17499e5 BitTorrent::Session::qt_static_metacall(_o, _c, _id, _a)[ release\moc_session.cpp : 301 ]
# 17 qbittorrent.exe      0x00007ff7e1e66492 QMetaCallEvent::placeMetaCall()
# 18 qbittorrent.exe      0x00007ff7e1e66f85 QObject::event()
# 19 qbittorrent.exe      0x00007ff7e196b778 QApplicationPrivate::notify_helper()
# 20 qbittorrent.exe      0x00007ff7e196b059 QApplication::notify()
# 21 qbittorrent.exe      0x00007ff7e15e813c Application::notify(receiver, event)[ app\application.cpp : 499 ]
# 22 qbittorrent.exe      0x00007ff7e1e9d7cf QCoreApplication::notifyInternal2()
# 23 qbittorrent.exe      0x00007ff7e1e9e0db QCoreApplicationPrivate::sendPostedEvents()
# 24 qbittorrent.exe      0x00007ff7e1bf095f QWindowsGuiEventDispatcher::sendPostedEvents()
# 25 qbittorrent.exe      0x00007ff7e1f88ff4 qt_internal_proc()
# 26 USER32.dll           0x00007fff36971c24 CallWindowProcW()
# 27 USER32.dll           0x00007fff3697156c DispatchMessageW()
# 28 qbittorrent.exe      0x00007ff7e1f89eda QEventDispatcherWin32::processEvents()
# 29 qbittorrent.exe      0x00007ff7e1bf0939 QWindowsGuiEventDispatcher::processEvents()
# 30 qbittorrent.exe      0x00007ff7e1f61638 QEventLoop::exec()
# 31 qbittorrent.exe      0x00007ff7e15e7db5 Application::exec(params)[ app\application.cpp : 444 ]
# 32 qbittorrent.exe      0x00007ff7e15ef0d2 main(argc, argv)[ app\main.cpp : 286 ]
# 33 qbittorrent.exe      0x00007ff7e2024307 WinMain()
# 34 qbittorrent.exe      0x00007ff7e203f5af __scrt_common_main_seh()[ f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl : 253 ]
# 35 KERNEL32.DLL         0x00007fff35388364 BaseThreadInitThunk()
# 36 ntdll.dll            0x00007fff37b270d1 RtlUserThreadStart()

Thank you for reading my post, and I hope we can get this patched, or discover what's so crazy about the part3 torrent that it crashes qBittorrent. Good luck!
~Tiberiusfury

@tibbyfury tibbyfury changed the title from qBittorrent has crashed after auto- a 13GB torrent file from humblebundle. to qBittorrent has crashed after auto-adding a 13GB torrent file from humblebundle. Feb 16, 2017
@tibbyfury tibbyfury changed the title from qBittorrent has crashed after auto-adding a 13GB torrent file from humblebundle. to qBittorrent has crashed after auto-adding a 14GB torrent file from humblebundle. Feb 16, 2017
@EmmanuelMess
EmmanuelMess commented Feb 20, 2017 edited

Confirmed this happens with:

qBittorrent version: v3.3.10
Libtorrent version: 1.0.10.0
Qt version: 5.7.1
Boost version: 1.62.0
OS version: Windows 10 10.0.14393 x86_64

I found that it crashed even if part 2 wasn't added.

@Chocobo1
Member
Chocobo1 commented Feb 21, 2017 edited

Thanks for reporting! The fix will be in the next release.

Tested with newer libtorrent version (RC_1_0 branch), now it displays an invalid torrent dialog, so no crashes anymore:
screenshot

@evsh
please close.

@evsh
Contributor
evsh commented Feb 21, 2017

Closing as fixed.

@evsh evsh closed this Feb 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment