Bug 384476 - Ktorrent Crashes on shutdown
Summary: Ktorrent Crashes on shutdown
Status: RESOLVED DUPLICATE of bug 383127
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
: 385320 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-09-07 22:28 UTC by Timothy
Modified: 2017-12-10 13:57 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (17.83 KB, text/plain)
2017-09-11 16:31 UTC, Matt Whitlock
Details
valgrind.log (234.96 KB, text/plain)
2017-10-01 08:45 UTC, i.Dark_Templar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy 2017-09-07 22:28:01 UTC
Application: ktorrent (5.1.0)

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

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

I exited the application using the system tray icon. It seems to happen each and every time since KDE Neon updaged to the latest Ktorrent 17.08

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 0x7f43ef2d38c0 (LWP 24494))]

Thread 6 (Thread 0x7f43c796a700 (LWP 15742)):
#0  0x00007f43f0942d86 in pa_pstream_ref () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-8.0.so
#1  0x00007f43f0943781 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-8.0.so
#2  0x00007f43f094401a in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-8.0.so
#3  0x00007f43f5d950b7 in pa_mainloop_dispatch () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007f43f5d954bc in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007f43f5d95560 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007f43f5da37a9 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#7  0x00007f43f0954078 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-8.0.so
#8  0x00007f43f8b4a6ba in start_thread (arg=0x7f43c796a700) at pthread_create.c:333
#9  0x00007f43fca053dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f43c1feb700 (LWP 24657)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f43fd6188eb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x1b94650) at thread/qwaitcondition_unix.cpp:143
#2  QWaitCondition::wait (this=this@entry=0x1bb6ba8, mutex=mutex@entry=0x1bb6ba0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#3  0x00007f44012c2d13 in net::ReverseResolverThread::run (this=0x1bb6b90) at /workspace/build/src/net/reverseresolver.cpp:124
#4  0x00007f43fd617989 in QThreadPrivate::start (arg=0x1bb6b90) at thread/qthread_unix.cpp:368
#5  0x00007f43f8b4a6ba in start_thread (arg=0x7f43c1feb700) at pthread_create.c:333
#6  0x00007f43fca053dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f43e5427700 (LWP 24499)):
#0  __libc_enable_asynccancel () at ../sysdeps/unix/sysv/linux/x86_64/cancellation.S:65
#1  0x00007f43fc9f5242 in read () at ../sysdeps/unix/syscall-template.S:84
#2  0x00007f43f71246f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f43f70e0e74 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f43f70e1330 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f43f70e149c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f43fd84094b in QEventDispatcherGlib::processEvents (this=0x7f43dc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#7  0x00007f43fd7e97ca in QEventLoop::exec (this=this@entry=0x7f43e5426d00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#8  0x00007f43fd612cd4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#9  0x00007f43fd617989 in QThreadPrivate::start (arg=0xbd72b0) at thread/qthread_unix.cpp:368
#10 0x00007f43f8b4a6ba in start_thread (arg=0x7f43e5427700) at pthread_create.c:333
#11 0x00007f43fca053dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f43e6e39700 (LWP 24497)):
#0  0x00007f43fc9f970d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f43f70e138c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f43f70e149c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f43fd84094b in QEventDispatcherGlib::processEvents (this=0x7f43e00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f43fd7e97ca in QEventLoop::exec (this=this@entry=0x7f43e6e38cd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f43fd612cd4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#6  0x00007f43fe66bb75 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f43fd617989 in QThreadPrivate::start (arg=0x7f43fe6e1da0) at thread/qthread_unix.cpp:368
#8  0x00007f43f8b4a6ba in start_thread (arg=0x7f43e6e39700) at pthread_create.c:333
#9  0x00007f43fca053dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f43ec997700 (LWP 24496)):
#0  __lll_lock_wait_private () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:95
#1  0x00007f43fc97e2bd in _int_free (av=0x7f43fccc2b20 <main_arena>, p=0x233a570, have_lock=0) at malloc.c:3962
#2  0x00007f43fc98253c in __GI___libc_free (mem=mem@entry=0x233a580) at malloc.c:2968
#3  0x00007f44018c29b7 in __GI__dl_deallocate_tls (tcb=tcb@entry=0x7f43c6167700, dealloc_tcb=dealloc_tcb@entry=false) at dl-tls.c:560
#4  0x00007f43f8b4a5b6 in __free_stacks (limit=41943040) at allocatestack.c:284
#5  queue_stack (stack=0x7f43fc98253c <__GI___libc_free+76>) at allocatestack.c:312
#6  __deallocate_stack (pd=0x7f43fc98253c <__GI___libc_free+76>) at allocatestack.c:774
#7  __free_tcb (pd=pd@entry=0x7f43ec997700) at pthread_create.c:243
#8  0x00007f43f8b4a937 in start_thread (arg=0x7f43ec997700) at pthread_create.c:453
#9  0x00007f43fca053dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f43ef2d38c0 (LWP 24494)):
[KCrash Handler]
#6  0x00007f43fc933428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007f43fc93502a in __GI_abort () at abort.c:89
#8  0x00007f43fc9757ea in __libc_message (do_abort=2, fmt=fmt@entry=0x7f43fca8ee98 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#9  0x00007f43fc97edfb in malloc_printerr (ar_ptr=0x7f43fccc2b20 <main_arena>, ptr=0x252a460, str=0x7f43fca8bc35 "corrupted size vs. prev_size", action=3) at malloc.c:5006
#10 _int_free (av=0x7f43fccc2b20 <main_arena>, p=<optimized out>, have_lock=0) at malloc.c:4014
#11 0x00007f43fc98253c in __GI___libc_free (mem=<optimized out>) at malloc.c:2968
#12 0x00007f43fd618d91 in QArrayData::deallocate (data=<optimized out>, objectSize=objectSize@entry=2, alignment=alignment@entry=8) at tools/qarraydata.cpp:167
#13 0x00007f43fd8320d2 in QTypedArrayData<unsigned short>::deallocate (data=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:237
#14 QString::~QString (this=0x7ffe4f0dcdc0, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qstring.h:1084
#15 v_clear<QString> (d=0x7ffe4f0dcdc0) at ../../include/QtCore/5.9.1/QtCore/private/../../../../../src/corelib/kernel/qvariant_p.h:175
#16 QVariantDestructor<(anonymous namespace)::CoreTypesFilter>::FilteredDestructor<QString, true>::FilteredDestructor (this=<synthetic pointer>, d=0x7ffe4f0dcdc0) at ../../include/QtCore/5.9.1/QtCore/private/../../../../../src/corelib/kernel/qvariant_p.h:400
#17 QVariantDestructor<(anonymous namespace)::CoreTypesFilter>::delegate<QString> (this=<synthetic pointer>) at ../../include/QtCore/5.9.1/QtCore/private/../../../../../src/corelib/kernel/qvariant_p.h:426
#18 QMetaTypeSwitcher::switcher<void, QVariantDestructor<(anonymous namespace)::CoreTypesFilter> > (data=0x0, type=<optimized out>, logic=<synthetic pointer>) at ../../include/QtCore/5.9.1/QtCore/private/../../../../../src/corelib/kernel/qmetatypeswitcher_p.h:74
#19 (anonymous namespace)::clear (d=0x7ffe4f0dcdc0) at kernel/qvariant.cpp:120
#20 0x00007f43fe41c292 in QStyledItemDelegate::initStyleOption (this=0x13d4b00, option=0x7ffe4f0dcec0, index=...) at itemviews/qstyleditemdelegate.cpp:276
#21 0x00007f43fe41b63f in QStyledItemDelegate::sizeHint (this=0x13d4b00, option=..., index=...) at itemviews/qstyleditemdelegate.cpp:405
#22 0x00000000004c4574 in kt::ViewDelegate::sizeHint (this=<optimized out>, option=..., index=...) at /workspace/build/ktorrent/view/viewdelegate.cpp:190
#23 0x00007f43fe3dc511 in QTreeView::indexRowSizeHint (this=this@entry=0x12bbef0, index=...) at itemviews/qtreeview.cpp:2988
#24 0x00007f43fe3dcf86 in QTreeViewPrivate::layout (this=this@entry=0x12bc070, i=i@entry=-1, recursiveExpanding=recursiveExpanding@entry=false, afterIsUninitialized=afterIsUninitialized@entry=false) at itemviews/qtreeview.cpp:3322
#25 0x00007f43fe3e50b6 in QTreeView::doItemsLayout (this=0x12bbef0) at itemviews/qtreeview.cpp:2107
#26 0x00007f43fe3ded53 in QAbstractItemViewPrivate::executePostedLayout (this=0x12bc070) at ../../include/QtWidgets/5.9.1/QtWidgets/private/../../../../../src/widgets/itemviews/qabstractitemview_p.h:229
#27 QTreeViewPrivate::updateScrollBars (this=0x12bc070) at itemviews/qtreeview.cpp:3653
#28 0x00007f43fe3e6b03 in QTreeView::updateGeometries (this=0x12bbef0) at itemviews/qtreeview.cpp:2827
#29 0x00007f43fe3a1d69 in QAbstractItemView::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qabstractitemview.cpp:418
#30 0x00007f43fd817c19 in QMetaObject::activate (sender=sender@entry=0x13bfe40, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=8, argv=argv@entry=0x0) at kernel/qobject.cpp:3766
#31 0x00007f43fd818527 in QMetaObject::activate (sender=sender@entry=0x13bfe40, m=m@entry=0x7f43fe645280 <QHeaderView::staticMetaObject>, local_signal_index=local_signal_index@entry=8, argv=argv@entry=0x0) at kernel/qobject.cpp:3628
#32 0x00007f43fe3ab803 in QHeaderView::geometriesChanged (this=this@entry=0x13bfe40) at .moc/moc_qheaderview.cpp:454
#33 0x00007f43fe3b5cdd in QHeaderView::viewportEvent (this=0x13bfe40, e=0x7ffe4f0dd7d0) at itemviews/qheaderview.cpp:2686
#34 0x00007f43fd7eb502 in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x13bf960, event=event@entry=0x7ffe4f0dd7d0) at kernel/qcoreapplication.cpp:1129
#35 0x00007f43fe1533d5 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x13bf960, e=0x7ffe4f0dd7d0) at kernel/qapplication.cpp:3713
#36 0x00007f43fe15ae07 in QApplication::notify (this=0x7ffe4f0de620, receiver=0x13bf960, e=0x7ffe4f0dd7d0) at kernel/qapplication.cpp:3476
#37 0x00007f43fd7eb798 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x13bf960, event=event@entry=0x7ffe4f0dd7d0) at kernel/qcoreapplication.cpp:1018
#38 0x00007f43fe18f8ca in QCoreApplication::sendEvent (event=0x7ffe4f0dd7d0, receiver=0x13bf960) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233
#39 QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8353
#40 0x00007f43fe18f8b2 in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8348
#41 0x00007f43fe18f8b2 in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8348
#42 0x00007f43fe18f8b2 in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8348
#43 0x00007f43fe18f8b2 in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8348
#44 0x00007f43fe18f8b2 in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8348
#45 0x00007f43fe18f8b2 in QWidgetPrivate::hideChildren (this=<optimized out>, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8348
#46 0x00007f43fe18f8b2 in QWidgetPrivate::hideChildren (this=this@entry=0xbd7470, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8348
#47 0x00007f43fe18fb84 in QWidgetPrivate::hide_helper (this=this@entry=0xbd7470) at kernel/qwidget.cpp:8076
#48 0x00007f43fe194388 in QWidget::setVisible (this=0x7ffe4f0de690, visible=<optimized out>) at kernel/qwidget.cpp:8267
#49 0x00007f43fe18fd88 in QWidgetPrivate::close_helper (this=0xbd7470, mode=QWidgetPrivate::CloseNoEvent) at kernel/qwidget.cpp:8396
#50 0x00007f43fe190310 in QWidget::~QWidget (this=0x7ffe4f0de690, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1629
#51 0x00007f440040d691 in KMainWindow::~KMainWindow (this=0x7ffe4f0de690, __in_chrg=<optimized out>) at /workspace/build/src/kmainwindow.cpp:395
#52 0x000000000044d2d7 in kt::GUI::~GUI (this=0x7ffe4f0de690, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /workspace/build/ktorrent/gui.cpp:128
#53 0x000000000043d00c in main (argc=1, argv=<optimized out>) at /workspace/build/ktorrent/main.cpp:212

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

