Bug 385320 - KTorrent crash on exiting the program. (KTorrent Closed Unexpectedly)
Summary: KTorrent crash on exiting the program. (KTorrent Closed Unexpectedly)
Status: RESOLVED DUPLICATE of bug 384476
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-10-03 09:55 UTC by Kevin Chapman
Modified: 2017-10-18 01:40 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 Kevin Chapman 2017-10-03 09:55:42 UTC
Application: ktorrent (5.1.0)

Qt Version: 5.9.1
Frameworks Version: 5.38.0
Operating System: Linux 4.10.0-35-generic x86_64
Distribution: KDE neon User Edition 5.10

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

Crash has occurs every time upon exiting the program, via file>quit, since installing KDE Neon again a few days ago.

I've installed Neon on two machines (on the same day), both are kept fully updated, have the same packages installed and have identical settings in KTorrent. The bug however, only occurs on the one machine.

The crash occurs 100% of the time, and will still happen if I immediatly exit KTorrent with doing anything else after running the program.

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 0x7fc2ac3188c0 (LWP 10254))]

Thread 10 (Thread 0x7fc2848b8700 (LWP 10288)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc2ba6748eb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x287ddf0) at thread/qwaitcondition_unix.cpp:143
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2bdea00, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#3  0x00007fc2be2e3d13 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Torrent.so.6
#4  0x00007fc2ba673989 in QThreadPrivate::start (arg=0x2bde9f0) at thread/qthread_unix.cpp:368
#5  0x00007fc2b5b996ba in start_thread (arg=0x7fc2848b8700) at pthread_create.c:333
#6  0x00007fc2b9a603dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7fc28a21c700 (LWP 10273)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc29085274b in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#2  0x00007fc290852477 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#3  0x00007fc2b5b996ba in start_thread (arg=0x7fc28a21c700) at pthread_create.c:333
#4  0x00007fc2b9a603dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7fc28aa1d700 (LWP 10272)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc29085274b in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#2  0x00007fc290852477 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#3  0x00007fc2b5b996ba in start_thread (arg=0x7fc28aa1d700) at pthread_create.c:333
#4  0x00007fc2b9a603dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7fc28b21e700 (LWP 10271)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc29085274b in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#2  0x00007fc290852477 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#3  0x00007fc2b5b996ba in start_thread (arg=0x7fc28b21e700) at pthread_create.c:333
#4  0x00007fc2b9a603dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7fc28ba1f700 (LWP 10270)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc29085274b in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#2  0x00007fc290852477 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#3  0x00007fc2b5b996ba in start_thread (arg=0x7fc28ba1f700) at pthread_create.c:333
#4  0x00007fc2b9a603dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fc28c458700 (LWP 10269)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc29085274b in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#2  0x00007fc290852477 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#3  0x00007fc2b5b996ba in start_thread (arg=0x7fc28c458700) at pthread_create.c:333
#4  0x00007fc2b9a603dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fc2a21c6700 (LWP 10260)):
#0  0x00007fc2b4100203 in g_ptr_array_set_size () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fc2b412b871 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc2b412c2bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc2b412c49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fc2ba89c94b in QEventDispatcherGlib::processEvents (this=0x7fc2980008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fc2ba8457ca in QEventLoop::exec (this=this@entry=0x7fc2a21c5d00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007fc2ba66ecd4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#7  0x00007fc2ba673989 in QThreadPrivate::start (arg=0x1a792e0) at thread/qthread_unix.cpp:368
#8  0x00007fc2b5b996ba in start_thread (arg=0x7fc2a21c6700) at pthread_create.c:333
#9  0x00007fc2b9a603dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fc2a3bd8700 (LWP 10258)):
#0  0x00007fc2b9a5470d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fc2b412c38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc2b412c49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc2ba89c94b in QEventDispatcherGlib::processEvents (this=0x7fc29c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fc2ba8457ca in QEventLoop::exec (this=this@entry=0x7fc2a3bd7cd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007fc2ba66ecd4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#6  0x00007fc2bb6c8b75 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007fc2ba673989 in QThreadPrivate::start (arg=0x7fc2bb73eda0) at thread/qthread_unix.cpp:368
#8  0x00007fc2b5b996ba in start_thread (arg=0x7fc2a3bd8700) at pthread_create.c:333
#9  0x00007fc2b9a603dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fc2a99fa700 (LWP 10257)):
#0  __lll_lock_wait_private () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:95
#1  0x00007fc2b99d92bd in _int_free (av=0x7fc2b9d1db20 <main_arena>, p=0x2877670, have_lock=0) at malloc.c:3962
#2  0x00007fc2b99dd53c in __GI___libc_free (mem=mem@entry=0x2877680) at malloc.c:2968
#3  0x00007fc2be8e39b7 in __GI__dl_deallocate_tls (tcb=tcb@entry=0x7fc267fff700, dealloc_tcb=dealloc_tcb@entry=false) at dl-tls.c:560
#4  0x00007fc2b5b995b6 in __free_stacks (limit=41943040) at allocatestack.c:284
#5  queue_stack (stack=0x7fc2b99dd53c <__GI___libc_free+76>) at allocatestack.c:312
#6  __deallocate_stack (pd=0x7fc2b99dd53c <__GI___libc_free+76>) at allocatestack.c:774
#7  __free_tcb (pd=pd@entry=0x7fc2a99fa700) at pthread_create.c:243
#8  0x00007fc2b5b99937 in start_thread (arg=0x7fc2a99fa700) at pthread_create.c:453
#9  0x00007fc2b9a603dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fc2ac3188c0 (LWP 10254)):
[KCrash Handler]
#6  0x00007fc2b998e428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007fc2b999002a in __GI_abort () at abort.c:89
#8  0x00007fc2b99d07ea in __libc_message (do_abort=2, fmt=fmt@entry=0x7fc2b9ae9e98 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#9  0x00007fc2b99d9d36 in malloc_printerr (ar_ptr=0x7fc2b9d1db20 <main_arena>, ptr=<optimized out>, str=0x7fc2b9ae6c35 "corrupted size vs. prev_size", action=3) at malloc.c:5006
#10 _int_free (av=0x7fc2b9d1db20 <main_arena>, p=<optimized out>, have_lock=0) at malloc.c:4005
#11 0x00007fc2b99dd53c in __GI___libc_free (mem=<optimized out>) at malloc.c:2968
#12 0x00007fc2ba674d91 in QArrayData::deallocate (data=<optimized out>, objectSize=objectSize@entry=2, alignment=alignment@entry=8) at tools/qarraydata.cpp:167
#13 0x00000000004be72f 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::ViewModel::Item::data (this=<optimized out>, col=<optimized out>) at /workspace/build/ktorrent/view/viewmodel.cpp:257
#16 0x00000000004c0575 in kt::ViewModel::data (this=<optimized out>, index=..., role=<optimized out>) at /workspace/build/ktorrent/view/viewmodel.cpp:648
#17 0x00007fc2bb479186 in QModelIndex::data (arole=0, this=0x7fff95329b30) at ../../include/QtCore/../../src/corelib/itemmodels/qabstractitemmodel.h:432
#18 QStyledItemDelegate::initStyleOption (this=0x204fc30, option=0x7fff953299b0, index=...) at itemviews/qstyleditemdelegate.cpp:340
#19 0x00007fc2bb47863f in QStyledItemDelegate::sizeHint (this=0x204fc30, option=..., index=...) at itemviews/qstyleditemdelegate.cpp:405
#20 0x00000000004c4574 in kt::ViewDelegate::sizeHint (this=<optimized out>, option=..., index=...) at /workspace/build/ktorrent/view/viewdelegate.cpp:190
#21 0x00007fc2bb439511 in QTreeView::indexRowSizeHint (this=this@entry=0x2001820, index=...) at itemviews/qtreeview.cpp:2988
#22 0x00007fc2bb439f86 in QTreeViewPrivate::layout (this=this@entry=0x1fffe30, i=i@entry=-1, recursiveExpanding=recursiveExpanding@entry=false, afterIsUninitialized=afterIsUninitialized@entry=false) at itemviews/qtreeview.cpp:3322
#23 0x00007fc2bb4420b6 in QTreeView::doItemsLayout (this=0x2001820) at itemviews/qtreeview.cpp:2107
#24 0x00007fc2bb43bd53 in QAbstractItemViewPrivate::executePostedLayout (this=0x1fffe30) at ../../include/QtWidgets/5.9.1/QtWidgets/private/../../../../../src/widgets/itemviews/qabstractitemview_p.h:229
#25 QTreeViewPrivate::updateScrollBars (this=0x1fffe30) at itemviews/qtreeview.cpp:3653
#26 0x00007fc2bb443b03 in QTreeView::updateGeometries (this=0x2001820) at itemviews/qtreeview.cpp:2827
#27 0x00007fc2bb3fed69 in QAbstractItemView::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qabstractitemview.cpp:418
#28 0x00007fc2ba873c19 in QMetaObject::activate (sender=sender@entry=0x203b500, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=8, argv=argv@entry=0x0) at kernel/qobject.cpp:3766
#29 0x00007fc2ba874527 in QMetaObject::activate (sender=sender@entry=0x203b500, m=m@entry=0x7fc2bb6a2280 <QHeaderView::staticMetaObject>, local_signal_index=local_signal_index@entry=8, argv=argv@entry=0x0) at kernel/qobject.cpp:3628
#30 0x00007fc2bb408803 in QHeaderView::geometriesChanged (this=this@entry=0x203b500) at .moc/moc_qheaderview.cpp:454
#31 0x00007fc2bb412cdd in QHeaderView::viewportEvent (this=0x203b500, e=0x7fff9532a2c0) at itemviews/qheaderview.cpp:2686
#32 0x00007fc2ba847502 in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x203adf0, event=event@entry=0x7fff9532a2c0) at kernel/qcoreapplication.cpp:1129
#33 0x00007fc2bb1b03d5 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x203adf0, e=0x7fff9532a2c0) at kernel/qapplication.cpp:3713
#34 0x00007fc2bb1b7e07 in QApplication::notify (this=0x7fff9532b110, receiver=0x203adf0, e=0x7fff9532a2c0) at kernel/qapplication.cpp:3476
#35 0x00007fc2ba847798 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x203adf0, event=event@entry=0x7fff9532a2c0) at kernel/qcoreapplication.cpp:1018
#36 0x00007fc2bb1ec8ca in QCoreApplication::sendEvent (event=0x7fff9532a2c0, receiver=0x203adf0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233
#37 QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8353
#38 0x00007fc2bb1ec8b2 in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8348
#39 0x00007fc2bb1ec8b2 in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8348
#40 0x00007fc2bb1ec8b2 in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8348
#41 0x00007fc2bb1ec8b2 in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8348
#42 0x00007fc2bb1ec8b2 in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8348
#43 0x00007fc2bb1ec8b2 in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8348
#44 0x00007fc2bb1ec8b2 in QWidgetPrivate::hideChildren (this=this@entry=0x1a71ca0, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8348
#45 0x00007fc2bb1ecb84 in QWidgetPrivate::hide_helper (this=this@entry=0x1a71ca0) at kernel/qwidget.cpp:8076
#46 0x00007fc2bb1f1388 in QWidget::setVisible (this=0x7fff9532b180, visible=<optimized out>) at kernel/qwidget.cpp:8267
#47 0x00007fc2bb1ecd88 in QWidgetPrivate::close_helper (this=0x1a71ca0, mode=QWidgetPrivate::CloseNoEvent) at kernel/qwidget.cpp:8396
#48 0x00007fc2bb1ed310 in QWidget::~QWidget (this=0x7fff9532b180, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1629
#49 0x00007fc2bd42eaa1 in KMainWindow::~KMainWindow (this=0x7fff9532b180, __in_chrg=<optimized out>) at /workspace/build/src/kmainwindow.cpp:393
#50 0x000000000044d2d7 in kt::GUI::~GUI (this=0x7fff9532b180, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /workspace/build/ktorrent/gui.cpp:128
#51 0x000000000043d00c in main (argc=1, argv=<optimized out>) at /workspace/build/ktorrent/main.cpp:212

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

Possible duplicates by query: bug 384476, bug 381268, bug 375933, bug 371395.

Reported using DrKonqi
Comment 1 Christoph Feck 2017-10-18 01:40:44 UTC

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