Bug 454834 - System Settings crashes on startup / can no longer use settings
Summary: System Settings crashes on startup / can no longer use settings
Status: RESOLVED UNMAINTAINED
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 5.18.7
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-06-04 13:29 UTC by Mathis
Modified: 2022-08-11 04:58 UTC (History)
2 users (show)

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


Attachments
New crash information added by DrKonqi (8.52 KB, text/plain)
2022-08-11 04:58 UTC, edA-qa mort-ora-y
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mathis 2022-06-04 13:29:59 UTC
Application: systemsettings5 (5.18.7)

Qt Version: 5.12.8
Frameworks Version: 5.68.0
Operating System: Linux 5.4.0-109-generic x86_64
Windowing system: X11
Distribution: Ubuntu 20.04.4 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Nothing specific, it crashes on startup. I may have UI scaling set to something other than 100%, but it's hard to tell without looking at the settings ;)

When starting from the terminal I get the following output:

:~$ systemsettings5
failed to acquire GL context to resolve capabilities, using defaults..
QQmlEngine::setContextForObject(): Object already has a QQmlContext
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile) 
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = systemsettings5 path = /usr/bin pid = 146981
KCrash: Arguments: /usr/bin/systemsettings5 
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0

[1]+  Stopped                 systemsettings5



Is there any other helpful information I can provide? If so, let me know.

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings5), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f76b55ef800 (LWP 140476))]

