[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [ktorrent] [Bug 386400] New: KTorrent crash while closing application
From:       steffko <bugzilla_noreply () kde ! org>
Date:       2017-10-31 20:30:18
Message-ID: bug-386400-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

            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 not 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=fd@entry=64,
buf=buf@entry=0x7fb8e753caee, nbytes=nbytes@entry=10) at
../sysdeps/unix/sysv/linux/read.c:26
#1  0x00007fb914a82751 in read (__nbytes=10, __buf=0x7fb8e753caee, __fd=64) at
/usr/include/bits/unistd.h:44
#2  pa_read (fd=64, buf=buf@entry=0x7fb8e753caee, count=count@entry=10,
type=type@entry=0x55dc9cbaafa8) at pulsecore/core-util.c:434
#3  0x00007fb9174bfdde in clear_wakeup (m=<optimized out>) at
pulse/mainloop.c:781
#4  pa_mainloop_prepare (m=m@entry=0x55dc9cbaaed0, timeout=-1) at
pulse/mainloop.c:789
#5  0x00007fb9174c0850 in pa_mainloop_iterate (m=0x55dc9cbaaed0,
block=<optimized out>, retval=0x0) at pulse/mainloop.c:923
#6  0x00007fb9174c0910 in pa_mainloop_run (m=0x55dc9cbaaed0,
retval=retval@entry=0x0) at pulse/mainloop.c:944
#7  0x00007fb9174ce779 in thread (userdata=0x55dc9cae60d0) at
pulse/thread-mainloop.c:100
#8  0x00007fb914ab1438 in internal_thread_func (userdata=0x55dc9d141a20) at
pulsecore/thread-posix.c:81
#9  0x00007fb91b3fe558 in start_thread (arg=0x7fb8e753d700) 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=<optimized out>,
expected=0, futex_word=0x7fb9080068c4) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x7fb908006870,
cond=0x7fb908006898) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x7fb908006898, mutex=0x7fb908006870) at
pthread_cond_wait.c:655
#3  0x00007fb920393f2b in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib64/libQt5Core.so.5
#4  0x00007fb924db2b33 in net::ReverseResolverThread::run (this=0x55dc9cb81dd0)
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=0x7fb8e5b34700) 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=<optimized out>,
expected=0, futex_word=0x55dc9c888c04) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55dc9c888bb0,
cond=0x55dc9c888bd8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55dc9c888bd8, mutex=0x55dc9c888bb0) at
pthread_cond_wait.c:655
#3  0x00007fb920393f2b in QWaitCondition::wait(QMutex*, unsigned long) () from
/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=0x7fb8f093e700) 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=mutex@entry=0x7fb8f4000be0) at
gthread-posix.c:1336
#1  0x00007fb91900e4f5 in g_main_context_prepare
(context=context@entry=0x7fb8f4000be0, priority=priority@entry=0x7fb906be3ba0)
at gmain.c:3384
#2  0x00007fb91900f07b in g_main_context_iterate
(context=context@entry=0x7fb8f4000be0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3866
#3  0x00007fb91900f25c in g_main_context_iteration (context=0x7fb8f4000be0,
may_block=1) at gmain.c:3947
#4  0x00007fb9205b625b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/libQt5Core.so.5
#5  0x00007fb92055e73a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () 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=0x7fb906be4700) 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=0x7fb90001d230, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fb91900f149 in g_main_context_poll (priority=<optimized out>,
n_fds=1, fds=0x7fb90001d230, timeout=<optimized out>, context=0x7fb900000be0)
at gmain.c:4187
#2  g_main_context_iterate (context=context@entry=0x7fb900000be0,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
gmain.c:3881
#3  0x00007fb91900f25c in g_main_context_iteration (context=0x7fb900000be0,
may_block=1) at gmain.c:3947
#4  0x00007fb9205b625b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/libQt5Core.so.5
#5  0x00007fb92055e73a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () 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=0x7fb90cc55700) 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::CaseSensitivity)
() 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 const&)
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&) const
() 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*, QEvent*)
() 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*, QEvent*)
() from /usr/lib64/libQt5Core.so.5
#25 0x00007fb921310ccb in QWidgetPrivate::sendPendingMoveAndResizeEvents(bool,
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=0x55dc9c28f240) 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=<optimized
out>, _t1=<optimized out>) 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=0x55dc9c66c4b0) at
/usr/src/debug/ktorrent-5.1.0/plugins/infowidget/infowidgetplugin.cpp:117
#43 0x00007fb92516a9b6 in kt::PluginManager::unloadAll (this=0x55dc9c01f270) at
/usr/src/debug/ktorrent-5.1.0/libktcore/plugin/pluginmanager.cpp:207
#44 0x000055dc9a8e0c4d in kt::Core::onExit (this=0x55dc9bfee370) 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=<optimized out>, argv=<optimized out>) at
/usr/src/debug/ktorrent-5.1.0/ktorrent/main.cpp:243

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic