Summary: | Plasma crashes in QPlatformScreen::screen() immediately after login to Wayland session with an external monitor connected to hdmi port and mult-monitor mode set to "Switch to external screen" | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Patrick Silva <bugseforuns> |
Component: | generic-multiscreen | Assignee: | Aleix Pol <aleixpol> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | alex765, andrius, bjoernv, cfeck, craig, jfebrer, lemmyg, lucasdaniel9183, me, meven29, nate, openmindead, physkets, plasma-bugs, postix, v0idaccounts+bugskde |
Priority: | VHI | Keywords: | drkonqi, wayland |
Version: | master | ||
Target Milestone: | 1.0 | ||
Platform: | unspecified | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=421700 | ||
Latest Commit: | Version Fixed In: | 5.25 | |
Sentry Crash Report: |
Description
Patrick Silva
2020-04-01 12:28:08 UTC
*** Bug 419493 has been marked as a duplicate of this bug. *** *** Bug 419733 has been marked as a duplicate of this bug. *** *** Bug 419747 has been marked as a duplicate of this bug. *** A lot of crash reports for a Plasma Wayland session on this multi-monitor system: https://bugs.kde.org/buglist.cgi?bug_severity=crash&chfield=%5BBug creation%5D&chfieldfrom=2020-04-01&chfieldto=2020-04-07&email1=bugseforuns&emailreporter1=1&emailtype1=substring&query_format=advanced *** Bug 433520 has been marked as a duplicate of this bug. *** *** Bug 422332 has been marked as a duplicate of this bug. *** *** Bug 419756 has been marked as a duplicate of this bug. *** *** Bug 430739 has been marked as a duplicate of this bug. *** *** Bug 419496 has been marked as a duplicate of this bug. *** Raising to VHI due to number of duplicates. *** Bug 440680 has been marked as a duplicate of this bug. *** *** Bug 442196 has been marked as a duplicate of this bug. *** A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1125 Git commit 13fb70fec16efca4f54788cd9c87c8ece4700d03 by David Edmundson. Committed on 19/10/2021 at 13:07. Pushed by ngraham into branch 'master'. [shell] Ignore placeholder screens A placeholder screen is created by Qt when no real screens exist. We don't want to create panels and containments for those, it is a whole world of pain. Plasma has a hook to ignore some screens which is extended with this check. M +3 -0 shell/shellcorona.cpp https://invent.kde.org/plasma/plasma-workspace/commit/13fb70fec16efca4f54788cd9c87c8ece4700d03 Git commit 7956d7b2e18133b92ec5d6cab674b1390daac9b8 by Nate Graham, on behalf of David Edmundson. Committed on 19/10/2021 at 14:22. Pushed by ngraham into branch 'Plasma/5.23'. [shell] Ignore placeholder screens A placeholder screen is created by Qt when no real screens exist. We don't want to create panels and containments for those, it is a whole world of pain. Plasma has a hook to ignore some screens which is extended with this check. (cherry picked from commit 13fb70fec16efca4f54788cd9c87c8ece4700d03) M +3 -0 shell/shellcorona.cpp https://invent.kde.org/plasma/plasma-workspace/commit/7956d7b2e18133b92ec5d6cab674b1390daac9b8 I can't reproduce this crash. Can you confirm that this issue is still present? I'm unable to test on neon unstable. Plasma always starts with mult-monitor mode set to "Switch to laptop screen". And kded5 crashes when I try to start Plasma with a different multi-monitor mode. #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 #1 0x00007f58758a7859 in __GI_abort () at abort.c:79 #2 0x00007f5875d03bd7 in qt_message_fatal (context=..., message=<synthetic pointer>...) at global/qlogging.cpp:1914 #3 QMessageLogger::fatal (this=this@entry=0x7ffcf16f1170, msg=msg@entry=0x7f58769ea8c5 "%s") at global/qlogging.cpp:893 #4 0x00007f5876531a53 in init_platform (argv=<optimized out>, argc=@0x7ffcf16f142c: 12, platformThemeName=..., platformPluginPath=..., pluginNamesWithArguments=...) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:208 #5 QGuiApplicationPrivate::createPlatformIntegration (this=0x561a97a172d0) at kernel/qguiapplication.cpp:1481 #6 0x00007f5876531ee8 in QGuiApplicationPrivate::createEventDispatcher (this=<optimized out>) at kernel/qguiapplication.cpp:1498 #7 0x00007f5875f2cab6 in QCoreApplicationPrivate::init (this=this@entry=0x561a97a172d0) at kernel/qcoreapplication.cpp:853 #8 0x00007f5876535003 in QGuiApplicationPrivate::init (this=this@entry=0x561a97a172d0) at kernel/qguiapplication.cpp:1527 #9 0x00007f5876c3811d in QApplicationPrivate::init (this=0x561a97a172d0) at kernel/qapplication.cpp:513 #10 0x0000561a95c7ec15 in main (argc=<optimized out>, argv=0x7ffcf16f16d8) at ./src/main.cpp:100 > Plasma always starts with multi-monitor mode set to "Switch to laptop screen".
Can confirm that. Is there another bug report about it?
(In reply to Nate Graham from comment #19) > > Plasma always starts with multi-monitor mode set to "Switch to laptop screen". > Can confirm that. Is there another bug report about it? I haven't seen any so far. should not be this ticket set as confirmed? moving to confirmed Patrick, can you still reproduce this in current git master? There have been a lot of multi-screen Wayland fixes recently. Plasma is no longer crashing after the provided steps, but plasmasession is. Reported as bug 454159. We have a very similar issue happening where apps and Plasma crash in QtWaylandClient::QWaylandWindow::handleScreensChanged() when monitors enter power save mode. See Bug 473020, Bug 468846, and Bug 467147. I can't tell whether they're the exact same issue, or slightly different. |