Bug 429591 - System Settings crash on opening and restarting
Summary: System Settings crash on opening and restarting
Status: RESOLVED DUPLICATE of bug 375913
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 5.18.4
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-11-24 14:06 UTC by antiheld.dlehitna+kdebugs
Modified: 2020-11-25 14:48 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (4.45 KB, text/plain)
2020-11-24 15:47 UTC, Waltteri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description antiheld.dlehitna+kdebugs 2020-11-24 14:06:51 UTC
Application: systemsettings5 (5.18.4)

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

-- Information about the crash:
- What I was doing when the application crashed:
I had Firefox and Sublime Text 3 open and wanted to look something up. Since the newly opened window (Dragged a Tab away from main window) was sent to a different activity I tried to go into the settings in order to adjust the window rules.
However when opening the settings program in any way (terminal, App Launcher with mouse or keyboard or search bar) it crashes instantly and I get a notification.
As soon as I click the "restart" button on the notification it crashes again and a new notification pops up.

I will try a reboot, but maybe there is a bug hidden somewhere that causes this (edge conditions, heisenbugs) or it's the all dreaded side-effects.

Hopefully this is useful to someone. If not please disregard it.

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 0x7f8f6c33c800 (LWP 49357))]

Thread 5 (Thread 0x7f8f57365700 (LWP 49362)):
#0  g_mutex_unlock (mutex=0x7f8f50000c30) at ../../../glib/gthread-posix.c:1487
#1  0x00007f8f6e5291a3 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f8f500029e0, timeout=<optimized out>, context=0x7f8f50000c30) at ../../../glib/gmain.c:4345
#2  g_main_context_iterate (context=context@entry=0x7f8f50000c30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f8f6e5292e3 in g_main_context_iteration (context=0x7f8f50000c30, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f8f707ef583 in QEventDispatcherGlib::processEvents (this=0x7f8f50000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f8f707964db in QEventLoop::exec (this=this@entry=0x7f8f57364d80, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007f8f705ce785 in QThread::exec (this=this@entry=0x56190ce1dc40) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007f8f6f8811a9 in QQmlThreadPrivate::run (this=0x56190ce1dc40) at qml/ftw/qqmlthread.cpp:148
#8  0x00007f8f705cf9d2 in QThreadPrivate::start (arg=0x56190ce1dc40) at thread/qthread_unix.cpp:361
#9  0x00007f8f6ee0d609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f8f70260293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f8f61480700 (LWP 49361)):
#0  __GI___libc_read (nbytes=16, buf=0x7f8f6147fb70, fd=12) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=12, buf=buf@entry=0x7f8f6147fb70, nbytes=nbytes@entry=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f8f6e57189f in read (__nbytes=16, __buf=0x7f8f6147fb70, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#3  g_wakeup_acknowledge (wakeup=0x7f8f5c0039a0) at ../../../glib/gwakeup.c:210
#4  0x00007f8f6e528cfe in g_main_context_check (context=context@entry=0x7f8f58000c30, max_priority=2147483647, fds=fds@entry=0x7f8f580025e0, n_fds=n_fds@entry=1) at ../../../glib/gmain.c:3825
#5  0x00007f8f6e529152 in g_main_context_iterate (context=context@entry=0x7f8f58000c30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4044
#6  0x00007f8f6e5292e3 in g_main_context_iteration (context=0x7f8f58000c30, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#7  0x00007f8f707ef583 in QEventDispatcherGlib::processEvents (this=0x7f8f58000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#8  0x00007f8f707964db in QEventLoop::exec (this=this@entry=0x7f8f6147fd80, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#9  0x00007f8f705ce785 in QThread::exec (this=this@entry=0x56190d1db1b0) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#10 0x00007f8f6f8811a9 in QQmlThreadPrivate::run (this=0x56190d1db1b0) at qml/ftw/qqmlthread.cpp:148
#11 0x00007f8f705cf9d2 in QThreadPrivate::start (arg=0x56190d1db1b0) at thread/qthread_unix.cpp:361
#12 0x00007f8f6ee0d609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#13 0x00007f8f70260293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f8f6a415700 (LWP 49359)):
#0  0x00007f8f70253aff in __GI___poll (fds=0x7f8f5c0029e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f8f6e5291ae in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f8f5c0029e0, timeout=<optimized out>, context=0x7f8f5c000c30) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f8f5c000c30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f8f6e5292e3 in g_main_context_iteration (context=0x7f8f5c000c30, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f8f707ef583 in QEventDispatcherGlib::processEvents (this=0x7f8f5c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f8f707964db in QEventLoop::exec (this=this@entry=0x7f8f6a414d70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007f8f705ce785 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007f8f70a71efa in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f8f705cf9d2 in QThreadPrivate::start (arg=0x7f8f70af4d80) at thread/qthread_unix.cpp:361
#9  0x00007f8f6ee0d609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f8f70260293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f8f6b39a700 (LWP 49358)):
#0  0x00007f8f70253aff in __GI___poll (fds=0x7f8f6b399ca8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f8f6edcac1a in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f8f6edcc90a in xcb_wait_for_event () from /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f8f6bb99298 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f8f705cf9d2 in QThreadPrivate::start (arg=0x56190cb4f5a0) at thread/qthread_unix.cpp:361
#5  0x00007f8f6ee0d609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f8f70260293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f8f6c33c800 (LWP 49357)):
[KCrash Handler]
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#7  0x00007f8f70163859 in __GI_abort () at abort.c:79
#8  0x00007f8f70596aad in qt_message_fatal (context=..., message=<synthetic pointer>...) at global/qlogging.cpp:1907
#9  QMessageLogger::fatal (this=this@entry=0x7ffc359d8500, msg=msg@entry=0x7f8f6ff350af "%s") at global/qlogging.cpp:888
#10 0x00007f8f6ff30b16 in QQuickWidgetPrivate::handleContextCreationFailure (this=this@entry=0x56190ccd7990, format=..., isEs=isEs@entry=false) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qarraydata.h:208
#11 0x00007f8f6ff30e72 in QQuickWidgetPrivate::createContext (this=0x56190ccd7990) at qquickwidget.cpp:895
#12 0x00007f8f6ff33036 in QQuickWidget::resizeEvent (this=0x56190cf1f360, e=0x7ffc359d8a00) at qquickwidget.cpp:1230
#13 0x00007f8f71290947 in QWidget::event (this=this@entry=0x56190cf1f360, event=event@entry=0x7ffc359d8a00) at kernel/qwidget.cpp:9122
#14 0x00007f8f6ff33ce3 in QQuickWidget::event (this=0x56190cf1f360, e=0x7ffc359d8a00) at qquickwidget.cpp:1537
#15 0x00007f8f7124da66 in QApplicationPrivate::notify_helper (this=this@entry=0x56190cb3be80, receiver=receiver@entry=0x56190cf1f360, e=e@entry=0x7ffc359d8a00) at kernel/qapplication.cpp:3700
#16 0x00007f8f712570f0 in QApplication::notify (this=0x7ffc359d9680, receiver=0x56190cf1f360, e=0x7ffc359d8a00) at kernel/qapplication.cpp:3446
#17 0x00007f8f7079793a in QCoreApplication::notifyInternal2 (receiver=0x56190cf1f360, event=0x7ffc359d8a00) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:142
#18 0x00007f8f71288e6e in QWidgetPrivate::sendPendingMoveAndResizeEvents (this=this@entry=0x56190ccd7990, recursive=recursive@entry=false, disableUpdates=<optimized out>, disableUpdates@entry=false) at kernel/qwidget.cpp:7969
#19 0x00007f8f7128cbd7 in QWidgetPrivate::show_helper (this=this@entry=0x56190ccd7990) at kernel/qwidget.cpp:8020
#20 0x00007f8f7128fd6b in QWidgetPrivate::setVisible (this=0x56190ccd7990, visible=<optimized out>) at kernel/qwidget.cpp:8383
#21 0x00007f8f7128cb61 in QWidgetPrivate::showChildren (this=this@entry=0x56190cb4f000, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8463
#22 0x00007f8f7128cbf3 in QWidgetPrivate::show_helper (this=0x56190cb4f000) at kernel/qwidget.cpp:8026
#23 0x00007f8f7128c9f5 in QWidgetPrivate::show_recursive (this=<optimized out>) at kernel/qwidget.cpp:7950
#24 0x00007f8f7128cb79 in QWidgetPrivate::showChildren (this=this@entry=0x56190cc020a0, spontaneous=spontaneous@entry=false) at ../../include/QtWidgets/../../src/widgets/kernel/qwidget.h:131
#25 0x00007f8f7128cbf3 in QWidgetPrivate::show_helper (this=this@entry=0x56190cc020a0) at kernel/qwidget.cpp:8026
#26 0x00007f8f7128fd6b in QWidgetPrivate::setVisible (this=0x56190cc020a0, visible=<optimized out>) at kernel/qwidget.cpp:8383
#27 0x00007f8f7128cb61 in QWidgetPrivate::showChildren (this=this@entry=0x56190cbb2400, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8463
#28 0x00007f8f7128cbf3 in QWidgetPrivate::show_helper (this=this@entry=0x56190cbb2400) at kernel/qwidget.cpp:8026
#29 0x00007f8f7128fd6b in QWidgetPrivate::setVisible (this=0x56190cbb2400, visible=<optimized out>) at kernel/qwidget.cpp:8383
#30 0x000056190beb984b in SettingsBase::changePlugin (this=this@entry=0x56190cbb5ed0) at ./app/SettingsBase.cpp:340
#31 0x000056190bebc444 in SettingsBase::initApplication (this=<optimized out>) at ./app/SettingsBase.cpp:129
#32 0x00007f8f707d05b6 in QtPrivate::QSlotObjectBase::call (a=0x7ffc359d9040, r=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#33 QSingleShotTimer::timerEvent (this=0x56190cdc8280) at kernel/qtimer.cpp:318
#34 0x00007f8f707c3cf5 in QObject::event (this=0x56190cdc8280, e=<optimized out>) at kernel/qobject.cpp:1283
#35 0x00007f8f7124da66 in QApplicationPrivate::notify_helper (this=this@entry=0x56190cb3be80, receiver=receiver@entry=0x56190cdc8280, e=e@entry=0x7ffc359d9360) at kernel/qapplication.cpp:3700
#36 0x00007f8f712570f0 in QApplication::notify (this=0x7ffc359d9680, receiver=0x56190cdc8280, e=0x7ffc359d9360) at kernel/qapplication.cpp:3446
#37 0x00007f8f7079793a in QCoreApplication::notifyInternal2 (receiver=0x56190cdc8280, event=0x7ffc359d9360) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:142
#38 0x00007f8f707ee8b0 in QTimerInfoList::activateTimers (this=0x56190cbb1130) at kernel/qtimerinfo_unix.cpp:643
#39 0x00007f8f707ef19c in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:182
#40 0x00007f8f6e528fbd in g_main_dispatch (context=0x7f8f64005010) at ../../../glib/gmain.c:3309
#41 g_main_context_dispatch (context=context@entry=0x7f8f64005010) at ../../../glib/gmain.c:3974
#42 0x00007f8f6e529240 in g_main_context_iterate (context=context@entry=0x7f8f64005010, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4047
#43 0x00007f8f6e5292e3 in g_main_context_iteration (context=0x7f8f64005010, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#44 0x00007f8f707ef565 in QEventDispatcherGlib::processEvents (this=0x56190cbb34f0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#45 0x00007f8f707964db in QEventLoop::exec (this=this@entry=0x7ffc359d95a0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#46 0x00007f8f7079e246 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#47 0x000056190beb6856 in main (argc=<optimized out>, argv=<optimized out>) at ./app/main.cpp:70
[Inferior 1 (process 49357) detached]

