Bug 451250 - System settings crashes in KScreen::SetConfigOperation::start() when re-arranging displays
Summary: System settings crashes in KScreen::SetConfigOperation::start() when re-arran...
Status: RESOLVED WORKSFORME
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_kscreen (show other bugs)
Version: 5.23.5
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-03-07 18:39 UTC by Carl Mitchell
Modified: 2022-12-07 05:12 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carl Mitchell 2022-03-07 18:39:12 UTC
Application: systemsettings5 (5.23.5)

Qt Version: 5.15.2
Frameworks Version: 5.90.0
Operating System: Linux 5.10.0-7-amd64 x86_64
Windowing System: Wayland
Distribution: Debian GNU/Linux bookworm/sid
DrKonqi: 5.24.2 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:

Recently updated, including a BIOS update. Using a Lenovo ThinkPad T480, Debian Testing, with Wayland.

I like a setup with 3 displays: Two external monitors above, next to one another, and the laptop screen below in the center. Updating reset this to a default where all 3 seem to be on the same row. 

Attempting to change the display positions and pressing "Apply" crashes System Settings.

The built-in laptop screen is no longer detected properly, it shows up as "unknown eDP-1-unknown". It's also not marked as the Primary display. Trying to change it to be Primary also crashes system settings. 

- Unusual behavior I noticed:

System Settings crashes.

I've also noticed SDDM crashing occasionally. Most often when Google Chrome is open.

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings5), signal: Aborted

[KCrash Handler]
#4  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
#5  0x00007f37519f0546 in __GI_abort () at abort.c:79
#6  0x00007f3751e42b61 in QMessageLogger::fatal(char const*, ...) const () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f374f770de0 in QtWaylandClient::QWaylandDisplay::checkError() const () from /lib/x86_64-linux-gnu/libQt5WaylandClient.so.5
#8  0x00007f374f771dfa in QtWaylandClient::QWaylandDisplay::flushRequests() () from /lib/x86_64-linux-gnu/libQt5WaylandClient.so.5
#9  0x00007f37520981e8 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f375209b57f in QSocketNotifier::activated(QSocketDescriptor, QSocketNotifier::Type, QSocketNotifier::QPrivateSignal) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f375209bd7b in QSocketNotifier::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f3752c5671f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f3752061b4a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f37520b9d3d in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f374fb19cdb in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007f374fb19f88 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f374fb1a03f in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f37520b9184 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f375206055b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f372c2cde96 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kscreen/KSC_KWayland.so
#21 0x00007f372cb381b7 in KScreen::SetConfigOperation::start() () from /lib/x86_64-linux-gnu/libKF5Screen.so.7
#22 0x00007f375208e15e in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f3752c5671f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007f3752061b4a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007f3752064b97 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007f37520b9b03 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f374fb19cdb in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f374fb19f88 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f374fb1a03f in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f37520b9184 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007f375206055b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007f372cb3403d in KScreen::ConfigOperation::exec() () from /lib/x86_64-linux-gnu/libKF5Screen.so.7
#33 0x00007f372cb9449a in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kcms/kcm_kscreen.so
#34 0x00007f37536f68f2 in ?? () from /lib/x86_64-linux-gnu/libKF5KCMUtils.so.5
#35 0x00007f37536f5be7 in KCModuleProxy::save() () from /lib/x86_64-linux-gnu/libKF5KCMUtils.so.5
#36 0x00007f3753743821 in ModuleView::moduleSave(KCModuleProxy*) () from /lib/x86_64-linux-gnu/libsystemsettingsview.so.3
#37 0x00007f375373d946 in ?? () from /lib/x86_64-linux-gnu/libsystemsettingsview.so.3
#38 0x00007f37520981e8 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#39 0x00007f3752d493a2 in QAbstractButton::clicked(bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#40 0x00007f3752d4961a in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#41 0x00007f3752d4b1e0 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#42 0x00007f3752d4b403 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#43 0x00007f3752c9851e in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#44 0x00007f3752c5671f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#45 0x00007f3752c5e224 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#46 0x00007f3752061b4a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#47 0x00007f3752c5cd33 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#48 0x00007f3752cb15ec in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#49 0x00007f3752cb4855 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#50 0x00007f3752c5671f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#51 0x00007f3752061b4a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#52 0x00007f3752561077 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#53 0x00007f37525372bc in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#54 0x00007f374f7a3950 in ?? () from /lib/x86_64-linux-gnu/libQt5WaylandClient.so.5
#55 0x00007f374fb19cdb in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#56 0x00007f374fb19f88 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#57 0x00007f374fb1a03f in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#58 0x00007f37520b9184 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#59 0x00007f375206055b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#60 0x00007f3752068830 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#61 0x00005584c456ee30 in ?? ()
#62 0x00007f37519f17fd in __libc_start_main (main=0x5584c456e5f0, argc=1, argv=0x7ffde3127588, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffde3127578) at ../csu/libc-start.c:332
#63 0x00005584c456fb5a in ?? ()
[Inferior 1 (process 7049) detached]

Possible duplicates by query: bug 451233, bug 450162, bug 449920, bug 449589, bug 448156.

Reported using DrKonqi
Comment 1 Nate Graham 2022-03-22 19:20:48 UTC
#20 0x00007f372c2cde96 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kscreen/KSC_KWayland.so
#21 0x00007f372cb381b7 in KScreen::SetConfigOperation::start() () from /lib/x86_64-linux-gnu/libKF5Screen.so.7
Comment 2 Nate Graham 2022-11-07 21:28:18 UTC
Thank you for the bug report. Unfortunately we were not able to get to it yet. Can we ask you to please see if you can reproduce the issue with Plasma 5.25 or 5.26?

If you can, please change the status to CONFIRMED when replying. Thanks a lot!
Comment 3 Bug Janitor Service 2022-11-22 05:12:56 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2022-12-07 05:12:30 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!