Bug 465023 - Opening "Window Decorations" Crashes System Settings.
Summary: Opening "Window Decorations" Crashes System Settings.
Status: RESOLVED NOT A BUG
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 5.26.5
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
: 465631 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-01-30 03:20 UTC by garamari
Modified: 2023-02-13 22:26 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (13.07 KB, text/plain)
2023-01-31 13:35 UTC, Patrick Schultz
Details
New crash information added by DrKonqi (8.84 KB, text/plain)
2023-02-13 22:26 UTC, q64ceo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description garamari 2023-01-30 03:20:25 UTC
Application: systemsettings (5.26.5)

Qt Version: 5.15.8
Frameworks Version: 5.102.0
Operating System: Linux 6.1.0-2-amd64 x86_64
Windowing System: X11
Distribution: Debian GNU/Linux bookworm/sid
DrKonqi: 5.26.90 [KCrashBackend]

-- Information about the crash:
I've noticed since a recent update that opening Window Decorations immediately crashes the system settings. Because I'm running Debian Testing I assumed this information might be useful. 

Operating System: Debian GNU/Linux 
KDE Plasma Version: 5.26.90
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Kernel Version: 6.1.0-2-amd64 (64-bit)
Graphics Platform: X11
Processors: 4 × AMD A10-7700K Radeon R7, 10 Compute Cores 4C+6G
Memory: 7.7 GiB of RAM
Graphics Processor: AMD Radeon RX 460 Graphics

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings), signal: Segmentation fault

[KCrash Handler]
#4  0x00007ff23f4feef4 in QVariant::toMap() const () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ff22258dbdd in ?? () from /lib/x86_64-linux-gnu/libkdecorations2.so.5
#6  0x00007ff22258e3cc in KDecoration2::Decoration::Decoration(QObject*, QList<QVariant> const&) () from /lib/x86_64-linux-gnu/libkdecorations2.so.5
#7  0x00007ff221e8ab5e in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kdecoration2/breezedecoration.so
#8  0x00007ff221e928a9 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kdecoration2/breezedecoration.so
#9  0x00007ff23ffa6693 in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () from /lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#10 0x00007ff221f061b9 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kwin/private/kdecoration/libkdecorationprivatedeclarative.so
#11 0x00007ff221f0478b in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kwin/private/kdecoration/libkdecorationprivatedeclarative.so
#12 0x00007ff23d0f6a83 in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#13 0x00007ff23d08d162 in QQmlIncubatorPrivate::incubate(QQmlInstantiationInterrupt&) () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#14 0x00007ff23d08d5fd in QQmlEnginePrivate::incubate(QQmlIncubator&, QQmlContextData*) () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#15 0x00007ff23a72666f in ?? () from /lib/x86_64-linux-gnu/libQt5QmlModels.so.5
#16 0x00007ff23d716a14 in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#17 0x00007ff23d70889d in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#18 0x00007ff23d715203 in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#19 0x00007ff23d71c818 in QQuickItemView::componentComplete() () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#20 0x00007ff23d0f6a83 in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#21 0x00007ff23d08d162 in QQmlIncubatorPrivate::incubate(QQmlInstantiationInterrupt&) () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#22 0x00007ff23d08d5fd in QQmlEnginePrivate::incubate(QQmlIncubator&, QQmlContextData*) () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#23 0x00007ff23d086ed4 in QQmlComponent::create(QQmlIncubator&, QQmlContext*, QQmlContext*) () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#24 0x00007ff23e14fa6b in KDeclarative::QmlObject::completeInitialization(QHash<QString, QVariant> const&) () from /lib/x86_64-linux-gnu/libKF5Declarative.so.5
#25 0x00007ff23e16a5ad in KQuickAddons::ConfigModule::mainUi() () from /lib/x86_64-linux-gnu/libKF5QuickAddons.so.5
#26 0x00007ff240727965 in KCModuleLoader::loadModule(KPluginMetaData const&, QWidget*, QList<QVariant> const&) () from /lib/x86_64-linux-gnu/libKF5KCMUtils.so.5
#27 0x00007ff24072c699 in ?? () from /lib/x86_64-linux-gnu/libKF5KCMUtils.so.5
#28 0x00007ff24072d038 in KCModuleProxy::realModule() const () from /lib/x86_64-linux-gnu/libKF5KCMUtils.so.5
#29 0x00007ff240cbcfc0 in ModuleView::updatePageIconHeader(KPageWidgetItem*) () from /lib/x86_64-linux-gnu/libsystemsettingsview.so.3
#30 0x00007ff240cbe25a in ModuleView::addModule(MenuItem*, QStringList const&) () from /lib/x86_64-linux-gnu/libsystemsettingsview.so.3
#31 0x00007ff20bef5657 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/systemsettingsview/systemsettings_sidebar_mode.so
#32 0x00007ff20bef1a8f in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/systemsettingsview/systemsettings_sidebar_mode.so
#33 0x00007ff20bef20c3 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/systemsettingsview/systemsettings_sidebar_mode.so
#34 0x00007ff23d0c6c93 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#35 0x00007ff23cfa3521 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#36 0x00007ff23cfa53e0 in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#37 0x00007ff23cfc1cb6 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#38 0x00007ff23cfc53df in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#39 0x00007ff23cf57c2e in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#40 0x00007ff23d0e144d in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#41 0x00007ff23d092baf in QQmlBoundSignalExpression::evaluate(void**) () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#42 0x00007ff23d0942f8 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#43 0x00007ff23d0c677f in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#44 0x00007ff23f4e8a8d in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#45 0x00007ff2386c6221 in QQuickAbstractButtonPrivate::handleRelease(QPointF const&) () from /lib/x86_64-linux-gnu/libQt5QuickTemplates2.so.5
#46 0x00007ff2386e5251 in QQuickControl::mouseReleaseEvent(QMouseEvent*) () from /lib/x86_64-linux-gnu/libQt5QuickTemplates2.so.5
#47 0x00007ff23d6550c8 in QQuickItem::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#48 0x00007ff240162fae in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#49 0x00007ff23f4b16f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#50 0x00007ff23d67298a in QQuickWindowPrivate::deliverMouseEvent(QQuickPointerMouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#51 0x00007ff23d67408d in QQuickWindowPrivate::deliverPointerEvent(QQuickPointerEvent*) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#52 0x00007ff23f9493f5 in QWindow::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#53 0x00007ff240162fae in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#54 0x00007ff23f4b16f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#55 0x00007ff23e18b057 in QQuickWidget::mouseReleaseEvent(QMouseEvent*) () from /lib/x86_64-linux-gnu/libQt5QuickWidgets.so.5
#56 0x00007ff2401a4db8 in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#57 0x00007ff240162fae in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#58 0x00007ff24016b552 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#59 0x00007ff23f4b16f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#60 0x00007ff24016965e in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#61 0x00007ff2401bdbd8 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#62 0x00007ff2401c0f60 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#63 0x00007ff240162fae in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#64 0x00007ff23f4b16f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#65 0x00007ff23f93d3ed in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#66 0x00007ff23f911cac in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#67 0x00007ff2399a9eba in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#68 0x00007ff23d9c87a9 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#69 0x00007ff23d9c8a38 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#70 0x00007ff23d9c8acc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#71 0x00007ff23f509836 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#72 0x00007ff23f4b017b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#73 0x00007ff23f4b82d6 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#74 0x0000563dda51dd0e in ?? ()
#75 0x00007ff23ec4318a in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#76 0x00007ff23ec43245 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#77 0x0000563dda51e601 in ?? ()
[Inferior 1 (process 2043) detached]

