Bug 392979 - settings crash
Summary: settings crash
Status: RESOLVED DUPLICATE of bug 378339
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 5.12.4
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-04-10 20:20 UTC by Matheus
Modified: 2018-04-11 15:30 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matheus 2018-04-10 20:20:42 UTC
Application: systemsettings5 (5.12.4)

Qt Version: 5.9.4
Frameworks Version: 5.44.0
Operating System: Linux 4.15.0-13-generic x86_64
Distribution: Ubuntu Bionic Beaver (development branch)

-- Information about the crash:
I was searching for the name draw and it simply crashed. I have nvidia-384 installed and its a laptop i15 7567.

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

Thread 8 (Thread 0x7ff81f732700 (LWP 10734)):
#0  0x00007ff86ef720b4 in __GI___libc_read (fd=34, buf=0x7ff81f731cd0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007ff868e21960 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff868ddcf27 in g_main_context_check () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff868ddd3e0 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff868ddd7d2 in g_main_loop_run () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ff8242b9e16 in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6  0x00007ff868e04e05 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007ff86b12d6db in start_thread (arg=0x7ff81f732700) at pthread_create.c:463
#8  0x00007ff86ef8388f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7ff825cb5700 (LWP 10733)):
#0  0x00007ff86ef76bf9 in __GI___poll (fds=0x55cbddb88370, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ff868ddd439 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff868ddd54c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff868ddd591 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff868e04e05 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ff86b12d6db in start_thread (arg=0x7ff825cb5700) at pthread_create.c:463
#6  0x00007ff86ef8388f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7ff836bb8700 (LWP 8452)):
#0  0x00007ff86ef720b4 in __GI___libc_read (fd=29, buf=0x7ff836bb7b70, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007ff868e21960 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff868ddcf27 in g_main_context_check () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff868ddd3e0 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff868ddd54c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ff86f8c24fb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ff86f86761a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ff86f68622a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ff86d1d9a45 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007ff86f68b16d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007ff86b12d6db in start_thread (arg=0x7ff836bb8700) at pthread_create.c:463
#11 0x00007ff86ef8388f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7ff840da1700 (LWP 987)):
#0  0x00007ff86ef76bf9 in __GI___poll (fds=0x7ff83c003ce0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ff868ddd439 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff868ddd54c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff86f8c24fb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ff86f86761a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ff86f68622a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ff86d1d9a45 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007ff86f68b16d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ff86b12d6db in start_thread (arg=0x7ff840da1700) at pthread_create.c:463
#9  0x00007ff86ef8388f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7ff849211700 (LWP 608)):
#0  0x00007ff86ef720b4 in __GI___libc_read (fd=12, buf=0x7ff849210b70, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007ff868e21960 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff868ddcf27 in g_main_context_check () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff868ddd3e0 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff868ddd54c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ff86f8c24fb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ff86f86761a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ff86f68622a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ff86d1d9a45 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007ff86f68b16d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007ff86b12d6db in start_thread (arg=0x7ff849211700) at pthread_create.c:463
#11 0x00007ff86ef8388f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7ff85726d700 (LWP 32482)):
#0  0x00007ff86ef76bf9 in __GI___poll (fds=0x7ff850015990, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ff868ddd439 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff868ddd54c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff86f8c24fb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ff86f86761a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ff86f68622a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ff8711ccd45 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007ff86f68b16d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ff86b12d6db in start_thread (arg=0x7ff85726d700) at pthread_create.c:463
#9  0x00007ff86ef8388f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7ff8605da700 (LWP 32481)):
#0  0x00007ff86ef76bf9 in __GI___poll (fds=0x7ff8605d9ca8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ff86acbc747 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007ff86acbe36a in xcb_wait_for_event () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007ff8633871c9 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007ff86f68b16d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ff86b12d6db in start_thread (arg=0x7ff8605da700) at pthread_create.c:463
#6  0x00007ff86ef8388f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ff87352c800 (LWP 32479)):
[KCrash Handler]
#6  0x00007ff86f8722b0 in QMetaObject::inherits(QMetaObject const*) const () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ff86f872304 in QMetaObject::cast(QObject const*) const () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ff8708c821d in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007ff8708826b6 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007ff86f8695c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007ff86d6d0d15 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#12 0x00007ff86d6dcaca in QQuickItemPrivate::deliverKeyEvent(QKeyEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#13 0x00007ff86d6dce55 in QQuickItem::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#14 0x00007ff87087982c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007ff8708810f4 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007ff86f8695c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007ff86d6ef018 in QQuickWindow::sendEvent(QQuickItem*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#18 0x00007ff86d6ef32f in QQuickWindow::keyReleaseEvent(QKeyEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#19 0x00007ff8700c92b5 in QWindow::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#20 0x00007ff86d6f5eb5 in QQuickWindow::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#21 0x00007ff87087982c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007ff8708810f4 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007ff86f8695c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007ff86dd5910c in QQuickWidget::keyReleaseEvent(QKeyEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5QuickWidgets.so.5
#25 0x00007ff8708b8048 in QWidget::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007ff86dd5a9eb in QQuickWidget::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5QuickWidgets.so.5
#27 0x00007ff87087982c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007ff870882632 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007ff86f8695c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007ff8708d57b5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x00007ff87087982c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x00007ff8708810f4 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#33 0x00007ff86f8695c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x00007ff8700b9fc0 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#35 0x00007ff8700bef15 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#36 0x00007ff87009628b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#37 0x00007ff8633ea0e0 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#38 0x00007ff868ddd287 in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007ff868ddd4c0 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007ff868ddd54c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007ff86f8c24df in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#42 0x00007ff86f86761a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#43 0x00007ff86f870664 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#44 0x000055cbd8faee44 in  ()
#45 0x00007ff86ee83b97 in __libc_start_main (main=0x55cbd8faea40, argc=1, argv=0x7ffc929d18e8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc929d18d8) at ../csu/libc-start.c:310
#46 0x000055cbd8faeeca in _start ()