Reported using DrKonqi
Comment 1 Matt Whitlock 2017-09-11 16:31:35 UTC
Created attachment 107805 [details]
New crash information added by DrKonqi

ktorrent (5.1.0) using Qt 5.7.1

- What I was doing when the application crashed:

I was viewing the Files tree of a completed and stopped torrent when I quit the application via the File menu. This crash seems to be happening every time I quit KTorrent.

-- Backtrace (Reduced):
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#7  0x00007f946297abfa in __GI_abort () at abort.c:89
[...]
#9  0x00007f94629c33de in malloc_printerr (action=3, str=0x7f9462abbebb "corrupted double-linked list", ptr=<optimized out>, ar_ptr=<optimized out>) at malloc.c:5077
#10 0x00007f94629c44a6 in _int_free (av=0x7f9462cefae0 <main_arena>, p=0x22b9060, have_lock=0) at malloc.c:4012
#11 0x00000000004bc2ca in QTypedArrayData<unsigned short>::deallocate (data=<optimized out>) at /usr/include/qt5/QtCore/qarraydata.h:228
Comment 2 Nils 2017-09-22 09:50:07 UTC
Same here on Kubuntu 17.10

Application: ktorrent (5.1.0)

Qt Version: 5.9.1
Frameworks Version: 5.38.0
Operating System: Linux 4.13.0-11-generic x86_64
Distribution: Ubuntu Artful Aardvark (development branch)

