https://bugs.kde.org/show_bug.cgi?id=396727

            Bug ID: 396727
           Summary: Crash when magnet removed from list
           Product: ktorrent
           Version: unspecified
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: joris.guis...@gmail.com
          Reporter: tankta...@gmail.com
  Target Milestone: ---

Application: ktorrent (5.1.0)
 (Compiled from sources)
Qt Version: 5.11.1
Frameworks Version: 5.46.0
Operating System: Linux 4.17.2-gentoo x86_64
Distribution: "NAME=Gentoo"

-- Information about the crash:
- What I was doing when the application crashed:

Whether I delete a magnet that hasn't finished downloading, or the magnet
finishes downloading and is being removed from the list automatically, ktorrent
is crashing on removal.

The crash can be reproduced every time.

-- Backtrace:
Application: KTorrent (ktorrent), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fa341bc7c40 (LWP 11329))]

Thread 7 (Thread 0x7fa2f601b700 (LWP 11348)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x55f6079acca4) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55f6079acc50,
cond=0x55f6079acc78) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55f6079acc78, mutex=0x55f6079acc50) at
pthread_cond_wait.c:655
#3  0x00007fa33c7ebe7b in QWaitConditionPrivate::wait
(time=18446744073709551615, this=0x55f6079acc50) at
thread/qwaitcondition_unix.cpp:143
#4  QWaitCondition::wait (this=this@entry=0x55f6079e8e38,
mutex=mutex@entry=0x55f6079e8e30, time=time@entry=18446744073709551615) at
thread/qwaitcondition_unix.cpp:215
#5  0x00007fa34142e18b in net::ReverseResolverThread::run (this=0x55f6079e8e20)
at
/var/tmp/portage/net-libs/libktorrent-9999/work/libktorrent-9999/src/net/reverseresolver.cpp:124
#6  0x00007fa33c7eab18 in QThreadPrivate::start (arg=0x55f6079e8e20) at
thread/qthread_unix.cpp:367
#7  0x00007fa337a0590a in start_thread (arg=0x7fa2f601b700) at
pthread_create.c:465
#8  0x00007fa33bb1633f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fa2f681c700 (LWP 11347)):
#0  0x00007fa33bae1158 in __GI___nanosleep
(requested_time=requested_time@entry=0x7fa2f681bd90,
remaining=remaining@entry=0x7fa2f681bd90) at
../sysdeps/unix/sysv/linux/nanosleep.c:27
#1  0x00007fa33ca2c01d in qt_nanosleep (amount=...) at
kernel/qelapsedtimer_unix.cpp:195
#2  0x00007fa33c7e9ef8 in QThread::msleep (msecs=<optimized out>) at
thread/qthread_unix.cpp:537
#3  0x00007fa34142ab8b in net::UploadThread::update (this=0x55f606c7ea90) at
/var/tmp/portage/net-libs/libktorrent-9999/work/libktorrent-9999/src/net/uploadthread.cpp:89
#4  0x00007fa34142b249 in net::NetworkThread::run (this=0x55f606c7ea90) at
/var/tmp/portage/net-libs/libktorrent-9999/work/libktorrent-9999/src/net/networkthread.cpp:48
#5  0x00007fa33c7eab18 in QThreadPrivate::start (arg=0x55f606c7ea90) at
thread/qthread_unix.cpp:367
#6  0x00007fa337a0590a in start_thread (arg=0x7fa2f681c700) at
pthread_create.c:465
#7  0x00007fa33bb1633f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fa2f701d700 (LWP 11346)):
#0  0x00007fa33ba9db97 in __GI___libc_malloc (bytes=56) at malloc.c:3029
#1  0x00007fa33c3e5418 in operator new (sz=sz@entry=56) at
/var/tmp/portage/sys-devel/gcc-7.3.0-r3/work/gcc-7.3.0/libstdc++-v3/libsupc++/new_op.cc:50
#2  0x00007fa34142e912 in
__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<int const,
QSharedPointer<net::PollClient> > > >::allocate (this=<optimized out>, __n=1)
at
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/ext/new_allocator.h:104
#3  std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<int
const, QSharedPointer<net::PollClient> > > > >::allocate (__a=..., __n=1) at
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/alloc_traits.h:436
#4  std::_Rb_tree<int, std::pair<int const, QSharedPointer<net::PollClient> >,
std::_Select1st<std::pair<int const, QSharedPointer<net::PollClient> > >,
std::less<int>, std::allocator<std::pair<int const,
QSharedPointer<net::PollClient> > > >::_M_get_node (this=0x55f606c7e798) at
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/stl_tree.h:505
#5  std::_Rb_tree<int, std::pair<int const, QSharedPointer<net::PollClient> >,
std::_Select1st<std::pair<int const, QSharedPointer<net::PollClient> > >,
std::less<int>, std::allocator<std::pair<int const,
QSharedPointer<net::PollClient> > >
>::_M_create_node<std::piecewise_construct_t const&, std::tuple<int const&>,
std::tuple<> >(std::piecewise_construct_t const&, std::tuple<int const&>&&,
std::tuple<>&&) (this=0x55f606c7e798) at
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/stl_tree.h:559
#6  std::_Rb_tree<int, std::pair<int const, QSharedPointer<net::PollClient> >,
std::_Select1st<std::pair<int const, QSharedPointer<net::PollClient> > >,
std::less<int>, std::allocator<std::pair<int const,
QSharedPointer<net::PollClient> > >
>::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<int
const&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<int const,
QSharedPointer<net::PollClient> > >, std::piecewise_construct_t const&,
std::tuple<int const&>&&, std::tuple<>&&) (__pos=..., this=0x55f606c7e798) at
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/stl_tree.h:2196
#7  std::map<int, QSharedPointer<net::PollClient>, std::less<int>,
std::allocator<std::pair<int const, QSharedPointer<net::PollClient> > >
>::operator[] (__k=<synthetic pointer>: <optimized out>, this=0x55f606c7e798)
at /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/stl_map.h:483
#8  net::Poll::add (this=this@entry=0x55f606c7e770, pc=...) at
/var/tmp/portage/net-libs/libktorrent-9999/work/libktorrent-9999/src/net/poll.cpp:74
#9  0x00007fa34142aea6 in net::DownloadThread::waitForSocketReady
(this=this@entry=0x55f606c7e760) at
/var/tmp/portage/net-libs/libktorrent-9999/work/libktorrent-9999/src/net/downloadthread.cpp:114
#10 0x00007fa34142b016 in net::DownloadThread::update (this=0x55f606c7e760) at
/var/tmp/portage/net-libs/libktorrent-9999/work/libktorrent-9999/src/net/downloadthread.cpp:48
#11 0x00007fa34142b249 in net::NetworkThread::run (this=0x55f606c7e760) at
/var/tmp/portage/net-libs/libktorrent-9999/work/libktorrent-9999/src/net/networkthread.cpp:48
#12 0x00007fa33c7eab18 in QThreadPrivate::start (arg=0x55f606c7e760) at
thread/qthread_unix.cpp:367
#13 0x00007fa337a0590a in start_thread (arg=0x7fa2f701d700) at
pthread_create.c:465
#14 0x00007fa33bb1633f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fa321698700 (LWP 11334)):
#0  0x00007fa33bb0a9e4 in __GI___poll (fds=0x7fa318004ea0, nfds=1, timeout=34)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fa3352ebb86 in g_main_context_poll (priority=<optimized out>,
n_fds=1, fds=0x7fa318004ea0, timeout=<optimized out>, context=0x7fa318000bf0)
at /var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:4271
#2  g_main_context_iterate (context=context@entry=0x7fa318000bf0,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3967
#3  0x00007fa3352ebc9c in g_main_context_iteration (context=0x7fa318000bf0,
may_block=may_block@entry=1) at
/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:4033
#4  0x00007fa33ca2c59b in QEventDispatcherGlib::processEvents
(this=0x7fa318000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fa33c9c95b2 in QEventLoop::exec (this=this@entry=0x7fa321697de0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#6  0x00007fa33c7dda0e in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:525
#7  0x00007fa33c7eab18 in QThreadPrivate::start (arg=0x55f606d4d010) at
thread/qthread_unix.cpp:367
#8  0x00007fa337a0590a in start_thread (arg=0x7fa321698700) at
pthread_create.c:465
#9  0x00007fa33bb1633f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fa3220ae700 (LWP 11333)):
#0  0x00007fa33bb17510 in __libc_recv (fd=fd@entry=4,
buf=buf@entry=0x7fa314007848, len=len@entry=8192, flags=flags@entry=0) at
../sysdeps/unix/sysv/linux/recv.c:28
#1  0x00007fa33f4687d6 in recv (__flags=0, __n=8192, __buf=0x7fa314007848,
__fd=4) at /usr/include/bits/socket2.h:44
#2  (anonymous namespace)::ProcessNetlinkRequest<getInterfaces(int,
char*)::<lambda(ifinfomsg*, size_t)> >::operator() (bufsize=8192,
this=<optimized out>, func=..., buf=0x7fa314007848 "\214\006", hdr=<optimized
out>, sock=4) at kernel/qnetworkinterface_linux.cpp:170
#3  (anonymous namespace)::processNetlinkRequest<getInterfaces(int,
char*)::<lambda(ifinfomsg*, size_t)> > (l=..., bufsize=8192, buf=0x7fa314007848
"\214\006", hdr=0x7fa3220ace80, sock=4) at
kernel/qnetworkinterface_linux.cpp:218
#4  getInterfaces (buf=0x7fa314007848 "\214\006", sock=4) at
kernel/qnetworkinterface_linux.cpp:321
#5  QNetworkInterfaceManager::scan (this=<optimized out>) at
kernel/qnetworkinterface_linux.cpp:446
#6  0x00007fa33f455c90 in QNetworkInterfaceManager::allInterfaces
(this=<optimized out>) at kernel/qnetworkinterface.cpp:118
#7  0x00007fa33f4569a0 in QNetworkInterface::allInterfaces () at
kernel/qnetworkinterface.cpp:880
#8  0x00007fa32169fc7e in QGenericEngine::doRequestUpdate (this=0x55f606d02dc0)
at qgenericengine.cpp:286
#9  0x00007fa33c9dc71d in QMetaMethod::invoke (this=this@entry=0x7fa3220ad500,
object=object@entry=0x55f606d02dc0, connectionType=Qt::DirectConnection,
connectionType@entry=Qt::AutoConnection, returnValue=..., val0=..., val1=...,
val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...)
at kernel/qmetaobject.cpp:2287
#10 0x00007fa33c9dfb57 in QMetaObject::invokeMethod
(obj=obj@entry=0x55f606d02dc0, member=member@entry=0x7fa33f4d67b7
"requestUpdate", type=type@entry=Qt::AutoConnection, ret=..., val0=...,
val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=...,
val9=...) at kernel/qmetaobject.cpp:1489
#11 0x00007fa33f43855a in QMetaObject::invokeMethod (val9=..., val8=...,
val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=...,
member=0x7fa33f4d67b7 "requestUpdate", obj=0x55f606d02dc0) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:461
#12 QNetworkConfigurationManagerPrivate::pollEngines (this=0x55f606d8f550) at
bearer/qnetworkconfigmanager_p.cpp:490
#13 0x00007fa33f4cad6d in
QNetworkConfigurationManagerPrivate::qt_static_metacall (_o=<optimized out>,
_c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at
.moc/moc_qnetworkconfigmanager_p.cpp:132
#14 0x00007fa33c9fe790 in QMetaObject::activate
(sender=sender@entry=0x7fa314001170, signalOffset=<optimized out>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fa3220ada40)
at kernel/qobject.cpp:3771
#15 0x00007fa33c9fef47 in QMetaObject::activate
(sender=sender@entry=0x7fa314001170, m=m@entry=0x7fa33ce74dc0
<QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0,
argv=argv@entry=0x7fa3220ada40) at kernel/qobject.cpp:3633
#16 0x00007fa33ca0c5b7 in QTimer::timeout (this=this@entry=0x7fa314001170,
_t1=...) at .moc/moc_qtimer.cpp:203
#17 0x00007fa33ca0c9f8 in QTimer::timerEvent (this=0x7fa314001170, e=<optimized
out>) at kernel/qtimer.cpp:255
#18 0x00007fa33c9ff19b in QObject::event (this=0x7fa314001170, e=<optimized
out>) at kernel/qobject.cpp:1273
#19 0x00007fa33c9cb57b in doNotify (event=0x7fa3220adb90,
receiver=0x7fa314001170) at kernel/qcoreapplication.cpp:1138
#20 QCoreApplication::notify (event=<optimized out>, receiver=<optimized out>,
this=<optimized out>) at kernel/qcoreapplication.cpp:1124
#21 QCoreApplication::notifyInternal2 (receiver=0x7fa314001170,
event=event@entry=0x7fa3220adb90) at kernel/qcoreapplication.cpp:1048
#22 0x00007fa33ca2ba3e in QCoreApplication::sendEvent (event=0x7fa3220adb90,
receiver=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#23 QTimerInfoList::activateTimers (this=0x7fa314003060) at
kernel/qtimerinfo_unix.cpp:643
#24 0x00007fa33ca2c324 in timerSourceDispatch (source=<optimized out>) at
kernel/qeventdispatcher_glib.cpp:182
#25 0x00007fa3352eb957 in g_main_dispatch (context=0x7fa314002e20) at
/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3234
#26 g_main_context_dispatch (context=context@entry=0x7fa314002e20) at
/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3899
#27 0x00007fa3352ebbf0 in g_main_context_iterate
(context=context@entry=0x7fa314002e20, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at
/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3972
#28 0x00007fa3352ebc9c in g_main_context_iteration (context=0x7fa314002e20,
may_block=may_block@entry=1) at
/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:4033
#29 0x00007fa33ca2c57f in QEventDispatcherGlib::processEvents
(this=0x7fa314004bc0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#30 0x00007fa33c9c95b2 in QEventLoop::exec (this=this@entry=0x7fa3220adde0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#31 0x00007fa33c7dda0e in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:525
#32 0x00007fa33c7eab18 in QThreadPrivate::start (arg=0x55f606d64b40) at
thread/qthread_unix.cpp:367
#33 0x00007fa337a0590a in start_thread (arg=0x7fa3220ae700) at
pthread_create.c:465
#34 0x00007fa33bb1633f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fa3232bf700 (LWP 11331)):
#0  0x00007fa33bb0a9e4 in __GI___poll (fds=0x7fa31c01b0e0, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fa3352ebb86 in g_main_context_poll (priority=<optimized out>,
n_fds=1, fds=0x7fa31c01b0e0, timeout=<optimized out>, context=0x7fa31c000bf0)
at /var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:4271
#2  g_main_context_iterate (context=context@entry=0x7fa31c000bf0,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3967
#3  0x00007fa3352ebc9c in g_main_context_iteration (context=0x7fa31c000bf0,
may_block=may_block@entry=1) at
/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:4033
#4  0x00007fa33ca2c59b in QEventDispatcherGlib::processEvents
(this=0x7fa31c000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fa33c9c95b2 in QEventLoop::exec (this=this@entry=0x7fa3232bedb0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#6  0x00007fa33c7dda0e in QThread::exec (this=this@entry=0x7fa33e1d6da0
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread.cpp:525
#7  0x00007fa33df418b5 in QDBusConnectionManager::run (this=0x7fa33e1d6da0
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:178
#8  0x00007fa33c7eab18 in QThreadPrivate::start (arg=0x7fa33e1d6da0 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:367
#9  0x00007fa337a0590a in start_thread (arg=0x7fa3232bf700) at
pthread_create.c:465
#10 0x00007fa33bb1633f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fa341bc7c40 (LWP 11329)):
[KCrash Handler]
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#7  0x00007fa33ba4cb7d in __GI_abort () at abort.c:90
#8  0x00007fa341413e51 in bt::QtMessageOutput (type=<optimized out>, msg=...)
at
/var/tmp/portage/net-libs/libktorrent-9999/work/libktorrent-9999/src/util/log.cpp:312
#9  0x00007fa33c7cf927 in qt_message_print (message=..., context=...,
msgType=QtFatalMsg) at global/qlogging.cpp:1793
#10 qt_message(QtMsgType, const QMessageLogContext &, const char *, typedef
__va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, context=...,
msg=msg@entry=0x7fa33caa6ad0 "ASSERT: \"%s\" in file %s, line %d",
ap=ap@entry=0x7fff73fe5d80) at global/qlogging.cpp:365
#11 0x00007fa33c7b6664 in QMessageLogger::fatal
(this=this@entry=0x7fff73fe5e60, msg=msg@entry=0x7fa33caa6ad0 "ASSERT: \"%s\"
in file %s, line %d") at global/qlogging.cpp:877
#12 0x00007fa33c7b5bb1 in qt_assert (assertion=assertion@entry=0x7fa33cb68255
"last < rowCount(parent)", file=file@entry=0x7fa33cb67ef0
"itemmodels/qabstractitemmodel.cpp", line=line@entry=2768) at
global/qglobal.cpp:3188
#13 0x00007fa33c979dcc in QAbstractItemModel::beginRemoveRows
(this=this@entry=0x55f60720ec30, parent=..., first=first@entry=0, last=0) at
itemmodels/qabstractitemmodel.cpp:2768
#14 0x000055f6051a495b in kt::MagnetModel::removeRows (parent=...,
count=<optimized out>, row=0, this=0x55f60720ec30) at
/var/tmp/portage/net-p2p/ktorrent-9999-r1/work/ktorrent-9999/ktorrent/tools/magnetmodel.cpp:158
#15 kt::MagnetModel::onUpdateQueue (this=0x55f60720ec30, idx=0, count=0) at
/var/tmp/portage/net-p2p/ktorrent-9999-r1/work/ktorrent-9999/ktorrent/tools/magnetmodel.cpp:75
#16 0x00007fa33c9fea60 in QtPrivate::QSlotObjectBase::call (a=0x7fff73fe6110,
r=0x55f60720ec30, this=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:376
#17 QMetaObject::activate (sender=0x55f606d62f70, signalOffset=<optimized out>,
local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff73fe6110)
at kernel/qobject.cpp:3754
#18 0x00007fa33c9fef47 in QMetaObject::activate (sender=<optimized out>,
m=m@entry=0x7fa341a3af80 <kt::MagnetManager::staticMetaObject>,
local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff73fe6110)
at kernel/qobject.cpp:3633
#19 0x00007fa34180e63f in kt::MagnetManager::updateQueue (this=<optimized out>,
_t1=<optimized out>, _t2=<optimized out>) at
/var/tmp/portage/net-p2p/ktorrent-9999-r1/work/ktorrent-9999_build/libktcore/ktcore_autogen/WEMDBQPFF4/moc_magnetmanager.cpp:366
#20 0x00007fa3417dd5f5 in kt::MagnetManager::removeMagnets (this=<optimized
out>, idx=<optimized out>, count=count@entry=1) at
/var/tmp/portage/net-p2p/ktorrent-9999-r1/work/ktorrent-9999/libktcore/torrent/magnetmanager.cpp:192
#21 0x000055f6051a56d8 in kt::MagnetView::removeMagnetDownload
(this=0x55f6072d84f0) at
/var/tmp/portage/net-p2p/ktorrent-9999-r1/work/ktorrent-9999/ktorrent/tools/magnetview.cpp:115
#22 0x000055f6051a5b79 in kt::MagnetView::keyPressEvent (this=<optimized out>,
event=0x7fff73fe66e0) at
/var/tmp/portage/net-p2p/ktorrent-9999-r1/work/ktorrent-9999/ktorrent/tools/magnetview.cpp:140
#23 0x00007fa33d804bb6 in QWidget::event (this=0x55f6072d84f0,
event=0x7fff73fe66e0) at kernel/qwidget.cpp:8934
#24 0x00007fa33d7be58c in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x55f6072d84f0, e=0x7fff73fe66e0) at
kernel/qapplication.cpp:3727
#25 0x00007fa33d7c6d29 in QApplication::notify (this=<optimized out>,
receiver=0x55f6072d84f0, e=0x7fff73fe66e0) at kernel/qapplication.cpp:3121
#26 0x00007fa33c9cb588 in QCoreApplication::notifyInternal2
(receiver=0x55f60727f4d0, event=0x7fff73fe66e0) at
kernel/qcoreapplication.cpp:1048
#27 0x00007fa33d822448 in QWidgetWindow::event (this=0x55f60733da70,
event=0x7fff73fe66e0) at kernel/qwidgetwindow.cpp:274
#28 0x00007fa33d7be58c in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x55f60733da70, e=0x7fff73fe66e0) at
kernel/qapplication.cpp:3727
#29 0x00007fa33d7c59de in QApplication::notify (this=0x7fff73fe6ce0,
receiver=0x55f60733da70, e=0x7fff73fe66e0) at kernel/qapplication.cpp:3486
#30 0x00007fa33c9cb588 in QCoreApplication::notifyInternal2
(receiver=receiver@entry=0x55f60733da70, event=event@entry=0x7fff73fe66e0) at
kernel/qcoreapplication.cpp:1048
#31 0x00007fa33cf7b2f8 in QCoreApplication::sendSpontaneousEvent
(event=0x7fff73fe66e0, receiver=0x55f60733da70) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:237
#32 QGuiApplicationPrivate::processKeyEvent (e=0x7fa32400b5d0) at
kernel/qguiapplication.cpp:2207
#33 0x00007fa33cf80f65 in QGuiApplicationPrivate::processWindowSystemEvent
(e=e@entry=0x7fa32400b5d0) at kernel/qguiapplication.cpp:1822
#34 0x00007fa33cf59bcb in QWindowSystemInterface::sendWindowSystemEvents
(flags=...) at kernel/qwindowsysteminterface.cpp:1032
#35 0x00007fa32c18a30b in QPAEventDispatcherGlib::processEvents
(this=0x55f606cdd2b0, flags=...) at qeventdispatcher_glib.cpp:70
#36 0x00007fa33c9c95b2 in QEventLoop::exec (this=this@entry=0x7fff73fe68a0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#37 0x00007fa33c9d3294 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1336
#38 0x000055f605168e40 in main (argc=<optimized out>, argv=<optimized out>) at
/var/tmp/portage/net-p2p/ktorrent-9999-r1/work/ktorrent-9999/ktorrent/main.cpp:240

Possible duplicates by query: bug 395069.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to