Bug 394578

Summary: System settings clicking with the mouse
Product: [Applications] systemsettings Reporter: Marcus Larborg <m.larborg>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: cobexer, madLyfe, scott
Priority: NOR Keywords: drkonqi
Version: 5.12.5   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=401091
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Marcus Larborg 2018-05-22 21:12:32 UTC
Application: systemsettings5 (5.12.5)

Qt Version: 5.10.0
Frameworks Version: 5.46.0
Operating System: Linux 4.13.0-41-generic x86_64
Distribution: KDE neon User Edition 5.12

-- Information about the crash:
- What I was doing when the application crashed: I was clicking around with the mouse, when it suddenly crashed.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Systeminställningar (systemsettings5), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f99e2c56900 (LWP 22927))]

Thread 7 (Thread 0x7f99a6e02700 (LWP 23182)):
#0  __GI___tls_get_addr (ti=0x7f99df49b690) at dl-tls.c:834
#1  0x00007f99dee5f576 in get_thread_data () at thread/qthread_unix.cpp:193
#2  QThreadData::current (createIfNecessary=createIfNecessary@entry=true) at thread/qthread_unix.cpp:248
#3  0x00007f99df0944ba in postEventSourcePrepare (s=0x7f99880011b0, timeout=0x7f99a6e01ad4) at kernel/qeventdispatcher_glib.cpp:252
#4  0x00007f99d85fe91d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f99d85ff2bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f99d85ff49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f99df0945cb in QEventDispatcherGlib::processEvents (this=0x7f99880030e0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#8  0x00007f99df03b64a in QEventLoop::exec (this=this@entry=0x7f99a6e01ca0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#9  0x00007f99dee5b554 in QThread::exec (this=this@entry=0x354d9f0) at thread/qthread.cpp:522
#10 0x00007f99dc995a35 in QQmlThreadPrivate::run (this=0x354d9f0) at qml/ftw/qqmlthread.cpp:147
#11 0x00007f99dee606eb in QThreadPrivate::start (arg=0x354d9f0) at thread/qthread_unix.cpp:376
#12 0x00007f99dabe66ba in start_thread (arg=0x7f99a6e02700) at pthread_create.c:333
#13 0x00007f99de76d41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f99a8605700 (LWP 23181)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f99dee6167b in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x3343810) at thread/qwaitcondition_unix.cpp:143
#2  QWaitCondition::wait (this=this@entry=0x3159c58, mutex=mutex@entry=0x3159c50, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#3  0x00007f99dce728fd in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x3159c48) at scenegraph/qsgthreadedrenderloop.cpp:245
#4  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x3159bd0) at scenegraph/qsgthreadedrenderloop.cpp:709
#5  0x00007f99dce731f5 in QSGRenderThread::run (this=0x3159bd0) at scenegraph/qsgthreadedrenderloop.cpp:738
#6  0x00007f99dee606eb in QThreadPrivate::start (arg=0x3159bd0) at thread/qthread_unix.cpp:376
#7  0x00007f99dabe66ba in start_thread (arg=0x7f99a8605700) at pthread_create.c:333
#8  0x00007f99de76d41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f99a7e04700 (LWP 23179)):
#0  0x00007f99de76174d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f99d85ff38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f99d85ff49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f99df0945cb in QEventDispatcherGlib::processEvents (this=0x7f999018b8f0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f99df03b64a in QEventLoop::exec (this=this@entry=0x7f99a7e03ca0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f99dee5b554 in QThread::exec (this=this@entry=0x31adbb0) at thread/qthread.cpp:522
#6  0x00007f99dc995a35 in QQmlThreadPrivate::run (this=0x31adbb0) at qml/ftw/qqmlthread.cpp:147
#7  0x00007f99dee606eb in QThreadPrivate::start (arg=0x31adbb0) at thread/qthread_unix.cpp:376
#8  0x00007f99dabe66ba in start_thread (arg=0x7f99a7e04700) at pthread_create.c:333
#9  0x00007f99de76d41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f99b1343700 (LWP 22933)):
#0  0x00007f99de76174d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f99d85ff38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f99d85ff49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f99df0945cb in QEventDispatcherGlib::processEvents (this=0x7f99ac0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f99df03b64a in QEventLoop::exec (this=this@entry=0x7f99b1342ca0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f99dee5b554 in QThread::exec (this=this@entry=0x1b2eca0) at thread/qthread.cpp:522
#6  0x00007f99dc995a35 in QQmlThreadPrivate::run (this=0x1b2eca0) at qml/ftw/qqmlthread.cpp:147
#7  0x00007f99dee606eb in QThreadPrivate::start (arg=0x1b2eca0) at thread/qthread_unix.cpp:376
#8  0x00007f99dabe66ba in start_thread (arg=0x7f99b1343700) at pthread_create.c:333
#9  0x00007f99de76d41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f99b9e5c700 (LWP 22932)):
#0  0x00007f99d8643a79 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f99d85fe464 in g_main_context_release () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f99d85ff346 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f99d85ff49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f99df0945cb in QEventDispatcherGlib::processEvents (this=0x7f99b40008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f99df03b64a in QEventLoop::exec (this=this@entry=0x7f99b9e5bca0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f99dee5b554 in QThread::exec (this=this@entry=0x17c9510) at thread/qthread.cpp:522
#7  0x00007f99dc995a35 in QQmlThreadPrivate::run (this=0x17c9510) at qml/ftw/qqmlthread.cpp:147
#8  0x00007f99dee606eb in QThreadPrivate::start (arg=0x17c9510) at thread/qthread_unix.cpp:376
#9  0x00007f99dabe66ba in start_thread (arg=0x7f99b9e5c700) at pthread_create.c:333
#10 0x00007f99de76d41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f99c50dd700 (LWP 22930)):
#0  0x00007f99de76174d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f99d85ff38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f99d85ff49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f99df0945cb in QEventDispatcherGlib::processEvents (this=0x7f99c00008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f99df03b64a in QEventLoop::exec (this=this@entry=0x7f99c50dcc90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f99dee5b554 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:522
#6  0x00007f99e09742c5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f99dee606eb in QThreadPrivate::start (arg=0x7f99e0be8d60) at thread/qthread_unix.cpp:376
#8  0x00007f99dabe66ba in start_thread (arg=0x7f99c50dd700) at pthread_create.c:333
#9  0x00007f99de76d41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f99e2c56900 (LWP 22927)):
[KCrash Handler]
#6  std::__atomic_base<QtSharedPointer::ExternalRefCountData*>::load (__m=<optimized out>, this=<optimized out>) at /usr/include/c++/5/bits/atomic_base.h:713
#7  std::atomic<QtSharedPointer::ExternalRefCountData*>::load (__m=<optimized out>, this=<optimized out>) at /usr/include/c++/5/atomic:416
#8  QAtomicOps<QtSharedPointer::ExternalRefCountData*>::load<QtSharedPointer::ExternalRefCountData*> (_q_value=...) at ../../include/QtCore/../../src/corelib/arch/qatomic_cxx11.h:227
#9  QBasicAtomicPointer<QtSharedPointer::ExternalRefCountData>::load (this=<optimized out>) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:238
#10 QtSharedPointer::ExternalRefCountData::getAndRef (obj=obj@entry=0x3) at tools/qsharedpointer.cpp:1445
#11 0x00007f99dc96e5e8 in QWeakPointer<QObject>::QWeakPointer<QObject> (ptr=0x3, this=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:684
#12 QWeakPointer<QObject>::assign<QObject> (ptr=0x3, this=0x2301110) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:680
#13 QPointer<QObject>::operator= (p=0x3, this=0x2301110) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:83
#14 QQmlListReferencePrivate::init (prop=..., propType=1985, engine=<optimized out>) at qml/qqmllist.cpp:64
#15 0x00007f99dc9835e1 in QV4::QmlListWrapper::toVariant (this=this@entry=0x7f998ece6378) at qml/qqmllistwrapper.cpp:101
#16 0x00007f99dc82d8c7 in toVariant (e=0x3153bc0, value=..., typeHint=2, createJSValueForObjects=<optimized out>, visitedObjects=visitedObjects@entry=0x0) at jsruntime/qv4engine.cpp:1176
#17 0x00007f99dc82d8f4 in QV4::ExecutionEngine::toVariant (this=<optimized out>, value=..., typeHint=<optimized out>, createJSValueForObjects=<optimized out>) at jsruntime/qv4engine.cpp:1141
#18 0x00007f99dc97d742 in QQmlBinding::slowWrite (this=this@entry=0x2294230, core=..., valueTypeData=..., result=..., isUndefined=isUndefined@entry=false, flags=..., flags@entry=...) at qml/qqmlbinding.cpp:367
#19 0x00007f99dc97fa52 in GenericBinding<2>::write (this=0x2294230, result=..., isUndefined=<optimized out>, flags=...) at qml/qqmlbinding.cpp:289
#20 0x00007f99dc980270 in QQmlNonbindingBinding::doUpdate (this=0x2294230, watcher=..., flags=..., scope=...) at qml/qqmlbinding.cpp:211
#21 0x00007f99dc97d25b in QQmlBinding::update (this=0x2294230, flags=...) at qml/qqmlbinding.cpp:168
#22 0x00007f99dc98a091 in QQmlObjectCreator::finalize (this=0x22896a0, interrupt=...) at qml/qqmlobjectcreator.cpp:1225
#23 0x00007f99dc902d8e in QQmlComponentPrivate::complete (enginePriv=0x3559810, state=0x228cbd0) at qml/qqmlcomponent.cpp:914
#24 0x00007f99dc902ea7 in QQmlComponentPrivate::completeCreate (this=0x228cb30) at qml/qqmlcomponent.cpp:950
#25 0x00007f99dc902c7a in QQmlComponent::create (this=0x229a2b0, context=0x2281380) at qml/qqmlcomponent.cpp:769
#26 0x00007f998f54325a in Aurorae::Decoration::init (this=0x2286640) at /workspace/build/plugins/kdecorations/aurorae/src/aurorae.cpp:316
#27 0x00007f9994734755 in KDecoration2::Preview::PreviewItem::componentComplete (this=0x2278a80) at /workspace/build/kcmkwin/kwindecoration/declarative-plugin/previewitem.cpp:68
#28 0x00007f99dc98a392 in QQmlObjectCreator::finalize (this=0x310f300, interrupt=...) at qml/qqmlobjectcreator.cpp:1238
#29 0x00007f99dc907a82 in QQmlIncubatorPrivate::incubate (this=this@entry=0x4134aa0, i=...) at qml/qqmlincubator.cpp:344
#30 0x00007f99dc9084e5 in QQmlEnginePrivate::incubate (this=0x375efe0, i=..., forContext=forContext@entry=0x8000000000000000) at qml/qqmlincubator.cpp:89
#31 0x00007f99dc903777 in QQmlComponentPrivate::incubateObject (this=this@entry=0x3766b20, incubationTask=<optimized out>, component=<optimized out>, engine=<optimized out>, context=context@entry=0x2270150, forContext=0x8000000000000000, forContext@entry=0x2e765a0) at qml/qqmlcomponent.cpp:1081
#32 0x00007f99dc9bcf4e in QQmlDelegateModelPrivate::object (this=this@entry=0x31a1e80, group=QQmlListCompositor::Default, index=index@entry=6, asynchronous=asynchronous@entry=false) at types/qqmldelegatemodel.cpp:1001
#33 0x00007f99dc9bd205 in QQmlDelegateModel::object (this=<optimized out>, index=6, asynchronous=<optimized out>) at types/qqmldelegatemodel.cpp:1037
#34 0x00007f99dcf9ad00 in QQuickItemViewPrivate::createItem (this=this@entry=0x25fd0a0, modelIndex=modelIndex@entry=6, asynchronous=asynchronous@entry=false) at items/qquickitemview.cpp:2354
#35 0x00007f99dcf8e98e in QQuickGridViewPrivate::addVisibleItems (this=0x25fd0a0, fillFrom=-0, fillTo=764, bufferFrom=<optimized out>, bufferTo=<optimized out>, doBuffer=false) at items/qquickgridview.cpp:516
#36 0x00007f99dcf99959 in QQuickItemViewPrivate::refill (this=0x25fd0a0, from=-0, to=764) at items/qquickitemview.cpp:1825
#37 0x00007f99dcf9bfd1 in QQuickItemViewPrivate::layout (this=0x25fd0a0) at items/qquickitemview.cpp:1936
#38 0x00007f99dcec53a0 in QQuickWindowPrivate::polishItems (this=0x35ec500) at items/qquickwindow.cpp:301
#39 0x00007f99dce6f919 in QSGThreadedRenderLoop::polishAndSync (this=this@entry=0x2f35fd0, w=<optimized out>, w@entry=0x2473570, inExpose=inExpose@entry=true) at scenegraph/qsgthreadedrenderloop.cpp:1188
#40 0x00007f99dce71d0e in QSGThreadedRenderLoop::handleExposure (this=this@entry=0x2f35fd0, window=window@entry=0x332f980) at scenegraph/qsgthreadedrenderloop.cpp:1004
#41 0x00007f99dce72363 in QSGThreadedRenderLoop::exposureChanged (this=0x2f35fd0, window=0x332f980) at scenegraph/qsgthreadedrenderloop.cpp:915
#42 0x00007f99df875625 in QWindow::event (this=this@entry=0x332f980, ev=ev@entry=0x7ffda6f64ec0) at kernel/qwindow.cpp:2328
#43 0x00007f99dcecf8c5 in QQuickWindow::event (this=0x332f980, e=0x7ffda6f64ec0) at items/qquickwindow.cpp:1627
#44 0x00007f99e0010acc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x332f980, e=0x7ffda6f64ec0) at kernel/qapplication.cpp:3732
#45 0x00007f99e0018417 in QApplication::notify (this=0x7ffda6f65190, receiver=0x332f980, e=0x7ffda6f64ec0) at kernel/qapplication.cpp:3491
#46 0x00007f99df03d3c8 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x332f980, event=event@entry=0x7ffda6f64ec0) at kernel/qcoreapplication.cpp:1044
#47 0x00007f99df86a28d in QCoreApplication::sendSpontaneousEvent (event=0x7ffda6f64ec0, receiver=0x332f980) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:237
#48 QGuiApplicationPrivate::processExposeEvent (e=0x36a2fd0) at kernel/qguiapplication.cpp:2880
#49 0x00007f99df86aebd in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x36a2fd0) at kernel/qguiapplication.cpp:1803
#50 0x00007f99df8448fb in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:976
#51 0x00007f99d11cf1ab in QPAEventDispatcherGlib::processEvents (this=0x149a180, flags=...) at qeventdispatcher_glib.cpp:70
#52 0x00007f99df03b64a in QEventLoop::exec (this=this@entry=0x7ffda6f65070, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#53 0x00007f99df044854 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1332
#54 0x00007f99df86083c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1687
#55 0x00007f99e0010a25 in QApplication::exec () at kernel/qapplication.cpp:2917
#56 0x000000000040b6fe in main (argc=1, argv=<optimized out>) at /workspace/build/app/main.cpp:67

