Application: ktorrent (5.1.2) Qt Version: 5.13.2 Frameworks Version: 5.65.0 Operating System: Linux 5.0.0-27-generic x86_64 Distribution: KDE neon User Edition 5.17 -- Information about the crash: - What I was doing when the application crashed: Closing the program was followed by a crash. There were ongoing downloads. -- 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 0x7ff56cf8f2c0 (LWP 32679))] Thread 5 (Thread 0x7ff52116d700 (LWP 1640)): #0 0x00007ff566fc40b4 in __GI___libc_read (fd=35, buf=0x7ff52116cbde, nbytes=10) at ../sysdeps/unix/sysv/linux/read.c:27 #1 0x00007ff55a972021 in pa_read () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-11.1.so #2 0x00007ff55e4cea2e in pa_mainloop_prepare () from /usr/lib/x86_64-linux-gnu/libpulse.so.0 #3 0x00007ff55e4cf4a0 in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0 #4 0x00007ff55e4cf560 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0 #5 0x00007ff55e4dd3c9 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0 #6 0x00007ff55a9a1318 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-11.1.so #7 0x00007ff562d0b6db in start_thread (arg=0x7ff52116d700) at pthread_create.c:463 #8 0x00007ff566fd588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 4 (Thread 0x7ff4e77fe700 (LWP 32754)): #0 0x00007ff562d119f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55cb49366270) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 __pthread_cond_wait_common (abstime=0x0, mutex=0x55cb49366220, cond=0x55cb49366248) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=0x55cb49366248, mutex=0x55cb49366220) at pthread_cond_wait.c:655 #3 0x00007ff567c95aeb in QWaitConditionPrivate::wait (deadline=..., this=0x55cb49366220) at thread/qwaitcondition_unix.cpp:146 #4 QWaitCondition::wait (this=<optimized out>, mutex=0x55cb482ad700, deadline=...) at thread/qwaitcondition_unix.cpp:225 #5 0x00007ff567c95df9 in QWaitCondition::wait (this=0x55cb482ad708, mutex=0x55cb482ad700, time=<optimized out>) at thread/qwaitcondition_unix.cpp:208 #6 0x00007ff56c7d94a3 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Torrent.so.6 #7 0x00007ff567c8eb52 in QThreadPrivate::start (arg=0x55cb482ad6f0) at thread/qthread_unix.cpp:360 #8 0x00007ff562d0b6db in start_thread (arg=0x7ff4e77fe700) at pthread_create.c:463 #9 0x00007ff566fd588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 3 (Thread 0x7ff54df52700 (LWP 32698)): #0 0x00007ff566fc40b4 in __GI___libc_read (fd=27, buf=0x7ff54df51b90, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27 #1 0x00007ff560bb42d0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007ff560b6f0b7 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007ff560b6f570 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007ff560b6f6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007ff567ed1b9b in QEventDispatcherGlib::processEvents (this=0x7ff544000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #6 0x00007ff567e7206a in QEventLoop::exec (this=this@entry=0x7ff54df51da0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225 #7 0x00007ff567c8d3aa in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531 #8 0x00007ff567c8eb52 in QThreadPrivate::start (arg=0x55cb4828ae20) at thread/qthread_unix.cpp:360 #9 0x00007ff562d0b6db in start_thread (arg=0x7ff54df52700) at pthread_create.c:463 #10 0x00007ff566fd588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 2 (Thread 0x7ff54f964700 (LWP 32682)): #0 0x00007ff56cdd888c in update_get_addr (ti=0x7ff56832b650) at ../elf/dl-tls.c:802 #1 0x00007ff56cddea28 in __tls_get_addr () at ../sysdeps/x86_64/tls_get_addr.S:55 #2 0x00007ff567c8db06 in get_thread_data () at thread/qthread_unix.cpp:183 #3 QThreadData::current (createIfNecessary=createIfNecessary@entry=true) at thread/qthread_unix.cpp:238 #4 0x00007ff567ed1a7a in postEventSourcePrepare (s=0x7ff548004ba0, timeout=0x7ff54f963ba4) at kernel/qeventdispatcher_glib.cpp:253 #5 0x00007ff560b6eb28 in g_main_context_prepare () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #6 0x00007ff560b6f4fb in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #7 0x00007ff560b6f6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #8 0x00007ff567ed1b9b in QEventDispatcherGlib::processEvents (this=0x7ff548000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #9 0x00007ff567e7206a in QEventLoop::exec (this=this@entry=0x7ff54f963d70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225 #10 0x00007ff567c8d3aa in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531 #11 0x00007ff5693990e5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 #12 0x00007ff567c8eb52 in QThreadPrivate::start (arg=0x7ff569610d80) at thread/qthread_unix.cpp:360 #13 0x00007ff562d0b6db in start_thread (arg=0x7ff54f964700) at pthread_create.c:463 #14 0x00007ff566fd588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7ff56cf8f2c0 (LWP 32679)): [KCrash Handler] #6 std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=0x0) at /usr/include/c++/7/bits/atomic_base.h:396 #7 QAtomicOps<int>::load<int> (_q_value=...) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:227 #8 QBasicAtomicInteger<int>::load (this=0x0) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:103 #9 QtPrivate::RefCount::ref (this=0x0) at ../../include/QtCore/../../src/corelib/tools/qrefcount.h:55 #10 QString::QString (other=..., this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qstring.h:956 #11 v_construct_helper<QString> (t=..., x=0x7ffcf8135fa0) at ../../include/QtCore/5.13.2/QtCore/private/../../../../../src/corelib/kernel/qvariant_p.h:123 #12 v_construct<QString> (t=..., x=0x7ffcf8135fa0) at ../../include/QtCore/5.13.2/QtCore/private/../../../../../src/corelib/kernel/qvariant_p.h:152 #13 QVariant::QVariant (this=0x7ffcf8135fa0, val=...) at kernel/qvariant.cpp:2174 #14 0x000055cb4648c29c in kt::ViewModel::Item::data (this=0x55cb48a2f1f0, col=<optimized out>) at ./ktorrent/view/viewmodel.cpp:255 #15 0x000055cb4648e10d in kt::ViewModel::data (this=<optimized out>, index=..., role=<optimized out>) at ./ktorrent/view/viewmodel.cpp:648 #16 0x00007ff568ef4e3c in QModelIndex::data (arole=0, this=0x7ffcf8136220) at ../../include/QtCore/../../src/corelib/itemmodels/qabstractitemmodel.h:462 #17 QStyledItemDelegate::initStyleOption (this=0x55cb48a358f0, option=0x7ffcf8136090, index=...) at itemviews/qstyleditemdelegate.cpp:345 #18 0x00007ff568ef433c in QStyledItemDelegate::sizeHint (this=0x55cb48a358f0, option=..., index=...) at itemviews/qstyleditemdelegate.cpp:410 #19 0x000055cb46491bf4 in kt::ViewDelegate::sizeHint (this=<optimized out>, option=..., index=...) at ./ktorrent/view/viewdelegate.cpp:190 #20 0x00007ff568f39100 in QTreeView::indexRowSizeHint (this=this@entry=0x55cb489e1b80, index=...) at itemviews/qtreeview.cpp:3018 #21 0x00007ff568f3987d in QTreeViewPrivate::layout (this=this@entry=0x55cb489e1d00, i=i@entry=-1, recursiveExpanding=recursiveExpanding@entry=false, afterIsUninitialized=afterIsUninitialized@entry=false) at itemviews/qtreeview.cpp:3352 #22 0x00007ff568f41003 in QTreeView::doItemsLayout (this=0x55cb489e1b80) at itemviews/qtreeview.cpp:2094 #23 0x00007ff568f3bf85 in QAbstractItemViewPrivate::executePostedLayout (this=0x55cb489e1d00) at ../../include/QtWidgets/5.13.2/QtWidgets/private/../../../../../src/widgets/itemviews/qabstractitemview_p.h:229 #24 QTreeViewPrivate::updateScrollBars (this=0x55cb489e1d00) at itemviews/qtreeview.cpp:3707 #25 0x00007ff568f42968 in QTreeView::updateGeometries (this=0x55cb489e1b80) at itemviews/qtreeview.cpp:2857 #26 0x00007ff568ed0209 in QAbstractItemView::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qabstractitemview.cpp:421 #27 0x00007ff567ea48d5 in QMetaObject::activate (sender=sender@entry=0x55cb48a295f0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=8, argv=<optimized out>, argv@entry=0x0) at kernel/qobject.cpp:3809 #28 0x00007ff567ea4f97 in QMetaObject::activate (sender=sender@entry=0x55cb48a295f0, m=m@entry=0x7ff569372180 <QHeaderView::staticMetaObject>, local_signal_index=local_signal_index@entry=8, argv=argv@entry=0x0) at kernel/qobject.cpp:3660 #29 0x00007ff568edb8f3 in QHeaderView::geometriesChanged (this=this@entry=0x55cb48a295f0) at .moc/moc_qheaderview.cpp:503 #30 0x00007ff568ee713c in QHeaderView::viewportEvent (this=0x55cb48a295f0, e=0x7ffcf81369f0) at itemviews/qheaderview.cpp:2889 #31 0x00007ff567e73c8d in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x55cb48a29b00, event=event@entry=0x7ffcf81369f0) at kernel/qcoreapplication.cpp:1221 #32 0x00007ff568c78e85 in QApplicationPrivate::notify_helper (this=this@entry=0x55cb481a9b20, receiver=receiver@entry=0x55cb48a29b00, e=e@entry=0x7ffcf81369f0) at kernel/qapplication.cpp:3697 #33 0x00007ff568c804b0 in QApplication::notify (this=0x7ffcf8137170, receiver=0x55cb48a29b00, e=0x7ffcf81369f0) at kernel/qapplication.cpp:3449 #34 0x00007ff567e73f08 in QCoreApplication::notifyInternal2 (receiver=0x55cb48a29b00, event=0x7ffcf81369f0) at kernel/qcoreapplication.cpp:1095 #35 0x00007ff567e740de in QCoreApplication::sendEvent (receiver=receiver@entry=0x55cb48a29b00, event=event@entry=0x7ffcf81369f0) at kernel/qcoreapplication.cpp:1490 #36 0x00007ff568cb4cf5 in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8514 #37 0x00007ff568cb4ce2 in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8509 #38 0x00007ff568cb4ce2 in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8509 #39 0x00007ff568cb4ce2 in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8509 #40 0x00007ff568cb4ce2 in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8509 #41 0x00007ff568cb4ce2 in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8509 #42 0x00007ff568cb4ce2 in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8509 #43 0x00007ff568cb4ce2 in QWidgetPrivate::hideChildren (this=this@entry=0x55cb4828ba80, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8509 #44 0x00007ff568cb4faf in QWidgetPrivate::hide_helper (this=this@entry=0x55cb4828ba80) at kernel/qwidget.cpp:8234 #45 0x00007ff568cb9988 in QWidgetPrivate::setVisible (this=0x55cb4828ba80, visible=<optimized out>) at kernel/qwidget.cpp:8428 #46 0x00007ff568cb5268 in QWidgetPrivate::close_helper (this=0x55cb4828ba80, mode=<optimized out>) at kernel/qwidget.cpp:8557 #47 0x00007ff568cb58b0 in QWidget::~QWidget (this=0x7ffcf81371e0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1626 #48 0x00007ff56bb1941d in KMainWindow::~KMainWindow (this=0x7ffcf81371e0, __in_chrg=<optimized out>) at ./src/kmainwindow.cpp:400 #49 0x000055cb46419a77 in kt::GUI::~GUI (this=0x7ffcf81371e0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ./ktorrent/gui.cpp:128 #50 0x000055cb46409122 in main (argc=<optimized out>, argv=<optimized out>) at ./ktorrent/main.cpp:213 The reporter indicates this bug may be a duplicate of or related to bug 383127. Possible duplicates by query: bug 414147, bug 413706, bug 413301, bug 411222, bug 410345. Reported using DrKonqi
Created attachment 124739 [details] New crash information added by DrKonqi ktorrent (5.1.2) using Qt 5.12.4 - What I was doing when the application crashed: I pressed Ctrl-Q to quit KTorrent. I had several torrents seeding at the moment. -- Backtrace (Reduced): #6 std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=0x31) at /usr/include/c++/9/bits/atomic_base.h:413 #7 QAtomicOps<int>::load<int> (_q_value=...) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:227 #8 QBasicAtomicInteger<int>::load (this=0x31) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:103 [...] #10 QString::QString (other=..., this=0x7fffb2843b10) at ../../include/QtCore/../../src/corelib/tools/qstring.h:958 #11 v_construct_helper<QString> (t=..., x=0x7fffb2843b10) at ../../include/QtCore/5.12.4/QtCore/private/../../../../../src/corelib/kernel/qvariant_p.h:123
*** This bug has been marked as a duplicate of bug 383127 ***