Bug 418913

Summary: Crash while loading some effect demo videos in Effects settings
Product: [Applications] systemsettings Reporter: tgeor.dev
Component: kcm_kwineffectsAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: me, nate, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.18.3   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description tgeor.dev 2020-03-16 10:07:14 UTC
Application: systemsettings5 (5.18.3)

Qt Version: 5.14.1
Frameworks Version: 5.68.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:

Clicked on the effect video-demonstration icon. Video starts to load and then Settings app hangs and crashes. This does not seem to happen with all the effects.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Параметры системы (systemsettings5), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fe874216800 (LWP 4386))]

Thread 8 (Thread 0x7fe82ddef700 (LWP 4417)):
#0  0x00007fe86f654187 in __GI___libc_write (fd=31, buf=0x7fe82ddeecb0, nbytes=8) at ../sysdeps/unix/sysv/linux/write.c:27
#1  0x00007fe868d1338a in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe868cca7dc in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe868cce435 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fe868cce650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fe868cce962 in g_main_loop_run () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fe81e2b27f7 in ?? () from /usr/lib/x86_64-linux-gnu/libgstgl-1.0.so.0
#7  0x00007fe868cf6195 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fe86b08d6db in start_thread (arg=0x7fe82ddef700) at pthread_create.c:463
#9  0x00007fe86f66588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fe82fad1700 (LWP 4414)):
#0  0x00007fe868d14649 in g_mutex_lock () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fe868cce5af in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe868cce962 in g_main_loop_run () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe81e2b27f7 in ?? () from /usr/lib/x86_64-linux-gnu/libgstgl-1.0.so.0
#4  0x00007fe868cf6195 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fe86b08d6db in start_thread (arg=0x7fe82fad1700) at pthread_create.c:463
#6  0x00007fe86f66588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fe839308700 (LWP 4411)):
#0  0x00007fe86f658bf9 in __GI___poll (fds=0x7fe834003be0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fe868cce5c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe868cce6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe86ffbf0db in QEventDispatcherGlib::processEvents (this=0x7fe834047e40, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fe86ff5e63a in QEventLoop::exec (this=this@entry=0x7fe839307d80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007fe86fd6f317 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#6  0x00007fe86d8b2605 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007fe86fd707ec in QThreadPrivate::start (arg=0x559937a59f70) at thread/qthread_unix.cpp:342
#8  0x00007fe86b08d6db in start_thread (arg=0x7fe839308700) at pthread_create.c:463
#9  0x00007fe86f66588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fe842aa2700 (LWP 4391)):
#0  0x00007fe86f6540b4 in __GI___libc_read (fd=19, buf=0x7fe842aa1b70, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007fe868d132d0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe868cce0b7 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe868cce570 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fe868cce6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fe86ffbf0db in QEventDispatcherGlib::processEvents (this=0x7fe83c000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007fe86ff5e63a in QEventLoop::exec (this=this@entry=0x7fe842aa1d80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#7  0x00007fe86fd6f317 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#8  0x00007fe86d8b2605 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007fe86fd707ec in QThreadPrivate::start (arg=0x559937067d50) at thread/qthread_unix.cpp:342
#10 0x00007fe86b08d6db in start_thread (arg=0x7fe842aa2700) at pthread_create.c:463
#11 0x00007fe86f66588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fe84bd91700 (LWP 4390)):
#0  0x00007fe86f658bf9 in __GI___poll (fds=0x7fe8440029e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fe868cce5c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe868cce6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe86ffbf0db in QEventDispatcherGlib::processEvents (this=0x7fe844000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fe86ff5e63a in QEventLoop::exec (this=this@entry=0x7fe84bd90d80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007fe86fd6f317 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#6  0x00007fe86d8b2605 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007fe86fd707ec in QThreadPrivate::start (arg=0x559936deb900) at thread/qthread_unix.cpp:342
#8  0x00007fe86b08d6db in start_thread (arg=0x7fe84bd91700) at pthread_create.c:463
#9  0x00007fe86f66588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fe858b10700 (LWP 4389)):
#0  0x00007ffe72df374a in ?? ()
#1  0x00007ffe72df3982 in clock_gettime ()
#2  0x00007fe86f674ea6 in __GI___clock_gettime (clock_id=clock_id@entry=1, tp=tp@entry=0x7fe858b0fae0) at ../sysdeps/unix/clock_gettime.c:115
#3  0x00007fe86ffbe9e1 in qt_clock_gettime (ts=0x7fe858b0fae0, clock=<optimized out>) at kernel/qelapsedtimer_unix.cpp:111
#4  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at kernel/qelapsedtimer_unix.cpp:166
#5  qt_gettime () at kernel/qelapsedtimer_unix.cpp:175
#6  0x00007fe86ffbd219 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7fe854004ce0) at kernel/qtimerinfo_unix.cpp:91
#7  0x00007fe86ffbd7f5 in QTimerInfoList::timerWait (this=0x7fe854004ce0, tm=...) at kernel/qtimerinfo_unix.cpp:388
#8  0x00007fe86ffbee3e in timerSourcePrepareHelper (timeout=0x7fe858b0fba4, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:133
#9  timerSourcePrepare (source=<optimized out>, timeout=0x7fe858b0fba4) at kernel/qeventdispatcher_glib.cpp:166
#10 0x00007fe868ccdb28 in g_main_context_prepare () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fe868cce4fb in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007fe868cce6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007fe86ffbf0db in QEventDispatcherGlib::processEvents (this=0x7fe854000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#14 0x00007fe86ff5e63a in QEventLoop::exec (this=this@entry=0x7fe858b0fd70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#15 0x00007fe86fd6f317 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#16 0x00007fe87044b555 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#17 0x00007fe86fd707ec in QThreadPrivate::start (arg=0x7fe8706c3da0) at thread/qthread_unix.cpp:342
#18 0x00007fe86b08d6db in start_thread (arg=0x7fe858b10700) at pthread_create.c:463
#19 0x00007fe86f66588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fe860f43700 (LWP 4388)):
#0  0x00007fe86f658bf9 in __GI___poll (fds=0x7fe860f42ca8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fe86ac51747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fe86ac5336a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fe863b18cc0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007fe86fd707ec in QThreadPrivate::start (arg=0x559936a76e10) at thread/qthread_unix.cpp:342
#5  0x00007fe86b08d6db in start_thread (arg=0x7fe860f43700) at pthread_create.c:463
#6  0x00007fe86f66588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fe874216800 (LWP 4386)):
[KCrash Handler]
#6  std::__atomic_base<QObjectPrivate::Connection*>::load (__m=std::memory_order_relaxed, this=0x200000020) at /usr/include/c++/7/bits/atomic_base.h:713
#7  std::atomic<QObjectPrivate::Connection*>::load (__m=std::memory_order_relaxed, this=0x200000020) at /usr/include/c++/7/atomic:452
#8  QAtomicOps<QObjectPrivate::Connection*>::loadRelaxed<QObjectPrivate::Connection*> (_q_value=...) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:239
#9  QBasicAtomicPointer<QObjectPrivate::Connection>::loadRelaxed (this=0x200000020) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:248
#10 QObjectPrivate::ConnectionData::removeConnection (this=0x5599397c8170, c=c@entry=0x5599389b3920) at kernel/qobject.cpp:380
#11 0x00007fe86ff98d1b in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1087
#12 0x00007fe86de4d1ad in QQuickItem::~QQuickItem (this=0x559938bcdf10, __in_chrg=<optimized out>) at items/qquickitem.cpp:2383
#13 0x00007fe8483bbb6d in QQuickRadioButton::~QQuickRadioButton (this=0x559938bcdf10, __in_chrg=<optimized out>) at ../../../include/QtQuickTemplates2/5.14.1/QtQuickTemplates2/private/../../../../../src/quicktemplates2/qquickradiobutton_p.h:55
#14 QQmlPrivate::QQmlElement<QQuickRadioButton>::~QQmlElement (this=0x559938bcdf10, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:111
#15 QQmlPrivate::QQmlElement<QQuickRadioButton>::~QQmlElement (this=0x559938bcdf10, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:111
#16 0x00007fe86ff8f5fb in QObjectPrivate::deleteChildren (this=0x55993aeac6f0) at kernel/qobject.cpp:2123
#17 0x00007fe86ff98bde in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1107
#18 0x00007fe86de4d1ad in QQuickItem::~QQuickItem (this=0x55993ae7d5b0, __in_chrg=<optimized out>) at items/qquickitem.cpp:2383
#19 0x00007fe848815df8 in QQuickLayout::~QQuickLayout (this=0x55993ae7d5b0, __in_chrg=<optimized out>) at qquicklayout.cpp:716
#20 0x00007fe848811720 in QQuickLinearLayout::~QQuickLinearLayout (this=0x55993ae7d5b0, __in_chrg=<optimized out>) at qquicklinearlayout_p.h:191
#21 QQuickRowLayout::~QQuickRowLayout (this=0x55993ae7d5b0, __in_chrg=<optimized out>) at qquicklinearlayout_p.h:223
#22 QQmlPrivate::QQmlElement<QQuickRowLayout>::~QQmlElement (this=0x55993ae7d5b0, __in_chrg=<optimized out>) at ../../../include/QtQml/../../src/qml/qml/qqmlprivate.h:111
#23 QQmlPrivate::QQmlElement<QQuickRowLayout>::~QQmlElement (this=0x55993ae7d5b0, __in_chrg=<optimized out>) at ../../../include/QtQml/../../src/qml/qml/qqmlprivate.h:111
#24 0x00007fe86ff8f5fb in QObjectPrivate::deleteChildren (this=0x559939de38d0) at kernel/qobject.cpp:2123
#25 0x00007fe86ff98bde in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1107
#26 0x00007fe86de4d1ad in QQuickItem::~QQuickItem (this=0x5599398b0240, __in_chrg=<optimized out>) at items/qquickitem.cpp:2383
#27 0x00007fe8483bba0d in QQuickItemDelegate::~QQuickItemDelegate (this=0x5599398b0240, __in_chrg=<optimized out>) at ../../../include/QtQuickTemplates2/5.14.1/QtQuickTemplates2/private/../../../../../src/quicktemplates2/qquickitemdelegate_p.h:57
#28 QQuickSwipeDelegate::~QQuickSwipeDelegate (this=0x5599398b0240, __in_chrg=<optimized out>) at ../../../include/QtQuickTemplates2/5.14.1/QtQuickTemplates2/private/../../../../../src/quicktemplates2/qquickswipedelegate_p.h:60
#29 QQmlPrivate::QQmlElement<QQuickSwipeDelegate>::~QQmlElement (this=0x5599398b0240, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:111
#30 QQmlPrivate::QQmlElement<QQuickSwipeDelegate>::~QQmlElement (this=0x5599398b0240, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:111
#31 0x00007fe86ff92eb5 in QObject::event (this=this@entry=0x5599398b0240, e=e@entry=0x7fe85c009760) at kernel/qobject.cpp:1326
#32 0x00007fe86de4a45b in QQuickItem::event (this=0x5599398b0240, ev=0x7fe85c009760) at items/qquickitem.cpp:8156
#33 0x00007fe8710d98bc in QApplicationPrivate::notify_helper (this=this@entry=0x559936a6c5a0, receiver=receiver@entry=0x5599398b0240, e=e@entry=0x7fe85c009760) at kernel/qapplication.cpp:3684
#34 0x00007fe8710e0ac0 in QApplication::notify (this=0x7ffe72deaa00, receiver=0x5599398b0240, e=0x7fe85c009760) at kernel/qapplication.cpp:3430
#35 0x00007fe86ff5fdb8 in QCoreApplication::notifyInternal2 (receiver=0x5599398b0240, event=0x7fe85c009760) at kernel/qcoreapplication.cpp:1092
#36 0x00007fe86ff5ff8e in QCoreApplication::sendEvent (receiver=receiver@entry=0x5599398b0240, event=event@entry=0x7fe85c009760) at kernel/qcoreapplication.cpp:1487
#37 0x00007fe86ff62a31 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x559936a62f60) at kernel/qcoreapplication.cpp:1832
#38 0x00007fe86ff62fc8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1691
#39 0x00007fe86ffbfa13 in postEventSourceDispatch (s=0x559936acb2d0) at kernel/qeventdispatcher_glib.cpp:277
#40 0x00007fe868cce417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007fe868cce650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007fe868cce6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007fe86ffbf0bc in QEventDispatcherGlib::processEvents (this=0x559936ac53b0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#44 0x00007fe86ff5e63a in QEventLoop::exec (this=this@entry=0x7ffe72dea920, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#45 0x00007fe86ff67db0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1400
#46 0x0000559935d9b2e0 in main (argc=<optimized out>, argv=<optimized out>) at ./app/main.cpp:70

