Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes when trying to open magnet link #19790

Closed
CharlesDWard opened this issue Oct 26, 2023 · 6 comments · Fixed by #19792
Closed

Crashes when trying to open magnet link #19790

CharlesDWard opened this issue Oct 26, 2023 · 6 comments · Fixed by #19792
Assignees

Comments

@CharlesDWard
Copy link

qBittorrent & operating system versions

qBittorrent version: v4.6.0 (64-bit)
OS version: Windows 10 Version 22H2 10.0.19045 x86_64
Qt version: 6.4.3
Libtorrent version: 2.0.9.0

What is the problem?

After the most recent update has frequently, but not always, crashed when trying to add another download using magnet links.

Steps to reproduce

Start qBittorrent
Try to open magnet link

Additional context

qBittorrent told me to provide the following information;

qBittorrent version: v4.6.0 (64-bit)
Libtorrent version: 2.0.9.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# libtorrent::throw_invalid_handle at G:\QBITTORRENT\libtorrent\src\torrent_handle.cpp:115
16# libtorrent::session_handle::remove_torrent at G:\QBITTORRENT\libtorrent\src\session_handle.cpp:948
17# BitTorrent::SessionImpl::cancelDownloadMetadata at G:\QBITTORRENT\qbt-src-4.6.0\src\base\bittorrent\sessionimpl.cpp:2449
18# BitTorrent::SessionImpl::addTorrent_impl at G:\QBITTORRENT\qbt-src-4.6.0\src\base\bittorrent\sessionimpl.cpp:2789
19# BitTorrent::SessionImpl::addTorrent at G:\QBITTORRENT\qbt-src-4.6.0\src\base\bittorrent\sessionimpl.cpp:2652
20# AddNewTorrentDialog::accept at G:\QBITTORRENT\qbt-src-4.6.0\src\gui\addnewtorrentdialog.cpp:911
21# doActivate in qbittorrent
22# QMetaObject::activate in qbittorrent
23# QDialogButtonBoxPrivate::_q_handleButtonClicked in qbittorrent
24# QDialogButtonBox::qt_static_metacall in qbittorrent
25# doActivate in qbittorrent
26# QMetaObject::activate in qbittorrent
27# QAbstractButton::clicked in qbittorrent
28# QAbstractButtonPrivate::emitClicked in qbittorrent
29# QAbstractButtonPrivate::click in qbittorrent
30# QAbstractButton::mouseReleaseEvent in qbittorrent
31# QWidget::event in qbittorrent
32# QApplicationPrivate::notify_helper in qbittorrent
33# QApplication::notify in qbittorrent
34# QCoreApplication::notifyInternal2 in qbittorrent
35# QApplicationPrivate::sendMouseEvent in qbittorrent
36# QWidgetWindow::handleMouseEvent in qbittorrent
37# QWidgetWindow::event in qbittorrent
38# QApplicationPrivate::notify_helper in qbittorrent
39# QApplication::notify in qbittorrent
40# QCoreApplication::notifyInternal2 in qbittorrent
41# QGuiApplicationPrivate::processMouseEvent in qbittorrent
42# QGuiApplicationPrivate::processWindowSystemEvent in qbittorrent
43# QWindowSystemInterface::sendWindowSystemEvents in qbittorrent
44# QEventDispatcherWin32::processEvents in qbittorrent
45# QWindowsGuiEventDispatcher::processEvents in qbittorrent
46# QEventLoop::exec in qbittorrent
47# QCoreApplication::exec in qbittorrent
48# Application::exec at G:\QBITTORRENT\qbt-src-4.6.0\src\app\application.cpp:936
49# main at G:\QBITTORRENT\qbt-src-4.6.0\src\app\main.cpp:265
50# WinMain in qbittorrent
51# __scrt_common_main_seh at D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
52# BaseThreadInitThunk in KERNEL32
53# RtlUserThreadStart in ntdll

Log(s) & preferences file(s)

No response

@glassez
Copy link
Member

glassez commented Oct 26, 2023

@CharlesDWard
Could you provide magnet link that causes this crash?

@glassez glassez self-assigned this Oct 26, 2023
@glassez
Copy link
Member

glassez commented Oct 26, 2023

Duplicate of #19780

@glassez glassez marked this as a duplicate of #19780 Oct 26, 2023
@glassez glassez added the Crash label Oct 26, 2023
@CharlesDWard
Copy link
Author

CharlesDWard commented Oct 26, 2023 via email

@glassez
Copy link
Member

glassez commented Oct 26, 2023

@CharlesDWard
Do you remember if you waited for Add new torrent dialog to download the torrent metadata, or clicked OK immediately?

@CharlesDWard
Copy link
Author

CharlesDWard commented Oct 27, 2023 via email

@luzpaz
Copy link
Contributor

luzpaz commented Oct 27, 2023

Should we close as a dupe ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants