Bug 417124 - Plasma crashes in QSGDefaultRenderContext::invalidate() with the panfrost driver when selecting new global theme
Summary: Plasma crashes in QSGDefaultRenderContext::invalidate() with the panfrost dri...
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (show other bugs)
Version: 5.17.5
Platform: unspecified Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-02-04 03:25 UTC by Robert Xu
Modified: 2022-12-31 05:24 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (11.49 KB, patch)
2020-02-23 22:55 UTC, Kewl ToyZ
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Xu 2020-02-04 03:25:03 UTC
Application: plasmashell (5.17.5)

Qt Version: 5.14.1
Frameworks Version: 5.66.0
Operating System: Linux 5.5.0-1-MANJARO-ARM aarch64
Distribution: Manjaro ARM

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

When I try to select another Global theme (in this instance, from Matcha to Breeze), Plasma crashes. When Plasma reloads, the global theme completes the switch.

Package list: https://phabricator.kde.org/P537
Currently using the Panfrost driver:

Compositing
===========
Compositing is active
Compositing Type: OpenGL ES 2.0
OpenGL vendor string: Panfrost
OpenGL renderer string: Mali T860 (Panfrost)
OpenGL version string: OpenGL ES 2.0 Mesa 20.0.0-devel (git-d3fa18a1fa)
OpenGL platform interface: EGL
OpenGL shading language version string: OpenGL ES GLSL ES 1.0.16
Driver: Unknown
GPU class: Unknown
OpenGL version: 2.0
GLSL version: 1.0.16
Mesa version: 20.0
X server version: 1.20.7
Linux kernel version: 5.5
Direct rendering: Requires strict binding: no
GLSL shaders:  yes
Texture NPOT support:  yes
Virtual Machine:  no
OpenGL 2 Shaders are used
Painting blocks for vertical retrace:  no

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0xffff8ae8cdd0 (LWP 1234))]

Thread 8 (Thread 0xffff5895d090 (LWP 1725)):
#0  0x0000ffff8e6f21d4 in pthread_cond_wait@@GLIBC_2.17 () at /usr/lib/libpthread.so.0
#1  0x0000ffff8f38b3a4 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x0000ffff8f38b558 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x0000ffff913f1c54 in  () at /usr/lib/libQt5Quick.so.5
#4  0x0000ffff913f1f94 in  () at /usr/lib/libQt5Quick.so.5
#5  0x0000ffff8f3839b8 in  () at /usr/lib/libQt5Core.so.5
#6  0x0000ffff8e6eb938 in start_thread () at /usr/lib/libpthread.so.0
#7  0x0000ffff8f015a1c in thread_start () at /usr/lib/libc.so.6

Thread 7 (Thread 0xffff5ad3d090 (LWP 1480)):
#0  0x0000ffff8e6f21d4 in pthread_cond_wait@@GLIBC_2.17 () at /usr/lib/libpthread.so.0
#1  0x0000ffff8f38b3a4 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x0000ffff8f38b558 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x0000ffff913f1c54 in  () at /usr/lib/libQt5Quick.so.5
#4  0x0000ffff913f1f94 in  () at /usr/lib/libQt5Quick.so.5
#5  0x0000ffff8f3839b8 in  () at /usr/lib/libQt5Core.so.5
#6  0x0000ffff8e6eb938 in start_thread () at /usr/lib/libpthread.so.0
#7  0x0000ffff8f015a1c in thread_start () at /usr/lib/libc.so.6

Thread 6 (Thread 0xffff5bb99090 (LWP 1479)):
#0  0x0000ffff8e6f21d4 in pthread_cond_wait@@GLIBC_2.17 () at /usr/lib/libpthread.so.0
#1  0x0000ffff8f38b3a4 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x0000ffff8f38b558 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x0000ffff913f1c54 in  () at /usr/lib/libQt5Quick.so.5
#4  0x0000ffff913f1f94 in  () at /usr/lib/libQt5Quick.so.5
#5  0x0000ffff8f3839b8 in  () at /usr/lib/libQt5Core.so.5
#6  0x0000ffff8e6eb938 in start_thread () at /usr/lib/libpthread.so.0
#7  0x0000ffff8f015a1c in thread_start () at /usr/lib/libc.so.6

Thread 5 (Thread 0xffff7258c090 (LWP 1432)):
#0  0x0000ffff8e6f21d4 in pthread_cond_wait@@GLIBC_2.17 () at /usr/lib/libpthread.so.0
#1  0x0000ffff8f38b3a4 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x0000ffff8f38b558 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x0000ffff913f1c54 in  () at /usr/lib/libQt5Quick.so.5
#4  0x0000ffff913f1f94 in  () at /usr/lib/libQt5Quick.so.5
#5  0x0000ffff8f3839b8 in  () at /usr/lib/libQt5Core.so.5
#6  0x0000ffff8e6eb938 in start_thread () at /usr/lib/libpthread.so.0
#7  0x0000ffff8f015a1c in thread_start () at /usr/lib/libc.so.6

Thread 4 (Thread 0xffff73643090 (LWP 1429)):
#0  0x0000ffff8d7bafb8 in  () at /usr/lib/libglib-2.0.so.0
#1  0x0000ffff8d7bcafc in  () at /usr/lib/libglib-2.0.so.0
#2  0x0000ffff8d7be354 in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#3  0x0000ffff8d7beee0 in  () at /usr/lib/libglib-2.0.so.0
#4  0x0000ffff8d7bf17c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x0000ffff8f60d8ac in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x0000ffff8f59efe4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x0000ffff8f3820b8 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x0000ffff913251a0 in  () at /usr/lib/libQt5Quick.so.5
#9  0x0000ffff8f3839b8 in  () at /usr/lib/libQt5Core.so.5
#10 0x0000ffff8e6eb938 in start_thread () at /usr/lib/libpthread.so.0
#11 0x0000ffff8f015a1c in thread_start () at /usr/lib/libc.so.6

