Bug 446790 - I changed the window style in the system settings application and after that it crashes and then no application like discover or system settings or system monitor can be opened.
Summary: I changed the window style in the system settings application and after that ...
Status: RESOLVED DOWNSTREAM
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 5.22.5
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
: 459742 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-12-10 15:27 UTC by Debreczeni Huba
Modified: 2022-09-28 13:29 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 Debreczeni Huba 2021-12-10 15:27:21 UTC
Application: systemsettings5 (5.22.5)
 (Compiled from sources)
Qt Version: 5.15.2
Frameworks Version: 5.86.0
Operating System: Linux 5.13.0-22-generic x86_64
Windowing System: X11
Drkonqi Version: 5.22.5
Distribution: Ubuntu 21.10

-- Information about the crash:
- What I was doing when the application crashed:
	I changed the window style in the system settings.
- Custom settings of the application:
	Window appearance, color, sound, font (these are system-wide)

Operating system:
	Kubuntu 21.10
Kde version:
	Kde plasma 5.22

The crash can be reproduced every time.

-- Backtrace:
Application: Rendszerbeállítások (systemsettings5), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f726f8d67b4 in QObject::objectName() const () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f7268f26986 in chameleon::ChameleonStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const () from /usr/lib/x86_64-linux-gnu/qt5/plugins/styles/libchameleon.so
#6  0x00007f7268f20d80 in chameleon::ChameleonStyle::drawComplexControl(QStyle::ComplexControl, QStyleOptionComplex const*, QPainter*, QWidget const*) const () from /usr/lib/x86_64-linux-gnu/qt5/plugins/styles/libchameleon.so
#7  0x00007f723edb4068 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/qqc2desktopstyle/private/libqqc2desktopstyleplugin.so
#8  0x00007f726eb4c7ad in QQuickWindowPrivate::polishItems() () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#9  0x00007f726ebd9362 in QQuickRenderControl::polishItems() () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#10 0x00007f726ee8f049 in ?? () from /lib/x86_64-linux-gnu/libQt5QuickWidgets.so.5
#11 0x00007f72704ecbfc in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007f72704a96b3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f726f8ac16a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f72704e4046 in QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007f72704e8a97 in QWidgetPrivate::show_helper() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007f72704ebc73 in QWidgetPrivate::setVisible(bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007f72704e8a19 in QWidgetPrivate::showChildren(bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007f72704e8ab3 in QWidgetPrivate::show_helper() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007f72704ebc73 in QWidgetPrivate::setVisible(bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007f72704e8a19 in QWidgetPrivate::showChildren(bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007f72704e8ab3 in QWidgetPrivate::show_helper() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007f72704e8a39 in QWidgetPrivate::showChildren(bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007f72704e8ab3 in QWidgetPrivate::show_helper() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007f72704ebc73 in QWidgetPrivate::setVisible(bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007f72704e8a19 in QWidgetPrivate::showChildren(bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007f72704e8ab3 in QWidgetPrivate::show_helper() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007f72704e8a39 in QWidgetPrivate::showChildren(bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007f72704e8ab3 in QWidgetPrivate::show_helper() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007f72704e8a39 in QWidgetPrivate::showChildren(bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007f72704e8ab3 in QWidgetPrivate::show_helper() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x00007f72704ebc73 in QWidgetPrivate::setVisible(bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x00007f72704e8a19 in QWidgetPrivate::showChildren(bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#33 0x00007f72704e8ab3 in QWidgetPrivate::show_helper() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#34 0x00007f72704e8a39 in QWidgetPrivate::showChildren(bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#35 0x00007f72704e8ab3 in QWidgetPrivate::show_helper() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#36 0x00007f72704e8a39 in QWidgetPrivate::showChildren(bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#37 0x00007f72704e8ab3 in QWidgetPrivate::show_helper() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#38 0x00007f72704ebc73 in QWidgetPrivate::setVisible(bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#39 0x00007f72704e8a19 in QWidgetPrivate::showChildren(bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#40 0x00007f72704e8ab3 in QWidgetPrivate::show_helper() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#41 0x00007f72704ebc73 in QWidgetPrivate::setVisible(bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#42 0x000055b46e025ba5 in ?? ()
#43 0x000055b46e02752c in ?? ()
#44 0x00007f726f8d973e in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#45 0x00007f7270ea2dcd in KXmlGuiWindow::event(QEvent*) () from /lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#46 0x00007f72704a96b3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#47 0x00007f726f8ac16a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#48 0x00007f726f8af257 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#49 0x00007f726f905ef7 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#50 0x00007f726d56e8bb in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007f726d5c1f08 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#52 0x00007f726d56c003 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#53 0x00007f726f905548 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#54 0x00007f726f8aaa9b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#55 0x00007f726f8b3024 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#56 0x000055b46e02057c in ?? ()
#57 0x00007f726f1dffd0 in __libc_start_call_main (main=main@entry=0x55b46e01fa20, argc=argc@entry=1, argv=argv@entry=0x7ffda601dcd8) at ../sysdeps/nptl/libc_start_call_main.h:58
#58 0x00007f726f1e007d in __libc_start_main_impl (main=0x55b46e01fa20, argc=1, argv=0x7ffda601dcd8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffda601dcc8) at ../csu/libc-start.c:409
#59 0x000055b46e021235 in ?? ()
[Inferior 1 (process 2046) detached]

The reporter indicates this bug may be a duplicate of or related to bug 434276, bug 208726.

Possible duplicates by query: bug 438708, bug 437971, bug 434276, bug 427248, bug 426586.

Reported using DrKonqi
Comment 1 Nate Graham 2021-12-14 18:15:00 UTC
Crashing in the Chamelon style:

#5  0x00007f7268f26986 in chameleon::ChameleonStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const () from /usr/lib/x86_64-linux-gnu/qt5/plugins/styles/libchameleon.so

Please report this to the developers of that style. Thanks!
Comment 2 Lukas Sommer 2022-06-13 10:16:52 UTC
This bug with using the chameleon style has been solved now: https://github.com/linuxdeepin/qt5integration/issues/49

The problem was  apparently not in the chameleon style, but in the associated dde-qt5integration. I've tested it with dde-qt5integration 5.5.17, and it does not crash any more. Following the comments in the bug report, it has been solved since dde-qt5integration 5.1.0.13.
Comment 3 Nicolas Fella 2022-09-28 13:29:41 UTC
*** Bug 459742 has been marked as a duplicate of this bug. ***