From kde-bugs-dist Tue Oct 31 20:30:18 2017 From: steffko Date: Tue, 31 Oct 2017 20:30:18 +0000 To: kde-bugs-dist Subject: [ktorrent] [Bug 386400] New: KTorrent crash while closing application Message-Id: X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=150948183227330 https://bugs.kde.org/show_bug.cgi?id=3D386400 Bug ID: 386400 Summary: KTorrent crash while closing application Product: ktorrent Version: unspecified Platform: openSUSE RPMs OS: Linux Status: UNCONFIRMED Keywords: drkonqi Severity: crash Priority: NOR Component: general Assignee: joris.guisson@gmail.com Reporter: suhn@gmx.de Target Milestone: --- Application: ktorrent (5.1.0) Qt Version: 5.9.2 Frameworks Version: 5.39.0 Operating System: Linux 4.13.9-1-default x86_64 Distribution: "openSUSE Tumbleweed" -- Information about the crash: - What I was doing when the application crashed: Closing KTorrent with Ctrl+Q results in crash. The goal is achieved, but no= t as intended. The crash can be reproduced sometimes. -- Backtrace: Application: KTorrent (ktorrent), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". [Current thread is 1 (Thread 0x7fb925575900 (LWP 1672))] Thread 6 (Thread 0x7fb8e753d700 (LWP 11004)): #0 0x00007fb91f7267e8 in __GI___libc_read (fd=3Dfd@entry=3D64, buf=3Dbuf@entry=3D0x7fb8e753caee, nbytes=3Dnbytes@entry=3D10) at ../sysdeps/unix/sysv/linux/read.c:26 #1 0x00007fb914a82751 in read (__nbytes=3D10, __buf=3D0x7fb8e753caee, __fd= =3D64) at /usr/include/bits/unistd.h:44 #2 pa_read (fd=3D64, buf=3Dbuf@entry=3D0x7fb8e753caee, count=3Dcount@entry= =3D10, type=3Dtype@entry=3D0x55dc9cbaafa8) at pulsecore/core-util.c:434 #3 0x00007fb9174bfdde in clear_wakeup (m=3D) at pulse/mainloop.c:781 #4 pa_mainloop_prepare (m=3Dm@entry=3D0x55dc9cbaaed0, timeout=3D-1) at pulse/mainloop.c:789 #5 0x00007fb9174c0850 in pa_mainloop_iterate (m=3D0x55dc9cbaaed0, block=3D, retval=3D0x0) at pulse/mainloop.c:923 #6 0x00007fb9174c0910 in pa_mainloop_run (m=3D0x55dc9cbaaed0, retval=3Dretval@entry=3D0x0) at pulse/mainloop.c:944 #7 0x00007fb9174ce779 in thread (userdata=3D0x55dc9cae60d0) at pulse/thread-mainloop.c:100 #8 0x00007fb914ab1438 in internal_thread_func (userdata=3D0x55dc9d141a20) = at pulsecore/thread-posix.c:81 #9 0x00007fb91b3fe558 in start_thread (arg=3D0x7fb8e753d700) at pthread_create.c:465 #10 0x00007fb91f73543f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 5 (Thread 0x7fb8e5b34700 (LWP 1695)): #0 0x00007fb91b40482d in futex_wait_cancelable (private=3D, expected=3D0, futex_word=3D0x7fb9080068c4) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 __pthread_cond_wait_common (abstime=3D0x0, mutex=3D0x7fb908006870, cond=3D0x7fb908006898) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=3D0x7fb908006898, mutex=3D0x7fb908006870) at pthread_cond_wait.c:655 #3 0x00007fb920393f2b in QWaitCondition::wait(QMutex*, unsigned long) () f= rom /usr/lib64/libQt5Core.so.5 #4 0x00007fb924db2b33 in net::ReverseResolverThread::run (this=3D0x55dc9cb= 81dd0) at /usr/src/debug/libktorrent-2.1/src/net/reverseresolver.cpp:124 #5 0x00007fb920392c0e in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5 #6 0x00007fb91b3fe558 in start_thread (arg=3D0x7fb8e5b34700) at pthread_create.c:465 #7 0x00007fb91f73543f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 4 (Thread 0x7fb8f093e700 (LWP 1678)): #0 0x00007fb91b40482d in futex_wait_cancelable (private=3D, expected=3D0, futex_word=3D0x55dc9c888c04) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 __pthread_cond_wait_common (abstime=3D0x0, mutex=3D0x55dc9c888bb0, cond=3D0x55dc9c888bd8) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=3D0x55dc9c888bd8, mutex=3D0x55dc9c888bb0) at pthread_cond_wait.c:655 #3 0x00007fb920393f2b in QWaitCondition::wait(QMutex*, unsigned long) () f= rom /usr/lib64/libQt5Core.so.5 #4 0x00007fb92038cd8b in QSemaphore::acquire(int) () from /usr/lib64/libQt5Core.so.5 #5 0x00007fb922737974 in QLibProxyWrapper::run() () from /usr/lib64/libQt5Network.so.5 #6 0x00007fb920392c0e in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5 #7 0x00007fb91b3fe558 in start_thread (arg=3D0x7fb8f093e700) at pthread_create.c:465 #8 0x00007fb91f73543f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 3 (Thread 0x7fb906be4700 (LWP 1676)): #0 0x00007fb9190546f9 in g_mutex_lock (mutex=3Dmutex@entry=3D0x7fb8f4000be= 0) at gthread-posix.c:1336 #1 0x00007fb91900e4f5 in g_main_context_prepare (context=3Dcontext@entry=3D0x7fb8f4000be0, priority=3Dpriority@entry=3D0x7f= b906be3ba0) at gmain.c:3384 #2 0x00007fb91900f07b in g_main_context_iterate (context=3Dcontext@entry=3D0x7fb8f4000be0, block=3Dblock@entry=3D1, dispatch=3Ddispatch@entry=3D1, self=3D) at gmain.c:3866 #3 0x00007fb91900f25c in g_main_context_iteration (context=3D0x7fb8f4000be= 0, may_block=3D1) at gmain.c:3947 #4 0x00007fb9205b625b in QEventDispatcherGlib::processEvents(QFlags) = () from /usr/lib64/libQt5Core.so.5 #5 0x00007fb92055e73a in QEventLoop::exec(QFlags) () from /usr/lib64/libQt5Core.so.5 #6 0x00007fb92038e1fa in QThread::exec() () from /usr/lib64/libQt5Core.so.5 #7 0x00007fb920392c0e in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5 #8 0x00007fb91b3fe558 in start_thread (arg=3D0x7fb906be4700) at pthread_create.c:465 #9 0x00007fb91f73543f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 2 (Thread 0x7fb90cc55700 (LWP 1674)): #0 0x00007fb91f72ac8b in __GI___poll (fds=3D0x7fb90001d230, nfds=3D1, time= out=3D-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007fb91900f149 in g_main_context_poll (priority=3D, n_fds=3D1, fds=3D0x7fb90001d230, timeout=3D, context=3D0x7fb= 900000be0) at gmain.c:4187 #2 g_main_context_iterate (context=3Dcontext@entry=3D0x7fb900000be0, block=3Dblock@entry=3D1, dispatch=3Ddispatch@entry=3D1, self=3D) at gmain.c:3881 #3 0x00007fb91900f25c in g_main_context_iteration (context=3D0x7fb900000be= 0, may_block=3D1) at gmain.c:3947 #4 0x00007fb9205b625b in QEventDispatcherGlib::processEvents(QFlags) = () from /usr/lib64/libQt5Core.so.5 #5 0x00007fb92055e73a in QEventLoop::exec(QFlags) () from /usr/lib64/libQt5Core.so.5 #6 0x00007fb92038e1fa in QThread::exec() () from /usr/lib64/libQt5Core.so.5 #7 0x00007fb9219c2a45 in QDBusConnectionManager::run() () from /usr/lib64/libQt5DBus.so.5 #8 0x00007fb920392c0e in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5 #9 0x00007fb91b3fe558 in start_thread (arg=3D0x7fb90cc55700) at pthread_create.c:465 #10 0x00007fb91f73543f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7fb925575900 (LWP 1672)): [KCrash Handler] #6 0x00007fb920405e83 in findChar(QChar const*, int, QChar, int, Qt::CaseSensitivity) () from /usr/lib64/libQt5Core.so.5 #7 0x00007fb92040b1c7 in QString::replace(QChar, QChar, Qt::CaseSensitivit= y) () from /usr/lib64/libQt5Core.so.5 #8 0x00007fb92152716d in QAbstractItemDelegatePrivate::textForRole(Qt::ItemDataRole, QVariant const&, QLocale const&, int) const () from /usr/lib64/libQt5Widgets.so.5 #9 0x00007fb92152e08b in QStyledItemDelegate::displayText(QVariant const&, QLocale const&) const () from /usr/lib64/libQt5Widgets.so.5 #10 0x00007fb92152fb6e in QStyledItemDelegate::initStyleOption(QStyleOptionViewItem*, QModelIndex con= st&) const () from /usr/lib64/libQt5Widgets.so.5 #11 0x00007fb92152ecd9 in QStyledItemDelegate::sizeHint(QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib64/libQt5Widgets.so.5 #12 0x00007fb92156f2ca in QTreeView::indexRowSizeHint(QModelIndex const&) c= onst () from /usr/lib64/libQt5Widgets.so.5 #13 0x00007fb92156fbfe in QTreeViewPrivate::layout(int, bool, bool) () from /usr/lib64/libQt5Widgets.so.5 #14 0x00007fb9215776fa in QTreeView::doItemsLayout() () from /usr/lib64/libQt5Widgets.so.5 #15 0x00007fb9215722e5 in QTreeViewPrivate::updateScrollBars() () from /usr/lib64/libQt5Widgets.so.5 #16 0x00007fb921579108 in QTreeView::updateGeometries() () from /usr/lib64/libQt5Widgets.so.5 #17 0x00007fb9213182f2 in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #18 0x00007fb9213b57fe in QFrame::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #19 0x00007fb921514d9c in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #20 0x00007fb921577f0c in QTreeView::viewportEvent(QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #21 0x00007fb92055fe34 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5 #22 0x00007fb9212dbad5 in QApplicationPrivate::notify_helper(QObject*, QEve= nt*) () from /usr/lib64/libQt5Widgets.so.5 #23 0x00007fb9212e2eb4 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #24 0x00007fb920560128 in QCoreApplication::notifyInternal2(QObject*, QEven= t*) () from /usr/lib64/libQt5Core.so.5 #25 0x00007fb921310ccb in QWidgetPrivate::sendPendingMoveAndResizeEvents(bo= ol, bool) () from /usr/lib64/libQt5Widgets.so.5 #26 0x00007fb921314853 in QWidgetPrivate::show_helper() () from /usr/lib64/libQt5Widgets.so.5 #27 0x00007fb92131738b in QWidget::setVisible(bool) () from /usr/lib64/libQt5Widgets.so.5 #28 0x00007fb9213147d0 in QWidgetPrivate::showChildren(bool) () from /usr/lib64/libQt5Widgets.so.5 #29 0x00007fb92131486f in QWidgetPrivate::show_helper() () from /usr/lib64/libQt5Widgets.so.5 #30 0x00007fb92131738b in QWidget::setVisible(bool) () from /usr/lib64/libQt5Widgets.so.5 #31 0x00007fb9213147d0 in QWidgetPrivate::showChildren(bool) () from /usr/lib64/libQt5Widgets.so.5 #32 0x00007fb92131486f in QWidgetPrivate::show_helper() () from /usr/lib64/libQt5Widgets.so.5 #33 0x00007fb92131478e in QWidgetPrivate::showChildren(bool) () from /usr/lib64/libQt5Widgets.so.5 #34 0x00007fb92131486f in QWidgetPrivate::show_helper() () from /usr/lib64/libQt5Widgets.so.5 #35 0x00007fb92131738b in QWidget::setVisible(bool) () from /usr/lib64/libQt5Widgets.so.5 #36 0x00007fb9251690ad in kt::TabBarWidget::unshrink (this=3D0x55dc9c28f240= ) at /usr/src/debug/ktorrent-5.1.0/libktcore/gui/tabbarwidget.cpp:178 #37 0x00007fb92058d73c in QMetaObject::activate(QObject*, int, int, void**)= () from /usr/lib64/libQt5Core.so.5 #38 0x00007fb925172cff in kt::ActionGroup::actionTriggered (this=3D, _t1=3D) at /usr/src/debug/ktorrent-5.1.0/build/libktcore/ktcore_autogen/DMHXEJ42XS/moc= _tabbarwidget.cpp:264 #39 0x00007fb92058d73c in QMetaObject::activate(QObject*, int, int, void**)= () from /usr/lib64/libQt5Core.so.5 #40 0x00007fb9212d59e2 in QAction::toggled(bool) () from /usr/lib64/libQt5Widgets.so.5 #41 0x00007fb9212d7d0c in QAction::setChecked(bool) () from /usr/lib64/libQt5Widgets.so.5 #42 0x00007fb8f0b6e7b8 in kt::InfoWidgetPlugin::unload (this=3D0x55dc9c66c4= b0) at /usr/src/debug/ktorrent-5.1.0/plugins/infowidget/infowidgetplugin.cpp:117 #43 0x00007fb92516a9b6 in kt::PluginManager::unloadAll (this=3D0x55dc9c01f2= 70) at /usr/src/debug/ktorrent-5.1.0/libktcore/plugin/pluginmanager.cpp:207 #44 0x000055dc9a8e0c4d in kt::Core::onExit (this=3D0x55dc9bfee370) at /usr/src/debug/ktorrent-5.1.0/ktorrent/core.cpp:878 #45 0x00007fb92058d73c in QMetaObject::activate(QObject*, int, int, void**)= () from /usr/lib64/libQt5Core.so.5 #46 0x00007fb92055eef7 in QCoreApplication::aboutToQuit(QCoreApplication::QPrivateSignal) () from /usr/lib64/libQt5Core.so.5 #47 0x00007fb920562ccb in QCoreApplicationPrivate::execCleanup() () from /usr/lib64/libQt5Core.so.5 #48 0x00007fb920566fdd in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5 #49 0x000055dc9a8ddc8a in main (argc=3D, argv=3D) at /usr/src/debug/ktorrent-5.1.0/ktorrent/main.cpp:243 Reported using DrKonqi --=20 You are receiving this mail because: You are watching all bug changes.=