The reporter indicates this bug may be a duplicate of or related to bug 418797.

Possible duplicates by query: bug 429344, bug 428902, bug 428362, bug 428168, bug 427794.

Reported using DrKonqi
Comment 1 Waltteri 2020-11-24 15:47:31 UTC
Created attachment 133609 [details]
New crash information added by DrKonqi

systemsettings5 (5.19.5) using Qt 5.14.2

- What I was doing when the application crashed:

When I try to open system settings it always crashes. The problem has been persistent for some time now at least a few weeks.

-- Backtrace (Reduced):
#4  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
#5  0x00007fc8f24ab864 in __GI_abort () at abort.c:79
#6  0x00007fc8f28deba3 in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
[...]
#9  0x00007fc8f2283de5 in QQuickWidget::resizeEvent(QResizeEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5QuickWidgets.so.5
#10 0x00007fc8f367ed64 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
Comment 2 Nate Graham 2020-11-24 16:44:59 UTC
Gotta restart the machine as your graphics drivers have been updated.

*** This bug has been marked as a duplicate of bug 375913 ***
Comment 3 Waltteri 2020-11-25 14:48:45 UTC
(In reply to Nate Graham from comment #2)
> Gotta restart the machine as your graphics drivers have been updated.
> 
> *** This bug has been marked as a duplicate of bug 375913 ***

This resolved my issue although I can not understand how this problem have been with me for weeks and now it solves itself. I shutdown the computer every night and it would be a rather unbelievable coincidence that my graphics drivers are updated during same session as I am entering the system settings. But to be honest maybe I haven't tried to enter the settings that often and the error message is more likely remember vs. successful opening of the program. Never the less Thank you for your input.