Reported using DrKonqi
Comment 1 Patrick Schultz 2023-01-31 13:35:08 UTC
Created attachment 155826 [details]
New crash information added by DrKonqi

systemsettings (5.26.5) using Qt 5.15.8

Trying to open the Window Decorations menu on Debian crashes the System Settings app.
No special configurations.

-- Backtrace (Reduced):
#4  0x00007f2cf66feef4 in qVariantToHelper<QMap<QString, QVariant> > (handlerManager=..., d=...) at kernel/qvariant.cpp:2664
#5  QVariant::toMap (this=0x41) at kernel/qvariant.cpp:2721
#7  KDecoration2::Decoration::Private::Private (this=<optimized out>, deco=<optimized out>, args=...) at ./src/decoration.cpp:36
#8  0x00007f2cbd33a3cc in KDecoration2::Decoration::Decoration (this=this@entry=0x55dc2bb53f20, parent=<optimized out>, args=...) at ./src/decoration.cpp:134
#9  0x00007f2cbce6bb5e in Breeze::Decoration::Decoration (this=0x55dc2bb53f20, parent=<optimized out>, args=...) at ./kdecoration/breezedecoration.cpp:135
Comment 2 Martin Kyral 2023-02-01 11:35:11 UTC
I am experiencing the same segfault on Fedora 37 and just now I noticed the likely cause: mixed packageset. You (and me too) are having installed plasma-systemseting 5.26.5 on top of 5.26.90 plasma.
Comment 3 Martin Kyral 2023-02-01 11:50:08 UTC
Fixing the packages fixed the segfault. Do make sure you have all of the packages in the same version.
Comment 4 Nate Graham 2023-02-13 16:28:12 UTC
*** Bug 465631 has been marked as a duplicate of this bug. ***
Comment 5 q64ceo 2023-02-13 22:26:16 UTC
Created attachment 156210 [details]
New crash information added by DrKonqi

systemsettings (5.26.5) using Qt 5.15.8

Running Ubuntu 23.04 daily build. Immediately crashes on open.

-- Backtrace (Reduced):
#4  0x00007f237870a198 in QVariant::toMap() const () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f2370bc64fd in KDecoration2::Decoration::Decoration(QObject*, QList<QVariant> const&) () from /lib/x86_64-linux-gnu/libkdecorations2.so.5
[...]
#7  0x00007f2379993373 in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () from /lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
[...]
#10 0x00007f2376500ab3 in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#11 0x00007f2376495fd2 in QQmlIncubatorPrivate::incubate(QQmlInstantiationInterrupt&) () from /lib/x86_64-linux-gnu/libQt5Qml.so.5