Thread 5 (Thread 0x7f76a8e59700 (LWP 140481)):
#0  0x00007f76b950299f in __GI___poll (fds=0x7f76980029e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f76b77db18e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f76980029e0, timeout=<optimized out>, context=0x7f7698000c30) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f7698000c30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f76b77db2c3 in g_main_context_iteration (context=0x7f7698000c30, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f76b9aa2583 in QEventDispatcherGlib::processEvents (this=0x7f7698000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f76b9a494db in QEventLoop::exec (this=this@entry=0x7f76a8e58d80, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007f76b9881785 in QThread::exec (this=this@entry=0x559c9d087080) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007f76b8b331a9 in QQmlThreadPrivate::run (this=0x559c9d087080) at qml/ftw/qqmlthread.cpp:148
#8  0x00007f76b98829d2 in QThreadPrivate::start (arg=0x559c9d087080) at thread/qthread_unix.cpp:361
#9  0x00007f76b80be609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f76b950f133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f76b1032700 (LWP 140480)):
#0  g_main_context_iterate (context=context@entry=0x7f76a0000c30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4039
#1  0x00007f76b77db2c3 in g_main_context_iteration (context=0x7f76a0000c30, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#2  0x00007f76b9aa2583 in QEventDispatcherGlib::processEvents (this=0x7f76a0000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#3  0x00007f76b9a494db in QEventLoop::exec (this=this@entry=0x7f76b1031d80, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#4  0x00007f76b9881785 in QThread::exec (this=this@entry=0x559c9cda6ee0) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#5  0x00007f76b8b331a9 in QQmlThreadPrivate::run (this=0x559c9cda6ee0) at qml/ftw/qqmlthread.cpp:148
#6  0x00007f76b98829d2 in QThreadPrivate::start (arg=0x559c9cda6ee0) at thread/qthread_unix.cpp:361
#7  0x00007f76b80be609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007f76b950f133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f76b376e700 (LWP 140478)):
#0  g_mutex_unlock (mutex=0x7f76a4000c30) at ../../../glib/gthread-posix.c:1493
#1  0x00007f76b77db183 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f76a40029e0, timeout=<optimized out>, context=0x7f76a4000c30) at ../../../glib/gmain.c:4345
#2  g_main_context_iterate (context=context@entry=0x7f76a4000c30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f76b77db2c3 in g_main_context_iteration (context=0x7f76a4000c30, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f76b9aa2583 in QEventDispatcherGlib::processEvents (this=0x7f76a4000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f76b9a494db in QEventLoop::exec (this=this@entry=0x7f76b376dd70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007f76b9881785 in QThread::exec (this=this@entry=0x7f76b9da7d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007f76b9d24efa in QDBusConnectionManager::run (this=0x7f76b9da7d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#8  0x00007f76b98829d2 in QThreadPrivate::start (arg=0x7f76b9da7d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:361
#9  0x00007f76b80be609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f76b950f133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f76b46e9700 (LWP 140477)):
#0  0x00007f76b950299f in __GI___poll (fds=0x7f76b46e8ca8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f76b807cc1a in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f76b807e90a in xcb_wait_for_event () from /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f76b4ee8298 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f76b98829d2 in QThreadPrivate::start (arg=0x559c9c9b68c0) at thread/qthread_unix.cpp:361
#5  0x00007f76b80be609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f76b950f133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f76b55ef800 (LWP 140476)):
[KCrash Handler]
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#7  0x00007f76b9412859 in __GI_abort () at abort.c:79
#8  0x00007f76b9849aad in qt_message_fatal (context=..., message=<synthetic pointer>...) at global/qlogging.cpp:1907
#9  QMessageLogger::fatal (this=<optimized out>, msg=<optimized out>) at global/qlogging.cpp:888
#10 0x00007f76b91e2b16 in ?? () from /lib/x86_64-linux-gnu/libQt5QuickWidgets.so.5
#11 0x00007f76b91e2e72 in ?? () from /lib/x86_64-linux-gnu/libQt5QuickWidgets.so.5
#12 0x00007f76b91e5036 in QQuickWidget::resizeEvent(QResizeEvent*) () from /lib/x86_64-linux-gnu/libQt5QuickWidgets.so.5
#13 0x00007f76ba543947 in QWidget::event (this=0x559c9cda9100, event=0x7ffd47fc8210) at kernel/qwidget.cpp:9122
#14 0x00007f76b91e5ce3 in QQuickWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5QuickWidgets.so.5
#15 0x00007f76ba500a66 in QApplicationPrivate::notify_helper (this=this@entry=0x559c9c9a2e80, receiver=receiver@entry=0x559c9cda9100, e=e@entry=0x7ffd47fc8210) at kernel/qapplication.cpp:3700
#16 0x00007f76ba50a0f0 in QApplication::notify (this=0x7ffd47fc8e90, receiver=0x559c9cda9100, e=0x7ffd47fc8210) at kernel/qapplication.cpp:3446
#17 0x00007f76b9a4a93a in QCoreApplication::notifyInternal2 (receiver=0x559c9cda9100, event=0x7ffd47fc8210) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:142
#18 0x00007f76ba53be6e in QWidgetPrivate::sendPendingMoveAndResizeEvents (this=this@entry=0x559c9cba8ab0, recursive=recursive@entry=false, disableUpdates=<optimized out>, disableUpdates@entry=false) at kernel/qwidget.cpp:7969
#19 0x00007f76ba53fbd7 in QWidgetPrivate::show_helper (this=this@entry=0x559c9cba8ab0) at kernel/qwidget.cpp:8020
#20 0x00007f76ba542d6b in QWidgetPrivate::setVisible (this=0x559c9cba8ab0, visible=<optimized out>) at kernel/qwidget.cpp:8383
#21 0x00007f76ba53fb61 in QWidgetPrivate::showChildren (this=this@entry=0x559c9cd90f30, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8463
#22 0x00007f76ba53fbf3 in QWidgetPrivate::show_helper (this=0x559c9cd90f30) at kernel/qwidget.cpp:8026
#23 0x00007f76ba53f9f5 in QWidgetPrivate::show_recursive (this=<optimized out>) at kernel/qwidget.cpp:7950
#24 0x00007f76ba53fb79 in QWidgetPrivate::showChildren (this=this@entry=0x559c9ca95690, spontaneous=spontaneous@entry=false) at ../../include/QtWidgets/../../src/widgets/kernel/qwidget.h:131
#25 0x00007f76ba53fbf3 in QWidgetPrivate::show_helper (this=this@entry=0x559c9ca95690) at kernel/qwidget.cpp:8026
#26 0x00007f76ba542d6b in QWidgetPrivate::setVisible (this=0x559c9ca95690, visible=<optimized out>) at kernel/qwidget.cpp:8383
#27 0x00007f76ba53fb61 in QWidgetPrivate::showChildren (this=this@entry=0x559c9ca1d600, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8463
#28 0x00007f76ba53fbf3 in QWidgetPrivate::show_helper (this=this@entry=0x559c9ca1d600) at kernel/qwidget.cpp:8026
#29 0x00007f76ba542d6b in QWidgetPrivate::setVisible (this=0x559c9ca1d600, visible=<optimized out>) at kernel/qwidget.cpp:8383
#30 0x0000559c9c2e884b in ?? ()
#31 0x0000559c9c2eb444 in ?? ()
#32 0x00007f76b9a835b6 in QtPrivate::QSlotObjectBase::call (a=0x7ffd47fc8850, r=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#33 QSingleShotTimer::timerEvent (this=0x559c9cb419f0) at kernel/qtimer.cpp:318
#34 0x00007f76b9a76cf5 in QObject::event (this=0x559c9cb419f0, e=<optimized out>) at kernel/qobject.cpp:1283
#35 0x00007f76ba500a66 in QApplicationPrivate::notify_helper (this=this@entry=0x559c9c9a2e80, receiver=receiver@entry=0x559c9cb419f0, e=e@entry=0x7ffd47fc8b70) at kernel/qapplication.cpp:3700
#36 0x00007f76ba50a0f0 in QApplication::notify (this=0x7ffd47fc8e90, receiver=0x559c9cb419f0, e=0x7ffd47fc8b70) at kernel/qapplication.cpp:3446
#37 0x00007f76b9a4a93a in QCoreApplication::notifyInternal2 (receiver=0x559c9cb419f0, event=0x7ffd47fc8b70) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:142
#38 0x00007f76b9aa18b0 in QTimerInfoList::activateTimers (this=0x559c9ca1b700) at kernel/qtimerinfo_unix.cpp:643
#39 0x00007f76b9aa219c in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:182
#40 0x00007f76b77daf9d in g_main_dispatch (context=0x7f76ac005010) at ../../../glib/gmain.c:3309
#41 g_main_context_dispatch (context=context@entry=0x7f76ac005010) at ../../../glib/gmain.c:3974
#42 0x00007f76b77db220 in g_main_context_iterate (context=context@entry=0x7f76ac005010, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4047
#43 0x00007f76b77db2c3 in g_main_context_iteration (context=0x7f76ac005010, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#44 0x00007f76b9aa2565 in QEventDispatcherGlib::processEvents (this=0x559c9ca1bfc0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#45 0x00007f76b9a494db in QEventLoop::exec (this=this@entry=0x7ffd47fc8db0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#46 0x00007f76b9a51246 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#47 0x0000559c9c2e5856 in ?? ()
#48 0x00007f76b9414083 in __libc_start_main (main=0x559c9c2e5460, argc=1, argv=0x7ffd47fc8fe8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd47fc8fd8) at ../csu/libc-start.c:308
#49 0x0000559c9c2e58de in _start ()
[Inferior 1 (process 140476) detached]

Possible duplicates by query: bug 454829, bug 454705, bug 454389, bug 454322, bug 453861.

Reported using DrKonqi
Comment 1 Nate Graham 2022-06-06 19:23:44 UTC
> Application: systemsettings5 (5.18.7)

I'm afraid Plasma 5.18 is no longer supported now that we have released Plasma 5.24 as the new LTS version. Please consider upgrading to Kubuntu 22.04, which offers it.
Comment 2 edA-qa mort-ora-y 2022-08-11 04:58:13 UTC
Created attachment 151241 [details]
New crash information added by DrKonqi

systemsettings5 (5.12.8) using Qt 5.9.5

Tried to start systemsettings5

-- Backtrace (Reduced):
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#7  0x00007f9cc8fe47f1 in __GI_abort () at abort.c:79
#8  0x00007f9cc97b4fb7 in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
[...]
#11 0x00007f9cc7e9cf8e in QQuickWidget::resizeEvent(QResizeEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5QuickWidgets.so.5
#12 0x00007f9cca9f7be2 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5