Thread 3 (Thread 0xffff88b12090 (LWP 1419)):
#0  0x0000ffff8d8191cc in g_mutex_lock () at /usr/lib/libglib-2.0.so.0
#1  0x0000ffff8d7be95c in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#2  0x0000ffff8d7bef80 in  () at /usr/lib/libglib-2.0.so.0
#3  0x0000ffff8d7bf17c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x0000ffff8f60d8ac in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x0000ffff8f59efe4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x0000ffff8f3820b8 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x0000ffff910466e0 in  () at /usr/lib/libQt5Qml.so.5
#8  0x0000ffff8f3839b8 in  () at /usr/lib/libQt5Core.so.5
#9  0x0000ffff8e6eb938 in start_thread () at /usr/lib/libpthread.so.0
#10 0x0000ffff8f015a1c in thread_start () at /usr/lib/libc.so.6

Thread 2 (Thread 0xffff89e17090 (LWP 1285)):
#0  0x0000ffff8f00cab8 in poll () at /usr/lib/libc.so.6
#1  0x0000ffff8d7beff8 in  () at /usr/lib/libglib-2.0.so.0
#2  0x0000ffff8d7bf17c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x0000ffff8f60d8ac in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x0000ffff8f59efe4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x0000ffff8f3820b8 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x0000ffff8ffad978 in  () at /usr/lib/libQt5DBus.so.5
#7  0x0000ffff8f3839b8 in  () at /usr/lib/libQt5Core.so.5
#8  0x0000ffff8e6eb938 in start_thread () at /usr/lib/libpthread.so.0
#9  0x0000ffff8f015a1c in thread_start () at /usr/lib/libc.so.6

Thread 1 (Thread 0xffff8ae8cdd0 (LWP 1234)):
[KCrash Handler]
#6  0x0000ffff8f5ddf90 in QObject::property(char const*) const () at /usr/lib/libQt5Core.so.5
#7  0x0000ffff913deb88 in QSGDefaultRenderContext::invalidate() () at /usr/lib/libQt5Quick.so.5
#8  0x0000ffff9153a7e4 in QQuickRenderControl::invalidate() () at /usr/lib/libQt5Quick.so.5
#9  0x0000ffff9153a828 in QQuickRenderControl::~QQuickRenderControl() () at /usr/lib/libQt5Quick.so.5
#10 0x0000ffff9153a88c in QQuickRenderControl::~QQuickRenderControl() () at /usr/lib/libQt5Quick.so.5
#11 0x0000ffff8f5d4ad0 in QObjectPrivate::deleteChildren() () at /usr/lib/libQt5Core.so.5
#12 0x0000ffff8f5e0154 in QObject::~QObject() () at /usr/lib/libQt5Core.so.5
#13 0x0000ffff709f1f7c in  () at /usr/lib/qt/plugins/org.kde.kdecoration2/kwin5_aurorae.so
#14 0x0000ffff8f5d876c in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#15 0x0000ffff90286b44 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#16 0x0000ffff90291458 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#17 0x0000ffff8f5a0bb0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#18 0x0000ffff8f5a3e70 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#19 0x0000ffff8f60e608 in  () at /usr/lib/libQt5Core.so.5
#20 0x0000ffff8d7bed58 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#21 0x0000ffff8d7bf0a8 in  () at /usr/lib/libglib-2.0.so.0
#22 0x0000ffff8d7bf17c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#23 0x0000ffff8f60d88c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#24 0x0000ffff8f59efe4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#25 0x0000ffff8f5a919c in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#26 0x0000aaaadd460454 in  ()
#27 0x0000ffff8ef6912c in __libc_start_main () at /usr/lib/libc.so.6
#28 0x0000aaaadd46093c in _start ()
[Inferior 1 (process 1234) detached]

Possible duplicates by query: bug 412695, bug 410492, bug 381356, bug 377783, bug 376900.

Reported using DrKonqi
Comment 1 Kewl ToyZ 2020-02-23 22:55:17 UTC
Created attachment 126362 [details]
New crash information added by DrKonqi

plasmashell (5.17.5) using Qt 5.13.2

- What I was doing when the application crashed:
When changing Global Theme and clicking the checkbox applying it to the entire DE it generates a crash every time.
DE seems to recover but is unstable until restart.

- Unusual behavior I noticed: 
Revrts to default KDE Wallpaper.
System becomes sluggish to responses.

- Custom settings of the application: 
I am using Nitrux OS project doing some testing of the DE. 
Learning about Linux Distros month 2. 
My first bug reporting participation.

-- Backtrace (Reduced):
#10 0x00007fd400d50f6f in QObject::destroyed(QObject*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007fd400d57aca in QObject::~QObject() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007fd4052833a9 in Plasma::Containment::~Containment() () from /usr/lib/x86_64-linux-gnu/libKF5Plasma.so.5
#13 0x00007fd400d51380 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007fd40268aeac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
Comment 2 Nate Graham 2021-02-24 05:30:25 UTC
Looks like a new version of Bug 395732, which was supposed to have been fixed in Qt 5.12.
Comment 3 Justin Zobel 2022-12-01 05:22:10 UTC
Thank you for reporting this issue in KDE software. As it was reported on an older version, can we please ask you to see if you can reproduce the issue with a more recent software version?  
  
If you can confirm this issue still exists in a recent version, please change the version field and the status to "REPORTED" when replying. Thank you!
Comment 4 Bug Janitor Service 2022-12-16 05:14:39 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 2022-12-31 05:24:45 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!