Bug 464861 - Plasma keeps crashing with memory corruption at login when using image of the day wallpaper
Summary: Plasma keeps crashing with memory corruption at login when using image of the...
Status: REPORTED
Alias: None
Product: kdeplasma-addons
Classification: Plasma
Component: Picture of the Day (show other bugs)
Version: 5.26.5
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-01-26 18:02 UTC by Stefano
Modified: 2023-02-02 20:21 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefano 2023-01-26 18:02:32 UTC
Application: plasmashell (5.26.5)

Qt Version: 5.15.8
Frameworks Version: 5.102.0
Operating System: Linux 6.1.7-1-default x86_64
Windowing System: Wayland
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.26.5 [KCrashBackend]

-- Information about the crash:
This happens randomly, but only when using the image of the day wallpaper (unslpash in this case).

plasmashell crashes, leaving a black screen. In this situation I can still launch krunner with the shortcut key and try to start plasmashell again.

When trying to restart it by typing plasmashell --replace in krunner, plasmashell crashes some more and after many retry it starts.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault

[KCrash Handler]
#4  0x00007fc26a0f6347 in QMutex::lock() () from /lib64/libQt5Core.so.5
#5  0x00007fc26a2ddff4 in QCoreApplicationPrivate::lockThreadPostEventList(QObject*) () from /lib64/libQt5Core.so.5
#6  0x00007fc26a2df5d9 in QCoreApplication::postEvent(QObject*, QEvent*, int) () from /lib64/libQt5Core.so.5
#7  0x00007fc26a3132dd in ?? () from /lib64/libQt5Core.so.5
#8  0x00007fc26be97028 in QQuickWindowPrivate::renderSceneGraph(QSize const&, QSize const&) () from /lib64/libQt5Quick.so.5
#9  0x00007fc26be37ff7 in ?? () from /lib64/libQt5Quick.so.5
#10 0x00007fc26be38ecf in ?? () from /lib64/libQt5Quick.so.5
#11 0x00007fc26a0f5e3d in ?? () from /lib64/libQt5Core.so.5
#12 0x00007fc269a9398d in start_thread () from /lib64/libc.so.6
#13 0x00007fc269b1a380 in clone3 () from /lib64/libc.so.6

Thread 10 (Thread 0x7fc227fff6c0 (LWP 2675) "plasmash:gdrv0"):
#1  0x00007fc269a92cd0 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007fc25dcb659b in ?? () from /usr/lib64/dri/crocus_dri.so
#3  0x00007fc25dd10d67 in ?? () from /usr/lib64/dri/crocus_dri.so
#4  0x00007fc269a9398d in start_thread () from /lib64/libc.so.6
#5  0x00007fc269b1a380 in clone3 () from /lib64/libc.so.6

Thread 9 (Thread 0x7fc22cb066c0 (LWP 2674) "plasmash:gdrv0"):
#1  0x00007fc269a92cd0 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007fc25dcb659b in ?? () from /usr/lib64/dri/crocus_dri.so
#3  0x00007fc25dd10d67 in ?? () from /usr/lib64/dri/crocus_dri.so
#4  0x00007fc269a9398d in start_thread () from /lib64/libc.so.6
#5  0x00007fc269b1a380 in clone3 () from /lib64/libc.so.6

Thread 8 (Thread 0x7fc243fff6c0 (LWP 2665) "QQmlThread"):
#1  0x00007fc268319b2d in ?? () from /lib64/libglib-2.0.so.0
#2  0x00007fc26831b71b in g_main_context_check () from /lib64/libglib-2.0.so.0
#3  0x00007fc26831bd68 in ?? () from /lib64/libglib-2.0.so.0
#4  0x00007fc26831bedc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#5  0x00007fc26a333b7e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#6  0x00007fc26a2dabab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#7  0x00007fc26a0f4c47 in QThread::exec() () from /lib64/libQt5Core.so.5
#8  0x00007fc26b93f175 in ?? () from /lib64/libQt5Qml.so.5
#9  0x00007fc26a0f5e3d in ?? () from /lib64/libQt5Core.so.5
#10 0x00007fc269a9398d in start_thread () from /lib64/libc.so.6
#11 0x00007fc269b1a380 in clone3 () from /lib64/libc.so.6

