Bug 393572 - KTorrent crashes upon closing
Summary: KTorrent crashes upon closing
Status: RESOLVED DUPLICATE of bug 383127
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-04-27 13:42 UTC by Frits Spieker
Modified: 2018-05-17 03:36 UTC (History)
0 users

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 Frits Spieker 2018-04-27 13:42:58 UTC
Application: ktorrent (5.1.0)

Qt Version: 5.10.0
Frameworks Version: 5.45.0
Operating System: Linux 4.16.3-1-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed: Selecting "Quit" in the file menu whilst in the "Plugins" screen crashes the application. Closing it using the "X" on top of the window, just closes the program without crashing. Tried multiple times; crashes each time via the "quit" option in the file menu.

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

Thread 5 (Thread 0x7f85c533d700 (LWP 14170)):
#0  0x00007f8604e5a179 in poll () at /lib64/libc.so.6
#1  0x00007f85fc609831 in  () at /usr/lib64/libpulse.so.0
#2  0x00007f85fc5fb1f0 in pa_mainloop_poll () at /usr/lib64/libpulse.so.0
#3  0x00007f85fc5fb880 in pa_mainloop_iterate () at /usr/lib64/libpulse.so.0
#4  0x00007f85fc5fb910 in pa_mainloop_run () at /usr/lib64/libpulse.so.0
#5  0x00007f85fc609779 in  () at /usr/lib64/libpulse.so.0
#6  0x00007f85fa09d498 in  () at /usr/lib64/pulseaudio/libpulsecommon-11.1.so
#7  0x00007f8600b2159b in start_thread () at /lib64/libpthread.so.0
#8  0x00007f8604e64a1f in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f85d9608700 (LWP 13871)):
#0  0x00007f8604e5a179 in poll () at /lib64/libc.so.6
#1  0x00007f85cb553600 in __res_context_send () at /lib64/libresolv.so.2
#2  0x00007f85cb551183 in __res_context_query () at /lib64/libresolv.so.2
#3  0x00007f85cb7651a6 in _nss_dns_gethostbyaddr2_r () at /lib64/libnss_dns.so.2
#4  0x00007f85cb7653e3 in _nss_dns_gethostbyaddr_r () at /lib64/libnss_dns.so.2
#5  0x00007f8604e76811 in gethostbyaddr_r@@GLIBC_2.2.5 () at /lib64/libc.so.6
#6  0x00007f8604e7ed30 in gni_host_inet_name.isra () at /lib64/libc.so.6
#7  0x00007f8604e7f483 in getnameinfo () at /lib64/libc.so.6
#8  0x00007f860a56d636 in  () at /usr/lib64/libKF5Torrent.so.6
#9  0x00007f860a56d6eb in  () at /usr/lib64/libKF5Torrent.so.6
#10 0x00007f860a56da53 in  () at /usr/lib64/libKF5Torrent.so.6
#11 0x00007f8605b16ba0 in QThreadPrivate::start(void*) (arg=0x564eef480990) at thread/qthread_unix.cpp:376
#12 0x00007f8600b2159b in start_thread () at /lib64/libpthread.so.0
#13 0x00007f8604e64a1f in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f85f0c2a700 (LWP 13844)):
#0  0x00007f85fe1fbe44 in g_mutex_unlock () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f85fe1b5978 in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f85fe1b635b in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f85fe1b653c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f8605d43a2b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f85e8000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f8605cea95a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f85f0c29dc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f8605b11baa in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:522
#7  0x00007f8605b16ba0 in QThreadPrivate::start(void*) (arg=0x564eeeac5680) at thread/qthread_unix.cpp:376
#8  0x00007f8600b2159b in start_thread () at /lib64/libpthread.so.0
#9  0x00007f8604e64a1f in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f85f22d3700 (LWP 13842)):
#0  0x00007f8604e5a179 in poll () at /lib64/libc.so.6
#1  0x00007f85fe1b6429 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f85fe1b653c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f8605d43a2b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f85e4000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f8605cea95a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f85f22d2d90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f8605b11baa in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:522
#6  0x00007f860715da35 in  () at /usr/lib64/libQt5DBus.so.5
#7  0x00007f8605b16ba0 in QThreadPrivate::start(void*) (arg=0x7f86073cdd60) at thread/qthread_unix.cpp:376
#8  0x00007f8600b2159b in start_thread () at /lib64/libpthread.so.0
#9  0x00007f8604e64a1f in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f860ad16800 (LWP 13840)):
[KCrash Handler]
#6  0x00007f8605d2b8ed in std::__atomic_base<int>::load(std::memory_order) const (__m=std::memory_order_relaxed, this=0x31) at /usr/include/c++/7/bits/atomic_base.h:396
#7  0x00007f8605d2b8ed in QAtomicOps<int>::load<int>(std::atomic<int> const&) (_q_value=...) at ../../include/QtCore/../../src/corelib/arch/qatomic_cxx11.h:227
#8  0x00007f8605d2b8ed in QBasicAtomicInteger<int>::load() const (this=0x31) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:102
#9  0x00007f8605d2b8ed in QtPrivate::RefCount::ref() (this=0x31) at ../../include/QtCore/../../src/corelib/tools/qrefcount.h:55
#10 0x00007f8605d2b8ed in QString::QString(QString const&) (other=..., this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qstring.h:942
#11 0x00007f8605d2b8ed in v_construct_helper<QString>(QVariant::Private*, QString const&, std::integral_constant<bool, true>) (t=..., x=0x7ffcffc40e50) at ../../include/QtCore/5.10.0/QtCore/private/../../../../../src/corelib/kernel/qvariant_p.h:123
#12 0x00007f8605d2b8ed in v_construct<QString>(QVariant::Private*, QString const&) (t=..., x=0x7ffcffc40e50) at ../../include/QtCore/5.10.0/QtCore/private/../../../../../src/corelib/kernel/qvariant_p.h:152
#13 0x00007f8605d2b8ed in QVariant::QVariant(QString const&) (this=0x7ffcffc40e50, val=...) at kernel/qvariant.cpp:1867
#14 0x0000564eed01232c in  ()
#15 0x0000564eed01419d in  ()
#16 0x00007f8606ccbb26 in QModelIndex::data(int) const (arole=0, this=0x7ffcffc41090) at ../../include/QtCore/../../src/corelib/itemmodels/qabstractitemmodel.h:432
#17 0x00007f8606ccbb26 in QStyledItemDelegate::initStyleOption(QStyleOptionViewItem*, QModelIndex const&) const (this=0x564eeeb17350, option=0x7ffcffc40f10, index=...) at itemviews/qstyleditemdelegate.cpp:345
#18 0x00007f8606ccb089 in QStyledItemDelegate::sizeHint(QStyleOptionViewItem const&, QModelIndex const&) const (this=0x564eeeb17350, option=..., index=...) at itemviews/qstyleditemdelegate.cpp:410
#19 0x0000564eed017c94 in  ()
#20 0x00007f8606d0b49a in QTreeView::indexRowSizeHint(QModelIndex const&) const (this=this@entry=0x564eeeac05c0, index=...) at itemviews/qtreeview.cpp:2987
#21 0x00007f8606d0bdee in QTreeViewPrivate::layout(int, bool, bool) (this=this@entry=0x564eeeafa6c0, i=i@entry=-1, recursiveExpanding=recursiveExpanding@entry=false, afterIsUninitialized=afterIsUninitialized@entry=false) at itemviews/qtreeview.cpp:3321
#22 0x00007f8606d1385a in QTreeView::doItemsLayout() (this=0x564eeeac05c0) at itemviews/qtreeview.cpp:2106
#23 0x00007f8606d0e2f5 in QAbstractItemViewPrivate::executePostedLayout() const (this=0x564eeeafa6c0) at ../../include/QtWidgets/5.10.0/QtWidgets/private/../../../../../src/widgets/itemviews/qabstractitemview_p.h:229
#24 0x00007f8606d0e2f5 in QTreeViewPrivate::updateScrollBars() (this=0x564eeeafa6c0) at itemviews/qtreeview.cpp:3652
#25 0x00007f8606d15288 in QTreeView::updateGeometries() (this=0x564eeeac05c0) at itemviews/qtreeview.cpp:2826
#26 0x00007f8606caa549 in QAbstractItemView::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qabstractitemview.cpp:418
#27 0x00007f8605d1a26a in QMetaObject::activate(QObject*, int, int, void**) (sender=sender@entry=0x564eeeb0ae90, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=8, argv=argv@entry=0x0) at kernel/qobject.cpp:3766
#28 0x00007f8605d1a977 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x564eeeb0ae90, m=m@entry=0x7f8607136260 <QHeaderView::staticMetaObject>, local_signal_index=local_signal_index@entry=8, argv=argv@entry=0x0) at kernel/qobject.cpp:3628
#29 0x00007f8606cb5483 in QHeaderView::geometriesChanged() (this=this@entry=0x564eeeb0ae90) at .moc/moc_qheaderview.cpp:453
#30 0x00007f8606cbf4d1 in QHeaderView::viewportEvent(QEvent*) (this=0x564eeeb0ae90, e=0x7ffcffc41790) at itemviews/qheaderview.cpp:2699
#31 0x00007f8605cebe54 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (receiver=receiver@entry=0x564eeeb0b380, event=event@entry=0x7ffcffc41790) at kernel/qcoreapplication.cpp:1170
#32 0x00007f8606a74ff5 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x564eeeb0b380, e=0x7ffcffc41790) at kernel/qapplication.cpp:3729
#33 0x00007f8606a7c314 in QApplication::notify(QObject*, QEvent*) (this=0x7ffcffc42290, receiver=0x564eeeb0b380, e=0x7ffcffc41790) at kernel/qapplication.cpp:3492
#34 0x00007f8605cec148 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x564eeeb0b380, event=0x7ffcffc41790) at kernel/qcoreapplication.cpp:1044
#35 0x00007f8606aadfb8 in QWidgetPrivate::show_helper() (this=0x564eeeb0b3c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#36 0x00007f8606aadeae in QWidgetPrivate::showChildren(bool) (this=this@entry=0x564eeeb0aed0, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8332
#37 0x00007f8606aadf8f in QWidgetPrivate::show_helper() (this=0x564eeeb0aed0) at kernel/qwidget.cpp:7902
#38 0x00007f8606aadeae in QWidgetPrivate::showChildren(bool) (this=this@entry=0x564eeeafa6c0, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8332
#39 0x00007f8606aadf8f in QWidgetPrivate::show_helper() (this=0x564eeeafa6c0) at kernel/qwidget.cpp:7902
#40 0x00007f8606aadeae in QWidgetPrivate::showChildren(bool) (this=this@entry=0x564eeea45400, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8332
#41 0x00007f8606aadf8f in QWidgetPrivate::show_helper() (this=0x564eeea45400) at kernel/qwidget.cpp:7902
#42 0x00007f8606aadeae in QWidgetPrivate::showChildren(bool) (this=this@entry=0x564eeea9e080, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8332
#43 0x00007f8606aadf8f in QWidgetPrivate::show_helper() (this=0x564eeea9e080) at kernel/qwidget.cpp:7902
#44 0x00007f8606aadeae in QWidgetPrivate::showChildren(bool) (this=this@entry=0x564eeeac5c00, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8332
#45 0x00007f8606aadf8f in QWidgetPrivate::show_helper() (this=0x564eeeac5c00) at kernel/qwidget.cpp:7902
#46 0x00007f8606aadeae in QWidgetPrivate::showChildren(bool) (this=this@entry=0x564eee958850, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8332
#47 0x00007f8606aadf8f in QWidgetPrivate::show_helper() (this=0x564eee958850) at kernel/qwidget.cpp:7902
#48 0x00007f8606ab0f1b in QWidget::setVisible(bool) (this=0x564eeeae3080, visible=<optimized out>) at kernel/qwidget.cpp:8251
#49 0x00007f8606a966e0 in QStackedLayout::setCurrentIndex(int) (this=0x564eeeaf4350, index=0) at kernel/qstackedlayout.cpp:321
#50 0x00007f8606a96f32 in QStackedLayout::takeAt(int) (this=0x564eeeaf4350, index=1) at kernel/qstackedlayout.cpp:273
#51 0x00007f8606a8faf0 in removeWidgetRecursively(QLayoutItem*, QObject*) (li=<optimized out>, w=0x564eeef3a060) at kernel/qlayout.cpp:568
#52 0x00007f8606a74fea in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x564eeeaf3580, e=0x7ffcffc42000) at kernel/qapplication.cpp:3724
#53 0x00007f8606a7c314 in QApplication::notify(QObject*, QEvent*) (this=0x7ffcffc42290, receiver=0x564eeeaf3580, e=0x7ffcffc42000) at kernel/qapplication.cpp:3492
#54 0x00007f8605cec148 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x564eeeaf3580, event=event@entry=0x7ffcffc42000) at kernel/qcoreapplication.cpp:1044
#55 0x00007f8605d20d58 in QCoreApplication::sendEvent(QObject*, QEvent*) (event=0x7ffcffc42000, receiver=<optimized out>) at kernel/qcoreapplication.h:234
#56 0x00007f8605d20d58 in QObjectPrivate::setParent_helper(QObject*) (this=this@entry=0x564eeeea6c60, o=o@entry=0x0) at kernel/qobject.cpp:2018
#57 0x00007f8605d213bf in QObject::~QObject() (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1031
#58 0x00007f8606aad046 in QWidget::~QWidget() (this=0x564eeef3a060, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1572
#59 0x00007f860a927a21 in  () at /usr/lib64/libktcore.so.16
#60 0x00007f860a925b16 in kt::PluginManager::~PluginManager() () at /usr/lib64/libktcore.so.16
#61 0x0000564eecf94ebb in  ()
#62 0x0000564eecf95029 in  ()
#63 0x0000564eecfa06c2 in  ()
#64 0x0000564eecf8fcf2 in  ()
#65 0x00007f8604d8ca87 in __libc_start_main () at /lib64/libc.so.6
#66 0x0000564eecf906ca in _start ()

Possible duplicates by query: bug 384419, bug 372712.

Reported using DrKonqi
Comment 1 Christoph Feck 2018-05-17 03:36:00 UTC

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