Bug 477281 - Plasma Shell random crash under wayland
Summary: Plasma Shell random crash under wayland
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (show other bugs)
Version: 5.27.9
Platform: openSUSE Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-11-20 12:52 UTC by Anderson
Modified: 2024-06-06 15:35 UTC (History)
4 users (show)

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


Attachments
New crash information added by DrKonqi (99.42 KB, text/plain)
2023-11-20 12:52 UTC, Anderson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anderson 2023-11-20 12:52:42 UTC
Application: plasmashell (5.27.9)

Qt Version: 5.15.11
Frameworks Version: 5.112.0
Operating System: Linux 6.6.1-1-default x86_64
Windowing System: Wayland
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.27.9 [CoredumpBackend]

-- Information about the crash:
it just randomly crashes sometimes, but it happens most if you are interacting with the shell itself. Im using the kde opensuse tumbleweed repos. i wanted to report it so it can be fixed. Thanks people for all your efforts too :)

The crash can be reproduced sometimes.

-- Backtrace (Reduced):
#5  std::__atomic_base<QThread*>::load (__m=std::memory_order_acquire, this=0x38) at /usr/include/c++/13/bits/atomic_base.h:835
#6  std::atomic<QThread*>::load (__m=std::memory_order_acquire, this=0x38) at /usr/include/c++/13/atomic:577
#7  QAtomicOps<QThread*>::loadAcquire<QThread*> (_q_value=<error reading variable: Cannot access memory at address 0x38>) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:251
#8  QBasicAtomicPointer<QThread>::loadAcquire (this=0x38) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:255
#9  QObject::thread (this=this@entry=0x55f1291f34a0) at kernel/qobject.cpp:1520


Reported using DrKonqi
Comment 1 Anderson 2023-11-20 12:52:44 UTC
Created attachment 163311 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Marco Martin 2023-11-21 10:57:01 UTC
pasitng inline thread 1

Thread 1 (Thread 0x7fea278bb6c0 (LWP 28543)):
[KCrash Handler]
#5  std::__atomic_base<QThread*>::load (__m=std::memory_order_acquire, this=0x38) at /usr/include/c++/13/bits/atomic_base.h:835
#6  std::atomic<QThread*>::load (__m=std::memory_order_acquire, this=0x38) at /usr/include/c++/13/atomic:577
#7  QAtomicOps<QThread*>::loadAcquire<QThread*> (_q_value=<error reading variable: Cannot access memory at address 0x38>) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:251
#8  QBasicAtomicPointer<QThread>::loadAcquire (this=0x38) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:255
#9  QObject::thread (this=this@entry=0x55f1291f34a0) at kernel/qobject.cpp:1520
#10 0x00007feab69232ab in QObject::QObject (this=0x7fea880200a0, dd=..., parent=0x55f1291f34a0) at kernel/qobject.cpp:937
#11 0x00007fea73ab7209 in Kirigami::PlatformTheme::PlatformTheme (this=<optimized out>, parent=<optimized out>, this=<optimized out>, parent=<optimized out>) at /usr/src/debug/kirigami2-5.112.0/src/libkirigami/platformtheme.cpp:410
#12 0x00007fea70739a09 in PlasmaDesktopTheme::PlasmaDesktopTheme (parent=0x55f1291f34a0, this=0x7fea880200a0) at /usr/src/debug/qqc2-desktop-style-5.112.0/kirigami-plasmadesktop-integration/plasmadesktoptheme.cpp:186
#13 KirigamiPlasmaFactory::createPlatformTheme (this=<optimized out>, parent=0x55f1291f34a0) at /usr/src/debug/qqc2-desktop-style-5.112.0/kirigami-plasmadesktop-integration/kirigamiplasmafactory.cpp:21
#14 0x00007fea73abc43d in Kirigami::PlatformTheme::qmlAttachedProperties (object=0x55f1291f34a0) at /usr/src/debug/kirigami2-5.112.0/src/libkirigami/platformtheme.cpp:843
#15 0x00007feab808ce7e in QtQml::resolveAttachedProperties (pf=0x7fea73abc420 <Kirigami::PlatformTheme::qmlAttachedProperties(QObject*)>, data=0x7fea880202d0, object=object@entry=0x55f1291f34a0, create=true, create@entry=false) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.11+kde30/src/qml/qml/qqmlengine.cpp:1627
#16 0x00007feab808d598 in QtQml::qmlAttachedPropertiesObject (object=object@entry=0x55f1291f34a0, func=<optimized out>, create=create@entry=false) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.11+kde30/src/qml/qml/qqmlengine.cpp:1692
#17 0x00007fea73ac625b in qmlAttachedPropertiesObject<Kirigami::PlatformTheme>(QObject const*, bool) [clone .constprop.0] (obj=obj@entry=0x55f1291f34a0, create=false) at /usr/include/qt5/QtQml/qqml.h:703
#18 0x00007fea73b370e5 in ImageColors::postProcess (imageData=..., this=0x55f1291f34a0) at /usr/src/debug/kirigami2-5.112.0/src/imagecolors.cpp:450
#19 ImageColors::generatePalette (this=0x55f1291f34a0, sourceImage=...) at /usr/src/debug/kirigami2-5.112.0/src/imagecolors.cpp:436
#20 0x00007fea73b3d558 in operator() (__closure=0x55f1293f9840) at /usr/src/debug/kirigami2-5.112.0/src/imagecolors.cpp:182
#21 QtConcurrent::StoredFunctorCall0<ImageData, ImageColors::update()::<lambda()>::<lambda()> >::runFunctor (this=0x55f1293f97a0) at /usr/include/qt5/QtConcurrent/qtconcurrentstoredfunctioncall.h:60
#22 QtConcurrent::RunFunctionTask<ImageData>::run (this=0x55f1293f97a0) at /usr/include/qt5/QtConcurrent/qtconcurrentrunbase.h:114
#23 0x00007feab67076d2 in QThreadPoolThread::run (this=0x7fea58007740) at thread/qthreadpool.cpp:100
#24 0x00007feab670419d in operator() (__closure=<optimized out>) at thread/qthread_unix.cpp:350
#25 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at thread/qthread_unix.cpp:287
#26 QThreadPrivate::start (arg=0x7fea58007740) at thread/qthread_unix.cpp:310
#27 0x00007feab5e8ff44 in start_thread () from /lib64/libc.so.6
#28 0x00007feab5f184cc in clone3 () from /lib64/libc.so.6
Comment 3 Akseli Lahtinen 2024-06-06 13:39:31 UTC
Hi, have you encountered this again? This should be fixed on Plasma 6. It looks like the crash had something to do with changing colors, so you could try switching accent colors and colorschemes and see if it happens again. Personally I can't reproduce the bug.
Comment 4 Anderson 2024-06-06 14:03:45 UTC
(In reply to Akseli Lahtinen from comment #3)
> Hi, have you encountered this again? This should be fixed on Plasma 6. It
> looks like the crash had something to do with changing colors, so you could
> try switching accent colors and colorschemes and see if it happens again.
> Personally I can't reproduce the bug.

I haven't found this bug ever again, so I can say it was fixed, plasma 6 is super stable on tumbleweed, thanks for your response👍
Comment 5 Akseli Lahtinen 2024-06-06 15:35:47 UTC
Good to hear, thanks for replying!