Thread 7 (Thread 0x7fc25cb866c0 (LWP 2664) "plasmash:gdrv0"):
#1  0x00007fc269a92cd0 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007fc25dcb659b in ?? () from /usr/lib64/dri/crocus_dri.so
#3  0x00007fc25dd10d67 in ?? () from /usr/lib64/dri/crocus_dri.so
#4  0x00007fc269a9398d in start_thread () from /lib64/libc.so.6
#5  0x00007fc269b1a380 in clone3 () from /lib64/libc.so.6

Thread 6 (Thread 0x7fc25d3fe6c0 (LWP 2663) "plasmash:gdrv0"):
#1  0x00007fc269a92cd0 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007fc25dcb659b in ?? () from /usr/lib64/dri/crocus_dri.so
#3  0x00007fc25dd10d67 in ?? () from /usr/lib64/dri/crocus_dri.so
#4  0x00007fc269a9398d in start_thread () from /lib64/libc.so.6
#5  0x00007fc269b1a380 in clone3 () from /lib64/libc.so.6

Thread 5 (Thread 0x7fc25dbff6c0 (LWP 2660) "plasmas:disk$0"):
#1  0x00007fc269a92cd0 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007fc25dcb659b in ?? () from /usr/lib64/dri/crocus_dri.so
#3  0x00007fc25dd10d67 in ?? () from /usr/lib64/dri/crocus_dri.so
#4  0x00007fc269a9398d in start_thread () from /lib64/libc.so.6
#5  0x00007fc269b1a380 in clone3 () from /lib64/libc.so.6

Thread 4 (Thread 0x7fc25ffff6c0 (LWP 2659) "WaylandEventThr"):
#1  0x00007fc26992ee06 in ?? () from /lib64/libQt5WaylandClient.so.5
#2  0x00007fc26a0f5e3d in ?? () from /lib64/libQt5Core.so.5
#3  0x00007fc269a9398d in start_thread () from /lib64/libc.so.6
#4  0x00007fc269b1a380 in clone3 () from /lib64/libc.so.6

Thread 3 (Thread 0x7fc264bd46c0 (LWP 2658) "WaylandEventThr"):
#1  0x00007fc269a92cd0 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007fc26a0fb74b in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt5Core.so.5
#3  0x00007fc26992edaf in ?? () from /lib64/libQt5WaylandClient.so.5
#4  0x00007fc26a0f5e3d in ?? () from /lib64/libQt5Core.so.5
#5  0x00007fc269a9398d in start_thread () from /lib64/libc.so.6
#6  0x00007fc269b1a380 in clone3 () from /lib64/libc.so.6

Thread 2 (Thread 0x7fc2655ff6c0 (LWP 2657) "QDBusConnection"):
#1  0x00007fc26836b54f in ?? () from /lib64/libglib-2.0.so.0
#2  0x00007fc26831b8a6 in g_main_context_check () from /lib64/libglib-2.0.so.0
#3  0x00007fc26831bd68 in ?? () from /lib64/libglib-2.0.so.0
#4  0x00007fc26831bedc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#5  0x00007fc26a333b7e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#6  0x00007fc26a2dabab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#7  0x00007fc26a0f4c47 in QThread::exec() () from /lib64/libQt5Core.so.5
#8  0x00007fc26b586277 in ?? () from /lib64/libQt5DBus.so.5
#9  0x00007fc26a0f5e3d in ?? () from /lib64/libQt5Core.so.5
#10 0x00007fc269a9398d in start_thread () from /lib64/libc.so.6
#11 0x00007fc269b1a380 in clone3 () from /lib64/libc.so.6

Thread 1 (Thread 0x7fc267886280 (LWP 2656) "plasmashell"):
#1  0x00007fc269a92cd0 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007fc26a0fb74b in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt5Core.so.5
#3  0x00007fc26be3a7b8 in ?? () from /lib64/libQt5Quick.so.5
#4  0x00007fc26bea6180 in QQuickWindow::event(QEvent*) () from /lib64/libQt5Quick.so.5
#5  0x00007fc26afa544e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#6  0x00007fc26a2dc138 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#7  0x00007fc26a76aa28 in QPlatformWindow::deliverUpdateRequest() () from /lib64/libQt5Gui.so.5
#8  0x00007fc26a307c50 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#9  0x00007fc26afa544e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#10 0x00007fc26a2dc138 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#11 0x00007fc26a2df0d1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#12 0x00007fc26a334363 in ?? () from /lib64/libQt5Core.so.5
#13 0x00007fc26831ba90 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#14 0x00007fc26831be48 in ?? () from /lib64/libglib-2.0.so.0
#15 0x00007fc26831bedc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#16 0x00007fc26a333b66 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#17 0x00007fc26a2dabab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#18 0x00007fc26a2e2d16 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#19 0x000055debb6253a2 in ?? ()
#20 0x00007fc269a2c5b0 in __libc_start_call_main () from /lib64/libc.so.6
#21 0x00007fc269a2c679 in __libc_start_main_impl () from /lib64/libc.so.6
#22 0x000055debb625765 in ?? ()
[Inferior 1 (process 2656) detached]

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

