Bug 391245 - Systemsettings often crashes after browsing and then attempting a search
Summary: Systemsettings often crashes after browsing and then attempting a search
Status: RESOLVED DUPLICATE of bug 388414
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 5.12.2
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-02-28 22:22 UTC by Øystein Steffensen-Alværvik
Modified: 2018-02-28 22:41 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screencast of the crash (3.19 MB, video/mp4)
2018-02-28 22:23 UTC, Øystein Steffensen-Alværvik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Øystein Steffensen-Alværvik 2018-02-28 22:22:10 UTC
Application: systemsettings5 (5.12.2)

Qt Version: 5.10.0
Frameworks Version: 5.43.0
Operating System: Linux 4.4.0-116-generic x86_64
Distribution: KDE neon User Edition 5.12

-- Information about the crash:
- What I was doing when the application crashed:
See Screencast.
- Opened System Settings. 
- Browsed through categories randomly and quite quickly.
- Then I typed something random into the search field. At this point systemsettings crashes sometimes.
- Then I browsed randomly again.
- Then I typed into the search field again. At this point systemsettings crashes most times.

- Unusual behavior I noticed:

I had just switched my locale into Suomi and restarted the session. 
I also have an ext. HDD attached.
I don't know if these are causes, just noting them here in case.

System:
- Neon 5.12.2
- Kernel 4.4.0-116
- Frameworks 5.43
- Qt 5.10.0

I am attaching a nice backtrace after installing the necessary dbgsymbols. The Bug Report Wizard awarded me three stars! I'm proud.

The crash does not seem to be reproducible.

-- Backtrace:
Application: Järjestelmäasetukset (systemsettings5), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2e276828c0 (LWP 32717))]