Reported using DrKonqi
Comment 1 Ignas Kiela 2020-06-20 15:00:53 UTC
Created attachment 129551 [details]
New crash information added by DrKonqi

systemsettings5 (5.19.1) using Qt 5.14.2

- What I was doing when the application crashed:

Watching effect demo videos causes crashes

-- Backtrace (Reduced):
#4  QHashNode<QObject* (*)(QObject*), QObject*>::same_key (this=0x100000001, this=0x100000001, key0=@0x7fff4aba7a38: 0x565408506480, h0=171848449) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:156
#5  QHash<QObject* (*)(QObject*), QObject*>::findNode (h=171848449, akey=@0x7fff4aba7a38: 0x565408506480, this=0x565408ba3570) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:935
#6  QHash<QObject* (*)(QObject*), QObject*>::findNode (this=this@entry=0x565408ba3570, akey=@0x7fff4aba7a88: 0x7f4e451a60e0 <Kirigami::PlatformTheme::qmlAttachedProperties(QObject*)>, ahp=ahp@entry=0x0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:954
#7  0x00007f4e6df641af in QHash<QObject* (*)(QObject*), QObject*>::value (akey=@0x7fff4aba7a88: 0x7f4e451a60e0 <Kirigami::PlatformTheme::qmlAttachedProperties(QObject*)>, this=0x565408ba3570) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:640
#8  QtQml::resolveAttachedProperties (pf=<optimized out>, data=0x565408286410, object=0x5654082863f0, create=<optimized out>) at qml/qqmlengine.cpp:1617
Comment 2 Nate Graham 2021-06-17 19:55:06 UTC
Cannot reproduce.

Is it still happening to you in a later version? Like Plasma 5.21 or 5.22?
Comment 3 tgeor.dev 2021-06-18 04:38:38 UTC
(In reply to Nate Graham from comment #2)
> Cannot reproduce.
> 
> Is it still happening to you in a later version? Like Plasma 5.21 or 5.22?

Sorry, can't test it, since I switched to Fedora and Gnome. Maybe someone else will provide more info.
Comment 4 Bug Janitor Service 2021-07-03 04:33:45 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2021-07-18 04:33:38 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!