Summary: | Crash in WindowShadowTile::~WindowShadowTile() | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Patrick Silva <bugseforuns> |
Component: | generic-crash | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | antonio.chirizzi, bednarczyk.pawel, bernie, dabiswas112, hasezoey, jason, jchodubski, jujik, mrcuve0+kde, nate, n_s_mendoza, plasma-bugs, public, sampingu02 |
Priority: | HI | Keywords: | drkonqi, wayland |
Version: | 5.24.4 | ||
Target Milestone: | 1.0 | ||
Platform: | Neon | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=428311 | ||
Latest Commit: | https://invent.kde.org/frameworks/plasma-framework/commit/50eaece7aef004b588a684c9fadff0f6787f2ef8 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi New crash information added by DrKonqi |
Description
Patrick Silva
2021-10-14 12:54:19 UTC
#3 0x0000000000000020 in () #4 0x00007ff0f21e7c01 in QScopedPointerDeleter<KWayland::Client::ShmPool>::cleanup(KWayland::Client::ShmPool*) (pointer=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:52 #5 QScopedPointer<KWayland::Client::ShmPool, QScopedPointerDeleter<KWayland::Client::ShmPool> >::~QScopedPointer() (this=0x560668c056b0, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:107 #6 WindowShadowTile::~WindowShadowTile() (this=0x560668c05670, __in_chrg=<optimized out>) at ./src/windowsystem/windowshadow.cpp:18 #7 0x00007ff0f21e7c3d in WindowShadowTile::~WindowShadowTile() (this=0x560668c05670, __in_chrg=<optimized out>) at ./src/windowsystem/windowshadow.cpp:18 #8 0x00007ff102de9d62 in QtSharedPointer::ExternalRefCountWithContiguousData<KWindowShadowTile>::deleter(QtSharedPointer::ExternalRefCountData*) (self=0x560668fb1ce0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:248 Created attachment 143859 [details]
New crash information added by DrKonqi
plasmashell (5.23.3) using Qt 5.15.3
- What I was doing when the application crashed:
kquitapp5 plasmashell && kstart5 plasmashell & using krunner
- Unusual behavior I noticed:
Normally notifications reappear after restarting plasmashell but this time they didn't. Rather DrKonqi appeared in system tray
-- Backtrace (Reduced):
#5 0x00007fa7cc0afc01 in QScopedPointerDeleter<KWayland::Client::ShmPool>::cleanup (pointer=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:52
#6 QScopedPointer<KWayland::Client::ShmPool, QScopedPointerDeleter<KWayland::Client::ShmPool> >::~QScopedPointer (this=0x56300b371380, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:107
#7 WindowShadowTile::~WindowShadowTile (this=0x56300b371340, __in_chrg=<optimized out>) at ./src/windowsystem/windowshadow.cpp:18
#8 0x00007fa7cc0afc3d in WindowShadowTile::~WindowShadowTile (this=0x56300b371340, __in_chrg=<optimized out>) at ./src/windowsystem/windowshadow.cpp:18
#9 0x00007fa7d4844b24 in QtSharedPointer::ExternalRefCountData::destroy (this=0x563009c6cbb0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:149
Created attachment 144876 [details]
New crash information added by DrKonqi
plasmashell (5.23.3) using Qt 5.15.2
- What I was doing when the application crashed:
- I had hibernated the machine
- I started it up again after a few hours and it came up normally to the screen lock password request.
- I wrote the password which was accepted
- then it showed for 1 second the situation as it was when I hibernated the machine, but
- then it went again to the initial black loading screen with the rotating gear
- I sweared again because every time I start KDE from sleep or hibernate there's always some problem!
- then I clicked on ctrl-alt-f1 and the black screen went away and all looked normal
- there was a problem though: a "kwin_wayland" taking 100% CPU (line from "top" below):
28430 antonio 20 0 2482100 145980 113316 R 100.0 0.5 2:45.34 kwin_wayland
- I tried to kill it, but it didn't die, and it is still running as I am writing this report!
- then I ran "plasma_shell --replace" and I got this SIGSEGV report
- Unusual behavior I noticed:
- The the initial black loading screen with the rotating gear appeared just after unlocking the screen
- it went away by pressing ctrl-alt-f1 (I don't know why!)
- kwin_wayland was stuck on 100% CPU
- tried to "plasma_shell --replace"
-- Backtrace (Reduced):
#7 0x00007f13a454c501 in QScopedPointerDeleter<KWayland::Client::ShmPool>::cleanup (pointer=<optimized out>) at /usr/include/qt5/QtCore/qscopedpointer.h:60
#8 QScopedPointer<KWayland::Client::ShmPool, QScopedPointerDeleter<KWayland::Client::ShmPool> >::~QScopedPointer (this=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtCore/qscopedpointer.h:107
#9 WindowShadowTile::~WindowShadowTile (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kwayland-integration-5.23.3-1.fc35.x86_64/src/windowsystem/windowshadow.cpp:18
#10 WindowShadowTile::~WindowShadowTile (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kwayland-integration-5.23.3-1.fc35.x86_64/src/windowsystem/windowshadow.cpp:18
#11 0x00007f13c66369b4 in QtSharedPointer::ExternalRefCountData::destroy (this=0x55851e10c420) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:149
Still happening in plasmashell 5.24.4 (Fedora Rawhide). *** Bug 428311 has been marked as a duplicate of this bug. *** I'm able to reproduce this intermittently when restarting kwin_wayland. Usually plasma fails to start automatically (Bug 448475), but when it does start, it crashes with this backtrace. A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwayland-integration/-/merge_requests/17 Git commit b05afab7ce03fa767f92f1332b10873074b78f0a by David Redondo. Committed on 17/01/2022 at 13:39. Pushed by davidre into branch 'master'. Prevent double deletion of shmpools They are tied to the lifetime of the tiles, so don't also make it managed by qApp. M +1 -1 src/windowsystem/waylandintegration.cpp https://invent.kde.org/plasma/kwayland-integration/commit/b05afab7ce03fa767f92f1332b10873074b78f0a Git commit 1cd12ccf94fc8f3cdb2d2c43c9eaa703e07eabeb by David Redondo. Committed on 17/01/2022 at 15:24. Pushed by davidre into branch 'Plasma/5.24'. Prevent double deletion of shmpools They are tied to the lifetime of the tiles, so don't also make it managed by qApp. (cherry picked from commit b05afab7ce03fa767f92f1332b10873074b78f0a) M +1 -1 src/windowsystem/waylandintegration.cpp https://invent.kde.org/plasma/kwayland-integration/commit/1cd12ccf94fc8f3cdb2d2c43c9eaa703e07eabeb *** Bug 448844 has been marked as a duplicate of this bug. *** *** Bug 449812 has been marked as a duplicate of this bug. *** Got another report (BUG 449812) from 5.24, which was supposed to have this fixed; re-opening. *** Bug 450523 has been marked as a duplicate of this bug. *** *** Bug 451287 has been marked as a duplicate of this bug. *** *** Bug 450506 has been marked as a duplicate of this bug. *** Created attachment 148495 [details]
New crash information added by DrKonqi
plasmashell (5.24.4) using Qt 5.15.3
- What I was doing when the application crashed:
I restarted plasmashell using script i have bound to hotkey. Script:
kquitapp5 plasmashell || killall plasmashell && kstart5 plasmashell
- Unusual behavior I noticed:
Before the crash plasmashell was bugged after plugging in external monitor. Plasmashell restarted normally, but DrKonqi icon appeared.
- Custom settings of the application:
I have moved panel to left side of the screen and set it's width to 80 pixels.
-- Backtrace (Reduced):
#6 0x00007f3c24534383 in wl_map_insert_at (data=<optimized out>, i=306, flags=1, map=<optimized out>) at ../wayland-1.20.0/src/wayland-util.c:249
#7 proxy_destroy (proxy=0x562f0a73da50) at ../wayland-1.20.0/src/wayland-client.c:503
#8 0x00007f3c24535d3b in wl_proxy_destroy_caller_locks (proxy=0x562f0a73da50) at ../wayland-1.20.0/src/wayland-client.c:523
#9 wl_proxy_marshal_array_flags (proxy=proxy@entry=0x562f0a73da50, opcode=opcode@entry=0, interface=interface@entry=0x0, version=version@entry=1, flags=flags@entry=1, args=args@entry=0x7ffdd9036ae0) at ../wayland-1.20.0/src/wayland-client.c:861
#10 0x00007f3c24536830 in wl_proxy_marshal_flags (proxy=0x562f0a73da50, opcode=0, interface=0x0, version=1, flags=1) at ../wayland-1.20.0/src/wayland-client.c:784
*** Bug 453424 has been marked as a duplicate of this bug. *** I'm having this problem too Operating System: Manjaro Linux KDE Plasma Version: 5.24.4 KDE Frameworks Version: 5.92.0 Qt Version: 5.15.3 Kernel Version: 5.15.32-1-MANJARO (64-bit) Graphics Platform: Wayland Processors: 8 × Intel® Core™ i7-3840QM CPU @ 2.80GHz Memory: 15,3 GiB of RAM Graphics Processor: Mesa DRI Intel® HD Graphics 4000 I'm getting this crash multiple times a day now on current git master. *** Bug 455157 has been marked as a duplicate of this bug. *** Raising priority due to number of duplicates. *** Bug 456040 has been marked as a duplicate of this bug. *** *** Bug 456037 has been marked as a duplicate of this bug. *** A possibly relevant merge request was started @ https://invent.kde.org/frameworks/plasma-framework/-/merge_requests/564 Git commit 50eaece7aef004b588a684c9fadff0f6787f2ef8 by David Edmundson. Committed on 15/07/2022 at 06:05. Pushed by davidedmundson into branch 'master'. Scope DialogShadows lifetime to application - DialogShadows own KWayland::Client::buffer objects - Buffer cleanup makes wayland calls - wayland calls after QGuiApplication has stoped will fail Q_GLOBAL_STATIC mangaged objects can outlive the QGuiApplication. M +6 -12 src/plasmaquick/dialogshadows.cpp https://invent.kde.org/frameworks/plasma-framework/commit/50eaece7aef004b588a684c9fadff0f6787f2ef8 |