Summary: | plasmashell crashed in WallpaperItem::~WallpaperItem() after waking from sleep while trying to apply wallpaper | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | TraceyC <kdedev> |
Component: | generic-crash | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | nate, qydwhotmail |
Priority: | NOR | Keywords: | regression |
Version: | 6.3.0 | ||
Target Milestone: | 1.0 | ||
Platform: | Solus | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/libplasma/-/commit/8b0dbd82c7a69893371626b57806edecba1ae31a | Version Fixed In: | 6.3.3 |
Sentry Crash Report: | https://crash-reports.kde.org/organizations/kde/issues/6299 |
Description
TraceyC
2025-02-13 01:36:35 UTC
This happened again today. This backtrace isn't truncated [New LWP 263572] warning: .dynamic section for "/usr/lib/glibc-hwcaps/x86-64-v3/libz.so.1" is not at the expected address (wrong library or version mismatch?) [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib64/libthread_db.so.1". Core was generated by `/usr/bin/plasmashell --no-respawn'. Program terminated with signal SIGSEGV, Segmentation fault. #0 __pthread_kill_implementation (threadid=<optimized out>, signo=11, no_tid=0) at pthread_kill.c:44 warning: 44 pthread_kill.c: No such file or directory [Current thread is 1 (Thread 0x7f1332f6ea00 (LWP 177601))] (gdb) bt #0 __pthread_kill_implementation (threadid=<optimized out>, signo=11, no_tid=0) at pthread_kill.c:44 #1 __pthread_kill_internal (threadid=<optimized out>, signo=11) at pthread_kill.c:78 #2 __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=11) at pthread_kill.c:89 #3 0x00007f1338e50316 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26 #4 0x00007f133c1dd8f4 in KCrash::defaultCrashHandler(int) () at /usr/lib/libKF6Crash.so.6 #5 0x00007f1338e503c0 in <signal handler called> () at /usr/lib/glibc-hwcaps/x86-64-v3/libc.so.6 #6 QQuickItemPrivate::derefWindow (this=0x564400c65090) at /home/build/YPKG/root/qt6-declarative/build/qtdeclarative-everywhere-src-6.8.2/src/quick/items/qquickitem.cpp:3128 #7 0x00007f133b0d61e4 in QQuickItem::setParentItem (this=0x5643f2f66060, parentItem=<optimized out>) at /home/build/YPKG/root/qt6-declarative/build/qtdeclarative-everywhere-src-6.8.2/src/quick/items/qquickitem.cpp:2802 #8 0x00007f133b0d597c in QQuickItem::~QQuickItem (this=0x5643f2f66060) at /home/build/YPKG/root/qt6-declarative/build/qtdeclarative-everywhere-src-6.8.2/src/quick/items/qquickitem.cpp:2381 #9 0x00007f133c2e1997 in WallpaperItem::~WallpaperItem (this=0x5643f2f66060) at ../src/plasmaquick/plasmoid/wallpaperitem.cpp:42 #10 QQmlPrivate::QQmlElement<WallpaperItem>::~QQmlElement (this=0x5643f2f66060) at /usr/include/qt6/QtQml/qqmlprivate.h:104 #11 QQmlPrivate::QQmlElement<WallpaperItem>::~QQmlElement (this=0x5643f2f66060) at /usr/include/qt6/QtQml/qqmlprivate.h:102 #12 0x00007f133972e0b1 in QObject::event (this=0x5643f2f66060, e=0x5643f8f52430) at /home/build/YPKG/root/qt6-base/build/qtbase-everywhere-src-6.8.2/src/corelib/kernel/qobject.cpp:1403 #13 0x00007f133ba4d110 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5643f2f66060, e=0x5643f8f52430) at /home/build/YPKG/root/qt6-base/build/qtbase-everywhere-src-6.8.2/src/widgets/kernel/qapplication.cpp:3296 #14 0x00007f133ba4e353 in QApplication::notify (this=<optimized out>, receiver=0x5643f2f66060, e=0x5643f8f52430) at /home/build/YPKG/root/qt6-base/build/qtbase-everywhere-src-6.8.2/src/widgets/kernel/qapplication.cpp:2689 #15 0x00007f13396d750f in QCoreApplication::notifyInternal2 (receiver=0x5643f2f66060, event=0x5643f8f52430) at /home/build/YPKG/root/qt6-base/build/qtbase-everywhere-src-6.8.2/src/corelib/kernel/qcoreapplication.cpp:1172 #16 0x00007f13396d8823 in QCoreApplication::sendEvent (receiver=0x5643f2f66060, event=<optimized out>) at /home/build/YPKG/root/qt6-base/build/qtbase-everywhere-src-6.8.2/src/corelib/kernel/qcoreapplication.cpp:1612 #17 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5643edb86ec0) at /home/build/YPKG/root/qt6-base/build/qtbase-everywhere-src-6.8.2/src/corelib/kernel/qcoreapplication.cpp:1946 #18 0x00007f13399e342b in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /home/build/YPKG/root/qt6-base/build/qtbase-everywhere-src-6.8.2/src/corelib/kernel/qcoreapplication.cpp:1800 #19 postEventSourceDispatch (s=0x5643edccecf0) at /home/build/YPKG/root/qt6-base/build/qtbase-everywhere-src-6.8.2/src/corelib/kernel/qeventdispatcher_glib.cpp:246 --Type <RET> for more, q to quit, c to continue without paging--[ #20 0x00007f1338246288 in g_main_dispatch (context=0x7f1328000f20) at ../glib/gmain.c:3357 #21 0x00007f13382d201a in g_main_context_dispatch_unlocked (context=0x7f1328000f20) at ../glib/gmain.c:4208 #22 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7f1328000f20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4273 #23 0x00007f1338244a74 in g_main_context_iteration (context=0x7f1328000f20, may_block=1) at ../glib/gmain.c:4338 #24 0x00007f13399e2d06 in QEventDispatcherGlib::processEvents (this=0x5643edc04ff0, flags=...) at /home/build/YPKG/root/qt6-base/build/qtbase-everywhere-src-6.8.2/src/corelib/kernel/qeventdispatcher_glib.cpp:399 #25 0x00007f13396e2936 in QEventLoop::processEvents (this=0x7ffc8a494580, flags=...) at /home/build/YPKG/root/qt6-base/build/qtbase-everywhere-src-6.8.2/src/corelib/kernel/qeventloop.cpp:103 #26 QEventLoop::exec (this=0x7ffc8a494580, flags=...) at /home/build/YPKG/root/qt6-base/build/qtbase-everywhere-src-6.8.2/src/corelib/kernel/qeventloop.cpp:185 #27 0x00007f13396d7d5e in QCoreApplication::exec () at /home/build/YPKG/root/qt6-base/build/qtbase-everywhere-src-6.8.2/src/corelib/kernel/qcoreapplication.cpp:1515 Cannot reproduce The thing you saw when the system woke from sleep... was it the lock screen (which can have wallpapers on it) or the desktop (because the screen didn't lock)? (In reply to Nate Graham from comment #3) > The thing you saw when the system woke from sleep... was it the lock screen > (which can have wallpapers on it) or the desktop (because the screen didn't > lock)? May apologies, I missed a step. 3. Logged in After I woke the system and logged in, I saw the blank backgrounds instead of the the wallpapers set for the displays Git commit 027b9180038ddfddf712a8123da54bfc223a8691 by Fushan Wen. Committed on 07/03/2025 at 14:47. Pushed by ngraham into branch 'master'. ContainmentItem: delete wallpaper item immediately to fix crash When ContainmentItem receives ItemSceneChange, the window might be destroyed soon. However, if deleteLater is used, the window might be destroyed before the wallpaper item, but the wallpaper item still accesses the dangling window in its dtor, which causes a crash. SENTRY: PLASMA-WORKSPACE-1Y5 FIXED-IN: 6.3.3 M +1 -1 src/plasmaquick/plasmoid/containmentitem.cpp https://invent.kde.org/plasma/libplasma/-/commit/027b9180038ddfddf712a8123da54bfc223a8691 Git commit 8b0dbd82c7a69893371626b57806edecba1ae31a by Nate Graham. Committed on 07/03/2025 at 15:36. Pushed by ngraham into branch 'Plasma/6.3'. ContainmentItem: delete wallpaper item immediately to fix crash When ContainmentItem receives ItemSceneChange, the window might be destroyed soon. However, if deleteLater is used, the window might be destroyed before the wallpaper item, but the wallpaper item still accesses the dangling window in its dtor, which causes a crash. SENTRY: PLASMA-WORKSPACE-1Y5 FIXED-IN: 6.3.3 (cherry picked from commit 027b9180038ddfddf712a8123da54bfc223a8691) Co-authored-by: Fushan Wen <qydwhotmail@gmail.com> M +1 -1 src/plasmaquick/plasmoid/containmentitem.cpp https://invent.kde.org/plasma/libplasma/-/commit/8b0dbd82c7a69893371626b57806edecba1ae31a |