qbittorrent / qBittorrent

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

crash when adding torrent via a link #19837

Closed yogold closed 2 weeks ago

yogold commented 10 months ago

qBittorrent & operating system versions

qBittorrent version: v4.6.0 (64-bit) Libtorrent version: 1.2.19.0 Qt version: 6.4.3 Boost version: 1.83.0 OpenSSL version: 1.1.1w zlib version: 1.3 OS version: Windows 10 Version 22H2 10.0.19045 x86_64

What is the problem?

Crash

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

qBittorrent version: v4.6.0 (64-bit) Libtorrent version: 1.2.19.0 Qt version: 6.4.3 Boost version: 1.83.0 OpenSSL version: 1.1.1w zlib version: 1.3 OS version: Windows 10 Version 22H2 10.0.19045 x86_64

Caught signal: SIGABRT

 0# boost::stacktrace::basic_stacktrace >::init at G:\QBITTORRENT\boost_1_83_0\boost\stacktrace\stacktrace.hpp:78
 1# getStacktrace at G:\QBITTORRENT\qbt-src-4.6.0\src\app\stacktrace.cpp:35
 2# `anonymous namespace'::abnormalExitHandler at G:\QBITTORRENT\qbt-src-4.6.0\src\app\signalhandler.cpp:104
 3# raise at minkernel\crts\ucrt\src\appcrt\misc\signal.cpp:547
 4# abort at minkernel\crts\ucrt\src\appcrt\startup\abort.cpp:71
 5# terminate at minkernel\crts\ucrt\src\appcrt\misc\terminate.cpp:58
 6# __scrt_unhandled_exception_filter at D:\a\_work\1\s\src\vctools\crt\vcstartup\src\utility\utility_desktop.cpp:93
 7# UnhandledExceptionFilter in KERNELBASE
 8# memset in ntdll
 9# _C_specific_handler in ntdll
10# _chkstk in ntdll
11# RtlRaiseException in ntdll
12# RtlRaiseException in ntdll
13# RaiseException in KERNELBASE
14# _CxxThrowException at D:\a\_work\1\s\src\vctools\crt\vcruntime\src\eh\throw.cpp:75
15# `BitTorrent::TorrentImpl::reload'::`1'::catch$26 at G:\QBITTORRENT\qbt-src-4.6.0\src\base\bittorrent\torrentimpl.cpp:1753
16# _CallSettingFrame_LookupContinuationIndex at D:\a\_work\1\s\src\vctools\crt\vcruntime\src\eh\amd64\handlers.asm:98
17# __FrameHandler4::CxxCallCatchBlock at D:\a\_work\1\s\src\vctools\crt\vcruntime\src\eh\frame.cpp:1435
18# RtlCaptureContext2 in ntdll
19# BitTorrent::TorrentImpl::reload at G:\QBITTORRENT\qbt-src-4.6.0\src\base\bittorrent\torrentimpl.cpp:1718
20# BitTorrent::TorrentImpl::endReceivedMetadataHandling at G:\QBITTORRENT\qbt-src-4.6.0\src\base\bittorrent\torrentimpl.cpp:1698
21# BitTorrent::SessionImpl::fileSearchFinished at G:\QBITTORRENT\qbt-src-4.6.0\src\base\bittorrent\sessionimpl.cpp:2305
22# QtPrivate::QSlotObject const &),QtPrivate::List const &>,void>::impl at G:\QBITTORRENT\packages_msvc2022_64\qt6\include\QtCore\qobjectdefs_impl.h:390
23# QMetaCallEvent::placeMetaCall in qbittorrent
24# QObject::event in qbittorrent
25# QApplicationPrivate::notify_helper in qbittorrent
26# QApplication::notify in qbittorrent
27# QCoreApplication::notifyInternal2 in qbittorrent
28# QCoreApplicationPrivate::sendPostedEvents in qbittorrent
29# QWindowsGuiEventDispatcher::sendPostedEvents in qbittorrent
30# QEventDispatcherWin32::processEvents in qbittorrent
31# QWindowsGuiEventDispatcher::processEvents in qbittorrent
32# QEventLoop::exec in qbittorrent
33# QDialog::exec in qbittorrent
34# displayErrorMessage at G:\QBITTORRENT\qbt-src-4.6.0\src\app\main.cpp:328
35# main$catch$81 at G:\QBITTORRENT\qbt-src-4.6.0\src\app\main.cpp:274
36# _CallSettingFrame_LookupContinuationIndex at D:\a\_work\1\s\src\vctools\crt\vcruntime\src\eh\amd64\handlers.asm:98
37# __FrameHandler4::CxxCallCatchBlock at D:\a\_work\1\s\src\vctools\crt\vcruntime\src\eh\frame.cpp:1435
38# RtlCaptureContext2 in ntdll
39# main at G:\QBITTORRENT\qbt-src-4.6.0\src\app\main.cpp:265
40# WinMain in qbittorrent
41# __scrt_common_main_seh at D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
42# BaseThreadInitThunk in KERNEL32
43# RtlUserThreadStart in ntdll

Steps to reproduce

No response

Additional context

No response

Log(s) & preferences file(s)

No response

glassez commented 10 months ago

Additional context

No response

Do you really have nothing more to add? At what exact moment did this happen? Have you added several torrents in a row?

glassez commented 10 months ago

Was there any dialog box with an error message shown (besides the crash report window)?

xavier2k6 commented 10 months ago

BitTorrent::TorrentImpl::reload'::1'::catch$26 at G:\QBITTORRENT\qbt-src-4.6.0\src\base\bittorrent\torrentimpl.cpp:1753

@glassez

https://github.com/qbittorrent/qBittorrent/blob/a1ff1c82273cdffdda81c36ced9f80fd73bb52cf/src/base/bittorrent/torrentimpl.cpp#L1753

@yogold Can you please provide your logs?!

glassez commented 10 months ago

@glassez

https://github.com/qbittorrent/qBittorrent/blob/a1ff1c82273cdffdda81c36ced9f80fd73bb52cf/src/base/bittorrent/torrentimpl.cpp#L1753

It's not about logging.

luzpaz commented 9 months ago

@yogold please respond

yogold commented 9 months ago

Nothing more to add

On Tue, Oct 31, 2023, 1:31 PM Vladimir Golovnev @.***> wrote:

Additional context

No response

Do you really have nothing more to add? At what exact moment did this happen? Have you added several torrents in a row?

— Reply to this email directly, view it on GitHub https://github.com/qbittorrent/qBittorrent/issues/19837#issuecomment-1787034272, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALU2PJWDABOI3TG6M4UQINTYCDOQXAVCNFSM6AAAAAA6XKBOQGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBXGAZTIMRXGI . You are receiving this because you authored the thread.Message ID: @.***>

luzpaz commented 9 months ago

Do you really have nothing more to add? At what exact moment did this happen? Have you added several torrents in a row?

yogold commented 9 months ago

I haven’t had any problems since then.

I may have added some other torrents a little while before this crash. I don’t remember for sure.

It happened right after I clicked on a magnet link to add the torrent.

luzpaz commented 9 months ago

@glassez keep open for stacktrace ?

luzpaz commented 2 weeks ago

@glassez :point_up_2:

glassez commented 2 weeks ago

Feel free to close it. I believe it is fixed in v5.0.