Bug 388442 - system settings crashes
Summary: system settings crashes
Status: RESOLVED UPSTREAM
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 5.11.4
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-01-02 00:12 UTC by fenderxtx
Modified: 2020-04-07 08:36 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (13.81 KB, text/plain)
2020-03-13 18:08 UTC, motoku
Details
New crash information added by DrKonqi (9.98 KB, text/plain)
2020-03-31 07:49 UTC, Arsalan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fenderxtx 2018-01-02 00:12:46 UTC
Application: systemsettings5 (5.11.4)

Qt Version: 5.10.0
Frameworks Version: 5.41.0
Operating System: Linux 4.14.10-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
system settings crashes

The crash can be reproduced every time.

-- Backtrace:
Application: Ρυθμίσεις συστήματος (systemsettings5), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f112b9c8800 (LWP 1104))]

Thread 6 (Thread 0x7f10ef22d700 (LWP 1114)):
#0  0x00007f11275b3a48 in read () at /usr/lib/libc.so.6
#1  0x00007f111ec3ff55 in  () at /usr/lib/nvidia/libnvidia-tls.so.340.104
#2  0x00007f1121070521 in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007f112104790b in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#4  0x00007f1121048e76 in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007f1121048fae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#6  0x00007f1127f036b4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007f1127ea582b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#8  0x00007f1127cb578e in QThread::exec() () at /usr/lib/libQt5Core.so.5
#9  0x00007f1125d23a19 in  () at /usr/lib/libQt5Qml.so.5
#10 0x00007f1127cbab2d in  () at /usr/lib/libQt5Core.so.5
#11 0x00007f112330b08a in start_thread () at /usr/lib/libpthread.so.0
#12 0x00007f11275c242f in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f10f7301700 (LWP 1113)):
#0  0x00007f11275b7f2b in poll () at /usr/lib/libc.so.6
#1  0x00007f1121048ed3 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f1121048fae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f1127f036b4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f1127ea582b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f1127cb578e in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f1125d23a19 in  () at /usr/lib/libQt5Qml.so.5
#7  0x00007f1127cbab2d in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f112330b08a in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f11275c242f in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f10ff8c0700 (LWP 1110)):
#0  0x00007f11210705f9 in g_mutex_lock () at /usr/lib/libglib-2.0.so.0
#1  0x00007f1121046f87 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#2  0x00007f1121048f69 in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007f1121048fae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007f1127f036b4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f1127ea582b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f1127cb578e in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007f1125d23a19 in  () at /usr/lib/libQt5Qml.so.5
#8  0x00007f1127cbab2d in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f112330b08a in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007f11275c242f in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f1109426700 (LWP 1107)):
#0  0x00007f11275b3a48 in read () at /usr/lib/libc.so.6
#1  0x00007f111ec3ff55 in  () at /usr/lib/nvidia/libnvidia-tls.so.340.104
#2  0x00007f1121070521 in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007f112104790b in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#4  0x00007f1121048e76 in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007f1121048fae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#6  0x00007f1127f036b4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007f1127ea582b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#8  0x00007f1127cb578e in QThread::exec() () at /usr/lib/libQt5Core.so.5
#9  0x00007f1128325416 in  () at /usr/lib/libQt5DBus.so.5
#10 0x00007f1127cbab2d in  () at /usr/lib/libQt5Core.so.5
#11 0x00007f112330b08a in start_thread () at /usr/lib/libpthread.so.0
#12 0x00007f11275c242f in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f1115b40700 (LWP 1106)):
#0  0x00007f11275b7f2b in poll () at /usr/lib/libc.so.6
#1  0x00007f1123b8e8e0 in  () at /usr/lib/libxcb.so.1
#2  0x00007f1123b90679 in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f11188ee7aa in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f1127cbab2d in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f112330b08a in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f11275c242f in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f112b9c8800 (LWP 1104)):
[KCrash Handler]
#5  0x00007f1129aed5b0 in QWidget::style() const () at /usr/lib/libQt5Widgets.so.5
#6  0x00007f110cc89d81 in dstyle::Style::drawPushButtonLabel(QStyleOption const*, QPainter*, QWidget const*) const () at /usr/lib/qt/plugins/styles/libdstyleplugin.so
#7  0x00007f110cc7e288 in dstyle::Style::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const () at /usr/lib/qt/plugins/styles/libdstyleplugin.so
#8  0x00007f1129b482e2 in QCommonStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const () at /usr/lib/libQt5Widgets.so.5
#9  0x00007f110cc7e2a1 in dstyle::Style::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const () at /usr/lib/qt/plugins/styles/libdstyleplugin.so
#10 0x00007f10fe03184f in  () at /usr/lib/qt/qml/QtQuick/Controls/libqtquickcontrolsplugin.so
#11 0x00007f10fe0323e6 in  () at /usr/lib/qt/qml/QtQuick/Controls/libqtquickcontrolsplugin.so
#12 0x00007f112624a233 in QQuickWindowPrivate::polishItems() () at /usr/lib/libQt5Quick.so.5
#13 0x00007f11268d5eb6 in  () at /usr/lib/libQt5QuickWidgets.so.5
#14 0x00007f11268d8e4e in QQuickWidget::resizeEvent(QResizeEvent*) () at /usr/lib/libQt5QuickWidgets.so.5
#15 0x00007f1129b07a12 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#16 0x00007f11268d9b1c in QQuickWidget::event(QEvent*) () at /usr/lib/libQt5QuickWidgets.so.5
#17 0x00007f1129ac6e3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#18 0x00007f1129ace816 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#19 0x00007f1127ea71e0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#20 0x00007f1129aff67d in QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) () at /usr/lib/libQt5Widgets.so.5
#21 0x00007f1129b036d4 in QWidgetPrivate::show_helper() () at /usr/lib/libQt5Widgets.so.5
#22 0x00007f1129b069c9 in QWidget::setVisible(bool) () at /usr/lib/libQt5Widgets.so.5
#23 0x00007f1129b05fb2 in  () at /usr/lib/libQt5Widgets.so.5
#24 0x00007f1127ed8452 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#25 0x00007f1129b0756c in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#26 0x00007f11268d9b1c in QQuickWidget::event(QEvent*) () at /usr/lib/libQt5QuickWidgets.so.5
#27 0x00007f1129ac6e3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#28 0x00007f1129ace816 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#29 0x00007f1127ea71e0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#30 0x00007f1127ea9e46 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#31 0x00007f1127f040a4 in  () at /usr/lib/libQt5Core.so.5
#32 0x00007f1121047270 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#33 0x00007f1121048f69 in  () at /usr/lib/libglib-2.0.so.0
#34 0x00007f1121048fae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#35 0x00007f1127f03691 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#36 0x00007f1118976152 in  () at /usr/lib/libQt5XcbQpa.so.5
#37 0x00007f1127ea582b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#38 0x00007f1127eaeb18 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#39 0x000055e505577cca in  ()
#40 0x00007f11274ecf4a in __libc_start_main () at /usr/lib/libc.so.6
#41 0x000055e505577d4a in _start ()

Possible duplicates by query: bug 388419.

Reported using DrKonqi
Comment 1 Nate Graham 2018-01-02 16:46:02 UTC
What do you do to reproduce this crash?
Comment 2 fenderxtx 2018-01-03 09:48:51 UTC
I try to open again screen settings and crashes again.
Comment 3 Kai Uwe Broulik 2018-01-03 11:41:41 UTC
You seem to be using a custom widget theme, called "d style"? When painting QtQuick Controls (QML) there is no QWidget, so it accessing QWidget::style() crashes. Please try again with Breeze theme and if you can report that issue to the author of that style you're using.
Comment 4 fenderxtx 2018-01-04 00:51:46 UTC
Everything seems to be OK. Thanks a lot my friends!!! I uninstalled the dark theme you mentioned, set again up the breeze and everything works just like before.
Comment 5 motoku 2020-03-13 18:08:49 UTC
Created attachment 126768 [details]
New crash information added by DrKonqi

systemsettings5 (5.18.2) using Qt 5.14.1

- What I was doing when the application crashed:

I have changed windows style theme to dsemidark, then i close settings window and open again, after that I got crash on almost every item in appearance setting.

-- Backtrace (Reduced):
#6  0x00007f98e476e530 in QWidget::style() const () at /usr/lib/libQt5Widgets.so.5
#7  0x00007f98dcb3378d in dstyle::Style::drawComboBoxLabelControl(QStyleOption const*, QPainter*, QWidget const*) const () at /usr/lib/qt/plugins/styles/libdstyleplugin.so
#8  0x00007f98dcb218c2 in dstyle::Style::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const () at /usr/lib/qt/plugins/styles/libdstyleplugin.so
#9  0x00007f98cd58d680 in  () at /usr/lib/qt/qml/org/kde/qqc2desktopstyle/private/libqqc2desktopstyleplugin.so
#10 0x00007f98cd58dc7e in  () at /usr/lib/qt/qml/org/kde/qqc2desktopstyle/private/libqqc2desktopstyleplugin.so
Comment 6 Arsalan 2020-03-31 07:49:35 UTC
Created attachment 127128 [details]
New crash information added by DrKonqi

systemsettings5 (5.18.3) using Qt 5.14.1

- What I was doing when the application crashed:

- Unusual behavior I noticed:

when I try to confige in system-setting it's crashs everytime it's happend after upgrade to 5.18.3 plasma desktop

-- Backtrace (Reduced):
#6  0x00007f6e85789570 in QWidget::style() const () at /usr/lib/libQt5Widgets.so.5
#7  0x00007f6e7de47634 in dstyle::Style::drawComboBoxLabelControl(QStyleOption const*, QPainter*, QWidget const*) const () at /usr/lib/qt/plugins/styles/libdstyleplugin.so
#8  0x00007f6e7de358c2 in dstyle::Style::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const () at /usr/lib/qt/plugins/styles/libdstyleplugin.so
#9  0x00007f6e65e2a680 in  () at /usr/lib/qt/qml/org/kde/qqc2desktopstyle/private/libqqc2desktopstyleplugin.so
#10 0x00007f6e65e2ac7e in  () at /usr/lib/qt/qml/org/kde/qqc2desktopstyle/private/libqqc2desktopstyleplugin.so
Comment 7 Martin Dimitrov 2020-04-07 07:45:50 UTC
I experienced the same issue as of today. I started with removed ~/.config yesterday as I wanted to "refresh" my KDE setup. So yesterday I changed themes and after restart I got this. I think there must be a way after KDE upgrade or something to WARN or disable existing themes which are not compatible. What do you think?
Comment 8 David Edmundson 2020-04-07 08:36:40 UTC
Well, the theme should be compatible. 

dstyle just have buggy code. There is no way to detect that ahead of time.