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

            Bug ID: 393785
           Summary: Everytime KTorrent is closing, it crash
           Product: ktorrent
           Version: unspecified
          Platform: Neon Packages
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: joris.guis...@gmail.com
          Reporter: tipaul2...@hotmail.com
  Target Milestone: ---

Application: ktorrent (5.1.0)

Qt Version: 5.10.0
Frameworks Version: 5.45.0
Operating System: Linux 4.13.0-39-generic x86_64
Distribution: KDE neon User Edition 5.12

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

Torrent download finished, removed the torrent from the list, quit application
from the file menu OR the close button of the window.
Always reproduce, never got a clean close of KTorrent.

The crash can be reproduced every time.

-- Backtrace:
Application: KTorrent (ktorrent), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f67b0fe58c0 (LWP 1546))]

Thread 6 (Thread 0x7f67157fa700 (LWP 1766)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f67abe9367b in QWaitConditionPrivate::wait
(time=18446744073709551615, this=0x23c1d40) at
thread/qwaitcondition_unix.cpp:143
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2504930,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#3  0x00007f67b08cfd13 in ?? () from
/usr/lib/x86_64-linux-gnu/libKF5Torrent.so.6
#4  0x00007f67abe926eb in QThreadPrivate::start (arg=0x2504920) at
thread/qthread_unix.cpp:376
#5  0x00007f67a6e5f6ba in start_thread (arg=0x7f67157fa700) at
pthread_create.c:333
#6  0x00007f67ab28041d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f67743c9700 (LWP 1630)):
#0  0x00007f67ab27027d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f679e41cf61 in pa_read () from
/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-8.0.so
#2  0x00007f67a37ffa2e in pa_mainloop_prepare () from
/usr/lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007f67a38004a0 in pa_mainloop_iterate () from
/usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007f67a3800560 in pa_mainloop_run () from
/usr/lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007f67a380e7a9 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007f679e44b078 in ?? () from
/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-8.0.so
#7  0x00007f67a6e5f6ba in start_thread (arg=0x7f67743c9700) at
pthread_create.c:333
#8  0x00007f67ab28041d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f6792955700 (LWP 1603)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f677f68548b in ?? () from
/usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#2  0x00007f677f685397 in ?? () from
/usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#3  0x00007f67a6e5f6ba in start_thread (arg=0x7f6792955700) at
pthread_create.c:333
#4  0x00007f67ab28041d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f6792154700 (LWP 1570)):
#0  0x00007fffc9d3ab6d in clock_gettime ()
#1  0x00007f67ab28e876 in __GI___clock_gettime (clock_id=clock_id@entry=1,
tp=tp@entry=0x7f6792153ae0) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f67ac0c5ed1 in qt_clock_gettime (ts=0x7f6792153ae0, clock=<optimized
out>) at kernel/qelapsedtimer_unix.cpp:111
#3  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at
kernel/qelapsedtimer_unix.cpp:166
#4  qt_gettime () at kernel/qelapsedtimer_unix.cpp:175
#5  0x00007f67ac0c46c9 in QTimerInfoList::updateCurrentTime
(this=0x7f6788002ed0) at kernel/qtimerinfo_unix.cpp:91
#6  0x00007f67ac0c6d25 in timerSourceCheckHelper (src=<optimized out>) at
kernel/qeventdispatcher_glib.cpp:146
#7  timerSourceCheck (source=<optimized out>) at
kernel/qeventdispatcher_glib.cpp:173
#8  0x00007f67a5185dc1 in g_main_context_check () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f67a5186330 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f67a518649c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f67ac0c65cb in QEventDispatcherGlib::processEvents
(this=0x7f67880008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#12 0x00007f67ac06d64a in QEventLoop::exec (this=this@entry=0x7f6792153d00,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#13 0x00007f67abe8d554 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:522
#14 0x00007f67abe926eb in QThreadPrivate::start (arg=0x19f51f0) at
thread/qthread_unix.cpp:376
#15 0x00007f67a6e5f6ba in start_thread (arg=0x7f6792154700) at
pthread_create.c:333
#16 0x00007f67ab28041d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f6793b66700 (LWP 1558)):
#0  0x00007fffc9d3ab6d in clock_gettime ()
#1  0x00007f67ab28e876 in __GI___clock_gettime (clock_id=clock_id@entry=1,
tp=tp@entry=0x7f6793b65a30) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f67ac0c5ed1 in qt_clock_gettime (ts=0x7f6793b65a30, clock=<optimized
out>) at kernel/qelapsedtimer_unix.cpp:111
#3  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at
kernel/qelapsedtimer_unix.cpp:166
#4  qt_gettime () at kernel/qelapsedtimer_unix.cpp:175
#5  0x00007f67ac0c46c9 in QTimerInfoList::updateCurrentTime
(this=this@entry=0x7f678c002ed0) at kernel/qtimerinfo_unix.cpp:91
#6  0x00007f67ac0c4c35 in QTimerInfoList::timerWait (this=0x7f678c002ed0,
tm=...) at kernel/qtimerinfo_unix.cpp:388
#7  0x00007f67ac0c633e in timerSourcePrepareHelper (timeout=0x7f6793b65b04,
src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:132
#8  timerSourcePrepare (source=<optimized out>, timeout=0x7f6793b65b04) at
kernel/qeventdispatcher_glib.cpp:165
#9  0x00007f67a518591d in g_main_context_prepare () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f67a51862bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f67a518649c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007f67ac0c65cb in QEventDispatcherGlib::processEvents
(this=0x7f678c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#13 0x00007f67ac06d64a in QEventLoop::exec (this=this@entry=0x7f6793b65cd0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#14 0x00007f67abe8d554 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:522
#15 0x00007f67ad4c92c5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#16 0x00007f67abe926eb in QThreadPrivate::start (arg=0x7f67ad73dd60) at
thread/qthread_unix.cpp:376
#17 0x00007f67a6e5f6ba in start_thread (arg=0x7f6793b66700) at
pthread_create.c:333
#18 0x00007f67ab28041d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f67b0fe58c0 (LWP 1546)):
[KCrash Handler]
#6  0x00007f67ab1ae428 in __GI_raise (sig=sig@entry=6) at
../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007f67ab1b002a in __GI_abort () at abort.c:89
#8  0x00007f67ab1f07ea in __libc_message (do_abort=do_abort@entry=2,
fmt=fmt@entry=0x7f67ab309ed8 "*** Error in `%s': %s: 0x%s ***\n") at
../sysdeps/posix/libc_fatal.c:175
#9  0x00007f67ab1f937a in malloc_printerr (ar_ptr=<optimized out>,
ptr=<optimized out>, str=0x7f67ab30a008 "double free or corruption (!prev)",
action=3) at malloc.c:5006
#10 _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at
malloc.c:3867
#11 0x00007f67ab1fd53c in __GI___libc_free (mem=<optimized out>) at
malloc.c:2968
#12 0x00007f67abe93b21 in QArrayData::deallocate (data=<optimized out>,
objectSize=objectSize@entry=2, alignment=alignment@entry=8) at
tools/qarraydata.cpp:167
#13 0x0000000000470507 in QTypedArrayData<unsigned short>::deallocate
(data=<optimized out>) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qarraydata.h:237
#14 QString::~QString (this=<optimized out>, __in_chrg=<optimized out>) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1084
#15 kt::QueueManagerModel::data (this=<optimized out>, index=...,
role=<optimized out>) at
/workspace/build/ktorrent/tools/queuemanagermodel.cpp:272
#16 0x00007f67ad020dd6 in QModelIndex::data (arole=0, this=0x7fffc9c7c3b0) at
../../include/QtCore/../../src/corelib/itemmodels/qabstractitemmodel.h:432
#17 QStyledItemDelegate::initStyleOption (this=0x1c929d0,
option=0x7fffc9c7c240, index=...) at itemviews/qstyleditemdelegate.cpp:345
#18 0x00007f67ad02028f in QStyledItemDelegate::sizeHint (this=0x1c929d0,
option=..., index=...) at itemviews/qstyleditemdelegate.cpp:410
#19 0x00007f67ad065a61 in QTreeView::indexRowSizeHint
(this=this@entry=0x1c8cba0, index=...) at itemviews/qtreeview.cpp:2987
#20 0x00007f67ad066476 in QTreeViewPrivate::layout (this=this@entry=0x1c18570,
i=i@entry=-1, recursiveExpanding=recursiveExpanding@entry=false,
afterIsUninitialized=afterIsUninitialized@entry=false) at
itemviews/qtreeview.cpp:3321
#21 0x00007f67ad06e426 in QTreeView::doItemsLayout (this=0x1c8cba0) at
itemviews/qtreeview.cpp:2106
#22 0x00007f67ad068133 in QAbstractItemViewPrivate::executePostedLayout
(this=0x1c18570) at
../../include/QtWidgets/5.10.0/QtWidgets/private/../../../../../src/widgets/itemviews/qabstractitemview_p.h:229
#23 QTreeViewPrivate::updateScrollBars (this=0x1c18570) at
itemviews/qtreeview.cpp:3652
#24 0x00007f67ad06ff13 in QTreeView::updateGeometries (this=0x1c8cba0) at
itemviews/qtreeview.cpp:2826
#25 0x00007f67acdef9be in QWidget::event (this=this@entry=0x1c8cba0,
event=event@entry=0x7fffc9c7cc60) at kernel/qwidget.cpp:8981
#26 0x00007f67ace9495e in QFrame::event (this=0x1c8cba0, e=0x7fffc9c7cc60) at
widgets/qframe.cpp:550
#27 0x00007f67ad005703 in QAbstractItemView::viewportEvent
(this=this@entry=0x1c8cba0, event=event@entry=0x7fffc9c7cc60) at
itemviews/qabstractitemview.cpp:1748
#28 0x00007f67ad06ec2c in QTreeView::viewportEvent (this=0x1c8cba0,
event=0x7fffc9c7cc60) at itemviews/qtreeview.cpp:1312
#29 0x00007f67ac06f132 in
QCoreApplicationPrivate::sendThroughObjectEventFilters
(receiver=receiver@entry=0x1c63b20, event=event@entry=0x7fffc9c7cc60) at
kernel/qcoreapplication.cpp:1170
#30 0x00007f67acdafaa5 in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x1c63b20, e=0x7fffc9c7cc60) at kernel/qapplication.cpp:3728
#31 0x00007f67acdb7417 in QApplication::notify (this=0x7fffc9c7ddb0,
receiver=0x1c63b20, e=0x7fffc9c7cc60) at kernel/qapplication.cpp:3491
#32 0x00007f67ac06f3c8 in QCoreApplication::notifyInternal2
(receiver=receiver@entry=0x1c63b20, event=event@entry=0x7fffc9c7cc60) at
kernel/qcoreapplication.cpp:1044
#33 0x00007f67acde79b2 in QCoreApplication::sendEvent (event=0x7fffc9c7cc60,
receiver=0x1c63b20) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#34 QWidgetPrivate::sendPendingMoveAndResizeEvents (this=this@entry=0x1c3daa0,
recursive=recursive@entry=false, disableUpdates=<optimized out>,
disableUpdates@entry=false) at kernel/qwidget.cpp:7845
#35 0x00007f67acdeb7a3 in QWidgetPrivate::show_helper
(this=this@entry=0x1c3daa0) at kernel/qwidget.cpp:7896
#36 0x00007f67acdeeaad in QWidget::setVisible (this=0x1c63b20,
visible=<optimized out>) at kernel/qwidget.cpp:8251
#37 0x00007f67acdeb738 in QWidgetPrivate::showChildren
(this=this@entry=0x1c18570, spontaneous=spontaneous@entry=false) at
kernel/qwidget.cpp:8334
#38 0x00007f67acdeb7bf in QWidgetPrivate::show_helper
(this=this@entry=0x1c18570) at kernel/qwidget.cpp:7902
#39 0x00007f67acdeeaad in QWidget::setVisible (this=0x1c8cba0,
visible=<optimized out>) at kernel/qwidget.cpp:8251
#40 0x00007f67acdeb738 in QWidgetPrivate::showChildren
(this=this@entry=0x1c3ab20, spontaneous=spontaneous@entry=false) at
kernel/qwidget.cpp:8334
#41 0x00007f67acdeb7bf in QWidgetPrivate::show_helper (this=0x1c3ab20) at
kernel/qwidget.cpp:7902
#42 0x00007f67acdeb616 in QWidgetPrivate::show_recursive (this=<optimized out>)
at kernel/qwidget.cpp:7826
#43 0x00007f67acdeb727 in QWidgetPrivate::showChildren
(this=this@entry=0x1c37ab0, spontaneous=spontaneous@entry=false) at
kernel/qwidget.cpp:8332
#44 0x00007f67acdeb7bf in QWidgetPrivate::show_helper
(this=this@entry=0x1c37ab0) at kernel/qwidget.cpp:7902
#45 0x00007f67acdeeaad in QWidget::setVisible (this=0x1c92aa0,
visible=<optimized out>) at kernel/qwidget.cpp:8251
#46 0x00007f67b0c8321d in kt::TabBarWidget::unshrink (this=0x1c886d0) at
/workspace/build/libktcore/gui/tabbarwidget.cpp:178
#47 0x00007f67ac09c7b6 in QtPrivate::QSlotObjectBase::call (a=0x7fffc9c7d200,
r=0x1c886d0, this=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:378
#48 QMetaObject::activate (sender=0x1c93370, signalOffset=<optimized out>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffc9c7d200)
at kernel/qobject.cpp:3749
#49 0x00007f67ac09cd97 in QMetaObject::activate (sender=<optimized out>,
m=m@entry=0x7f67b0eba380 <kt::ActionGroup::staticMetaObject>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffc9c7d200)
at kernel/qobject.cpp:3628
#50 0x00007f67b0c8d78f in kt::ActionGroup::actionTriggered (this=<optimized
out>, _t1=0x1d1b7b0) at
/workspace/build/obj-x86_64-linux-gnu/libktcore/moc_tabbarwidget.cpp:264
#51 0x00007f67ac09c7b6 in QtPrivate::QSlotObjectBase::call (a=0x7fffc9c7d350,
r=0x1c93370, this=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:378
#52 QMetaObject::activate (sender=sender@entry=0x1d1b7b0,
signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=4,
argv=argv@entry=0x7fffc9c7d350) at kernel/qobject.cpp:3749
#53 0x00007f67ac09cd97 in QMetaObject::activate (sender=sender@entry=0x1d1b7b0,
m=m@entry=0x7f67ad483820 <QAction::staticMetaObject>,
local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7fffc9c7d350)
at kernel/qobject.cpp:3628
#54 0x00007f67acda9522 in QAction::toggled (this=this@entry=0x1d1b7b0,
_t1=_t1@entry=true) at .moc/moc_qaction.cpp:389
#55 0x00007f67acdabaae in QAction::setChecked (this=0x1d1b7b0, b=<optimized
out>) at kernel/qaction.cpp:983
#56 0x00007f6779eec343 in kt::InfoWidgetPlugin::unload (this=0x1f55a40) at
/workspace/build/plugins/infowidget/infowidgetplugin.cpp:117
#57 0x00007f67b0c84a3e in kt::PluginManager::unloadAll (this=0x19dec60) at
/workspace/build/libktcore/plugin/pluginmanager.cpp:207
#58 0x000000000043fdde in kt::Core::onExit (this=0x19f6070) at
/workspace/build/ktorrent/core.cpp:878
#59 0x00007f67ac09c7b6 in QtPrivate::QSlotObjectBase::call (a=0x7fffc9c7d5a0,
r=0x19f6070, this=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:378
#60 QMetaObject::activate (sender=0x7fffc9c7ddb0, signalOffset=<optimized out>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffc9c7d5a0)
at kernel/qobject.cpp:3749
#61 0x00007f67ac09cd97 in QMetaObject::activate (sender=<optimized out>,
m=m@entry=0x7f67ac4cb680 <QCoreApplication::staticMetaObject>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffc9c7d5a0)
at kernel/qobject.cpp:3628
#62 0x00007f67ac06e037 in QCoreApplication::aboutToQuit (this=<optimized out>,
_t1=...) at .moc/moc_qcoreapplication.cpp:249
#63 0x00007f67ac07246b in QCoreApplicationPrivate::execCleanup (this=0x1943800)
at kernel/qcoreapplication.cpp:1352
#64 0x00007f67ac07686c in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1336
#65 0x000000000043d000 in main (argc=1, argv=<optimized out>) at
/workspace/build/ktorrent/main.cpp:243

The reporter indicates this bug may be a duplicate of or related to bug 383127.

Possible duplicates by query: bug 392350, bug 389454, bug 387754, bug 387393,
bug 385320.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to