Thread 5 (Thread 0x7f2d739d4700 (LWP 32724)):
#0  0x00007f2e2318d27d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f2e1d1426f0 in read (__nbytes=16, __buf=0x7f2d739d3ad0, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#2  g_wakeup_acknowledge (wakeup=0x7f2d78002390) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gwakeup.c:210
#3  0x00007f2e1d0fee74 in g_main_context_check (context=context@entry=0x7f2d6c000990, max_priority=2147483647, fds=fds@entry=0x7f2d6c003070, n_fds=n_fds@entry=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3632
#4  0x00007f2e1d0ff330 in g_main_context_iterate (context=context@entry=0x7f2d6c000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3837
#5  0x00007f2e1d0ff49c in g_main_context_iteration (context=0x7f2d6c000990, may_block=may_block@entry=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#6  0x00007f2e23ac45cb in QEventDispatcherGlib::processEvents (this=0x7f2d6c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#7  0x00007f2e23a6b64a in QEventLoop::exec (this=this@entry=0x7f2d739d3ce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#8  0x00007f2e2388b554 in QThread::exec (this=this@entry=0x20199b0) at thread/qthread.cpp:522
#9  0x00007f2e213cba35 in QQmlThreadPrivate::run (this=0x20199b0) at qml/ftw/qqmlthread.cpp:147
#10 0x00007f2e238906eb in QThreadPrivate::start (arg=0x20199b0) at thread/qthread_unix.cpp:376
#11 0x00007f2e1f61c6ba in start_thread (arg=0x7f2d739d4700) at pthread_create.c:333
#12 0x00007f2e2319d41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f2d7d340700 (LWP 32723)):
#0  0x00007f2e2319174d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f2e1d0ff38c in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f2d78002e70, timeout=<optimized out>, context=0x7f2d78000990) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:4135
#2  g_main_context_iterate (context=context@entry=0x7f2d78000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3835
#3  0x00007f2e1d0ff49c in g_main_context_iteration (context=0x7f2d78000990, may_block=may_block@entry=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#4  0x00007f2e23ac45cb in QEventDispatcherGlib::processEvents (this=0x7f2d780008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f2e23a6b64a in QEventLoop::exec (this=this@entry=0x7f2d7d33fce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f2e2388b554 in QThread::exec (this=this@entry=0x1ccd6f0) at thread/qthread.cpp:522
#7  0x00007f2e213cba35 in QQmlThreadPrivate::run (this=0x1ccd6f0) at qml/ftw/qqmlthread.cpp:147
#8  0x00007f2e238906eb in QThreadPrivate::start (arg=0x1ccd6f0) at thread/qthread_unix.cpp:376
#9  0x00007f2e1f61c6ba in start_thread (arg=0x7f2d7d340700) at pthread_create.c:333
#10 0x00007f2e2319d41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f2e01a7b700 (LWP 32721)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f2e01bf8db4 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f2e01edeee0 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f2e01bf8df9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f2e1f61c6ba in start_thread (arg=0x7f2e01a7b700) at pthread_create.c:333
#4  0x00007f2e2319d41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f2e0adec700 (LWP 32720)):
#0  0x00007f2e2318d27d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f2e1d1426f0 in read (__nbytes=16, __buf=0x7f2e0adebac0, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#2  g_wakeup_acknowledge (wakeup=0x18edcb0) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gwakeup.c:210
#3  0x00007f2e1d0fee74 in g_main_context_check (context=context@entry=0x7f2e04000990, max_priority=2147483647, fds=fds@entry=0x7f2e04011f70, n_fds=n_fds@entry=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3632
#4  0x00007f2e1d0ff330 in g_main_context_iterate (context=context@entry=0x7f2e04000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3837
#5  0x00007f2e1d0ff49c in g_main_context_iteration (context=0x7f2e04000990, may_block=may_block@entry=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#6  0x00007f2e23ac45cb in QEventDispatcherGlib::processEvents (this=0x7f2e040008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#7  0x00007f2e23a6b64a in QEventLoop::exec (this=this@entry=0x7f2e0adebcd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#8  0x00007f2e2388b554 in QThread::exec (this=this@entry=0x7f2e25618d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:522
#9  0x00007f2e253a42c5 in QDBusConnectionManager::run (this=0x7f2e25618d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#10 0x00007f2e238906eb in QThreadPrivate::start (arg=0x7f2e25618d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:376
#11 0x00007f2e1f61c6ba in start_thread (arg=0x7f2e0adec700) at pthread_create.c:333
#12 0x00007f2e2319d41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f2e276828c0 (LWP 32717)):
[KCrash Handler]
#6  0x00007f2e218deba4 in QQuickItem::isVisible (this=this@entry=0x4e24d90) at items/qquickitem.cpp:5806
#7  0x00007f2e218dec9d in QQuickKeysAttached::keyReleased (this=0x1de57d0, event=0x7ffc93f6fce0, post=<optimized out>) at items/qquickitem.cpp:1427
#8  0x00007f2e218de935 in QQuickItemPrivate::filterKeyEvent (this=this@entry=0x1dcaae0, e=e@entry=0x7ffc93f6fce0, post=post@entry=false) at items/qquickitem.cpp:5044
#9  0x00007f2e218eb2f5 in QQuickItemPrivate::deliverKeyEvent (this=0x1dcaae0, e=0x7ffc93f6fce0) at items/qquickitem.cpp:5054
#10 0x00007f2e218eb645 in QQuickItem::event (this=0x1dcaa30, ev=0x7ffc93f6fce0) at items/qquickitem.cpp:7838
#11 0x00007f2e24a40acc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x1dcaa30, e=0x7ffc93f6fce0) at kernel/qapplication.cpp:3732
#12 0x00007f2e24a48417 in QApplication::notify (this=0x7ffc93f6ffd0, receiver=0x1dcaa30, e=0x7ffc93f6fce0) at kernel/qapplication.cpp:3491
#13 0x00007f2e23a6d3c8 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x1dcaa30, event=event@entry=0x7ffc93f6fce0) at kernel/qcoreapplication.cpp:1044
#14 0x00007f2e218f6b7d in QCoreApplication::sendEvent (event=0x7ffc93f6fce0, receiver=0x1dcaa30) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qcoreapplication.h:234
#15 QQuickWindowPrivate::deliverKeyEvent (this=this@entry=0x1ccc600, e=e@entry=0x7ffc93f6fce0) at items/qquickwindow.cpp:1653
#16 0x00007f2e218fadef in QQuickWindow::keyReleaseEvent (this=<optimized out>, e=0x7ffc93f6fce0) at items/qquickwindow.cpp:1645
#17 0x00007f2e242a5625 in QWindow::event (this=this@entry=0x1c370b0, ev=ev@entry=0x7ffc93f6fce0) at kernel/qwindow.cpp:2328
#18 0x00007f2e219058c5 in QQuickWindow::event (this=0x1c370b0, e=0x7ffc93f6fce0) at items/qquickwindow.cpp:1627
#19 0x00007f2e24a40acc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x1c370b0, e=0x7ffc93f6fce0) at kernel/qapplication.cpp:3732
#20 0x00007f2e24a48417 in QApplication::notify (this=0x7ffc93f6ffd0, receiver=0x1c370b0, e=0x7ffc93f6fce0) at kernel/qapplication.cpp:3491
#21 0x00007f2e23a6d3c8 in QCoreApplication::notifyInternal2 (receiver=0x1c370b0, event=event@entry=0x7ffc93f6fce0) at kernel/qcoreapplication.cpp:1044
#22 0x00007f2e21f8cf6c in QCoreApplication::sendEvent (event=0x7ffc93f6fce0, receiver=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qcoreapplication.h:234
#23 QQuickWidget::keyReleaseEvent (this=<optimized out>, e=0x7ffc93f6fce0) at qquickwidget.cpp:1240
#24 0x00007f2e24a7ff88 in QWidget::event (this=this@entry=0x1ccbc40, event=event@entry=0x7ffc93f6fce0) at kernel/qwidget.cpp:9197
#25 0x00007f2e21f8e7fb in QQuickWidget::event (this=0x1ccbc40, e=0x7ffc93f6fce0) at qquickwidget.cpp:1468
#26 0x00007f2e24a40acc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x1ccbc40, e=0x7ffc93f6fce0) at kernel/qapplication.cpp:3732
#27 0x00007f2e24a49d46 in QApplication::notify (this=0x7ffc93f6ffd0, receiver=0x1ccbc40, e=0x7ffc93f6fce0) at kernel/qapplication.cpp:3126
#28 0x00007f2e23a6d3c8 in QCoreApplication::notifyInternal2 (receiver=0x1ccbc40, event=0x7ffc93f6fce0) at kernel/qcoreapplication.cpp:1044
#29 0x00007f2e24a9c993 in QWidgetWindow::event (this=0x19d1a70, event=0x7ffc93f6fce0) at kernel/qwidgetwindow.cpp:266
#30 0x00007f2e24a40acc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x19d1a70, e=0x7ffc93f6fce0) at kernel/qapplication.cpp:3732
#31 0x00007f2e24a48417 in QApplication::notify (this=0x7ffc93f6ffd0, receiver=0x19d1a70, e=0x7ffc93f6fce0) at kernel/qapplication.cpp:3491
#32 0x00007f2e23a6d3c8 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x19d1a70, event=event@entry=0x7ffc93f6fce0) at kernel/qcoreapplication.cpp:1044
#33 0x00007f2e24295a48 in QCoreApplication::sendSpontaneousEvent (event=0x7ffc93f6fce0, receiver=0x19d1a70) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:237
#34 QGuiApplicationPrivate::processKeyEvent (e=0x83c1310) at kernel/qguiapplication.cpp:2083
#35 0x00007f2e2429ae25 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x83c1310) at kernel/qguiapplication.cpp:1747
#36 0x00007f2e242748fb in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:976
#37 0x00007f2e1635e1ab in QPAEventDispatcherGlib::processEvents (this=0x18f7790, flags=...) at qeventdispatcher_glib.cpp:70
#38 0x00007f2e23a6b64a in QEventLoop::exec (this=this@entry=0x7ffc93f6feb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#39 0x00007f2e23a74854 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1332
#40 0x00007f2e2429083c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1687
#41 0x00007f2e24a40a25 in QApplication::exec () at kernel/qapplication.cpp:2917
#42 0x000000000040b6fe in main (argc=1, argv=<optimized out>) at /workspace/build/app/main.cpp:67

Reported using DrKonqi
Comment 1 Øystein Steffensen-Alværvik 2018-02-28 22:23:53 UTC
Created attachment 111098 [details]
Screencast of the crash
Comment 2 Øystein Steffensen-Alværvik 2018-02-28 22:25:32 UTC
"The crash does not seem to be reproducible." is wrong, I can reproduce it most times.
Comment 3 Øystein Steffensen-Alværvik 2018-02-28 22:36:32 UTC
Reproducible on non-suomi locales as well.
Comment 4 Christoph Feck 2018-02-28 22:41:56 UTC

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