-- Information about the crash:
<Erklären Sie bitte ganz genau, was Sie machten, als das Programm abstürzte.>

The crash can be reproduced every time.

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

Thread 16 (Thread 0x7f56c9ffb700 (LWP 24916)):
#0  0x00007f57380db047 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f57380dd59b in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f57380de05b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f57380de23c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f573ef1b41b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f573eec0dba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f573ece03ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f573ece529d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f573db4a7fc in start_thread (arg=0x7f56c9ffb700) at pthread_create.c:465
#9  0x00007f573e07aa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 15 (Thread 0x7f56ca7fc700 (LWP 24915)):
#0  0x00007f573e06e831 in __GI___poll (fds=0x7f56b4002de0, nfds=1, timeout=98200) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f57380de129 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f57380de23c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f573ef1b41b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f573eec0dba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f573ece03ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f573ece529d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f573db4a7fc in start_thread (arg=0x7f56ca7fc700) at pthread_create.c:465
#8  0x00007f573e07aa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 14 (Thread 0x7f56caffd700 (LWP 24914)):
#0  0x00007f573e06e831 in __GI___poll (fds=0x7f56c0002c80, nfds=1, timeout=98200) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f57380de129 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f57380de23c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f573ef1b41b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f573eec0dba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f573ece03ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f573ece529d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f573db4a7fc in start_thread (arg=0x7f56caffd700) at pthread_create.c:465
#8  0x00007f573e07aa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 13 (Thread 0x7f5717fff700 (LWP 24913)):
#0  0x00007f573e069f2d in __GI___libc_read (fd=21, buf=0x7f5717ffea90, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:26
#1  0x00007f5738122240 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f57380ddc0b in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f57380de0d0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f57380de23c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f573ef1b41b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f573eec0dba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f573ece03ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f573ece529d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f573db4a7fc in start_thread (arg=0x7f5717fff700) at pthread_create.c:465
#10 0x00007f573e07aa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12 (Thread 0x7f56cb7fe700 (LWP 24912)):
#0  0x00007f5738122233 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f57380ddc0b in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f57380de0d0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f57380de23c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f573ef1b41b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f573eec0dba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f573ece03ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f573ece529d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f573db4a7fc in start_thread (arg=0x7f56cb7fe700) at pthread_create.c:465
#9  0x00007f573e07aa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7f56cbfff700 (LWP 24911)):
#0  0x00007f573e06e831 in __GI___poll (fds=0x7f56c40029e0, nfds=1, timeout=98201) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f57380de129 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f57380de23c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f573ef1b41b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f573eec0dba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f573ece03ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f573ece529d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f573db4a7fc in start_thread (arg=0x7f56cbfff700) at pthread_create.c:465
#8  0x00007f573e07aa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7f56f0b87700 (LWP 24910)):
#0  0x00007f57380daff0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f57380dd59b in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f57380de05b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f57380de23c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f573ef1b41b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f573eec0dba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f573ece03ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f573ece529d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f573db4a7fc in start_thread (arg=0x7f56f0b87700) at pthread_create.c:465
#9  0x00007f573e07aa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f56f1388700 (LWP 24909)):
#0  0x00007f573e069f2d in __GI___libc_read (fd=24, buf=0x7f56f1387a90, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:26
#1  0x00007f5738122240 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f57380ddc0b in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f57380de0d0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f57380de23c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f573ef1b41b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f573eec0dba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f573ece03ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f573ece529d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f573db4a7fc in start_thread (arg=0x7f56f1388700) at pthread_create.c:465
#10 0x00007f573e07aa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f5709c87700 (LWP 24908)):
#0  0x00007f573e06e831 in __GI___poll (fds=0x7f57180029e0, nfds=1, timeout=98205) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f57380de129 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f57380de23c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f573ef1b41b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f573eec0dba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f573ece03ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f573ece529d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f573db4a7fc in start_thread (arg=0x7f5709c87700) at pthread_create.c:465
#8  0x00007f573e07aa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f570a4a1700 (LWP 24907)):
#0  0x00007f5738123570 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f57380dd673 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f57380de05b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f57380de23c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f573ef1b41b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f573eec0dba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f573ece03ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f573ece529d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f573db4a7fc in start_thread (arg=0x7f570a4a1700) at pthread_create.c:465
#9  0x00007f573e07aa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f5708c9e700 (LWP 24906)):
#0  0x00007f573e06e831 in __GI___poll (fds=0x7f56fc00d450, nfds=1, timeout=98568) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f57380de129 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f57380de23c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f573ef1b41b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f573eec0dba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f573ece03ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f573ece529d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f573db4a7fc in start_thread (arg=0x7f5708c9e700) at pthread_create.c:465
#8  0x00007f573e07aa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f570b4a3700 (LWP 24853)):
#0  0x00007f573e069f2d in __GI___libc_read (fd=59, buf=0x7f570b4a2aee, nbytes=10) at ../sysdeps/unix/sysv/linux/read.c:26
#1  0x00007f5731375e41 in pa_read () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-10.0.so
#2  0x00007f57365a59fe in pa_mainloop_prepare () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007f57365a6470 in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007f57365a6530 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007f57365b4399 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007f57313a4ed8 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-10.0.so
#7  0x00007f573db4a7fc in start_thread (arg=0x7f570b4a3700) at pthread_create.c:465
#8  0x00007f573e07aa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f570aca2700 (LWP 24790)):
#0  0x00007f573db51072 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55cfbe99aa30) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55cfbe99a9e0, cond=0x55cfbe99aa08) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55cfbe99aa08, mutex=0x55cfbe99a9e0) at pthread_cond_wait.c:655
#3  0x00007f573ece66cb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f5743712413 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Torrent.so.6
#5  0x00007f573ece529d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f573db4a7fc in start_thread (arg=0x7f570aca2700) at pthread_create.c:465
#7  0x00007f573e07aa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f5725013700 (LWP 24750)):
#0  0x00007f573e06e831 in __GI___poll (fds=0x7f571c002de0, nfds=1, timeout=9200) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f57380de129 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f57380de23c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f573ef1b41b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f573eec0dba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f573ece03ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f573ece529d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f573db4a7fc in start_thread (arg=0x7f5725013700) at pthread_create.c:465
#8  0x00007f573e07aa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f5726a25700 (LWP 24748)):
#0  0x00007f573ef1b324 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#1  0x00007f57380dd668 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f57380de05b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f57380de23c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f573ef1b41b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f573eec0dba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f573ece03ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f5740342e45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f573ece529d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f573db4a7fc in start_thread (arg=0x7f5726a25700) at pthread_create.c:465
#10 0x00007f573e07aa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f57440c1900 (LWP 24746)):
[KCrash Handler]
#6  0x000055cfbd54c5c1 in ?? ()
#7  0x00007f573ff021ac in QStyledItemDelegate::initStyleOption(QStyleOptionViewItem*, QModelIndex const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007f573ff016ac in QStyledItemDelegate::sizeHint(QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007f573fec3b7a in QTreeView::indexRowSizeHint(QModelIndex const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007f573fec44ee in QTreeViewPrivate::layout(int, bool, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f573fecc4ae in QTreeView::doItemsLayout() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007f573fec6cb5 in QTreeViewPrivate::updateScrollBars() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f573fecdff8 in QTreeView::updateGeometries() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007f573fc7e962 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007f573fd5d2ce in QFrame::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007f573fe8ec3b in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007f573feccd0c in QTreeView::viewportEvent(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007f573eec2a4c in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f573fc3d445 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007f573fc44d34 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007f573eec2d68 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f573fc76ebb in QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007f573fc7ac93 in QWidgetPrivate::show_helper() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007f573fc7d95b in QWidget::setVisible(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007f573fc7ac00 in QWidgetPrivate::showChildren(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007f573fc7acaf in QWidgetPrivate::show_helper() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007f573fc7d95b in QWidget::setVisible(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007f573fc7ac00 in QWidgetPrivate::showChildren(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007f573fc7acaf in QWidgetPrivate::show_helper() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007f573fc7abae in QWidgetPrivate::showChildren(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x00007f573fc7acaf in QWidgetPrivate::show_helper() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x00007f573fc7d95b in QWidget::setVisible(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#33 0x00007f5743ac362d in kt::TabBarWidget::unshrink() () from /usr/lib/x86_64-linux-gnu/libktcore.so.16
#34 0x00007f573eef197f in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007f5743acd27f in ?? () from /usr/lib/x86_64-linux-gnu/libktcore.so.16
#36 0x00007f573eef197f in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#37 0x00007f573fc36e02 in QAction::toggled(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#38 0x00007f573fc3935c in QAction::setChecked(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#39 0x00007f570c6c5368 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/ktorrent/ktorrent_infowidget.so
#40 0x00007f5743ac4f36 in kt::PluginManager::unloadAll() () from /usr/lib/x86_64-linux-gnu/libktcore.so.16
#41 0x000055cfbd51afed in ?? ()
#42 0x00007f573eef197f in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#43 0x00007f573eec1597 in QCoreApplication::aboutToQuit(QCoreApplication::QPrivateSignal) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#44 0x00007f573eec5a9b in QCoreApplicationPrivate::execCleanup() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#45 0x00007f573eec9d3d in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#46 0x000055cfbd51802a in ?? ()
#47 0x00007f573df871c1 in __libc_start_main (main=0x55cfbd515d60, argc=1, argv=0x7ffe38b38a28, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe38b38a18) at ../csu/libc-start.c:308
#48 0x000055cfbd518a0a in _start ()

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

