<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>397367</bug_id>
          
          <creation_ts>2018-08-11 09:34:06 +0000</creation_ts>
          <short_desc>segmentation fault on gitunstable when changing between tabs in system settings</short_desc>
          <delta_ts>2018-08-24 07:49:15 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>systemsettings</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Neon</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>drkonqi</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Brenton Horne">brentonhorne77</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>ethanarm</cc>
    
    <cc>juanmgeo</cc>
    
    <cc>kde</cc>
    
    <cc>loic.grobol</cc>
          
          <cf_commitlink>https://commits.kde.org/kdeclarative/be68566c38aeca3d53e29cab82865f9d579505d1</cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1771394</commentid>
    <comment_count>0</comment_count>
    <who name="Brenton Horne">brentonhorne77</who>
    <bug_when>2018-08-11 09:34:06 +0000</bug_when>
    <thetext>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&apos;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 &quot;/lib/x86_64-linux-gnu/libthread_db.so.1&quot;.
[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&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fdb55f4adea in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () 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&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fdb55f4adea in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () 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&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fdb55f4adea in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () 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&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fdb55f4adea in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () 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&lt;QEventLoop::ProcessEventsFlag&gt;) () 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&lt;QEventLoop::ProcessEventsFlag&gt;) () 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=&lt;optimized out&gt;, fini=&lt;optimized out&gt;, rtld_fini=&lt;optimized out&gt;, stack_end=0x7ffc4fc504e8) at ../csu/libc-start.c:310
#28 0x0000555b4ae6deea in _start ()

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1771406</commentid>
    <comment_count>1</comment_count>
    <who name="Kai Uwe Broulik">kde</who>
    <bug_when>2018-08-11 10:29:08 +0000</bug_when>
    <thetext>I haven&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1771412</commentid>
    <comment_count>2</comment_count>
    <who name="Brenton Horne">brentonhorne77</who>
    <bug_when>2018-08-11 10:56:10 +0000</bug_when>
    <thetext>For me it doesn&apos;t happen instantly. If I tweak the settings and switch between tabs a few times it happens.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1772388</commentid>
    <comment_count>3</comment_count>
    <who name="David Edmundson">kde</who>
    <bug_when>2018-08-17 12:03:20 +0000</bug_when>
    <thetext>*** Bug 397547 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1773727</commentid>
    <comment_count>4</comment_count>
    <who name="Kai Uwe Broulik">kde</who>
    <bug_when>2018-08-23 09:09:33 +0000</bug_when>
    <thetext>*** Bug 397772 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1773731</commentid>
    <comment_count>5</comment_count>
    <who name="Kai Uwe Broulik">kde</who>
    <bug_when>2018-08-23 09:28:03 +0000</bug_when>
    <thetext>Git commit be68566c38aeca3d53e29cab82865f9d579505d1 by Kai Uwe Broulik.
Committed on 23/08/2018 at 09:27.
Pushed by broulik into branch &apos;master&apos;.

Attach property to &quot;delegate&quot;

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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1773916</commentid>
    <comment_count>6</comment_count>
    <who name="David Edmundson">kde</who>
    <bug_when>2018-08-24 07:49:15 +0000</bug_when>
    <thetext>*** Bug 397807 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>