Bug 417802 - "System Settings" crashed when I clicked on the "Close" button.
Summary: "System Settings" crashed when I clicked on the "Close" button.
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 5.18.0
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-02-17 21:45 UTC by Thomas Cicciu
Modified: 2020-02-18 18:36 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.68
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Cicciu 2020-02-17 21:45:20 UTC
Application: systemsettings5 (5.18.0)

Qt Version: 5.13.2
Frameworks Version: 5.67.0
Operating System: Linux 5.3.0-40-generic x86_64
Windowing system: X11
Distribution: KDE neon User Edition 5.18

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

I just clicked on the "Close" button because I was done. I had just changed the theme of the icons.

-- Backtrace:
Application: Configuration du système (systemsettings5), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f514678f800 (LWP 4063))]

Thread 12 (Thread 0x7f50f98bc700 (LWP 4128)):
#0  0x00007f5141cd80b4 in __GI___libc_read (fd=38, buf=0x7f50f98bbb20, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f513b3d02d0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f513b38b0b7 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f513b38b570 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f513b38b6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f514262facb in QEventDispatcherGlib::processEvents (this=0x7f50e4004b10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f51425cff9a in QEventLoop::exec (this=this@entry=0x7f50f98bbd30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#7  0x00007f51423eb3aa in QThread::exec (this=this@entry=0x55825411dae0) at thread/qthread.cpp:531
#8  0x00007f5140442ac6 in QQuickPixmapReader::run (this=0x55825411dae0) at util/qquickpixmapcache.cpp:962
#9  0x00007f51423ecb52 in QThreadPrivate::start (arg=0x55825411dae0) at thread/qthread_unix.cpp:360
#10 0x00007f513d74a6db in start_thread (arg=0x7f50f98bc700) at pthread_create.c:463
#11 0x00007f5141ce988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7f50fadfe700 (LWP 4127)):
#0  0x00007f513d7509f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x558253af9b24) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x558253af9ad0, cond=0x558253af9af8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x558253af9af8, mutex=0x558253af9ad0) at pthread_cond_wait.c:655
#3  0x00007f51423f3aeb in QWaitConditionPrivate::wait (deadline=..., this=0x558253af9ad0) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=<optimized out>, mutex=0x5582536e1dd0, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f51423f3df9 in QWaitCondition::wait (this=this@entry=0x5582536e1dd8, mutex=mutex@entry=0x5582536e1dd0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#6  0x00007f51404c8ec8 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x5582536e1dc8) at scenegraph/qsgthreadedrenderloop.cpp:245
#7  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x5582536e1d50) at scenegraph/qsgthreadedrenderloop.cpp:710
#8  0x00007f51404c92fa in QSGRenderThread::run (this=0x5582536e1d50) at scenegraph/qsgthreadedrenderloop.cpp:739
#9  0x00007f51423ecb52 in QThreadPrivate::start (arg=0x5582536e1d50) at thread/qthread_unix.cpp:360
#10 0x00007f513d74a6db in start_thread (arg=0x7f50fadfe700) at pthread_create.c:463
#11 0x00007f5141ce988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7f50eb7fe700 (LWP 4123)):
#0  0x00007f5141cd80b4 in __GI___libc_read (fd=27, buf=0x7f50eb7fdb70, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f513b3d02d0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f513b38b0b7 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f513b38b570 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f513b38b6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f514262facb in QEventDispatcherGlib::processEvents (this=0x7f50d80954d0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f51425cff9a in QEventLoop::exec (this=this@entry=0x7f50eb7fdd80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#7  0x00007f51423eb3aa in QThread::exec (this=this@entry=0x55825093e180) at thread/qthread.cpp:531
#8  0x00007f513ff70815 in QQmlThreadPrivate::run (this=0x55825093e180) at qml/ftw/qqmlthread.cpp:152
#9  0x00007f51423ecb52 in QThreadPrivate::start (arg=0x55825093e180) at thread/qthread_unix.cpp:360
#10 0x00007f513d74a6db in start_thread (arg=0x7f50eb7fe700) at pthread_create.c:463
#11 0x00007f5141ce988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f50ebfff700 (LWP 4078)):
#0  0x00007f5141cdcbf9 in __GI___poll (fds=0x7f50e001c000, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f513b38b5c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f513b38b6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f514262facb in QEventDispatcherGlib::processEvents (this=0x7f50e0000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f51425cff9a in QEventLoop::exec (this=this@entry=0x7f50ebffeda0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007f51423eb3aa in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#6  0x00007f51423ecb52 in QThreadPrivate::start (arg=0x558254878ab0) at thread/qthread_unix.cpp:360
#7  0x00007f513d74a6db in start_thread (arg=0x7f50ebfff700) at pthread_create.c:463
#8  0x00007f5141ce988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f50fa0bd700 (LWP 4076)):
#0  0x00007f513b3d1664 in g_mutex_unlock () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f513b38adc9 in g_main_context_query () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f513b38b547 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f513b38b6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f514262facb in QEventDispatcherGlib::processEvents (this=0x7f50f0000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f51425cff9a in QEventLoop::exec (this=this@entry=0x7f50fa0bcda0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#6  0x00007f51423eb3aa in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#7  0x00007f51423ecb52 in QThreadPrivate::start (arg=0x55825379f320) at thread/qthread_unix.cpp:360
#8  0x00007f513d74a6db in start_thread (arg=0x7f50fa0bd700) at pthread_create.c:463
#9  0x00007f5141ce988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f50fbf9b700 (LWP 4074)):
#0  0x00007f5141cd80b4 in __GI___libc_read (fd=28, buf=0x7f50fbf9ab90, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f513b3d02d0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f513b38b0b7 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f513b38b570 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f513b38b6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f514262facb in QEventDispatcherGlib::processEvents (this=0x7f50f4000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f51425cff9a in QEventLoop::exec (this=this@entry=0x7f50fbf9ada0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#7  0x00007f51423eb3aa in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#8  0x00007f51423ecb52 in QThreadPrivate::start (arg=0x5582539992e0) at thread/qthread_unix.cpp:360
#9  0x00007f513d74a6db in start_thread (arg=0x7f50fbf9b700) at pthread_create.c:463
#10 0x00007f5141ce988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f51103f5700 (LWP 4070)):
#0  0x00007f5141cd80b4 in __GI___libc_read (fd=22, buf=0x7f51103f4b70, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f513b3d02d0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f513b38b0b7 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f513b38b570 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f513b38b6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f514262facb in QEventDispatcherGlib::processEvents (this=0x7f5108000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f51425cff9a in QEventLoop::exec (this=this@entry=0x7f51103f4d80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#7  0x00007f51423eb3aa in QThread::exec (this=this@entry=0x55824da52db0) at thread/qthread.cpp:531
#8  0x00007f513ff70815 in QQmlThreadPrivate::run (this=0x55824da52db0) at qml/ftw/qqmlthread.cpp:152
#9  0x00007f51423ecb52 in QThreadPrivate::start (arg=0x55824da52db0) at thread/qthread_unix.cpp:360
#10 0x00007f513d74a6db in start_thread (arg=0x7f51103f5700) at pthread_create.c:463
#11 0x00007f5141ce988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f5118e81700 (LWP 4069)):
#0  0x00007f5141cdcbf9 in __GI___poll (fds=0x7f5114004a00, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f513b38b5c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f513b38b6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f514262facb in QEventDispatcherGlib::processEvents (this=0x7f5114000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f51425cff9a in QEventLoop::exec (this=this@entry=0x7f5118e80d80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007f51423eb3aa in QThread::exec (this=this@entry=0x55824d7cb7d0) at thread/qthread.cpp:531
#6  0x00007f513ff70815 in QQmlThreadPrivate::run (this=0x55824d7cb7d0) at qml/ftw/qqmlthread.cpp:152
#7  0x00007f51423ecb52 in QThreadPrivate::start (arg=0x55824d7cb7d0) at thread/qthread_unix.cpp:360
#8  0x00007f513d74a6db in start_thread (arg=0x7f5118e81700) at pthread_create.c:463
#9  0x00007f5141ce988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f5122924700 (LWP 4067)):
#0  0x00007f513d7509f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55824d54ed38) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55824d54ece8, cond=0x55824d54ed10) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55824d54ed10, mutex=0x55824d54ece8) at pthread_cond_wait.c:655
#3  0x00007f5123640ebb in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f5123640ab7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f513d74a6db in start_thread (arg=0x7f5122924700) at pthread_create.c:463
#6  0x00007f5141ce988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f512b557700 (LWP 4066)):
#0  0x00007f5141cdcbf9 in __GI___poll (fds=0x7f5124013d30, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f513b38b5c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f513b38b6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f514262facb in QEventDispatcherGlib::processEvents (this=0x7f5124000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f51425cff9a in QEventLoop::exec (this=this@entry=0x7f512b556d70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007f51423eb3aa in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#6  0x00007f5142aa60e5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f51423ecb52 in QThreadPrivate::start (arg=0x7f5142d1dd80) at thread/qthread_unix.cpp:360
#8  0x00007f513d74a6db in start_thread (arg=0x7f512b557700) at pthread_create.c:463
#9  0x00007f5141ce988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f513366a700 (LWP 4065)):
#0  0x00007f5141cdcbf9 in __GI___poll (fds=0x7f5133669ca8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f513d30e747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f513d31036a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f513644fe10 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f51423ecb52 in QThreadPrivate::start (arg=0x55824d390c80) at thread/qthread_unix.cpp:360
#5  0x00007f513d74a6db in start_thread (arg=0x7f513366a700) at pthread_create.c:463
#6  0x00007f5141ce988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f514678f800 (LWP 4063)):
[KCrash Handler]
#6  0x0000000000000020 in ?? ()
#7  0x00007f510c91761f in qDeleteAll<QHash<QString, KNSCore::CommentsModel*>::const_iterator> (end=..., begin=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:320
#8  qDeleteAll<QHash<QString, KNSCore::CommentsModel*> > (c=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:328
#9  ItemsModel::Private::~Private (this=0x55825379e930, __in_chrg=<optimized out>) at ./src/qtquick/quickitemsmodel.cpp:45
#10 ItemsModel::~ItemsModel (this=0x55825493f680, __in_chrg=<optimized out>) at ./src/qtquick/quickitemsmodel.cpp:98
#11 0x00007f510c91319b in QQmlPrivate::QQmlElement<ItemsModel>::~QQmlElement (this=0x55825493f680, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:108
#12 QQmlPrivate::QQmlElement<ItemsModel>::~QQmlElement (this=0x55825493f680, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:108
#13 0x00007f51426003ab in QObjectPrivate::deleteChildren (this=this@entry=0x558256927a70) at kernel/qobject.cpp:2019
#14 0x00007f514260a043 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1032
#15 0x00007f514050e20b in QQuickItem::~QQuickItem (this=0x55825886cc30, __in_chrg=<optimized out>) at items/qquickitem.cpp:2383
#16 0x00007f514052e535 in QQmlPrivate::QQmlElement<QQuickGridView>::~QQmlElement (this=0x55825886cc30, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:108
#17 QQmlPrivate::QQmlElement<QQuickGridView>::~QQmlElement (this=0x55825886cc30, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:108
#18 0x00007f51426003ab in QObjectPrivate::deleteChildren (this=this@entry=0x558254a80ce0) at kernel/qobject.cpp:2019
#19 0x00007f514260a043 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1032
#20 0x00007f514050e20b in QQuickItem::~QQuickItem (this=0x558256548b50, __in_chrg=<optimized out>) at items/qquickitem.cpp:2383
#21 0x00007f511187fbcd in QQuickScrollView::~QQuickScrollView (this=0x558256548b50, __in_chrg=<optimized out>) at ../../../include/QtQuickTemplates2/5.13.2/QtQuickTemplates2/private/../../../../../src/quicktemplates2/qquickscrollview_p.h:58
#22 QQmlPrivate::QQmlElement<QQuickScrollView>::~QQmlElement (this=0x558256548b50, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:108
#23 QQmlPrivate::QQmlElement<QQuickScrollView>::~QQmlElement (this=0x558256548b50, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:108
#24 0x00007f51426003ab in QObjectPrivate::deleteChildren (this=this@entry=0x558254cc70b0) at kernel/qobject.cpp:2019
#25 0x00007f514260a043 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1032
#26 0x00007f514050e20b in QQuickItem::~QQuickItem (this=0x558254dfd9a0, __in_chrg=<optimized out>) at items/qquickitem.cpp:2383
#27 0x00007f5111880155 in QQmlPrivate::QQmlElement<QQuickPage>::~QQmlElement (this=0x558254dfd9a0, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:108
#28 QQmlPrivate::QQmlElement<QQuickPage>::~QQmlElement (this=0x558254dfd9a0, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:108
#29 0x00007f51426003ab in QObjectPrivate::deleteChildren (this=this@entry=0x5582537633a0) at kernel/qobject.cpp:2019
#30 0x00007f514260a043 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1032
#31 0x00007f514050e20b in QQuickItem::~QQuickItem (this=0x558253b37dd0, __in_chrg=<optimized out>) at items/qquickitem.cpp:2383
#32 0x00007f511187eac5 in QQmlPrivate::QQmlElement<QQuickControl>::~QQmlElement (this=0x558253b37dd0, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:108
#33 QQmlPrivate::QQmlElement<QQuickControl>::~QQmlElement (this=0x558253b37dd0, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:108
#34 0x00007f51426003ab in QObjectPrivate::deleteChildren (this=this@entry=0x558253a3c0d0) at kernel/qobject.cpp:2019
#35 0x00007f514260a043 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1032
#36 0x00007f514050e20b in QQuickItem::~QQuickItem (this=0x5582539956a0, __in_chrg=<optimized out>) at items/qquickitem.cpp:2383
#37 0x00007f514052ec35 in QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement (this=0x5582539956a0, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:108
#38 QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement (this=0x5582539956a0, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:108
#39 0x00007f51426003ab in QObjectPrivate::deleteChildren (this=this@entry=0x5582568667f0) at kernel/qobject.cpp:2019
#40 0x00007f514260a043 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1032
#41 0x00007f514050e20b in QQuickItem::~QQuickItem (this=0x558254e48bb0, __in_chrg=<optimized out>) at items/qquickitem.cpp:2383
#42 0x00007f514052eb9d in QQuickRectangle::~QQuickRectangle (this=0x558254e48bb0, __in_chrg=<optimized out>) at items/qquickrectangle_p.h:156
#43 QQmlPrivate::QQmlElement<QQuickRectangle>::~QQmlElement (this=0x558254e48bb0, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:108
#44 QQmlPrivate::QQmlElement<QQuickRectangle>::~QQmlElement (this=0x558254e48bb0, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:108
#45 0x00007f51426003ab in QObjectPrivate::deleteChildren (this=this@entry=0x558258dea430) at kernel/qobject.cpp:2019
#46 0x00007f514260a043 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1032
#47 0x00007f510cb444ab in QQmlPrivate::QQmlElement<QQuickDialog1>::~QQmlElement (this=0x558253c1c7c0, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:108
#48 QQmlPrivate::QQmlElement<QQuickDialog1>::~QQmlElement (this=0x558253c1c7c0, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:108
#49 0x00007f51426003ab in QObjectPrivate::deleteChildren (this=this@entry=0x558258a33310) at kernel/qobject.cpp:2019
#50 0x00007f514260a043 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1032
#51 0x00007f514050e20b in QQuickItem::~QQuickItem (this=0x55825927f670, __in_chrg=<optimized out>) at items/qquickitem.cpp:2383
#52 0x00007f511187ddcd in QQuickButton::~QQuickButton (this=0x55825927f670, __in_chrg=<optimized out>) at ../../../include/QtQuickTemplates2/5.13.2/QtQuickTemplates2/private/../../../../../src/quicktemplates2/qquickbutton_p.h:57
#53 QQmlPrivate::QQmlElement<QQuickButton>::~QQmlElement (this=0x55825927f670, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:108
#54 QQmlPrivate::QQmlElement<QQuickButton>::~QQmlElement (this=0x55825927f670, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:108
#55 0x00007f51426003ab in QObjectPrivate::deleteChildren (this=this@entry=0x5582547fb740) at kernel/qobject.cpp:2019
#56 0x00007f514260a043 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1032
#57 0x00007f514050e20b in QQuickItem::~QQuickItem (this=0x558253b756f0, __in_chrg=<optimized out>) at items/qquickitem.cpp:2383
#58 0x00007f5111ad3c68 in QQuickLayout::~QQuickLayout (this=0x558253b756f0, __in_chrg=<optimized out>) at qquicklayout.cpp:716
#59 0x00007f5111acf5f0 in QQuickLinearLayout::~QQuickLinearLayout (this=0x558253b756f0, __in_chrg=<optimized out>) at qquicklinearlayout_p.h:191
#60 QQuickRowLayout::~QQuickRowLayout (this=0x558253b756f0, __in_chrg=<optimized out>) at qquicklinearlayout_p.h:223
#61 QQmlPrivate::QQmlElement<QQuickRowLayout>::~QQmlElement (this=0x558253b756f0, __in_chrg=<optimized out>) at ../../../include/QtQml/../../src/qml/qml/qqmlprivate.h:108
#62 QQmlPrivate::QQmlElement<QQuickRowLayout>::~QQmlElement (this=0x558253b756f0, __in_chrg=<optimized out>) at ../../../include/QtQml/../../src/qml/qml/qqmlprivate.h:108
#63 0x00007f51426003ab in QObjectPrivate::deleteChildren (this=this@entry=0x5582564a3da0) at kernel/qobject.cpp:2019
#64 0x00007f514260a043 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1032
#65 0x00007f514050e20b in QQuickItem::~QQuickItem (this=0x558256981c50, __in_chrg=<optimized out>) at items/qquickitem.cpp:2383
#66 0x00007f5111ad3c68 in QQuickLayout::~QQuickLayout (this=0x558256981c50, __in_chrg=<optimized out>) at qquicklayout.cpp:716
#67 0x00007f5111acf730 in QQuickLinearLayout::~QQuickLinearLayout (this=0x558256981c50, __in_chrg=<optimized out>) at qquicklinearlayout_p.h:191
#68 QQuickColumnLayout::~QQuickColumnLayout (this=0x558256981c50, __in_chrg=<optimized out>) at qquicklinearlayout_p.h:238
#69 QQmlPrivate::QQmlElement<QQuickColumnLayout>::~QQmlElement (this=0x558256981c50, __in_chrg=<optimized out>) at ../../../include/QtQml/../../src/qml/qml/qqmlprivate.h:108
#70 QQmlPrivate::QQmlElement<QQuickColumnLayout>::~QQmlElement (this=0x558256981c50, __in_chrg=<optimized out>) at ../../../include/QtQml/../../src/qml/qml/qqmlprivate.h:108
#71 0x00007f51426003ab in QObjectPrivate::deleteChildren (this=this@entry=0x558253788ab0) at kernel/qobject.cpp:2019
#72 0x00007f514260a043 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1032
#73 0x00007f514050e20b in QQuickItem::~QQuickItem (this=0x5582567e0820, __in_chrg=<optimized out>) at items/qquickitem.cpp:2383
#74 0x00007f5111880155 in QQmlPrivate::QQmlElement<QQuickPage>::~QQmlElement (this=0x5582567e0820, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:108
#75 QQmlPrivate::QQmlElement<QQuickPage>::~QQmlElement (this=0x5582567e0820, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:108
#76 0x00007f5140bd5e8c in KDeclarative::QmlObjectPrivate::~QmlObjectPrivate (this=0x558256afb620, __in_chrg=<optimized out>) at ./src/kdeclarative/qmlobject.cpp:71
#77 KDeclarative::QmlObject::~QmlObject (this=0x558253b9ab80, __in_chrg=<optimized out>) at ./src/kdeclarative/qmlobject.cpp:199
#78 0x00007f5140bd69c9 in KDeclarative::QmlObjectSharedEngine::~QmlObjectSharedEngine (this=0x558253b9ab80, __in_chrg=<optimized out>) at ./src/kdeclarative/qmlobjectsharedengine.cpp:76
#79 0x00007f5145c56e81 in KQuickAddons::ConfigModule::~ConfigModule (this=0x558253dee5d0, __in_chrg=<optimized out>) at ./src/quickaddons/configmodule.cpp:117
#80 0x00007f510d5849b9 in IconModule::~IconModule (this=0x558253dee5d0, __in_chrg=<optimized out>) at ./kcms/icons/main.cpp:100
#81 0x00007f514616c820 in std::default_delete<KQuickAddons::ConfigModule>::operator() (this=<optimized out>, __ptr=<optimized out>) at /usr/include/c++/7/bits/unique_ptr.h:78
#82 std::unique_ptr<KQuickAddons::ConfigModule, std::default_delete<KQuickAddons::ConfigModule> >::~unique_ptr (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/c++/7/bits/unique_ptr.h:268
#83 KCModuleQmlPrivate::~KCModuleQmlPrivate (this=<optimized out>, __in_chrg=<optimized out>) at ./src/kcmoduleqml.cpp:45
#84 KCModuleQml::~KCModuleQml (this=0x558256aa5940, __in_chrg=<optimized out>) at ./src/kcmoduleqml.cpp:214
#85 0x00007f514616c859 in KCModuleQml::~KCModuleQml (this=0x558256aa5940, __in_chrg=<optimized out>) at ./src/kcmoduleqml.cpp:215
#86 0x00007f51461724a4 in KCModuleProxy::deleteClient (this=this@entry=0x558258c9df30) at ./src/kcmoduleproxy.cpp:172
#87 0x00007f514617259f in KCModuleProxy::~KCModuleProxy (this=0x558258c9df30, __in_chrg=<optimized out>) at ./src/kcmoduleproxy.cpp:163
#88 0x00007f5146172769 in KCModuleProxy::~KCModuleProxy (this=0x558258c9df30, __in_chrg=<optimized out>) at ./src/kcmoduleproxy.cpp:167
#89 0x00007f51426003ab in QObjectPrivate::deleteChildren (this=this@entry=0x558253b77b60) at kernel/qobject.cpp:2019
#90 0x00007f51436a270c in QWidget::~QWidget (this=0x558256cb11b0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1696
#91 0x00007f51436a2949 in QWidget::~QWidget (this=0x558256cb11b0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1720
#92 0x00007f51426003ab in QObjectPrivate::deleteChildren (this=this@entry=0x55825481c260) at kernel/qobject.cpp:2019
#93 0x00007f51436a270c in QWidget::~QWidget (this=0x558259490100, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1696
#94 0x00007f51437f68b9 in QScrollArea::~QScrollArea (this=0x558259490100, __in_chrg=<optimized out>) at widgets/qscrollarea.cpp:172
#95 0x00007f51426003ab in QObjectPrivate::deleteChildren (this=this@entry=0x55824d6ddd90) at kernel/qobject.cpp:2019
#96 0x00007f51436a270c in QWidget::~QWidget (this=0x55824d74e130, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1696
#97 0x00007f5144cd3dbd in KPageStackedWidget::~KPageStackedWidget (this=0x55824d74e130, __in_chrg=<optimized out>) at ./obj-x86_64-linux-gnu/src/KF5WidgetsAddons_autogen/EWIEGA46WW/../../../../src/kpageview_p.h:37
#98 KPageStackedWidget::~KPageStackedWidget (this=0x55824d74e130, __in_chrg=<optimized out>) at ./obj-x86_64-linux-gnu/src/KF5WidgetsAddons_autogen/EWIEGA46WW/../../../../src/kpageview_p.h:37
#99 0x00007f51426003ab in QObjectPrivate::deleteChildren (this=this@entry=0x55824d75e230) at kernel/qobject.cpp:2019
#100 0x00007f51436a270c in QWidget::~QWidget (this=0x55824d7982b0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1696
#101 0x00007f5144cbc589 in KPageWidget::~KPageWidget (this=0x55824d7982b0, __in_chrg=<optimized out>) at ./src/kpagewidget.cpp:80
#102 0x00007f51426003ab in QObjectPrivate::deleteChildren (this=this@entry=0x55824d79a910) at kernel/qobject.cpp:2019
#103 0x00007f51436a270c in QWidget::~QWidget (this=0x55824d798240, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1696
#104 0x00007f51463acf79 in ModuleView::~ModuleView (this=0x55824d798240, __in_chrg=<optimized out>) at ./core/ModuleView.cpp:117
#105 0x00007f51426003ab in QObjectPrivate::deleteChildren (this=this@entry=0x55824d390580) at kernel/qobject.cpp:2019
#106 0x00007f51436a270c in QWidget::~QWidget (this=0x55824d751750, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1696
#107 0x00007f5119768a31 in FocusHackWidget::~FocusHackWidget (this=0x55824d751750, __in_chrg=<optimized out>) at ./sidebar/SidebarMode.cpp:68
#108 FocusHackWidget::~FocusHackWidget (this=0x55824d751750, __in_chrg=<optimized out>) at ./sidebar/SidebarMode.cpp:69
#109 0x00007f51426003ab in QObjectPrivate::deleteChildren (this=this@entry=0x55824d46e7d0) at kernel/qobject.cpp:2019
#110 0x00007f51436a270c in QWidget::~QWidget (this=0x55824d45a400, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1696
#111 0x00007f514380cac9 in QStackedWidget::~QStackedWidget (this=0x55824d45a400, __in_chrg=<optimized out>) at widgets/qstackedwidget.cpp:147
#112 0x00007f51426003ab in QObjectPrivate::deleteChildren (this=this@entry=0x55824d37ee10) at kernel/qobject.cpp:2019
#113 0x00007f51436a270c in QWidget::~QWidget (this=0x55824d4510c0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1696
#114 0x00007f5145ed0a7d in KMainWindow::~KMainWindow (this=0x55824d4510c0, __in_chrg=<optimized out>) at ./src/kmainwindow.cpp:400
#115 0x000055824bacd12b in SettingsBase::~SettingsBase (this=0x55824d4510c0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ./app/SettingsBase.cpp:74
#116 0x000055824bacd189 in SettingsBase::~SettingsBase (this=0x55824d4510c0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ./app/SettingsBase.cpp:77
#117 0x00007f5142603380 in QObject::event (this=this@entry=0x55824d4510c0, e=e@entry=0x7f512c009260) at kernel/qobject.cpp:1251
#118 0x00007f51436a73cb in QWidget::event (this=this@entry=0x55824d4510c0, event=event@entry=0x7f512c009260) at kernel/qwidget.cpp:9405
#119 0x00007f51437b2380 in QMainWindow::event (this=this@entry=0x55824d4510c0, event=event@entry=0x7f512c009260) at widgets/qmainwindow.cpp:1343
#120 0x00007f5145ed2e41 in KMainWindow::event (this=this@entry=0x55824d4510c0, ev=ev@entry=0x7f512c009260) at ./src/kmainwindow.cpp:868
#121 0x00007f5145f140d7 in KXmlGuiWindow::event (this=0x55824d4510c0, ev=0x7f512c009260) at ./src/kxmlguiwindow.cpp:121
#122 0x00007f5143665eac in QApplicationPrivate::notify_helper (this=this@entry=0x55824d38e2b0, receiver=receiver@entry=0x55824d4510c0, e=e@entry=0x7f512c009260) at kernel/qapplication.cpp:3703
#123 0x00007f514366d4b0 in QApplication::notify (this=0x7ffc085f3bb0, receiver=0x55824d4510c0, e=0x7f512c009260) at kernel/qapplication.cpp:3449
#124 0x00007f51425d1e38 in QCoreApplication::notifyInternal2 (receiver=0x55824d4510c0, event=0x7f512c009260) at kernel/qcoreapplication.cpp:1095
#125 0x00007f51425d200e in QCoreApplication::sendEvent (receiver=<optimized out>, event=event@entry=0x7f512c009260) at kernel/qcoreapplication.cpp:1490
#126 0x00007f51425d4757 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55824d384fa0) at kernel/qcoreapplication.cpp:1840
#127 0x00007f51425d4ce8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1694
#128 0x00007f5142630493 in postEventSourceDispatch (s=0x55824d3e4240) at kernel/qeventdispatcher_glib.cpp:277
#129 0x00007f513b38b417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#130 0x00007f513b38b650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#131 0x00007f513b38b6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#132 0x00007f514262faaf in QEventDispatcherGlib::processEvents (this=0x55824d3f5a10, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#133 0x00007f51425cff9a in QEventLoop::exec (this=this@entry=0x7ffc085f3ad0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#134 0x00007f51425d9310 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1403
#135 0x000055824baca2c0 in main (argc=<optimized out>, argv=<optimized out>) at ./app/main.cpp:70

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