Possible duplicates by query: bug 384476, bug 384299, bug 383127, bug 372765, bug 369352.
Comment 3 i.Dark_Templar 2017-10-01 08:45:52 UTC
Created attachment 108116 [details]
valgrind.log

I've hit same issue after an upgrade from ktorrent-5.0.1 to ktorrent-5.1.0.

I've ran it with valgrind and found a lot of memory errors after following message:

вс окт. 1 00:53:16 2017: Qt Warning: 0x2e7b6590 deleted without having been removed from the factory first. This will leak standalone popupmenus and could lead to crashes.
Warning: 0x2e7b6590 deleted without having been removed from the factory first. This will leak standalone popupmenus and could lead to crashes.

There's a lot of errors related to core.cpp:879 in valgrind log. This line contains following code:
qman->clear();

And here's backtrace of crash:
Thread 1 "ktorrent" received signal SIGABRT, Aborted.
0x00007ffff2f620d8 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
54      ../sysdeps/unix/sysv/linux/raise.c: Нет такого файла или каталога.
(gdb) bt
#0  0x00007ffff2f620d8 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#1  0x00007ffff2f6355a in __GI_abort () at abort.c:89
#2  0x00007ffff2f9ee60 in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7ffff3093220 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#3  0x00007ffff2fa46d6 in malloc_printerr (action=3, str=0x7ffff3093628 "malloc(): memory corruption (fast)", ptr=<optimized out>, ar_ptr=<optimized out>) at malloc.c:5004
#4  0x00007ffff2fa6a36 in _int_malloc (av=av@entry=0x7ffff32c2b00 <main_arena>, bytes=bytes@entry=120) at malloc.c:3384
#5  0x00007ffff2fa8474 in __GI___libc_malloc (bytes=120) at malloc.c:2911
#6  0x00007ffff3c79aa0 in QArrayData::allocate(unsigned long, unsigned long, unsigned long, QFlags<QArrayData::AllocationOption>) () from /usr/lib64/libQt5Core.so.5
#7  0x00007ffff4186ecf in ?? () from /usr/lib64/libQt5Gui.so.5
#8  0x00007ffff41fc6b9 in QTextEngine::shapeText(int) const () from /usr/lib64/libQt5Gui.so.5
#9  0x00007ffff41fcfad in QTextEngine::shape(int) const () from /usr/lib64/libQt5Gui.so.5
#10 0x00007ffff420e4fb in QTextLine::layout_helper(int) () from /usr/lib64/libQt5Gui.so.5
#11 0x00007ffff420f24b in QTextLine::setLineWidth(double) () from /usr/lib64/libQt5Gui.so.5
#12 0x00007ffff46b73f1 in ?? () from /usr/lib64/libQt5Widgets.so.5
#13 0x00007ffff46b8e47 in ?? () from /usr/lib64/libQt5Widgets.so.5
#14 0x00007ffff46b9761 in ?? () from /usr/lib64/libQt5Widgets.so.5
#15 0x00007ffff46ba04e in QCommonStyle::sizeFromContents(QStyle::ContentsType, QStyleOption const*, QSize const&, QWidget const*) const () from 
/usr/lib64/libQt5Widgets.so.5
#16 0x00007ffff4725123 in ?? () from /usr/lib64/libQt5Widgets.so.5
#17 0x00007ffff4910cc3 in QStyledItemDelegate::sizeHint(QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib64/libQt5Widgets.so.5
#18 0x00000000004c6e04 in kt::ViewDelegate::sizeHint (this=<optimized out>, option=..., index=...)
    at /var/tmp/portage/net-p2p/ktorrent-5.1.0/work/ktorrent-5.1.0/ktorrent/view/viewdelegate.cpp:190
