Bug 411010 - File-->Exit ends with a crash.
Summary: File-->Exit ends with a crash.
Status: RESOLVED DUPLICATE of bug 410334
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-08-17 11:56 UTC by Tom F
Modified: 2019-08-19 11:59 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom F 2019-08-17 11:56:22 UTC
Application: ktorrent (5.1.1)

Qt Version: 5.12.3
Frameworks Version: 5.62.0
Operating System: Linux 5.0.0-25-generic x86_64
Distribution: KDE neon Testing Edition

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

I downloaded a torrent file without any issues. To quit the program I performed a "File-->Exit||" which causes program to crash. I can reporoduce consistently.
Running KDE Neon.

-- 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 0x7fd26bc91800 (LWP 6059))]

Thread 5 (Thread 0x7fd231569700 (LWP 6072)):
#0  0x00007fd261a1a9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5600b9b69cb4) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x5600b9b69c60, cond=0x5600b9b69c88) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x5600b9b69c88, mutex=0x5600b9b69c60) at pthread_cond_wait.c:655
#3  0x00007fd2669a7dbb in QWaitConditionPrivate::wait (deadline=..., this=0x5600b9b69c60) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=<optimized out>, mutex=0x5600b9af6010, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007fd2669a80c9 in QWaitCondition::wait (this=0x5600b9af6018, mutex=0x5600b9af6010, time=<optimized out>) at thread/qwaitcondition_unix.cpp:208
#6  0x00007fd26b4d0403 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Torrent.so.6
#7  0x00007fd2669a0c72 in QThreadPrivate::start (arg=0x5600b9af6000) at thread/qthread_unix.cpp:361
#8  0x00007fd261a146db in start_thread (arg=0x7fd231569700) at pthread_create.c:463
#9  0x00007fd265cea88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fd23b1cf700 (LWP 6064)):
#0  0x00007fd261a1a9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5600b949dff8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x5600b949dfa8, cond=0x5600b949dfd0) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x5600b949dfd0, mutex=0x5600b949dfa8) at pthread_cond_wait.c:655
#3  0x00007fd23c3da0aa in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007fd23c3d9dd7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007fd261a146db in start_thread (arg=0x7fd23b1cf700) at pthread_create.c:463
#6  0x00007fd265cea88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fd24d24e700 (LWP 6063)):
#0  0x00007fd265cddbf9 in __GI___poll (fds=0x7fd2400032e0, nfds=1, timeout=8590) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fd25f8765c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd25f8766dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd266bd6dcb in QEventDispatcherGlib::processEvents (this=0x7fd240004850, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fd266b7803a in QEventLoop::exec (this=this@entry=0x7fd24d24dda0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007fd26699f4ca in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#6  0x00007fd2669a0c72 in QThreadPrivate::start (arg=0x5600b8e68630) at thread/qthread_unix.cpp:361
#7  0x00007fd261a146db in start_thread (arg=0x7fd24d24e700) at pthread_create.c:463
#8  0x00007fd265cea88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fd24e45f700 (LWP 6061)):
#0  0x00007fd265cd90b4 in __GI___libc_read (fd=11, buf=0x7fd24e45eb60, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007fd25f8bb2d0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd25f8760b7 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd25f876570 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fd25f8766dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fd266bd6dcb in QEventDispatcherGlib::processEvents (this=0x7fd248000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007fd266b7803a in QEventLoop::exec (this=this@entry=0x7fd24e45ed70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#7  0x00007fd26699f4ca in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#8  0x00007fd26808f015 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#9  0x00007fd2669a0c72 in QThreadPrivate::start (arg=0x7fd268306d80) at thread/qthread_unix.cpp:361
#10 0x00007fd261a146db in start_thread (arg=0x7fd24e45f700) at pthread_create.c:463
#11 0x00007fd265cea88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fd26bc91800 (LWP 6059)):
[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  0x00007fd266a2674b in findChar (str=0xd5d3200d11e0, len=<optimized out>, ch=..., from=<optimized out>, from@entry=0, cs=cs@entry=Qt::CaseSensitive) at tools/qstring.cpp:1309
#9  0x00007fd266a2a218 in QString::indexOf (this=<optimized out>, ch=..., from=from@entry=0, cs=cs@entry=Qt::CaseSensitive) at tools/qstring.cpp:3856
#10 0x00007fd266a2a257 in QString::replace (this=this@entry=0x7fff3aa48ad0, before=before@entry=..., after=after@entry=..., cs=cs@entry=Qt::CaseSensitive) at tools/qstring.cpp:3280
#11 0x00007fd267be44c0 in QAbstractItemDelegatePrivate::textForRole (this=<optimized out>, role=role@entry=Qt::DisplayRole, value=..., locale=..., precision=precision@entry=6) at itemviews/qabstractitemdelegate.cpp:618
#12 0x00007fd267bebc2f in QStyledItemDelegate::displayText (this=<optimized out>, value=..., locale=...) at itemviews/qstyleditemdelegate.cpp:268
#13 0x00007fd267bed86e in QStyledItemDelegate::initStyleOption (this=0x5600b92e1c80, option=0x7fff3aa48ba0, index=...) at itemviews/qstyleditemdelegate.cpp:348
#14 0x00007fd267bec95c in QStyledItemDelegate::sizeHint (this=0x5600b92e1c80, option=..., index=...) at itemviews/qstyleditemdelegate.cpp:410
#15 0x00005600b6fe4d24 in kt::ViewDelegate::sizeHint (this=<optimized out>, option=..., index=...) at ./ktorrent/view/viewdelegate.cpp:190
#16 0x00007fd267c30f5a in QTreeView::indexRowSizeHint (this=this@entry=0x5600b92c19f0, index=...) at itemviews/qtreeview.cpp:2994
#17 0x00007fd267c318cd in QTreeViewPrivate::layout (this=this@entry=0x5600b92c1b70, i=i@entry=-1, recursiveExpanding=recursiveExpanding@entry=false, afterIsUninitialized=afterIsUninitialized@entry=false) at itemviews/qtreeview.cpp:3328
#18 0x00007fd267c3938e in QTreeView::doItemsLayout (this=0x5600b92c19f0) at itemviews/qtreeview.cpp:2114
#19 0x00007fd267c33d75 in QAbstractItemViewPrivate::executePostedLayout (this=0x5600b92c1b70) at ../../include/QtWidgets/5.12.3/QtWidgets/private/../../../../../src/widgets/itemviews/qabstractitemview_p.h:229
#20 QTreeViewPrivate::updateScrollBars (this=0x5600b92c1b70) at itemviews/qtreeview.cpp:3659
#21 0x00007fd267c3aee8 in QTreeView::updateGeometries (this=0x5600b92c19f0) at itemviews/qtreeview.cpp:2833
#22 0x00007fd267bc8d49 in QAbstractItemView::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qabstractitemview.cpp:420
#23 0x00007fd266ba9875 in QMetaObject::activate (sender=sender@entry=0x5600b92cd800, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=8, argv=argv@entry=0x0) at kernel/qobject.cpp:3795
#24 0x00007fd266ba9f47 in QMetaObject::activate (sender=sender@entry=0x5600b92cd800, m=m@entry=0x7fd268068260 <QHeaderView::staticMetaObject>, local_signal_index=local_signal_index@entry=8, argv=argv@entry=0x0) at kernel/qobject.cpp:3648
#25 0x00007fd267bd48c3 in QHeaderView::geometriesChanged (this=this@entry=0x5600b92cd800) at .moc/moc_qheaderview.cpp:502
#26 0x00007fd267bdfadc in QHeaderView::viewportEvent (this=0x5600b92cd800, e=0x7fff3aa49500) at itemviews/qheaderview.cpp:2883
#27 0x00007fd266b79a9d in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x5600b92cdd10, event=event@entry=0x7fff3aa49500) at kernel/qcoreapplication.cpp:1186
#28 0x00007fd267975635 in QApplicationPrivate::notify_helper (this=this@entry=0x5600b8dffac0, receiver=receiver@entry=0x5600b92cdd10, e=e@entry=0x7fff3aa49500) at kernel/qapplication.cpp:3728
#29 0x00007fd26797cb90 in QApplication::notify (this=0x7fff3aa49c80, receiver=0x5600b92cdd10, e=0x7fff3aa49500) at kernel/qapplication.cpp:3483
#30 0x00007fd266b79d18 in QCoreApplication::notifyInternal2 (receiver=0x5600b92cdd10, event=0x7fff3aa49500) at kernel/qcoreapplication.cpp:1060
#31 0x00007fd266b79eee in QCoreApplication::sendEvent (receiver=receiver@entry=0x5600b92cdd10, event=event@entry=0x7fff3aa49500) at kernel/qcoreapplication.cpp:1450
#32 0x00007fd2679b0895 in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8497
#33 0x00007fd2679b0882 in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8492
#34 0x00007fd2679b0882 in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8492
#35 0x00007fd2679b0882 in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8492
#36 0x00007fd2679b0882 in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8492
#37 0x00007fd2679b0882 in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8492
#38 0x00007fd2679b0882 in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8492
#39 0x00007fd2679b0882 in QWidgetPrivate::hideChildren (this=this@entry=0x5600b8edcd40, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8492
#40 0x00007fd2679b0b4f in QWidgetPrivate::hide_helper (this=this@entry=0x5600b8edcd40) at kernel/qwidget.cpp:8217
#41 0x00007fd2679b5698 in QWidgetPrivate::setVisible (this=0x5600b8edcd40, visible=<optimized out>) at kernel/qwidget.cpp:8411
#42 0x00007fd2679b0e08 in QWidgetPrivate::close_helper (this=0x5600b8edcd40, mode=<optimized out>) at kernel/qwidget.cpp:8540
#43 0x00007fd2679b1450 in QWidget::~QWidget (this=0x7fff3aa49cf0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1638
#44 0x00007fd26a8065cd in KMainWindow::~KMainWindow (this=0x7fff3aa49cf0, __in_chrg=<optimized out>) at ./src/kmainwindow.cpp:399
#45 0x00005600b6f6cb17 in kt::GUI::~GUI (this=0x7fff3aa49cf0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ./ktorrent/gui.cpp:128
#46 0x00005600b6f5c122 in main (argc=<optimized out>, argv=<optimized out>) at ./ktorrent/main.cpp:213

Possible duplicates by query: bug 410334.

Reported using DrKonqi
Comment 1 Alois Wohlschlager 2019-08-19 11:59:56 UTC

*** This bug has been marked as a duplicate of bug 410334 ***