Bug 397367 - segmentation fault on gitunstable when changing between tabs in system settings
Summary: segmentation fault on gitunstable when changing between tabs in system settings
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
: 397547 397772 397807 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-08-11 09:34 UTC by Brenton Horne
Modified: 2018-08-24 07:49 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brenton Horne 2018-08-11 09:34:06 UTC
Application: systemsettings5 (5.13.80)

Qt Version: 5.11.1
Frameworks Version: 5.49.0
Operating System: Linux 4.15.0-30-generic x86_64
Distribution: KDE neon Developer Edition

-- Information about the crash:
- What I was doing when the application crashed:
I was changing between tabs in system settings. It does not always trigger a crash but still it usually doesn't take long for a crash to occur when continually changing tabs in system settings. Specifically I was tweaking aesthetics in it (e.g. window decorations, icons, plasma theme, etc.).

The crash can be reproduced every time.

-- 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 0x7fdb5a066840 (LWP 7520))]

Thread 6 (Thread 0x7fdb1f90c700 (LWP 7527)):
#0  0x00007fdb55fa697e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#1  0x00007fdb4e9c1998 in g_main_context_prepare () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fdb4e9c236b in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fdb4e9c254c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fdb55fa6a9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fdb55f4adea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fdb55d75b8a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fdb53a748b5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007fdb55d80aab in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fdb50d806db in start_thread (arg=0x7fdb1f90c700) at pthread_create.c:463
#10 0x00007fdb5567388f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fdb27126700 (LWP 7526)):
#0  0x00007fdb55666bf9 in __GI___poll (fds=0x7fdb20003ce0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fdb4e9c2439 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fdb4e9c254c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fdb55fa6a9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fdb55f4adea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fdb55d75b8a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fdb53a748b5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007fdb55d80aab in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fdb50d806db in start_thread (arg=0x7fdb27126700) at pthread_create.c:463
#9  0x00007fdb5567388f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fdb2ef1d700 (LWP 7525)):
#0  0x00007fdb55666bf9 in __GI___poll (fds=0x7fdb28004a00, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fdb4e9c2439 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fdb4e9c254c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fdb55fa6a9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fdb55f4adea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fdb55d75b8a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fdb53a748b5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007fdb55d80aab in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fdb50d806db in start_thread (arg=0x7fdb2ef1d700) at pthread_create.c:463
#9  0x00007fdb5567388f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fdb3d1ce700 (LWP 7523)):
#0  0x00007fdb4ea07cd9 in g_mutex_lock () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fdb4e9c19a3 in g_main_context_prepare () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fdb4e9c236b in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fdb4e9c254c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fdb55fa6a9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fdb55f4adea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fdb55d75b8a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fdb563eee45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007fdb55d80aab in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fdb50d806db in start_thread (arg=0x7fdb3d1ce700) at pthread_create.c:463
#10 0x00007fdb5567388f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fdb469ad700 (LWP 7522)):
#0  0x00007fdb55666bf9 in __GI___poll (fds=0x7fdb469acc68, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fdb50944747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fdb5094636a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fdb49344129 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007fdb55d80aab in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fdb50d806db in start_thread (arg=0x7fdb469ad700) at pthread_create.c:463
#6  0x00007fdb5567388f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fdb5a066840 (LWP 7520)):
[KCrash Handler]
#6  0x00007fdb53fc6691 in QQuickWindow::mouseGrabberItem() const () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007fdb53fc87a7 in QQuickWindowPrivate::removeGrabber(QQuickItem*, bool, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007fdb53fb5ad0 in QQuickItemPrivate::derefWindow() () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#9  0x00007fdb53fb6047 in QQuickItem::setParentItem(QQuickItem*) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#10 0x00007fdb53fb7a6c in QQuickItem::~QQuickItem() () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#11 0x00007fdb27b9719d in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Templates.2/libqtquicktemplates2plugin.so
#12 0x00007fdb55f7c660 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007fdb53fb4aeb in QQuickItem::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#14 0x00007fdb56f68e8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007fdb56f7045f in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007fdb55f4cab8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007fdb55f4f5fd in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007fdb55fa7453 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007fdb4e9c2287 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007fdb4e9c24c0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007fdb4e9c254c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007fdb55fa6a7f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007fdb493ceed1 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#24 0x00007fdb55f4adea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007fdb55f53fa0 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x0000555b4ae6de69 in ?? ()
#27 0x00007fdb55573b97 in __libc_start_main (main=0x555b4ae6da80, argc=1, argv=0x7ffc4fc504f8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc4fc504e8) at ../csu/libc-start.c:310
#28 0x0000555b4ae6deea in _start ()

Reported using DrKonqi
Comment 1 Kai Uwe Broulik 2018-08-11 10:29:08 UTC
I haven't seen the same crash happened to me when switching between modules in System Settings, eg. going from widget style to look and feel kcms.
Comment 2 Brenton Horne 2018-08-11 10:56:10 UTC
For me it doesn't happen instantly. If I tweak the settings and switch between tabs a few times it happens.
Comment 3 David Edmundson 2018-08-17 12:03:20 UTC
*** Bug 397547 has been marked as a duplicate of this bug. ***
Comment 4 Kai Uwe Broulik 2018-08-23 09:09:33 UTC
*** Bug 397772 has been marked as a duplicate of this bug. ***
Comment 5 Kai Uwe Broulik 2018-08-23 09:28:03 UTC
Git commit be68566c38aeca3d53e29cab82865f9d579505d1 by Kai Uwe Broulik.
Committed on 23/08/2018 at 09:27.
Pushed by broulik into branch 'master'.

Attach property to "delegate"

Otherwise crashes when switching between KCMs

Differential Revision: https://phabricator.kde.org/D15017

M  +2    -1    src/qmlcontrols/kcmcontrols/qml/GridDelegate.qml

https://commits.kde.org/kdeclarative/be68566c38aeca3d53e29cab82865f9d579505d1
Comment 6 David Edmundson 2018-08-24 07:49:15 UTC
*** Bug 397807 has been marked as a duplicate of this bug. ***