Reported using DrKonqi
Comment 1 Scott Harvey 2018-05-23 11:45:56 UTC
Do you remember which settings module you were in when the application crashed? System Settings is a whole bunch of individual modules; there could be a problem with a certain one.
Comment 2 Marcus Larborg 2018-05-23 12:19:16 UTC
Hi Scott

I´m not 100% sure, but I think I was in "Application Style" and clicked "Window Decorations".
My memory faded when I was following the bug report guide.

I will try to reproduce it next time I´m on that computer.


​Med vänlig hälsning

Marcus Larborg

Sent with ProtonMail Secure Email.​

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On 23 May 2018 1:45 PM, Scott Harvey <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=394578
> 
> Scott Harvey scott@spharvey.me changed:
> 
> What |Removed |Added
> 
> 
> ------------------------
> 
>                  CC|                            |scott@spharvey.me
>     
> 
> --- Comment #1 from Scott Harveyscott@spharvey.me ---
> 
> Do you remember which settings module you were in when the application crashed?
> 
> System Settings is a whole bunch of individual modules; there could be a
> 
> problem with a certain one.
> 
> 
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> 
> You are receiving this mail because:
> 
> You reported the bug.
Comment 3 Christoph Feck 2018-10-03 21:42:40 UTC
*** Bug 398770 has been marked as a duplicate of this bug. ***
Comment 4 Christoph Obexer 2018-10-09 05:56:48 UTC
Created attachment 115501 [details]
New crash information added by DrKonqi

systemsettings5 (5.13.5) using Qt 5.11.2

- What I was doing when the application crashed:

Switched to window decorations, then systemsettings5 crashed.

-- Backtrace (Reduced):
#6  0x00007f6a57cba1c4 in std::__atomic_base<QtSharedPointer::ExternalRefCountData*>::load (__m=std::memory_order_relaxed, this=<optimized out>) at /usr/include/c++/8/bits/atomic_base.h:707
#7  std::atomic<QtSharedPointer::ExternalRefCountData*>::load (__m=std::memory_order_relaxed, this=<optimized out>) at /usr/include/c++/8/atomic:452
#8  QAtomicOps<QtSharedPointer::ExternalRefCountData*>::load<QtSharedPointer::ExternalRefCountData*> (_q_value=...) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:227
#9  QBasicAtomicPointer<QtSharedPointer::ExternalRefCountData>::load (this=<optimized out>) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:239
#10 QtSharedPointer::ExternalRefCountData::getAndRef (obj=obj@entry=0x3) at tools/qsharedpointer.cpp:1458
Comment 5 Christoph Feck 2019-02-22 15:11:26 UTC

*** This bug has been marked as a duplicate of bug 390857 ***