Bug 390334 - System settings crashes immediately on opening every time
Summary: System settings crashes immediately on opening every time
Status: RESOLVED DOWNSTREAM
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 5.12.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
: 391842 392696 393973 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-02-12 17:58 UTC by h.goudey
Modified: 2018-07-23 13:48 UTC (History)
4 users (show)

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


Attachments
New crash information added by DrKonqi (9.79 KB, text/plain)
2018-07-23 13:30 UTC, Nick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description h.goudey 2018-02-12 17:58:58 UTC
Application: systemsettings5 (5.12.0)

Qt Version: 5.9.1
Frameworks Version: 5.42.0
Operating System: Linux 4.13.0-32-generic x86_64
Distribution: Ubuntu 17.10

-- Information about the crash:
- What I was doing when the application crashed:
Before it started crashing, I had the driver settings window open in a seperate window. I closed the main System Settings window by mistake, then I closed the seperate driver settings window.

Now when I open system settings, the window is blank and immediately crashes.

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 0x7f9d6c6b0900 (LWP 18744))]

Thread 5 (Thread 0x7f9d3a408700 (LWP 18749)):
#0  0x00007f9d6810706d in __GI___libc_read (fd=13, buf=0x7f9d3a407a70, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:26
#1  0x00007f9d60229073 in ?? () from /usr/lib/nvidia-390/tls/libnvidia-tls.so.390.25
#2  0x00007f9d61fb8280 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9d61f73c4b in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9d61f74110 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f9d61f7427c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f9d68a4b49b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f9d689f0e3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f9d688103ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f9d66385f45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#10 0x00007f9d6881529d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f9d643287fc in start_thread (arg=0x7f9d3a408700) at pthread_create.c:465
#12 0x00007f9d68117b5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f9d42d16700 (LWP 18748)):
#0  0x00007f9d6810b951 in __GI___poll (fds=0x7f9d3c004a60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f9d61f74169 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9d61f7427c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9d68a4b49b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f9d689f0e3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f9d688103ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f9d66385f45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f9d6881529d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f9d643287fc in start_thread (arg=0x7f9d42d16700) at pthread_create.c:465
#9  0x00007f9d68117b5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f9d4e9ce700 (LWP 18746)):
#0  0x00007f9d6810706d in __GI___libc_read (fd=7, buf=0x7f9d4e9cda60, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:26
#1  0x00007f9d60229073 in ?? () from /usr/lib/nvidia-390/tls/libnvidia-tls.so.390.25
#2  0x00007f9d61fb8280 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9d61f73c4b in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9d61f74110 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f9d61f7427c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f9d68a4b49b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f9d689f0e3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f9d688103ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f9d6a34fe45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#10 0x00007f9d6881529d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f9d643287fc in start_thread (arg=0x7f9d4e9ce700) at pthread_create.c:465
#12 0x00007f9d68117b5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f9d57dc5700 (LWP 18745)):
#0  0x00007f9d6810b951 in __GI___poll (fds=0x7f9d57dc4bb8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f9d63eb9747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f9d63ebb53a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f9d5a953f09 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f9d6881529d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f9d643287fc in start_thread (arg=0x7f9d57dc5700) at pthread_create.c:465
#6  0x00007f9d68117b5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f9d6c6b0900 (LWP 18744)):
[KCrash Handler]
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#7  0x00007f9d6803bf5d in __GI_abort () at abort.c:90
#8  0x00007f9d68800107 in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f9d66efc3c0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5QuickWidgets.so.5
#10 0x00007f9d66efc72a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5QuickWidgets.so.5
#11 0x00007f9d66efe8fe in QQuickWidget::resizeEvent(QResizeEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5QuickWidgets.so.5
#12 0x00007f9d69a40972 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f9d699ff46c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007f9d69a06d34 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007f9d689f2de8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007f9d69a38ecb in QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007f9d69a3cca3 in QWidgetPrivate::show_helper() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007f9d69a3f96b in QWidget::setVisible(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007f9d69a3cc10 in QWidgetPrivate::showChildren(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007f9d69a3ccbf in QWidgetPrivate::show_helper() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007f9d69a3f96b in QWidget::setVisible(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007f9d69a21af0 in QStackedLayout::setCurrentIndex(int) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007f9d69a221aa in QStackedLayout::insertWidget(int, QWidget*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x0000561397fd7a24 in ?? ()
#25 0x0000561397fd99a4 in ?? ()
#26 0x00007f9d68a2e464 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f9d68a2240b in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007f9d699ff46c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007f9d69a06d34 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007f9d689f2de8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007f9d68a4a91e in QTimerInfoList::activateTimers() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007f9d68a4b0e1 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007f9d61f73fb7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f9d61f741f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f9d61f7427c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f9d68a4b47f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#37 0x00007f9d689f0e3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#38 0x00007f9d689f9da4 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#39 0x0000561397fd4e44 in ?? ()
#40 0x00007f9d680241c1 in __libc_start_main (main=0x561397fd4a40, argc=1, argv=0x7ffc470f53a8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc470f5398) at ../csu/libc-start.c:308
#41 0x0000561397fd4eca in _start ()

