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

            Bug ID: 410334
           Summary: KTorrent crashes at exit
           Product: ktorrent
           Version: unspecified
          Platform: Ubuntu Packages
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: joris.guis...@gmail.com
          Reporter: lucaspcama...@gmail.com
  Target Milestone: ---

Application: ktorrent (5.1.1)

Qt Version: 5.12.3
Frameworks Version: 5.60.0
Operating System: Linux 4.18.0-25-generic x86_64
Distribution: KDE neon User Edition 5.16

-- Information about the crash:
- What I was doing when the application crashed:
Whenever I try to quit KTorrent, it crashes. The method does not matter: end of
session, File>Quit, ctrl+q.

The crash can be reproduced every time.

-- 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 0x7f0989f8b800 (LWP 11985))]

Thread 5 (Thread 0x7f091effd700 (LWP 12025)):
#0  0x00007f097fae99f3 in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x56180f14b770) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x56180f14b720,
cond=0x56180f14b748) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x56180f14b748, mutex=0x56180f14b720) at
pthread_cond_wait.c:655
#3  0x00007f0984cafdbb in QWaitConditionPrivate::wait (deadline=...,
this=0x56180f14b720) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=<optimized out>, mutex=0x56180f0f0870,
deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f0984cb00c9 in QWaitCondition::wait (this=0x56180f0f0878,
mutex=0x56180f0f0870, time=<optimized out>) at
thread/qwaitcondition_unix.cpp:208
#6  0x00007f09897d9403 in ?? () from
/usr/lib/x86_64-linux-gnu/libKF5Torrent.so.6
#7  0x00007f0984ca8c72 in QThreadPrivate::start (arg=0x56180f0f0860) at
thread/qthread_unix.cpp:361
#8  0x00007f097fae36db in start_thread (arg=0x7f091effd700) at
pthread_create.c:463
#9  0x00007f0983ff288f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f096adee700 (LWP 11992)):
#0  0x00007f097fae99f3 in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x56180e900988) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x56180e900938,
cond=0x56180e900960) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x56180e900960, mutex=0x56180e900938) at
pthread_cond_wait.c:655
#3  0x00007f0955e2431a in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f0955e24047 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f097fae36db in start_thread (arg=0x7f096adee700) at
pthread_create.c:463
#6  0x00007f0983ff288f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f096a5ed700 (LWP 11989)):
#0  0x00007f0983fe5bf9 in __GI___poll (fds=0x7f0960003ce0, nfds=1,
timeout=1550) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f097d9455c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f097d9456dc in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0984ededcb in QEventDispatcherGlib::processEvents
(this=0x7f0960000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f0984e8003a in QEventLoop::exec (this=this@entry=0x7f096a5ecda0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007f0984ca74ca in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:531
#6  0x00007f0984ca8c72 in QThreadPrivate::start (arg=0x5618095a4d10) at
thread/qthread_unix.cpp:361
#7  0x00007f097fae36db in start_thread (arg=0x7f096a5ed700) at
pthread_create.c:463
#8  0x00007f0983ff288f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f096bfff700 (LWP 11987)):
#0  0x00007f0983fe5bf9 in __GI___poll (fds=0x7f09640236c0, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f097d9455c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f097d9456dc in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0984ededcb in QEventDispatcherGlib::processEvents
(this=0x7f0964000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f0984e8003a in QEventLoop::exec (this=this@entry=0x7f096bffed70,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007f0984ca74ca in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:531
#6  0x00007f0986397015 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f0984ca8c72 in QThreadPrivate::start (arg=0x7f098660ed80) at
thread/qthread_unix.cpp:361
#8  0x00007f097fae36db in start_thread (arg=0x7f096bfff700) at
pthread_create.c:463
#9  0x00007f0983ff288f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f0989f8b800 (LWP 11985)):
[KCrash Handler]
#6  _mm_loadu_si128(long long __vector(2) const*) (__P=<optimized out>) at
/usr/lib/gcc/x86_64-linux-gnu/7/include/emmintrin.h:703
#7  QtPrivate::qustrchr (str=..., c=10) at tools/qstring.cpp:301
#8  0x00007f0984d2e74b in findChar (str=0x702f884a8728612f, len=<optimized
out>, ch=..., from=<optimized out>, from@entry=0,
cs=cs@entry=Qt::CaseSensitive) at tools/qstring.cpp:1309
#9  0x00007f0984d32218 in QString::indexOf (this=<optimized out>, ch=...,
from=from@entry=0, cs=cs@entry=Qt::CaseSensitive) at tools/qstring.cpp:3856
#10 0x00007f0984d32257 in QString::replace (this=this@entry=0x7ffc579720f0,
before=before@entry=..., after=after@entry=..., cs=cs@entry=Qt::CaseSensitive)
at tools/qstring.cpp:3280
#11 0x00007f0985eec4c0 in QAbstractItemDelegatePrivate::textForRole
(this=<optimized out>, role=role@entry=Qt::DisplayRole, value=..., locale=...,
precision=precision@entry=6) at itemviews/qabstractitemdelegate.cpp:618
#12 0x00007f0985ef3c2f in QStyledItemDelegate::displayText (this=<optimized
out>, value=..., locale=...) at itemviews/qstyleditemdelegate.cpp:268
#13 0x00007f0985ef586e in QStyledItemDelegate::initStyleOption
(this=0x56180e72caa0, option=0x7ffc579721c0, index=...) at
itemviews/qstyleditemdelegate.cpp:348
#14 0x00007f0985ef495c in QStyledItemDelegate::sizeHint (this=0x56180e72caa0,
option=..., index=...) at itemviews/qstyleditemdelegate.cpp:410
#15 0x0000561807a66d24 in kt::ViewDelegate::sizeHint (this=<optimized out>,
option=..., index=...) at ./ktorrent/view/viewdelegate.cpp:190
#16 0x00007f0985f38f5a in QTreeView::indexRowSizeHint
(this=this@entry=0x5618097c9dc0, index=...) at itemviews/qtreeview.cpp:2994
#17 0x00007f0985f398cd in QTreeViewPrivate::layout
(this=this@entry=0x5618097c9f40, i=i@entry=-1,
recursiveExpanding=recursiveExpanding@entry=false,
afterIsUninitialized=afterIsUninitialized@entry=false) at
itemviews/qtreeview.cpp:3328
#18 0x00007f0985f4138e in QTreeView::doItemsLayout (this=0x5618097c9dc0) at
itemviews/qtreeview.cpp:2114
#19 0x00007f0985f3bd75 in QAbstractItemViewPrivate::executePostedLayout
(this=0x5618097c9f40) at
../../include/QtWidgets/5.12.3/QtWidgets/private/../../../../../src/widgets/itemviews/qabstractitemview_p.h:229
#20 QTreeViewPrivate::updateScrollBars (this=0x5618097c9f40) at
itemviews/qtreeview.cpp:3659
#21 0x00007f0985f42ee8 in QTreeView::updateGeometries (this=0x5618097c9dc0) at
itemviews/qtreeview.cpp:2833
#22 0x00007f0985ed0d49 in QAbstractItemView::qt_static_metacall (_o=<optimized
out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at
.moc/moc_qabstractitemview.cpp:420
#23 0x00007f0984eb1875 in QMetaObject::activate
(sender=sender@entry=0x56180e721da0, signalOffset=<optimized out>,
local_signal_index=local_signal_index@entry=8, argv=argv@entry=0x0) at
kernel/qobject.cpp:3795
#24 0x00007f0984eb1f47 in QMetaObject::activate
(sender=sender@entry=0x56180e721da0, m=m@entry=0x7f0986370260
<QHeaderView::staticMetaObject>, local_signal_index=local_signal_index@entry=8,
argv=argv@entry=0x0) at kernel/qobject.cpp:3648
#25 0x00007f0985edc8c3 in QHeaderView::geometriesChanged
(this=this@entry=0x56180e721da0) at .moc/moc_qheaderview.cpp:502
#26 0x00007f0985ee7adc in QHeaderView::viewportEvent (this=0x56180e721da0,
e=0x7ffc57972b20) at itemviews/qheaderview.cpp:2883
#27 0x00007f0984e81a9d in
QCoreApplicationPrivate::sendThroughObjectEventFilters
(receiver=receiver@entry=0x56180e7222b0, event=event@entry=0x7ffc57972b20) at
kernel/qcoreapplication.cpp:1186
#28 0x00007f0985c7d635 in QApplicationPrivate::notify_helper
(this=this@entry=0x5618094c8f60, receiver=receiver@entry=0x56180e7222b0,
e=e@entry=0x7ffc57972b20) at kernel/qapplication.cpp:3728
#29 0x00007f0985c84b90 in QApplication::notify (this=0x7ffc579732a0,
receiver=0x56180e7222b0, e=0x7ffc57972b20) at kernel/qapplication.cpp:3483
#30 0x00007f0984e81d18 in QCoreApplication::notifyInternal2
(receiver=0x56180e7222b0, event=0x7ffc57972b20) at
kernel/qcoreapplication.cpp:1060
#31 0x00007f0984e81eee in QCoreApplication::sendEvent
(receiver=receiver@entry=0x56180e7222b0, event=event@entry=0x7ffc57972b20) at
kernel/qcoreapplication.cpp:1450
#32 0x00007f0985cb8895 in QWidgetPrivate::hideChildren (this=<optimized out>,
spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8497
#33 0x00007f0985cb8882 in QWidgetPrivate::hideChildren (this=<optimized out>,
spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8492
#34 0x00007f0985cb8882 in QWidgetPrivate::hideChildren (this=<optimized out>,
spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8492
#35 0x00007f0985cb8882 in QWidgetPrivate::hideChildren (this=<optimized out>,
spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8492
#36 0x00007f0985cb8882 in QWidgetPrivate::hideChildren (this=<optimized out>,
spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8492
#37 0x00007f0985cb8882 in QWidgetPrivate::hideChildren (this=<optimized out>,
spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8492
#38 0x00007f0985cb8882 in QWidgetPrivate::hideChildren (this=<optimized out>,
spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8492
#39 0x00007f0985cb8882 in QWidgetPrivate::hideChildren
(this=this@entry=0x56180957d460, spontaneous=spontaneous@entry=false) at
kernel/qwidget.cpp:8492
#40 0x00007f0985cb8b4f in QWidgetPrivate::hide_helper
(this=this@entry=0x56180957d460) at kernel/qwidget.cpp:8217
#41 0x00007f0985cbd698 in QWidgetPrivate::setVisible (this=0x56180957d460,
visible=<optimized out>) at kernel/qwidget.cpp:8411
#42 0x00007f0985cb8e08 in QWidgetPrivate::close_helper (this=0x56180957d460,
mode=<optimized out>) at kernel/qwidget.cpp:8540
#43 0x00007f0985cb9450 in QWidget::~QWidget (this=0x7ffc57973310,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1638
#44 0x00007f0988b0f53d in KMainWindow::~KMainWindow (this=0x7ffc57973310,
__in_chrg=<optimized out>) at ./src/kmainwindow.cpp:401
#45 0x00005618079eeb17 in kt::GUI::~GUI (this=0x7ffc57973310,
__in_chrg=<optimized out>, __vtt_parm=<optimized out>) at
./ktorrent/gui.cpp:128
#46 0x00005618079de122 in main (argc=<optimized out>, argv=<optimized out>) at
./ktorrent/main.cpp:213

Reported using DrKonqi

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

Reply via email to