Reported using DrKonqi
Comment 1 Nate Graham 2018-04-10 21:51:36 UTC

*** This bug has been marked as a duplicate of bug 378339 ***
Comment 2 David Edmundson 2018-04-10 22:05:47 UTC
Nate, you sure?

#8  0x00007ff8708c821d in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5

It's a qobject_cast in QWidget code. That other trace is all QtQuick
Comment 3 Nate Graham 2018-04-10 22:11:56 UTC
I think so; the QtQuick part is in QQuickItemPrivate::deliverKeyEvent(). We saw a lot of backtraces like this in Discover, too--all traced back to the same root cause issue. However, it's quite likely I'm wrong, as you have much more experience reading backtraces than I do, so if I'm smoking crack, feel free to un-dupe it.
Comment 4 Christoph Feck 2018-04-11 15:11:25 UTC
From how I understand the issue, there was a dangling object pointer, which caused all sorts of crashes. It is very likely a duplicate.

We also have bug 388414 tracking the same issue for systemsettings.
Comment 5 Matheus 2018-04-11 15:16:15 UTC
Is this a widespread problem with kde? I've experiencing some lagging behaviors on most applications that works fine on the other DE's I have installed.
Comment 6 Nate Graham 2018-04-11 15:20:43 UTC
(In reply to Matheus from comment #5)
> Is this a widespread problem with kde? I've experiencing some lagging
> behaviors on most applications that works fine on the other DE's I have
> installed.

It's a bug in Qt. It was fixed in Qt 5.9.4 and 5.10.0, but according to the bug report you're still on 5.9.5, so that would explain it.

Kubuntu Bionic is scheduled to ship with 5.9.5, but in case it doesn't, I'll make sure the fix gets backported to the 5.4.9 version we do ship.
Comment 7 Matheus 2018-04-11 15:23:00 UTC
You mean fixed in Qt 5.9.5 right. Okay I hope it gets fixed for the lts release! But does it have any relationship with this lagging on some applications sometimes?
Comment 8 Nate Graham 2018-04-11 15:29:53 UTC
Oy va voy, yes indeed, I reversed the two Qt versions. Fixed in 5.95.

The lag you mention is another issue that should be reported separately.
Comment 9 Matheus 2018-04-11 15:30:37 UTC
Okay thanks!