Bug 462653 - Crash KDE System Preferences
Summary: Crash KDE System Preferences
Status: RESOLVED WORKSFORME
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_kscreen (show other bugs)
Version: 5.26.4
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-12-05 01:17 UTC by Javier
Modified: 2023-01-09 18:33 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 Javier 2022-12-05 01:17:58 UTC
Application: systemsettings (5.26.4)

Qt Version: 5.15.7
Frameworks Version: 5.100.0
Operating System: Linux 6.0.11-arch1-1 x86_64
Windowing System: X11
Distribution: "Arch Linux"
DrKonqi: 5.26.4 [KCrashBackend]

-- Information about the crash:
When I start the app and try to enable (again) the second monitor, the system preferences crash without errorWhen I start the app and try to enable (again, because after sleep, the second monitor - main monitor - still black without signal, I think still in sleep mode) the second monitor, the system preferences crash without error

The crash can be reproduced every time.

-- Backtrace:
Application: Preferencias del sistema (systemsettings), signal: Segmentation fault

[KCrash Handler]
#4  0x00007fd8f04d3101 in KScreen::Config::clone() const () from /usr/lib/libKF5Screen.so.7
#5  0x00007fd8f05491dd in ?? () from /usr/lib/qt/plugins/plasma/kcms/systemsettings/kcm_kscreen.so
#6  0x00007fd8f0549ed3 in ?? () from /usr/lib/qt/plugins/plasma/kcms/systemsettings/kcm_kscreen.so
#7  0x00007fd8f5c767d4 in ?? () from /usr/lib/libQt5Qml.so.5
#8  0x00007fd8f5b7a1d7 in ?? () from /usr/lib/libQt5Qml.so.5
#9  0x00007fd8f5b7c1d2 in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const () from /usr/lib/libQt5Qml.so.5
#10 0x00007fd8f5b8f123 in ?? () from /usr/lib/libQt5Qml.so.5
#11 0x00007fd8f5b95604 in ?? () from /usr/lib/libQt5Qml.so.5
#12 0x00007fd8f5b3bce6 in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () from /usr/lib/libQt5Qml.so.5
#13 0x00007fd8f5c9743d in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () from /usr/lib/libQt5Qml.so.5
#14 0x00007fd8f5c53a91 in QQmlBoundSignalExpression::evaluate(void**) () from /usr/lib/libQt5Qml.so.5
#15 0x00007fd8f5c54a0c in ?? () from /usr/lib/libQt5Qml.so.5
#16 0x00007fd8f5c7670f in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () from /usr/lib/libQt5Qml.so.5
#17 0x00007fd8f7ebd720 in ?? () from /usr/lib/libQt5Core.so.5
#18 0x00007fd8f0e68df7 in QQuickAction::triggered(QObject*) () from /usr/lib/libQt5QuickTemplates2.so.5
#19 0x00007fd8f0e6b730 in ?? () from /usr/lib/libQt5QuickTemplates2.so.5
#20 0x00007fd8f0e6ba60 in QQuickAbstractButtonPrivate::trigger() () from /usr/lib/libQt5QuickTemplates2.so.5
#21 0x00007fd8f0e6ea2a in QQuickAbstractButtonPrivate::handleRelease(QPointF const&) () from /usr/lib/libQt5QuickTemplates2.so.5
#22 0x00007fd8f0e89c39 in QQuickControl::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQt5QuickTemplates2.so.5
#23 0x00007fd8f62406d9 in QQuickItem::event(QEvent*) () from /usr/lib/libQt5Quick.so.5
#24 0x00007fd8f8b78b1c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#25 0x00007fd8f7e8cf98 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#26 0x00007fd8f624eb95 in QQuickWindowPrivate::deliverMouseEvent(QQuickPointerMouseEvent*) () from /usr/lib/libQt5Quick.so.5
#27 0x00007fd8f624f5e2 in QQuickWindowPrivate::deliverPointerEvent(QQuickPointerEvent*) () from /usr/lib/libQt5Quick.so.5
#28 0x00007fd8f8355d25 in QWindow::event(QEvent*) () from /usr/lib/libQt5Gui.so.5
#29 0x00007fd8f8b78b1c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#30 0x00007fd8f7e8cf98 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#31 0x00007fd8f6dc31be in QQuickWidget::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQt5QuickWidgets.so.5
#32 0x00007fd8f8baf6e7 in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#33 0x00007fd8f8b78b1c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#34 0x00007fd8f8b7e339 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#35 0x00007fd8f7e8cf98 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#36 0x00007fd8f8b7c337 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /usr/lib/libQt5Widgets.so.5
#37 0x00007fd8f8bcd3b5 in ?? () from /usr/lib/libQt5Widgets.so.5
#38 0x00007fd8f8bcf15e in ?? () from /usr/lib/libQt5Widgets.so.5
#39 0x00007fd8f8b78b1c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#40 0x00007fd8f7e8cf98 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#41 0x00007fd8f833f16c in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/libQt5Gui.so.5
#42 0x00007fd8f8328995 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#43 0x00007fd8f22f0710 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#44 0x00007fd8f691687b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#45 0x00007fd8f696d299 in ?? () from /usr/lib/libglib-2.0.so.0
#46 0x00007fd8f6915132 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#47 0x00007fd8f7ed7c4c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#48 0x00007fd8f7e8573c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#49 0x00007fd8f7e90269 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#50 0x000055c8a3841c03 in ?? ()
#51 0x00007fd8f763c290 in ?? () from /usr/lib/libc.so.6
#52 0x00007fd8f763c34a in __libc_start_main () from /usr/lib/libc.so.6
#53 0x000055c8a3842565 in ?? ()
[Inferior 1 (process 8530) detached]

Reported using DrKonqi
Comment 1 Nate Graham 2022-12-05 19:57:31 UTC
Thank you for the bug report! Unfortunately the backtrace is incomplete and missing debug symbols for the following lines that we need to figure out exactly what's going wrong:

> #4  0x00007fd8f04d3101 in KScreen::Config::clone() const () from /usr/lib/libKF5Screen.so.7
> #5  0x00007fd8f05491dd in ?? () from /usr/lib/qt/plugins/plasma/kcms/systemsettings/kcm_kscreen.so
> #6  0x00007fd8f0549ed3 in ?? () from /usr/lib/qt/plugins/plasma/kcms/systemsettings/kcm_kscreen.so

Could you please install debug symbols for kscreen, reproduce the crash, and attach a new symbolicated backtrace? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

The backtrace looks similar to the one in Bug 447199, but it's impossible to be sure without the fully symbolicated backtrace. If it's the same, I'll mark this as a duplicte of Bug 447199 and re-open it since apparently the issue is still present.

Thanks again!
Comment 2 Pawel 2022-12-05 20:12:35 UTC
since the reporter seems to be on Arch, here is what you can do:

-make sure Debuginfod is enabled: https://wiki.archlinux.org/title/Debuginfod
-install gdb
-find the crash dump pid: > $ coredumpctl list --reverse            
-coredumpctl gdb 4469    in terminal (replace 4469 with pid of the crashing process). GDB will read and download the missing symbols
- once in gdb prompt execute set logging enabled on and then thread apply all bt full

gdb.txt file will be saved in your homr folder, you can attach it here.
Comment 3 Bug Janitor Service 2022-12-20 05:14:16 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 2023-01-04 05:27:08 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!