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

            Bug ID: 395907
           Summary: Ktorrent crashed after removing torrent file
           Product: ktorrent
           Version: unspecified
          Platform: unspecified
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: joris.guis...@gmail.com
          Reporter: mej1...@gmail.com
  Target Milestone: ---

Application: ktorrent (5.1.0)

Qt Version: 5.11.0
Frameworks Version: 5.47.0
Operating System: Linux 4.13.0-45-generic x86_64
Distribution: KDE neon User Edition 5.13

-- Information about the crash:
- What I was doing when the application crashed:
A torrent had completed downloading.  I right clicked the torrent, seleced
Remove, and the application crashed.   When I restarted KTorrent the torrent
was removed.

-- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f04c818a900 (LWP 2312))]

Thread 8 (Thread 0x7f048e758700 (LWP 2330)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f04c2f5a5cb in QWaitConditionPrivate::wait
(time=18446744073709551615, this=0x1093770) at
thread/qwaitcondition_unix.cpp:143
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1114ef0,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#3  0x00007f04c7a6edb3 in ?? () from
/usr/lib/x86_64-linux-gnu/libKF5Torrent.so.6
#4  0x00007f04c2f59727 in QThreadPrivate::start (arg=0x1114ee0) at
thread/qthread_unix.cpp:367
#5  0x00007f04be0226ba in start_thread (arg=0x7f048e758700) at
pthread_create.c:333
#6  0x00007f04c233241d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f048ef59700 (LWP 2329)):
#0  0x00007f04c7a6f465 in net::Poll::add(QSharedPointer<net::PollClient>) ()
from /usr/lib/x86_64-linux-gnu/libKF5Torrent.so.6
#1  0x00007f04c7a6bcd6 in ?? () from
/usr/lib/x86_64-linux-gnu/libKF5Torrent.so.6
#2  0x00007f04c7a6be56 in ?? () from
/usr/lib/x86_64-linux-gnu/libKF5Torrent.so.6
#3  0x00007f04c7a6c6b9 in ?? () from
/usr/lib/x86_64-linux-gnu/libKF5Torrent.so.6
#4  0x00007f04c2f59727 in QThreadPrivate::start (arg=0x81d230) at
thread/qthread_unix.cpp:367
#5  0x00007f04be0226ba in start_thread (arg=0x7f048ef59700) at
pthread_create.c:333
#6  0x00007f04c233241d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f048f75a700 (LWP 2328)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f04c2f4a355 in QtLinuxFutex::_q_futex (val3=0, addr2=0x0, val2=0,
val=3, op=0, addr=<optimized out>) at thread/qfutex_p.h:92
#2  QtLinuxFutex::futexWait<QBasicAtomicPointer<QMutexData> >
(expectedValue=<optimized out>, futex=...) at thread/qfutex_p.h:107
#3  lockInternal_helper<false> (timeout=-1, elapsedTimer=0x0, d_ptr=...) at
thread/qmutex_linux.cpp:145
#4  QBasicMutex::lockInternal (this=0x81cee8) at thread/qmutex_linux.cpp:162
#5  0x00007f04c2f4a412 in QBasicMutex::lock (this=0x81cee8) at
thread/qmutex.h:79
#6  QRecursiveMutexPrivate::lock (timeout=-1, this=0x81ced0) at
thread/qmutex.cpp:708
#7  QMutex::lock (this=<optimized out>) at thread/qmutex.cpp:227
#8  0x00007f04c7a6c4ac in ?? () from
/usr/lib/x86_64-linux-gnu/libKF5Torrent.so.6
#9  0x00007f04c7a6c6b9 in ?? () from
/usr/lib/x86_64-linux-gnu/libKF5Torrent.so.6
#10 0x00007f04c2f59727 in QThreadPrivate::start (arg=0x81cf00) at
thread/qthread_unix.cpp:367
#11 0x00007f04be0226ba in start_thread (arg=0x7f048f75a700) at
pthread_create.c:333
#12 0x00007f04c233241d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f0492d3a700 (LWP 2320)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0497e8c48b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#2  0x00007f0497e8c397 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#3  0x00007f04be0226ba in start_thread (arg=0x7f0492d3a700) at
pthread_create.c:333
#4  0x00007f04c233241d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f04a9aea700 (LWP 2319)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0497e8c48b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#2  0x00007f0497e8c397 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#3  0x00007f04be0226ba in start_thread (arg=0x7f04a9aea700) at
pthread_create.c:333
#4  0x00007f04c233241d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f04a92e9700 (LWP 2318)):
#0  0x00007f04c232674d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f04bc17d38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f04bc17d49c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f04c3171beb in QEventDispatcherGlib::processEvents
(this=0x7f04a00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f04c31191ca in QEventLoop::exec (this=this@entry=0x7f04a92e8cb0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007f04c2f4e5e4 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:522
#6  0x00007f04c2f59727 in QThreadPrivate::start (arg=0x8d14a0) at
thread/qthread_unix.cpp:367
#7  0x00007f04be0226ba in start_thread (arg=0x7f04a92e9700) at
pthread_create.c:333
#8  0x00007f04c233241d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f04aad02700 (LWP 2315)):
#0  0x00007f04c232674d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f04bc17d38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f04bc17d49c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f04c3171beb in QEventDispatcherGlib::processEvents
(this=0x7f04a40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f04c31191ca in QEventLoop::exec (this=this@entry=0x7f04aad01c80,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007f04c2f4e5e4 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:522
#6  0x00007f04c4608f35 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f04c2f59727 in QThreadPrivate::start (arg=0x7f04c4881d60) at
thread/qthread_unix.cpp:367
#8  0x00007f04be0226ba in start_thread (arg=0x7f04aad02700) at
pthread_create.c:333
#9  0x00007f04c233241d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f04c818a900 (LWP 2312)):
[KCrash Handler]
#6  bt::TorrentInterface::getDisplayName (this=0xf6afc0) at
/usr/include/KF5/libktorrent/interfaces/torrentinterface.h:426
#7  kt::QueueManagerModel::data (this=0xa9d890, index=..., role=<optimized
out>) at /workspace/build/ktorrent/tools/queuemanagermodel.cpp:235
#8  0x00007f04c4159ac6 in QModelIndex::data (arole=0, this=0x7fff2c3d0100) at
../../include/QtCore/../../src/corelib/itemmodels/qabstractitemmodel.h:455
#9  QStyledItemDelegate::initStyleOption (this=0x9599f0, option=0x7fff2c3cff90,
index=...) at itemviews/qstyleditemdelegate.cpp:345
#10 0x00007f04c4158f7f in QStyledItemDelegate::sizeHint (this=0x9599f0,
option=..., index=...) at itemviews/qstyleditemdelegate.cpp:410
#11 0x00007f04c419ea21 in QTreeView::indexRowSizeHint
(this=this@entry=0x9b0e60, index=...) at itemviews/qtreeview.cpp:3001
#12 0x00007f04c41a787d in QTreeView::dataChanged (this=0x9b0e60, topLeft=...,
bottomRight=..., roles=...) at itemviews/qtreeview.cpp:696
#13 0x00007f04c4137718 in QAbstractItemView::qt_static_metacall (_o=<optimized
out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at
.moc/moc_qabstractitemview.cpp:411
#14 0x00007f04c3147b89 in QMetaObject::activate (sender=sender@entry=0xa9d890,
signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0,
argv=argv@entry=0x7fff2c3d03d0) at kernel/qobject.cpp:3771
#15 0x00007f04c3148497 in QMetaObject::activate (sender=sender@entry=0xa9d890,
m=m@entry=0x7f04c359a5a0 <QAbstractItemModel::staticMetaObject>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff2c3d03d0)
at kernel/qobject.cpp:3633
#16 0x00007f04c30c816c in QAbstractItemModel::dataChanged
(this=this@entry=0xa9d890, _t1=..., _t2=..., _t3=...) at
.moc/moc_qabstractitemmodel.cpp:552
#17 0x0000000000472076 in kt::QueueManagerModel::update (this=0xa9d890) at
/workspace/build/ktorrent/tools/queuemanagermodel.cpp:513
#18 0x000000000046d019 in kt::QueueManagerWidget::update (this=<optimized out>)
at /workspace/build/ktorrent/tools/queuemanagerwidget.cpp:258
#19 0x0000000000451133 in kt::TorrentActivity::update (this=0x92b8d0) at
/workspace/build/ktorrent/torrentactivity.cpp:242
#20 0x000000000044a084 in kt::GUI::update (this=0x7fff2c3d13a0) at
/workspace/build/ktorrent/gui.cpp:450
#21 0x00007f04c3147eb6 in QtPrivate::QSlotObjectBase::call (a=0x7fff2c3d0610,
r=0x7fff2c3d13a0, this=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:376
#22 QMetaObject::activate (sender=sender@entry=0x7fff2c3d1400,
signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0,
argv=argv@entry=0x7fff2c3d0610) at kernel/qobject.cpp:3754
#23 0x00007f04c3148497 in QMetaObject::activate
(sender=sender@entry=0x7fff2c3d1400, m=m@entry=0x7f04c359bda0
<QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0,
argv=argv@entry=0x7fff2c3d0610) at kernel/qobject.cpp:3633
#24 0x00007f04c3154717 in QTimer::timeout (this=this@entry=0x7fff2c3d1400,
_t1=...) at .moc/moc_qtimer.cpp:200
#25 0x00007f04c3154a18 in QTimer::timerEvent (this=0x7fff2c3d1400, e=<optimized
out>) at kernel/qtimer.cpp:255
#26 0x00007f04c3148b83 in QObject::event (this=0x7fff2c3d1400, e=<optimized
out>) at kernel/qobject.cpp:1273
#27 0x00007f04c3ee529c in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x7fff2c3d1400, e=0x7fff2c3d0900) at
kernel/qapplication.cpp:3713
#28 0x00007f04c3eec917 in QApplication::notify (this=0x7fff2c3d1330,
receiver=0x7fff2c3d1400, e=0x7fff2c3d0900) at kernel/qapplication.cpp:3472
#29 0x00007f04c311ae38 in QCoreApplication::notifyInternal2
(receiver=0x7fff2c3d1400, event=event@entry=0x7fff2c3d0900) at
kernel/qcoreapplication.cpp:1048
#30 0x00007f04c3170fae in QCoreApplication::sendEvent (event=0x7fff2c3d0900,
receiver=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#31 QTimerInfoList::activateTimers (this=0x87a270) at
kernel/qtimerinfo_unix.cpp:643
#32 0x00007f04c3171831 in timerSourceDispatch (source=<optimized out>) at
kernel/qeventdispatcher_glib.cpp:182
#33 0x00007f04bc17d197 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f04bc17d3f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f04bc17d49c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f04c3171bcf in QEventDispatcherGlib::processEvents
(this=this@entry=0x887740, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#37 0x00007f04b3a8fc11 in QPAEventDispatcherGlib::processEvents (this=0x887740,
flags=...) at qeventdispatcher_glib.cpp:69
#38 0x00007f04c31191ca in QEventLoop::exec (this=this@entry=0x7fff2c3d0b70,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#39 0x00007f04c31222d4 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1336
#40 0x00007f04c36d581c in QGuiApplication::exec () at
kernel/qguiapplication.cpp:1751
#41 0x00007f04c3ee51f5 in QApplication::exec () at kernel/qapplication.cpp:2898
#42 0x000000000043d060 in main (argc=2, argv=<optimized out>) at
/workspace/build/ktorrent/main.cpp:243

Possible duplicates by query: bug 383127.

Reported using DrKonqi

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

Reply via email to