Possible duplicates by query: bug 389875, bug 389801, bug 389152, bug 388900, bug 388864.

Reported using DrKonqi
Comment 1 Christoph Feck 2018-03-01 00:12:40 UTC
If rebooting after changing nvidia drivers does not fix the crashes, please ask for help in a forum of your distribution. The OpenGL drivers need to be installed correctly, including matching kernel and nvidia module versions.
Comment 2 Christoph Feck 2018-03-30 19:34:36 UTC
*** Bug 391842 has been marked as a duplicate of this bug. ***
Comment 3 Christoph Feck 2018-05-02 01:20:31 UTC
*** Bug 392696 has been marked as a duplicate of this bug. ***
Comment 4 Nate Graham 2018-05-08 17:22:15 UTC
*** Bug 393973 has been marked as a duplicate of this bug. ***
Comment 5 Nick 2018-07-23 13:30:34 UTC
Created attachment 114084 [details]
New crash information added by DrKonqi

systemsettings5 (5.12.6) using Qt 5.11.1

- What I was doing when the application crashed:
upon clicking on the systems settings icon or running systemsetting5 from the command line, no system settings dialog is displayed, program crashes. Here's the text when run from the command line...
failed to acquire GL context to resolve capabilities, using defaults..
WARNING: viewBackgroundColor is deprecated, use backgroundColor with colorSet: Theme.View instead
WARNING: viewBackgroundColor is deprecated, use backgroundColor with colorSet: Theme.View instead
KActivities: Database connection:  "kactivities_db_resources_140132056873216_readonly" 
    query_only:          QVariant(qlonglong, 1) 
    journal_mode:        QVariant(QString, "wal") 
    wal_autocheckpoint:  QVariant(qlonglong, 100) 
    synchronous:         QVariant(qlonglong, 0)
Nothing to load - the client id is empty
Nothing to load - the client id is empty
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::SwapBehavior(DoubleBuffer), swapInterval 1, colorSpace QSurfaceFormat::ColorSpace(DefaultColorSpace), profile  QSurfaceFormat::OpenGLContextProfile(NoProfile)) 
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = systemsettings5 path = /usr/bin pid = 12873
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

-- Backtrace (Reduced):
#6  0x00007f05581a1428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007f05581a302a in __GI_abort () at abort.c:89
#8  0x00007f055893890d in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
[...]
#11 0x00007f0556c3d386 in QQuickWidget::resizeEvent(QResizeEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5QuickWidgets.so.5
#12 0x00007f0559bc81ae in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
Comment 6 Nick 2018-07-23 13:44:04 UTC
The problem was resolved by a reboot. As per the comment by Christoph Feck in comment 1 https://bugs.kde.org/show_bug.cgi?id=390334#c1 I had indeed tried to change Nvidia display drivers. In my case it appeared to have failed or at least nothing appeared to have happened which is why I didn't reboot. I used the additional drivers icon the upgrade from the 384 to the 390 driver but the dialog never updated e.g. the radio button remained on 384 when I rerun the additional drivers program... (from the command line /usr/bin/software-properties-gtk --open-tab=4.

After the reboot the additional drivers program (/usr/bin/software-properties-gtk --open-tab=4.) and the 'Info Centre' program both showed the Nvidia 390 driver as selected.
Comment 7 Nick 2018-07-23 13:48:29 UTC
And system settings is now working OK