Summary: | Nullpointerexception in plasma-workspace-5.27.0/shell/desktopview.cpp:120 | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Sven Eden <sven> |
Component: | Desktop Containment | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | admin, akselmo, aleixpol, kde, krzysiek, nate, notmart, qydwhotmail |
Priority: | NOR | Keywords: | drkonqi, multiscreen |
Version: | 5.27.0 | ||
Target Milestone: | 1.0 | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/commit/8bc6be2f1af41274d8209272fca58ec7fe454416 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | New crash information added by DrKonqi |
Description
Sven Eden
2023-02-17 06:42:00 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2637 *** Bug 465935 has been marked as a duplicate of this bug. *** Git commit d715af8f0c33a74b84ce2ebd22bc4009a91a33b6 by Marco Martin. Committed on 17/02/2023 at 16:43. Pushed by mart into branch 'master'. Better screen removal handling handleScreenRemoved never actually removed any view, as we were comparing the screen id wit hthe screen order length, which is updated only after the signal handler is done. Also, make really sure to remove the desktop view from m_desktopViewForScreen by searching the view itslef and not just by the index of lastscreen. Crash in 465892 seems to indicate that sich a removal by index failed leaving a dangling pointer in the map M +11 -8 shell/shellcorona.cpp https://invent.kde.org/plasma/plasma-workspace/commit/d715af8f0c33a74b84ce2ebd22bc4009a91a33b6 Git commit 8bc6be2f1af41274d8209272fca58ec7fe454416 by Marco Martin. Committed on 17/02/2023 at 16:45. Pushed by mart into branch 'Plasma/5.27'. Better screen removal handling handleScreenRemoved never actually removed any view, as we were comparing the screen id wit hthe screen order length, which is updated only after the signal handler is done. Also, make really sure to remove the desktop view from m_desktopViewForScreen by searching the view itslef and not just by the index of lastscreen. Crash in 465892 seems to indicate that sich a removal by index failed leaving a dangling pointer in the map M +11 -8 shell/shellcorona.cpp https://invent.kde.org/plasma/plasma-workspace/commit/8bc6be2f1af41274d8209272fca58ec7fe454416 Created attachment 161277 [details]
New crash information added by DrKonqi
plasmashell (5.27.7) using Qt 5.15.10
This crash is happening when KDE user in multi monitor setup and you disable KScreen 2
-- Backtrace (Reduced):
#6 QWeakPointer<QObject>::internalData (this=0x60) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:702
#7 QPointer<QScreen>::data (this=0x60) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:77
#8 QPointer<QScreen>::operator QScreen* (this=0x60) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:83
#9 DesktopView::screenToFollow (this=0x0) at ./shell/desktopview.cpp:123
#10 0x000056009fac63cf in ShellCorona::screenInvariants (this=0x5600a0ad3500) at ./shell/shellcorona.cpp:828
ReOpening #5 *** This bug has been marked as a duplicate of bug 474868 *** *** This bug has been marked as a duplicate of bug 468430 *** |