Bug 458057 - Crash when a magnet torrent starts
Summary: Crash when a magnet torrent starts
Status: REPORTED
Alias: None
Product: ktorrent
Classification: Applications
Component: general (other bugs)
Version First Reported In: 22.04.3
Platform: Kubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords: drkonqi
: 458058 473407 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-08-19 08:22 UTC by Mathias Homann
Modified: 2023-09-02 07:40 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mathias Homann 2022-08-19 08:22:23 UTC
Application: ktorrent (22.04.3)

Qt Version: 5.15.5
Frameworks Version: 5.97.0
Operating System: Linux 5.19.1-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.25.4 [KCrashBackend]

-- Information about the crash:
I have started a magnet "download" to start a torrent, when I close the "download to" popup to actually get started ktorrent crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f9088c98d74 in QListData::at (i=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtCore/qlist.h:117
#5  QList<kt::MagnetDownloader*>::at (i=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtCore/qlist.h:572
#6  kt::MagnetManager::update (this=0x55d2409ef4c0) at /usr/src/debug/ktorrent-22.04.3-1.1.x86_64/libktcore/torrent/magnetmanager.cpp:339
#7  0x000055d23eaf9efa in kt::Core::update (this=0x55d2409b3580) at /usr/src/debug/ktorrent-22.04.3-1.1.x86_64/ktorrent/core.cpp:900
#8  0x00007f9086b12e6f in QtPrivate::QSlotObjectBase::call (a=0x7ffe1d06bbf0, r=0x55d2409b3580, this=0x55d2409ee8e0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#9  doActivate<false> (sender=0x55d2409b35a8, signal_index=3, argv=0x7ffe1d06bbf0) at kernel/qobject.cpp:3886
#10 0x00007f9086b0c22f in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f9086db39a0, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe1d06bbf0) at kernel/qobject.cpp:3946
#11 0x00007f9086b16aca in QTimer::timeout (this=<optimized out>, _t1=...) at .moc/moc_qtimer.cpp:205
#12 0x00007f9086b0757d in QObject::event (this=0x55d2409b35a8, e=0x7ffe1d06bd40) at kernel/qobject.cpp:1336
#13 0x00007f90877a541e in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55d2409b35a8, e=0x7ffe1d06bd40) at kernel/qapplication.cpp:3637
#14 0x00007f9086adbfb8 in QCoreApplication::notifyInternal2 (receiver=0x55d2409b35a8, event=0x7ffe1d06bd40) at kernel/qcoreapplication.cpp:1064
#15 0x00007f9086b32851 in QTimerInfoList::activateTimers (this=0x55d240754860) at kernel/qtimerinfo_unix.cpp:643
#16 0x00007f9086b330e4 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183
#17 0x00007f9084dbfea0 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#18 0x00007f9084dc0258 in ?? () from /lib64/libglib-2.0.so.0
#19 0x00007f9084dc02ec in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#20 0x00007f9086b33456 in QEventDispatcherGlib::processEvents (this=0x55d2407566a0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#21 0x00007f9086adaa2b in QEventLoop::exec (this=this@entry=0x7ffe1d06bf80, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#22 0x00007f90879ad3a7 in QDialog::exec (this=this@entry=0x7ffe1d06c110) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#23 0x000055d23eafd536 in kt::FileSelectDlg::execute (location_hint=..., skip_check=0x7ffe1d06c06e, start=0x7ffe1d06c06f, tc=0x55d240f292b0, this=0x7ffe1d06c110) at /usr/src/debug/ktorrent-22.04.3-1.1.x86_64/ktorrent/dialogs/fileselectdlg.cpp:156
#24 kt::Core::init (this=<optimized out>, tc=<optimized out>, group=..., location=..., silently=<optimized out>) at /usr/src/debug/ktorrent-22.04.3-1.1.x86_64/ktorrent/core.cpp:235
#25 0x000055d23eafdd23 in kt::Core::loadFromData (this=0x55d2409b3580, data=..., dir=..., group=..., silently=<optimized out>, url=...) at /usr/src/debug/ktorrent-22.04.3-1.1.x86_64/ktorrent/core.cpp:320
#26 0x000055d23eaff29f in kt::Core::load (this=0x55d2409b3580, data=..., url=..., group=..., savedir=...) at /usr/src/debug/ktorrent-22.04.3-1.1.x86_64/ktorrent/core.cpp:469
#27 0x000055d23eafb8fb in kt::Core::onMetadataDownloaded (this=0x55d2409b3580, mlink=..., data=..., options=...) at /usr/src/debug/ktorrent-22.04.3-1.1.x86_64/ktorrent/core.cpp:1236
#28 0x00007f9086b07760 in QObject::event (this=0x55d2409b3580, e=0x55d2418e6770) at kernel/qobject.cpp:1314
#29 0x00007f90877a541e in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55d2409b3580, e=0x55d2418e6770) at kernel/qapplication.cpp:3637
#30 0x00007f9086adbfb8 in QCoreApplication::notifyInternal2 (receiver=0x55d2409b3580, event=0x55d2418e6770) at kernel/qcoreapplication.cpp:1064
#31 0x00007f9086adef51 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55d240662040) at kernel/qcoreapplication.cpp:1821
#32 0x00007f9086b33c53 in postEventSourceDispatch (s=0x55d2407473c0) at kernel/qeventdispatcher_glib.cpp:277
#33 0x00007f9084dbfea0 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#34 0x00007f9084dc0258 in ?? () from /lib64/libglib-2.0.so.0
#35 0x00007f9084dc02ec in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#36 0x00007f9086b33456 in QEventDispatcherGlib::processEvents (this=0x55d2407566a0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#37 0x00007f9086adaa2b in QEventLoop::exec (this=this@entry=0x7ffe1d06c8d0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#38 0x00007f9086ae2b96 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#39 0x000055d23eaee2b9 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/ktorrent-22.04.3-1.1.x86_64/ktorrent/main.cpp:253
[Inferior 1 (process 5883) detached]

The reporter indicates this bug may be a duplicate of or related to bug 396727.

Reported using DrKonqi
Comment 1 Nicolas Fella 2023-08-15 11:50:44 UTC
*** Bug 458058 has been marked as a duplicate of this bug. ***
Comment 2 Nicolas Fella 2023-08-15 11:50:48 UTC
*** Bug 473407 has been marked as a duplicate of this bug. ***