Possible duplicates by query: bug 417674, bug 417629, bug 417591, bug 417557, bug 417548.

Reported using DrKonqi
Comment 1 David Edmundson 2020-02-17 23:04:57 UTC
Can you reproduce it?
Comment 2 David Edmundson 2020-02-17 23:06:34 UTC
Edit, managed.

Open get new icons -> select -> comments -> close systemsettings
Comment 3 David Edmundson 2020-02-17 23:29:49 UTC
==18016== Invalid read of size 8
==18016==    at 0x798B9F3: load (atomic_base.h:740)
==18016==    by 0x798B9F3: std::atomic<QObjectPrivate::ConnectionData*>::load(std::memory_order) const (atomic:519)
==18016==    by 0x7989BDB: QObjectPrivate::ConnectionData* QAtomicOps<QObjectPrivate::ConnectionData*>::loadRelaxed<QObjectPrivate::ConnectionData*>(std::atomic<QObjectPrivate::ConnectionData*> const&) (qatomic_cxx11.h:239)
==18016==    by 0x7986D0D: QBasicAtomicPointer<QObjectPrivate::ConnectionData>::loadRelaxed() const (qbasicatomic.h:248)
==18016==    by 0x797B8F9: QObject::~QObject() (qobject.cpp:1030)
==18016==    by 0x797BE17: QObject::~QObject() (qobject.cpp:1119)
==18016==    by 0x123BD7CD: void qDeleteAll<QHash<QString, KNSCore::CommentsModel*>::const_iterator>(QHash<QString, KNSCore::CommentsModel*>::const_iterator, QHash<QString, KNSCore::CommentsModel*>::const_iterator) (qalgorithms.h:320)
==18016==    by 0x123BD712: void qDeleteAll<QHash<QString, KNSCore::CommentsModel*> >(QHash<QString, KNSCore::CommentsModel*> const&) (qalgorithms.h:328)
==18016==    by 0x123BB255: ItemsModel::Private::~Private() (src/frameworks/knewstuff/src/qtquick/quickitemsmodel.cpp:46)
==18016==    by 0x123B828E: ItemsModel::~ItemsModel() (src/frameworks/knewstuff/src/qtquick/quickitemsmodel.cpp:99)
==18016==    by 0x123B1C8A: QQmlPrivate::QQmlElement<ItemsModel>::~QQmlElement() (qqmlprivate.h:111)
==18016==    by 0x123B1CBB: QQmlPrivate::QQmlElement<ItemsModel>::~QQmlElement() (qqmlprivate.h:109)
==18016==    by 0x797D950: QObjectPrivate::deleteChildren() (qobject.cpp:2123)
==18016==  Address 0x2194a930 is 64 bytes inside a block of size 136 free'd
==18016==    at 0x483A08B: operator delete(void*, unsigned long) (vg_replace_malloc.c:595)
==18016==    by 0x78C6496: QAbstractItemModelPrivate::~QAbstractItemModelPrivate() (qabstractitemmodel.cpp:507)
==18016==    by 0x798A001: QScopedPointerDeleter<QObjectData>::cleanup(QObjectData*) (qscopedpointer.h:60)
==18016==    by 0x7987180: QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::~QScopedPointer() (qscopedpointer.h:107)
==18016==    by 0x797BDDE: QObject::~QObject() (qobject.cpp:997)
==18016==    by 0x78C9023: QAbstractItemModel::~QAbstractItemModel() (qabstractitemmodel.cpp:1541)
==18016==    by 0x78CD84F: QAbstractListModel::~QAbstractListModel() (qabstractitemmodel.cpp:3734)
==18016==    by 0x12414AA6: KNSCore::CommentsModel::~CommentsModel() (src/frameworks/knewstuff/src/core/commentsmodel.cpp:116)
==18016==    by 0x12414ACB: KNSCore::CommentsModel::~CommentsModel() (src/frameworks/knewstuff/src/core/commentsmodel.cpp:114)
==18016==    by 0x797D950: QObjectPrivate::deleteChildren() (qobject.cpp:2123)
==18016==    by 0x797BD65: QObject::~QObject() (qobject.cpp:1107)
==18016==    by 0x12424AC8: KNSCore::Engine::~Engine() (src/frameworks/knewstuff/src/core/engine.cpp:103)
==18016==  Block was alloc'd at
==18016==    at 0x4838DEF: operator new(unsigned long) (vg_replace_malloc.c:344)
==18016==    by 0x78C8F4C: QAbstractItemModel::QAbstractItemModel(QObject*) (qabstractitemmodel.cpp:1526)
==18016==    by 0x78CD7D0: QAbstractListModel::QAbstractListModel(QObject*) (qabstractitemmodel.cpp:3713)
==18016==    by 0x124149F9: KNSCore::CommentsModel::CommentsModel(KNSCore::Engine*) (src/frameworks/knewstuff/src/core/commentsmodel.cpp:107)
==18016==    by 0x1242B8BF: KNSCore::Engine::commentsForEntry(KNSCore::EntryInternal const&) (src/frameworks/knewstuff/src/core/engine.cpp:824)
==18016==    by 0x123B9C7B: ItemsModel::data(QModelIndex const&, int) const (src/frameworks/knewstuff/src/qtquick/quickitemsmodel.cpp:337)
==18016==    by 0x123CBBF9: KNewStuffQuick::CommentsModel::Private::resetConnections() (src/frameworks/knewstuff/src/qtquick/commentsmodel.cpp:48)
==18016==    by 0x123CB7C0: KNewStuffQuick::CommentsModel::componentComplete() (src/frameworks/knewstuff/src/qtquick/commentsmodel.cpp:89)
==18016==    by 0x56FC778: QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) (qqmlobjectcreator.cpp:1410)
==18016==    by 0x566E8EE: QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) (qqmlcomponent.cpp:969)
==18016==    by 0x566EA08: QQmlComponentPrivate::completeCreate() (qqmlcomponent.cpp:1005)
==18016==    by 0x566FA7B: QQmlComponent::createObject(QQmlV4Function*) (qqmlcomponent.cpp:1377)
==18016== 
==18016== Invalid write of size 8
==18016==    at 0x798BB73: store (atomic_base.h:718)
==18016==    by 0x798BB73: std::atomic<QObjectPrivate::ConnectionData*>::store(QObjectPrivate::ConnectionData*, std::memory_order) (atomic:510)
==18016==    by 0x7989CDE: void QAtomicOps<QObjectPrivate::ConnectionData*>::storeRelaxed<QObjectPrivate::ConnectionData*>(std::atomic<QObjectPrivate::ConnectionData*>&, QObjectPrivate::ConnectionData*) (qatomic_cxx11.h:269)
==18016==    by 0x7986ED0: QBasicAtomicPointer<QObjectPrivate::ConnectionData>::storeRelaxed(QObjectPrivate::ConnectionData*) (qbasicatomic.h:249)
==18016==    by 0x797BD3C: QObject::~QObject() (qobject.cpp:1104)
==18016==    by 0x797BE17: QObject::~QObject() (qobject.cpp:1119)
==18016==    by 0x123BD7CD: void qDeleteAll<QHash<QString, KNSCore::CommentsModel*>::const_iterator>(QHash<QString, KNSCore::CommentsModel*>::const_iterator, QHash<QString, KNSCore::CommentsModel*>::const_iterator) (qalgorithms.h:320)
==18016==    by 0x123BD712: void qDeleteAll<QHash<QString, KNSCore::CommentsModel*> >(QHash<QString, KNSCore::CommentsModel*> const&) (qalgorithms.h:328)
==18016==    by 0x123BB255: ItemsModel::Private::~Private() (src/frameworks/knewstuff/src/qtquick/quickitemsmodel.cpp:46)
==18016==    by 0x123B828E: ItemsModel::~ItemsModel() (src/frameworks/knewstuff/src/qtquick/quickitemsmodel.cpp:99)
==18016==    by 0x123B1C8A: QQmlPrivate::QQmlElement<ItemsModel>::~QQmlElement() (qqmlprivate.h:111)
==18016==    by 0x123B1CBB: QQmlPrivate::QQmlElement<ItemsModel>::~QQmlElement() (qqmlprivate.h:109)
==18016==    by 0x797D950: QObjectPrivate::deleteChildren() (qobject.cpp:2123)
==18016==  Address 0x2194a930 is 64 bytes inside a block of size 136 free'd
==18016==    at 0x483A08B: operator delete(void*, unsigned long) (vg_replace_malloc.c:595)
==18016==    by 0x78C6496: QAbstractItemModelPrivate::~QAbstractItemModelPrivate() (qabstractitemmodel.cpp:507)
==18016==    by 0x798A001: QScopedPointerDeleter<QObjectData>::cleanup(QObjectData*) (qscopedpointer.h:60)
==18016==    by 0x7987180: QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::~QScopedPointer() (qscopedpointer.h:107)
==18016==    by 0x797BDDE: QObject::~QObject() (qobject.cpp:997)
==18016==    by 0x78C9023: QAbstractItemModel::~QAbstractItemModel() (qabstractitemmodel.cpp:1541)
==18016==    by 0x78CD84F: QAbstractListModel::~QAbstractListModel() (qabstractitemmodel.cpp:3734)
==18016==    by 0x12414AA6: KNSCore::CommentsModel::~CommentsModel() (src/frameworks/knewstuff/src/core/commentsmodel.cpp:116)
==18016==    by 0x12414ACB: KNSCore::CommentsModel::~CommentsModel() (src/frameworks/knewstuff/src/core/commentsmodel.cpp:114)
==18016==    by 0x797D950: QObjectPrivate::deleteChildren() (qobject.cpp:2123)
==18016==    by 0x797BD65: QObject::~QObject() (qobject.cpp:1107)
==18016==    by 0x12424AC8: KNSCore::Engine::~Engine() (src/frameworks/knewstuff/src/core/engine.cpp:103)
==18016==  Block was alloc'd at
==18016==    at 0x4838DEF: operator new(unsigned long) (vg_replace_malloc.c:344)
==18016==    by 0x78C8F4C: QAbstractItemModel::QAbstractItemModel(QObject*) (qabstractitemmodel.cpp:1526)
==18016==    by 0x78CD7D0: QAbstractListModel::QAbstractListModel(QObject*) (qabstractitemmodel.cpp:3713)
==18016==    by 0x124149F9: KNSCore::CommentsModel::CommentsModel(KNSCore::Engine*) (src/frameworks/knewstuff/src/core/commentsmodel.cpp:107)
==18016==    by 0x1242B8BF: KNSCore::Engine::commentsForEntry(KNSCore::EntryInternal const&) (src/frameworks/knewstuff/src/core/engine.cpp:824)
==18016==    by 0x123B9C7B: ItemsModel::data(QModelIndex const&, int) const (src/frameworks/knewstuff/src/qtquick/quickitemsmodel.cpp:337)
==18016==    by 0x123CBBF9: KNewStuffQuick::CommentsModel::Private::resetConnections() (src/frameworks/knewstuff/src/qtquick/commentsmodel.cpp:48)
==18016==    by 0x123CB7C0: KNewStuffQuick::CommentsModel::componentComplete() (src/frameworks/knewstuff/src/qtquick/commentsmodel.cpp:89)
==18016==    by 0x56FC778: QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) (qqmlobjectcreator.cpp:1410)
==18016==    by 0x566E8EE: QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) (qqmlcomponent.cpp:969)
==18016==    by 0x566EA08: QQmlComponentPrivate::completeCreate() (qqmlcomponent.cpp:1005)
==18016==    by 0x566FA7B: QQmlComponent::createObject(QQmlV4Function*) (qqmlcomponent.cpp:1377)
==18016== 
==18016== Invalid read of size 8
==18016==    at 0x769BB26: QListData::isEmpty() const (qlist.h:116)
==18016==    by 0x79871D9: QList<QObject*>::isEmpty() const (qlist.h:201)
==18016==    by 0x797BD4F: QObject::~QObject() (qobject.cpp:1106)
==18016==    by 0x797BE17: QObject::~QObject() (qobject.cpp:1119)
==18016==    by 0x123BD7CD: void qDeleteAll<QHash<QString, KNSCore::CommentsModel*>::const_iterator>(QHash<QString, KNSCore::CommentsModel*>::const_iterator, QHash<QString, KNSCore::CommentsModel*>::const_iterator) (qalgorithms.h:320)
==18016==    by 0x123BD712: void qDeleteAll<QHash<QString, KNSCore::CommentsModel*> >(QHash<QString, KNSCore::CommentsModel*> const&) (qalgorithms.h:328)
==18016==    by 0x123BB255: ItemsModel::Private::~Private() (src/frameworks/knewstuff/src/qtquick/quickitemsmodel.cpp:46)
==18016==    by 0x123B828E: ItemsModel::~ItemsModel() (src/frameworks/knewstuff/src/qtquick/quickitemsmodel.cpp:99)
==18016==    by 0x123B1C8A: QQmlPrivate::QQmlElement<ItemsModel>::~QQmlElement() (qqmlprivate.h:111)
==18016==    by 0x123B1CBB: QQmlPrivate::QQmlElement<ItemsModel>::~QQmlElement() (qqmlprivate.h:109)
==18016==    by 0x797D950: QObjectPrivate::deleteChildren() (qobject.cpp:2123)
==18016==    by 0x797BD65: QObject::~QObject() (qobject.cpp:1107)
==18016==  Address 0x2194a908 is 24 bytes inside a block of size 136 free'd
==18016==    at 0x483A08B: operator delete(void*, unsigned long) (vg_replace_malloc.c:595)
==18016==    by 0x78C6496: QAbstractItemModelPrivate::~QAbstractItemModelPrivate() (qabstractitemmodel.cpp:507)
==18016==    by 0x798A001: QScopedPointerDeleter<QObjectData>::cleanup(QObjectData*) (qscopedpointer.h:60)
==18016==    by 0x7987180: QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::~QScopedPointer() (qscopedpointer.h:107)
==18016==    by 0x797BDDE: QObject::~QObject() (qobject.cpp:997)
==18016==    by 0x78C9023: QAbstractItemModel::~QAbstractItemModel() (qabstractitemmodel.cpp:1541)
==18016==    by 0x78CD84F: QAbstractListModel::~QAbstractListModel() (qabstractitemmodel.cpp:3734)
==18016==    by 0x12414AA6: KNSCore::CommentsModel::~CommentsModel() (src/frameworks/knewstuff/src/core/commentsmodel.cpp:116)
==18016==    by 0x12414ACB: KNSCore::CommentsModel::~CommentsModel() (src/frameworks/knewstuff/src/core/commentsmodel.cpp:114)
==18016==    by 0x797D950: QObjectPrivate::deleteChildren() (qobject.cpp:2123)
==18016==    by 0x797BD65: QObject::~QObject() (qobject.cpp:1107)
==18016==    by 0x12424AC8: KNSCore::Engine::~Engine() (src/frameworks/knewstuff/src/core/engine.cpp:103)
==18016==  Block was alloc'd at
==18016==    at 0x4838DEF: operator new(unsigned long) (vg_replace_malloc.c:344)
==18016==    by 0x78C8F4C: QAbstractItemModel::QAbstractItemModel(QObject*) (qabstractitemmodel.cpp:1526)
==18016==    by 0x78CD7D0: QAbstractListModel::QAbstractListModel(QObject*) (qabstractitemmodel.cpp:3713)
==18016==    by 0x124149F9: KNSCore::CommentsModel::CommentsModel(KNSCore::Engine*) (src/frameworks/knewstuff/src/core/commentsmodel.cpp:107)
==18016==    by 0x1242B8BF: KNSCore::Engine::commentsForEntry(KNSCore::EntryInternal const&) (src/frameworks/knewstuff/src/core/engine.cpp:824)
==18016==    by 0x123B9C7B: ItemsModel::data(QModelIndex const&, int) const (src/frameworks/knewstuff/src/qtquick/quickitemsmodel.cpp:337)
==18016==    by 0x123CBBF9: KNewStuffQuick::CommentsModel::Private::resetConnections() (src/frameworks/knewstuff/src/qtquick/commentsmodel.cpp:48)
==18016==    by 0x123CB7C0: KNewStuffQuick::CommentsModel::componentComplete() (src/frameworks/knewstuff/src/qtquick/commentsmodel.cpp:89)
==18016==    by 0x56FC778: QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) (qqmlobjectcreator.cpp:1410)
==18016==    by 0x566E8EE: QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) (qqmlcomponent.cpp:969)
==18016==    by 0x566EA08: QQmlComponentPrivate::completeCreate() (qqmlcomponent.cpp:1005)
==18016==    by 0x566FA7B: QQmlComponent::createObject(QQmlV4Function*) (qqmlcomponent.cpp:1377)
==18016== 
==18016== Invalid read of size 8
==18016==    at 0x769BB30: QListData::isEmpty() const (qlist.h:116)
==18016==    by 0x79871D9: QList<QObject*>::isEmpty() const (qlist.h:201)
==18016==    by 0x797BD4F: QObject::~QObject() (qobject.cpp:1106)
==18016==    by 0x797BE17: QObject::~QObject() (qobject.cpp:1119)
==18016==    by 0x123BD7CD: void qDeleteAll<QHash<QString, KNSCore::CommentsModel*>::const_iterator>(QHash<QString, KNSCore::CommentsModel*>::const_iterator, QHash<QString, KNSCore::CommentsModel*>::const_iterator) (qalgorithms.h:320)
==18016==    by 0x123BD712: void qDeleteAll<QHash<QString, KNSCore::CommentsModel*> >(QHash<QString, KNSCore::CommentsModel*> const&) (qalgorithms.h:328)
==18016==    by 0x123BB255: ItemsModel::Private::~Private() (src/frameworks/knewstuff/src/qtquick/quickitemsmodel.cpp:46)
==18016==    by 0x123B828E: ItemsModel::~ItemsModel() (src/frameworks/knewstuff/src/qtquick/quickitemsmodel.cpp:99)
==18016==    by 0x123B1C8A: QQmlPrivate::QQmlElement<ItemsModel>::~QQmlElement() (qqmlprivate.h:111)
==18016==    by 0x123B1CBB: QQmlPrivate::QQmlElement<ItemsModel>::~QQmlElement() (qqmlprivate.h:109)
==18016==    by 0x797D950: QObjectPrivate::deleteChildren() (qobject.cpp:2123)
==18016==    by 0x797BD65: QObject::~QObject() (qobject.cpp:1107)
==18016==  Address 0x2194a908 is 24 bytes inside a block of size 136 free'd
==18016==    at 0x483A08B: operator delete(void*, unsigned long) (vg_replace_malloc.c:595)
==18016==    by 0x78C6496: QAbstractItemModelPrivate::~QAbstractItemModelPrivate() (qabstractitemmodel.cpp:507)
==18016==    by 0x798A001: QScopedPointerDeleter<QObjectData>::cleanup(QObjectData*) (qscopedpointer.h:60)
==18016==    by 0x7987180: QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::~QScopedPointer() (qscopedpointer.h:107)
==18016==    by 0x797BDDE: QObject::~QObject() (qobject.cpp:997)
==18016==    by 0x78C9023: QAbstractItemModel::~QAbstractItemModel() (qabstractitemmodel.cpp:1541)
==18016==    by 0x78CD84F: QAbstractListModel::~QAbstractListModel() (qabstractitemmodel.cpp:3734)
==18016==    by 0x12414AA6: KNSCore::CommentsModel::~CommentsModel() (src/frameworks/knewstuff/src/core/commentsmodel.cpp:116)
==18016==    by 0x12414ACB: KNSCore::CommentsModel::~CommentsModel() (src/frameworks/knewstuff/src/core/commentsmodel.cpp:114)
==18016==    by 0x797D950: QObjectPrivate::deleteChildren() (qobject.cpp:2123)
==18016==    by 0x797BD65: QObject::~QObject() (qobject.cpp:1107)
==18016==    by 0x12424AC8: KNSCore::Engine::~Engine() (src/frameworks/knewstuff/src/core/engine.cpp:103)
==18016==  Block was alloc'd at
==18016==    at 0x4838DEF: operator new(unsigned long) (vg_replace_malloc.c:344)
==18016==    by 0x78C8F4C: QAbstractItemModel::QAbstractItemModel(QObject*) (qabstractitemmodel.cpp:1526)
==18016==    by 0x78CD7D0: QAbstractListModel::QAbstractListModel(QObject*) (qabstractitemmodel.cpp:3713)
==18016==    by 0x124149F9: KNSCore::CommentsModel::CommentsModel(KNSCore::Engine*) (src/frameworks/knewstuff/src/core/commentsmodel.cpp:107)
==18016==    by 0x1242B8BF: KNSCore::Engine::commentsForEntry(KNSCore::EntryInternal const&) (src/frameworks/knewstuff/src/core/engine.cpp:824)
==18016==    by 0x123B9C7B: ItemsModel::data(QModelIndex const&, int) const (src/frameworks/knewstuff/src/qtquick/quickitemsmodel.cpp:337)
==18016==    by 0x123CBBF9: KNewStuffQuick::CommentsModel::Private::resetConnections() (src/frameworks/knewstuff/src/qtquick/commentsmodel.cpp:48)
==18016==    by 0x123CB7C0: KNewStuffQuick::CommentsModel::componentComplete() (src/frameworks/knewstuff/src/qtquick/commentsmodel.cpp:89)
==18016==    by 0x56FC778: QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) (qqmlobjectcreator.cpp:1410)
==18016==    by 0x566E8EE: QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) (qqmlcomponent.cpp:969)
==18016==    by 0x566EA08: QQmlComponentPrivate::completeCreate() (qqmlcomponent.cpp:1005)
==18016==    by 0x566FA7B: QQmlComponent::createObject(QQmlV4Function*) (qqmlcomponent.cpp:1377)
==18016== 
==18016== Invalid read of size 8
==18016==    at 0x797BDAF: QObject::~QObject() (qobject.cpp:1117)
==18016==    by 0x797BE17: QObject::~QObject() (qobject.cpp:1119)
==18016==    by 0x123BD7CD: void qDeleteAll<QHash<QString, KNSCore::CommentsModel*>::const_iterator>(QHash<QString, KNSCore::CommentsModel*>::const_iterator, QHash<QString, KNSCore::CommentsModel*>::const_iterator) (qalgorithms.h:320)
==18016==    by 0x123BD712: void qDeleteAll<QHash<QString, KNSCore::CommentsModel*> >(QHash<QString, KNSCore::CommentsModel*> const&) (qalgorithms.h:328)
==18016==    by 0x123BB255: ItemsModel::Private::~Private() (src/frameworks/knewstuff/src/qtquick/quickitemsmodel.cpp:46)
==18016==    by 0x123B828E: ItemsModel::~ItemsModel() (src/frameworks/knewstuff/src/qtquick/quickitemsmodel.cpp:99)
==18016==    by 0x123B1C8A: QQmlPrivate::QQmlElement<ItemsModel>::~QQmlElement() (qqmlprivate.h:111)
==18016==    by 0x123B1CBB: QQmlPrivate::QQmlElement<ItemsModel>::~QQmlElement() (qqmlprivate.h:109)
==18016==    by 0x797D950: QObjectPrivate::deleteChildren() (qobject.cpp:2123)
==18016==    by 0x797BD65: QObject::~QObject() (qobject.cpp:1107)
==18016==    by 0x4CE55BB: QQuickItem::~QQuickItem() (qquickitem.cpp:2383)
==18016==    by 0x4DF9985: QQuickFlickable::~QQuickFlickable() (qquickflickable.cpp:751)
==18016==  Address 0x2194a900 is 16 bytes inside a block of size 136 free'd
==18016==    at 0x483A08B: operator delete(void*, unsigned long) (vg_replace_malloc.c:595)
==18016==    by 0x78C6496: QAbstractItemModelPrivate::~QAbstractItemModelPrivate() (qabstractitemmodel.cpp:507)
==18016==    by 0x798A001: QScopedPointerDeleter<QObjectData>::cleanup(QObjectData*) (qscopedpointer.h:60)
==18016==    by 0x7987180: QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::~QScopedPointer() (qscopedpointer.h:107)
==18016==    by 0x797BDDE: QObject::~QObject() (qobject.cpp:997)
==18016==    by 0x78C9023: QAbstractItemModel::~QAbstractItemModel() (qabstractitemmodel.cpp:1541)
==18016==    by 0x78CD84F: QAbstractListModel::~QAbstractListModel() (qabstractitemmodel.cpp:3734)
==18016==    by 0x12414AA6: KNSCore::CommentsModel::~CommentsModel() (src/frameworks/knewstuff/src/core/commentsmodel.cpp:116)
==18016==    by 0x12414ACB: KNSCore::CommentsModel::~CommentsModel() (src/frameworks/knewstuff/src/core/commentsmodel.cpp:114)
==18016==    by 0x797D950: QObjectPrivate::deleteChildren() (qobject.cpp:2123)
==18016==    by 0x797BD65: QObject::~QObject() (qobject.cpp:1107)
==18016==    by 0x12424AC8: KNSCore::Engine::~Engine() (src/frameworks/knewstuff/src/core/engine.cpp:103)
==18016==  Block was alloc'd at
==18016==    at 0x4838DEF: operator new(unsigned long) (vg_replace_malloc.c:344)
==18016==    by 0x78C8F4C: QAbstractItemModel::QAbstractItemModel(QObject*) (qabstractitemmodel.cpp:1526)
==18016==    by 0x78CD7D0: QAbstractListModel::QAbstractListModel(QObject*) (qabstractitemmodel.cpp:3713)
==18016==    by 0x124149F9: KNSCore::CommentsModel::CommentsModel(KNSCore::Engine*) (src/frameworks/knewstuff/src/core/commentsmodel.cpp:107)
==18016==    by 0x1242B8BF: KNSCore::Engine::commentsForEntry(KNSCore::EntryInternal const&) (src/frameworks/knewstuff/src/core/engine.cpp:824)
==18016==    by 0x123B9C7B: ItemsModel::data(QModelIndex const&, int) const (src/frameworks/knewstuff/src/qtquick/quickitemsmodel.cpp:337)
==18016==    by 0x123CBBF9: KNewStuffQuick::CommentsModel::Private::resetConnections() (src/frameworks/knewstuff/src/qtquick/commentsmodel.cpp:48)
==18016==    by 0x123CB7C0: KNewStuffQuick::CommentsModel::componentComplete() (src/frameworks/knewstuff/src/qtquick/commentsmodel.cpp:89)
==18016==    by 0x56FC778: QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) (qqmlobjectcreator.cpp:1410)
==18016==    by 0x566E8EE: QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) (qqmlcomponent.cpp:969)
==18016==    by 0x566EA08: QQmlComponentPrivate::completeCreate() (qqmlcomponent.cpp:1005)
==18016==    by 0x566FA7B: QQmlComponent::createObject(QQmlV4Function*) (qqmlcomponent.cpp:1377)
==18016== 
==18016== Invalid read of size 8
==18016==    at 0x798716E: QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::~QScopedPointer() (qscopedpointer.h:106)
==18016==    by 0x797BDDE: QObject::~QObject() (qobject.cpp:997)
==18016==    by 0x797BE17: QObject::~QObject() (qobject.cpp:1119)
==18016==    by 0x123BD7CD: void qDeleteAll<QHash<QString, KNSCore::CommentsModel*>::const_iterator>(QHash<QString, KNSCore::CommentsModel*>::const_iterator, QHash<QString, KNSCore::CommentsModel*>::const_iterator) (qalgorithms.h:320)
==18016==    by 0x123BD712: void qDeleteAll<QHash<QString, KNSCore::CommentsModel*> >(QHash<QString, KNSCore::CommentsModel*> const&) (qalgorithms.h:328)
==18016==    by 0x123BB255: ItemsModel::Private::~Private() (src/frameworks/knewstuff/src/qtquick/quickitemsmodel.cpp:46)
==18016==    by 0x123B828E: ItemsModel::~ItemsModel() (src/frameworks/knewstuff/src/qtquick/quickitemsmodel.cpp:99)
==18016==    by 0x123B1C8A: QQmlPrivate::QQmlElement<ItemsModel>::~QQmlElement() (qqmlprivate.h:111)
==18016==    by 0x123B1CBB: QQmlPrivate::QQmlElement<ItemsModel>::~QQmlElement() (qqmlprivate.h:109)
==18016==    by 0x797D950: QObjectPrivate::deleteChildren() (qobject.cpp:2123)
==18016==    by 0x797BD65: QObject::~QObject() (qobject.cpp:1107)
==18016==    by 0x4CE55BB: QQuickItem::~QQuickItem() (qquickitem.cpp:2383)
==18016==  Address 0x2194a898 is 8 bytes inside a block of size 24 free'd
==18016==    at 0x4839EAB: operator delete(void*) (vg_replace_malloc.c:586)
==18016==    by 0x12414AD7: KNSCore::CommentsModel::~CommentsModel() (src/frameworks/knewstuff/src/core/commentsmodel.cpp:114)
==18016==    by 0x797D950: QObjectPrivate::deleteChildren() (qobject.cpp:2123)
==18016==    by 0x797BD65: QObject::~QObject() (qobject.cpp:1107)
==18016==    by 0x12424AC8: KNSCore::Engine::~Engine() (src/frameworks/knewstuff/src/core/engine.cpp:103)
==18016==    by 0x12424AEB: KNSCore::Engine::~Engine() (src/frameworks/knewstuff/src/core/engine.cpp:95)
==18016==    by 0x797D950: QObjectPrivate::deleteChildren() (qobject.cpp:2123)
==18016==    by 0x797BD65: QObject::~QObject() (qobject.cpp:1107)
==18016==    by 0x123B4A76: Engine::~Engine() (src/frameworks/knewstuff/src/qtquick/quickengine.cpp:83)
==18016==    by 0x123B14BA: QQmlPrivate::QQmlElement<Engine>::~QQmlElement() (qqmlprivate.h:111)
==18016==    by 0x123B14EB: QQmlPrivate::QQmlElement<Engine>::~QQmlElement() (qqmlprivate.h:109)
==18016==    by 0x797D950: QObjectPrivate::deleteChildren() (qobject.cpp:2123)
==18016==  Block was alloc'd at
==18016==    at 0x4838DEF: operator new(unsigned long) (vg_replace_malloc.c:344)
==18016==    by 0x1242B8AF: KNSCore::Engine::commentsForEntry(KNSCore::EntryInternal const&) (src/frameworks/knewstuff/src/core/engine.cpp:824)
==18016==    by 0x123B9C7B: ItemsModel::data(QModelIndex const&, int) const (src/frameworks/knewstuff/src/qtquick/quickitemsmodel.cpp:337)
==18016==    by 0x123CBBF9: KNewStuffQuick::CommentsModel::Private::resetConnections() (src/frameworks/knewstuff/src/qtquick/commentsmodel.cpp:48)
==18016==    by 0x123CB7C0: KNewStuffQuick::CommentsModel::componentComplete() (src/frameworks/knewstuff/src/qtquick/commentsmodel.cpp:89)
==18016==    by 0x56FC778: QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) (qqmlobjectcreator.cpp:1410)
==18016==    by 0x566E8EE: QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) (qqmlcomponent.cpp:969)
==18016==    by 0x566EA08: QQmlComponentPrivate::completeCreate() (qqmlcomponent.cpp:1005)
==18016==    by 0x566FA7B: QQmlComponent::createObject(QQmlV4Function*) (qqmlcomponent.cpp:1377)
==18016==    by 0x5671056: QQmlComponent::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_qqmlcomponent.cpp:150)
==18016==    by 0x567130A: QQmlComponent::qt_metacall(QMetaObject::Call, int, void**) (moc_qqmlcomponent.cpp:218)
==18016==    by 0x793F984: QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) (qmetaobject.cpp:316)
==18016== 
==18016== Invalid read of size 8
==18016==    at 0x7989FF3: QScopedPointerDeleter<QObjectData>::cleanup(QObjectData*) (qscopedpointer.h:60)
==18016==    by 0x7987180: QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::~QScopedPointer() (qscopedpointer.h:107)
==18016==    by 0x797BDDE: QObject::~QObject() (qobject.cpp:997)
==18016==    by 0x797BE17: QObject::~QObject() (qobject.cpp:1119)
==18016==    by 0x123BD7CD: void qDeleteAll<QHash<QString, KNSCore::CommentsModel*>::const_iterator>(QHash<QString, KNSCore::CommentsModel*>::const_iterator, QHash<QString, KNSCore::CommentsModel*>::const_iterator) (qalgorithms.h:320)
==18016==    by 0x123BD712: void qDeleteAll<QHash<QString, KNSCore::CommentsModel*> >(QHash<QString, KNSCore::CommentsModel*> const&) (qalgorithms.h:328)
==18016==    by 0x123BB255: ItemsModel::Private::~Private() (src/frameworks/knewstuff/src/qtquick/quickitemsmodel.cpp:46)
==18016==    by 0x123B828E: ItemsModel::~ItemsModel() (src/frameworks/knewstuff/src/qtquick/quickitemsmodel.cpp:99)
==18016==    by 0x123B1C8A: QQmlPrivate::QQmlElement<ItemsModel>::~QQmlElement() (qqmlprivate.h:111)
==18016==    by 0x123B1CBB: QQmlPrivate::QQmlElement<ItemsModel>::~QQmlElement() (qqmlprivate.h:109)
==18016==    by 0x797D950: QObjectPrivate::deleteChildren() (qobject.cpp:2123)
==18016==    by 0x797BD65: QObject::~QObject() (qobject.cpp:1107)
==18016==  Address 0x2194a8f0 is 0 bytes inside a block of size 136 free'd
==18016==    at 0x483A08B: operator delete(void*, unsigned long) (vg_replace_malloc.c:595)
==18016==    by 0x78C6496: QAbstractItemModelPrivate::~QAbstractItemModelPrivate() (qabstractitemmodel.cpp:507)
==18016==    by 0x798A001: QScopedPointerDeleter<QObjectData>::cleanup(QObjectData*) (qscopedpointer.h:60)
==18016==    by 0x7987180: QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::~QScopedPointer() (qscopedpointer.h:107)
==18016==    by 0x797BDDE: QObject::~QObject() (qobject.cpp:997)
==18016==    by 0x78C9023: QAbstractItemModel::~QAbstractItemModel() (qabstractitemmodel.cpp:1541)
==18016==    by 0x78CD84F: QAbstractListModel::~QAbstractListModel() (qabstractitemmodel.cpp:3734)
==18016==    by 0x12414AA6: KNSCore::CommentsModel::~CommentsModel() (src/frameworks/knewstuff/src/core/commentsmodel.cpp:116)
==18016==    by 0x12414ACB: KNSCore::CommentsModel::~CommentsModel() (src/frameworks/knewstuff/src/core/commentsmodel.cpp:114)
==18016==    by 0x797D950: QObjectPrivate::deleteChildren() (qobject.cpp:2123)
==18016==    by 0x797BD65: QObject::~QObject() (qobject.cpp:1107)
==18016==    by 0x12424AC8: KNSCore::Engine::~Engine() (src/frameworks/knewstuff/src/core/engine.cpp:103)
==18016==  Block was alloc'd at
==18016==    at 0x4838DEF: operator new(unsigned long) (vg_replace_malloc.c:344)
==18016==    by 0x78C8F4C: QAbstractItemModel::QAbstractItemModel(QObject*) (qabstractitemmodel.cpp:1526)
==18016==    by 0x78CD7D0: QAbstractListModel::QAbstractListModel(QObject*) (qabstractitemmodel.cpp:3713)
==18016==    by 0x124149F9: KNSCore::CommentsModel::CommentsModel(KNSCore::Engine*) (src/frameworks/knewstuff/src/core/commentsmodel.cpp:107)
==18016==    by 0x1242B8BF: KNSCore::Engine::commentsForEntry(KNSCore::EntryInternal const&) (src/frameworks/knewstuff/src/core/engine.cpp:824)
==18016==    by 0x123B9C7B: ItemsModel::data(QModelIndex const&, int) const (src/frameworks/knewstuff/src/qtquick/quickitemsmodel.cpp:337)
==18016==    by 0x123CBBF9: KNewStuffQuick::CommentsModel::Private::resetConnections() (src/frameworks/knewstuff/src/qtquick/commentsmodel.cpp:48)
==18016==    by 0x123CB7C0: KNewStuffQuick::CommentsModel::componentComplete() (src/frameworks/knewstuff/src/qtquick/commentsmodel.cpp:89)
==18016==    by 0x56FC778: QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) (qqmlobjectcreator.cpp:1410)
==18016==    by 0x566E8EE: QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) (qqmlcomponent.cpp:969)
==18016==    by 0x566EA08: QQmlComponentPrivate::completeCreate() (qqmlcomponent.cpp:1005)
==18016==    by 0x566FA7B: QQmlComponent::createObject(QQmlV4Function*) (qqmlcomponent.cpp:1377)
==18016== 
pure virtual method called
Comment 4 David Edmundson 2020-02-18 08:40:24 UTC
Git commit 5c7ee50bf900666efa44439a4f4a12ec5df986f9 by David Edmundson.
Committed on 17/02/2020 at 23:31.
Pushed by davidedmundson into branch 'master'.

Don't double delete CommentsModel

Summary:
CommentsModel instances are owned by the engine.

They are fetched through a getter with a cache, so ownership has to stay
that way.

QuickItemsModel should not be deleting them.

Test Plan:
Got a valgrind log of the crash, which showed the issue
(see attached bug report)

Afterwards:
Opened systemsettings, opened comments dialog
Closed systemsettings

Subscribers: kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D27468

M  +0    -1    src/qtquick/quickitemsmodel.cpp

https://commits.kde.org/knewstuff/5c7ee50bf900666efa44439a4f4a12ec5df986f9