Reported using DrKonqi
Comment 1 Nate Graham 2023-01-27 17:42:40 UTC
Hmm, the backtrace is truncated a bit:

[KCrash Handler]
#4  0x00007fc26a0f6347 in QMutex::lock() () from /lib64/libQt5Core.so.5

Can you attach the full backtrace that includes frames 1-3 as well? The "Crashed Processed Viewer" app may help you retrieve it.
Comment 2 Stefano 2023-01-27 18:28:17 UTC
(In reply to Nate Graham from comment #1)
> Hmm, the backtrace is truncated a bit:
> 
> [KCrash Handler]
> #4  0x00007fc26a0f6347 in QMutex::lock() () from /lib64/libQt5Core.so.5
> 
> Can you attach the full backtrace that includes frames 1-3 as well? The
> "Crashed Processed Viewer" app may help you retrieve it.

Sure! I'll try the next time it happens!
Comment 3 Stefano 2023-01-28 08:10:16 UTC
I have a new backtrace. Hope this helps.

Also, I'm not sure this is correlated, but I noticed that this never happened when using latte-dock instead of the panel.

Application: Plasma (plasmashell), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f87dcaf6347 in std::__atomic_base<QMutexData*>::compare_exchange_strong (__m2=std::memory_order_acquire, __m1=std::memory_order_acquire, __p2=0x1, __p1=<synthetic pointer>: 0x0, this=this@entry=0x7489085063480854) at /usr/include/c++/12/bits/atomic_base.h:876
#5  std::atomic<QMutexData*>::compare_exchange_strong (__m2=std::memory_order_acquire, __m1=std::memory_order_acquire, __p2=0x1, __p1=<synthetic pointer>: 0x0, this=this@entry=0x7489085063480854) at /usr/include/c++/12/atomic:625
#6  QAtomicOps<QMutexData*>::testAndSetAcquire<QMutexData*> (currentValue=<synthetic pointer>, newValue=0x1, expectedValue=0x0, _q_value=<error reading variable: Cannot access memory at address 0x7489085063480854>) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:308
#7  QBasicAtomicPointer<QMutexData>::testAndSetAcquire (currentValue=<synthetic pointer>: <optimized out>, newValue=0x1, expectedValue=0x0, this=this@entry=0x7489085063480854) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:273
#8  QBasicMutex::fastTryLock (current=<synthetic pointer>: <optimized out>, this=this@entry=0x7489085063480854) at thread/qmutex.h:128
#9  QMutex::lock (this=this@entry=0x7489085063480854) at thread/qmutex.cpp:232
#10 0x00007f87dccddff4 in std::unique_lock<QMutex>::lock (this=<synthetic pointer>) at /usr/include/c++/12/bits/unique_lock.h:131
#11 std::unique_lock<QMutex>::unique_lock (__m=..., this=<synthetic pointer>) at /usr/include/c++/12/bits/unique_lock.h:69
#12 (anonymous namespace)::qt_unique_lock<QMutex> (mutex=...) at ../../include/QtCore/5.15.8/QtCore/private/../../../../../src/corelib/thread/qlocking_p.h:106
#13 QCoreApplicationPrivate::lockThreadPostEventList (object=<optimized out>) at kernel/qcoreapplication.cpp:1500
#14 0x00007f87dccdf5d9 in QCoreApplication::postEvent (receiver=0x55b393bd27a0, event=0x7f8794282df0, priority=0) at kernel/qcoreapplication.cpp:1546
#15 0x00007f87dcd132dd in QtPrivate::QSlotObjectBase::call (a=0x7f879e6429f0, r=0x55b393bd27a0, this=0x55b39515c020) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#16 doActivate<false> (sender=0x55b393c0edb0, signal_index=29, argv=0x7f879e6429f0) at kernel/qobject.cpp:3923
#17 0x00007f87dcd0c75f in QMetaObject::activate (sender=sender@entry=0x55b393c0edb0, m=m@entry=0x7f87deb6ec40, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x0) at kernel/qobject.cpp:3983
#18 0x00007f87de890993 in QQuickWindow::afterRendering (this=this@entry=0x55b393c0edb0) at .moc/moc_qquickwindow.cpp:564
#19 0x00007f87de897028 in QQuickWindowPrivate::renderSceneGraph (this=0x55b39377fed0, size=..., surfaceSize=...) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/items/qquickwindow.cpp:619
#20 0x00007f87de837ff7 in QSGRenderThread::syncAndRender (this=0x7f87d001ff90, grabImage=0x0) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/scenegraph/qsgthreadedrenderloop.cpp:836
#21 0x00007f87de838ecf in QSGRenderThread::run (this=0x7f87d001ff90) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/scenegraph/qsgthreadedrenderloop.cpp:1042
#22 0x00007f87dcaf5e3d in QThreadPrivate::start (arg=0x7f87d001ff90) at thread/qthread_unix.cpp:330
#23 0x00007f87dc49398d in start_thread () from /lib64/libc.so.6
#24 0x00007f87dc51a380 in clone3 () from /lib64/libc.so.6

Thread 11 (Thread 0x7f879ee446c0 (LWP 4741) "plasmash:gdrv0"):
#1  0x00007f87dc492cd0 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f87d4ab659b in cnd_wait (mtx=0x55b3944cdbe0, cond=0x55b3944cdc08) at ../src/c11/impl/threads_posix.c:135
#3  util_queue_thread_func (input=input@entry=0x55b3942f5140) at ../src/util/u_queue.c:290
#4  0x00007f87d4b10d67 in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:67
#5  0x00007f87dc49398d in start_thread () from /lib64/libc.so.6
#6  0x00007f87dc51a380 in clone3 () from /lib64/libc.so.6

Thread 10 (Thread 0x7f879f6456c0 (LWP 4740) "plasmash:gdrv0"):
#1  0x00007f87dc492cd0 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f87d4ab659b in cnd_wait (mtx=0x55b394254620, cond=0x55b394254648) at ../src/c11/impl/threads_posix.c:135
#3  util_queue_thread_func (input=input@entry=0x55b393a7d500) at ../src/util/u_queue.c:290
#4  0x00007f87d4b10d67 in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:67
#5  0x00007f87dc49398d in start_thread () from /lib64/libc.so.6
#6  0x00007f87dc51a380 in clone3 () from /lib64/libc.so.6

Thread 9 (Thread 0x7f87b899f6c0 (LWP 4734) "Thread (pooled)"):
#1  0x00007f87dc492fd4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f87dcafb6dc in QWaitConditionPrivate::wait_relative (deadline=..., this=0x55b393f05960) at thread/qwaitcondition_unix.cpp:136
#3  QWaitConditionPrivate::wait (deadline=..., this=0x55b393f05960) at thread/qwaitcondition_unix.cpp:144
#4  QWaitCondition::wait (this=this@entry=0x55b393d85960, mutex=mutex@entry=0x55b393dccca8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f87dcaf9595 in QThreadPoolThread::run (this=0x55b393d85950) at thread/qthreadpool.cpp:140
#6  0x00007f87dcaf5e3d in QThreadPrivate::start (arg=0x55b393d85950) at thread/qthread_unix.cpp:330
#7  0x00007f87dc49398d in start_thread () from /lib64/libc.so.6
#8  0x00007f87dc51a380 in clone3 () from /lib64/libc.so.6

Thread 8 (Thread 0x7f87babff6c0 (LWP 4728) "QQmlThread"):
#1  0x00007f87db0b954f in ?? () from /lib64/libglib-2.0.so.0
#2  0x00007f87db0698a6 in g_main_context_check () from /lib64/libglib-2.0.so.0
#3  0x00007f87db069d68 in ?? () from /lib64/libglib-2.0.so.0
#4  0x00007f87db069edc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#5  0x00007f87dcd33b7e in QEventDispatcherGlib::processEvents (this=0x7f87a8000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f87dccdabab in QEventLoop::exec (this=this@entry=0x7f87babfebe0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#7  0x00007f87dcaf4c47 in QThread::exec (this=this@entry=0x55b393624560) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#8  0x00007f87de33f175 in QQmlThreadPrivate::run (this=0x55b393624560) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/qml/qml/ftw/qqmlthread.cpp:155
#9  0x00007f87dcaf5e3d in QThreadPrivate::start (arg=0x55b393624560) at thread/qthread_unix.cpp:330
#10 0x00007f87dc49398d in start_thread () from /lib64/libc.so.6
#11 0x00007f87dc51a380 in clone3 () from /lib64/libc.so.6

Thread 7 (Thread 0x7f87bbfff6c0 (LWP 4727) "plasmash:gdrv0"):
#1  0x00007f87dc492cd0 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f87d4ab659b in cnd_wait (mtx=0x55b39349b9e0, cond=0x55b39349ba08) at ../src/c11/impl/threads_posix.c:135
#3  util_queue_thread_func (input=input@entry=0x55b393405800) at ../src/util/u_queue.c:290
#4  0x00007f87d4b10d67 in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:67
#5  0x00007f87dc49398d in start_thread () from /lib64/libc.so.6
#6  0x00007f87dc51a380 in clone3 () from /lib64/libc.so.6

Thread 6 (Thread 0x7f87c0bfe6c0 (LWP 4726) "plasmash:gdrv0"):
#1  0x00007f87dc492cd0 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f87d4ab659b in cnd_wait (mtx=0x55b393425770, cond=0x55b393425798) at ../src/c11/impl/threads_posix.c:135
#3  util_queue_thread_func (input=input@entry=0x55b39341be40) at ../src/util/u_queue.c:290
#4  0x00007f87d4b10d67 in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:67
#5  0x00007f87dc49398d in start_thread () from /lib64/libc.so.6
#6  0x00007f87dc51a380 in clone3 () from /lib64/libc.so.6

Thread 5 (Thread 0x7f87c13ff6c0 (LWP 4723) "plasmas:disk$0"):
#1  0x00007f87dc492cd0 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f87d4ab659b in cnd_wait (mtx=0x55b39328a458, cond=0x55b39328a480) at ../src/c11/impl/threads_posix.c:135
#3  util_queue_thread_func (input=input@entry=0x55b393367720) at ../src/util/u_queue.c:290
#4  0x00007f87d4b10d67 in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:67
#5  0x00007f87dc49398d in start_thread () from /lib64/libc.so.6
#6  0x00007f87dc51a380 in clone3 () from /lib64/libc.so.6

Thread 4 (Thread 0x7f87d6ed56c0 (LWP 4722) "WaylandEventThr"):
#1  0x00007f87dcafb5ac in QWaitCondition::wakeOne (this=this@entry=0x55b3932ce8b0) at thread/qwaitcondition_unix.cpp:191
#2  0x00007f87dc32eea2 in QtWaylandClient::EventThread::readAndDispatchEvents (this=<optimized out>) at qwaylanddisplay.cpp:155
#3  QtWaylandClient::EventThread::waitForReading (this=0x55b3932ce870) at qwaylanddisplay.cpp:234
#4  QtWaylandClient::EventThread::run (this=0x55b3932ce870) at qwaylanddisplay.cpp:206
#5  0x00007f87dcaf5e3d in QThreadPrivate::start (arg=0x55b3932ce870) at thread/qthread_unix.cpp:330
#6  0x00007f87dc49398d in start_thread () from /lib64/libc.so.6
#7  0x00007f87dc51a380 in clone3 () from /lib64/libc.so.6

Thread 3 (Thread 0x7f87d76d66c0 (LWP 4721) "WaylandEventThr"):
#1  0x00007f87dc492cd0 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f87dcafb74b in QWaitConditionPrivate::wait (deadline=..., this=0x55b3932c9f30) at thread/qwaitcondition_unix.cpp:146
#3  QWaitCondition::wait (this=this@entry=0x55b3932caaf0, mutex=mutex@entry=0x55b3932caae8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#4  0x00007f87dc32edaf in QtWaylandClient::EventThread::waitForReading (this=0x55b3932caab0) at qwaylanddisplay.cpp:242
#5  QtWaylandClient::EventThread::run (this=0x55b3932caab0) at qwaylanddisplay.cpp:206
#6  0x00007f87dcaf5e3d in QThreadPrivate::start (arg=0x55b3932caab0) at thread/qthread_unix.cpp:330
#7  0x00007f87dc49398d in start_thread () from /lib64/libc.so.6
#8  0x00007f87dc51a380 in clone3 () from /lib64/libc.so.6

Thread 2 (Thread 0x7f87d81ff6c0 (LWP 4720) "QDBusConnection"):
#1  0x00007f87db069dbe in ?? () from /lib64/libglib-2.0.so.0
#2  0x00007f87db069edc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f87dcd33b7e in QEventDispatcherGlib::processEvents (this=0x7f87d0000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f87dccdabab in QEventLoop::exec (this=this@entry=0x7f87d81febd0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#5  0x00007f87dcaf4c47 in QThread::exec (this=this@entry=0x7f87de59d060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f87de524277 in QDBusConnectionManager::run (this=0x7f87de59d060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#7  0x00007f87dcaf5e3d in QThreadPrivate::start (arg=0x7f87de59d060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:330
#8  0x00007f87dc49398d in start_thread () from /lib64/libc.so.6
#9  0x00007f87dc51a380 in clone3 () from /lib64/libc.so.6

Thread 1 (Thread 0x7f87da36c280 (LWP 4719) "plasmashell"):
#1  0x00007f87dc492cd0 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f87dcafb74b in QWaitConditionPrivate::wait (deadline=..., this=0x55b393a7d070) at thread/qwaitcondition_unix.cpp:146
#3  QWaitCondition::wait (this=<optimized out>, mutex=0x7f87d001ffe8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#4  0x00007f87de83a7b8 in QSGThreadedRenderLoop::polishAndSync (this=0x55b393c200b0, w=0x55b394234280, inExpose=<optimized out>) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/scenegraph/qsgthreadedrenderloop.cpp:1603
#5  0x00007f87de8a6180 in QQuickWindow::event (this=0x55b393c0edb0, e=0x7ffe5f3f3c40) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/items/qquickwindow.cpp:1863
#6  0x00007f87dd9a544e in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55b393c0edb0, e=0x7ffe5f3f3c40) at kernel/qapplication.cpp:3640
#7  0x00007f87dccdc138 in QCoreApplication::notifyInternal2 (receiver=0x55b393c0edb0, event=0x7ffe5f3f3c40) at kernel/qcoreapplication.cpp:1064
#8  0x00007f87dd16aa28 in QPlatformWindow::deliverUpdateRequest (this=<optimized out>) at kernel/qplatformwindow.cpp:796
#9  0x00007f87dcd07c50 in QObject::event (this=0x55b39375a230, e=0x55b395171770) at kernel/qobject.cpp:1347
#10 0x00007f87dd9a544e in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55b39375a230, e=0x55b395171770) at kernel/qapplication.cpp:3640
#11 0x00007f87dccdc138 in QCoreApplication::notifyInternal2 (receiver=0x55b39375a230, event=0x55b395171770) at kernel/qcoreapplication.cpp:1064
#12 0x00007f87dccdf0d1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55b393288880) at kernel/qcoreapplication.cpp:1821
#13 0x00007f87dcd34363 in postEventSourceDispatch (s=0x55b3932cd550) at kernel/qeventdispatcher_glib.cpp:277
#14 0x00007f87db069a90 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#15 0x00007f87db069e48 in ?? () from /lib64/libglib-2.0.so.0
#16 0x00007f87db069edc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#17 0x00007f87dcd33b66 in QEventDispatcherGlib::processEvents (this=0x55b3932ce8c0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#18 0x00007f87dccdabab in QEventLoop::exec (this=this@entry=0x7ffe5f3f4020, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#19 0x00007f87dcce2d16 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#20 0x00007f87dd16ed3c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1870
#21 0x00007f87dd9a53c5 in QApplication::exec () at kernel/qapplication.cpp:2832
#22 0x000055b3914863a2 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.26.5/shell/main.cpp:233
[Inferior 1 (process 4719) detached]
Comment 4 Stefano 2023-01-28 08:17:53 UTC
Also, it doesn't seem to happen with other wallpaper providers than unsplash.
Comment 5 Nate Graham 2023-02-02 20:21:26 UTC
Huh:

#6  QAtomicOps<QMutexData*>::testAndSetAcquire<QMutexData*> (currentValue=<synthetic pointer>, newValue=0x1, expectedValue=0x0, _q_value=<error reading variable: Cannot access memory at address 0x7489085063480854>) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:308