#19 0x00007ffff48c9f1c in QTreeView::indexRowSizeHint(QModelIndex const&) const () from /usr/lib64/libQt5Widgets.so.5
#20 0x00007ffff48caa8d in QTreeViewPrivate::layout(int, bool, bool) () from /usr/lib64/libQt5Widgets.so.5
#21 0x00007ffff48d2ea6 in QTreeView::doItemsLayout() () from /usr/lib64/libQt5Widgets.so.5
#22 0x00007ffff48cc853 in QTreeViewPrivate::updateScrollBars() () from /usr/lib64/libQt5Widgets.so.5
#23 0x00007ffff48d49a3 in QTreeView::updateGeometries() () from /usr/lib64/libQt5Widgets.so.5
#24 0x00007ffff488de79 in ?? () from /usr/lib64/libQt5Widgets.so.5
#25 0x00007ffff3e377e7 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#26 0x00007ffff48a1ebd in QHeaderView::viewportEvent(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#27 0x00007ffff3e1116d in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#28 0x00007ffff4640aa5 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#29 0x00007ffff464846e in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#30 0x00007ffff3e113aa in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#31 0x00007ffff4682b7a in QWidgetPrivate::hideChildren(bool) () from /usr/lib64/libQt5Widgets.so.5
#32 0x00007ffff4682b62 in QWidgetPrivate::hideChildren(bool) () from /usr/lib64/libQt5Widgets.so.5
#33 0x00007ffff4682b62 in QWidgetPrivate::hideChildren(bool) () from /usr/lib64/libQt5Widgets.so.5
#34 0x00007ffff4682b62 in QWidgetPrivate::hideChildren(bool) () from /usr/lib64/libQt5Widgets.so.5
#35 0x00007ffff4682b62 in QWidgetPrivate::hideChildren(bool) () from /usr/lib64/libQt5Widgets.so.5
#36 0x00007ffff4682b62 in QWidgetPrivate::hideChildren(bool) () from /usr/lib64/libQt5Widgets.so.5
#37 0x00007ffff4682b62 in QWidgetPrivate::hideChildren(bool) () from /usr/lib64/libQt5Widgets.so.5
#38 0x00007ffff4682b62 in QWidgetPrivate::hideChildren(bool) () from /usr/lib64/libQt5Widgets.so.5
#39 0x00007ffff4682e34 in QWidgetPrivate::hide_helper() () from /usr/lib64/libQt5Widgets.so.5
#40 0x00007ffff46876b0 in QWidget::setVisible(bool) () from /usr/lib64/libQt5Widgets.so.5
#41 0x00007ffff4683038 in QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) () from /usr/lib64/libQt5Widgets.so.5
#42 0x00007ffff46835a8 in QWidget::~QWidget() () from /usr/lib64/libQt5Widgets.so.5
#43 0x00007ffff691a541 in KMainWindow::~KMainWindow() () from /usr/lib64/libKF5XmlGui.so.5
#44 0x000000000044dc97 in kt::GUI::~GUI (this=0x7fffffffd9c0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>)
    at /var/tmp/portage/net-p2p/ktorrent-5.1.0/work/ktorrent-5.1.0/ktorrent/gui.cpp:128
#45 0x000000000043d4fc in main (argc=1, argv=<optimized out>) at /var/tmp/portage/net-p2p/ktorrent-5.1.0/work/ktorrent-5.1.0/ktorrent/main.cpp:212
Comment 4 Christoph Feck 2017-10-18 01:40:44 UTC
*** Bug 385320 has been marked as a duplicate of this bug. ***
Comment 5 Andrius Štikonas 2017-12-10 13:57:04 UTC

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