Bug 399005

Summary: Discover crashes after changing a software source
Product: [Applications] Discover Reporter: Mustafa Muhammad <mustafa1024m>
Component: discoverAssignee: Aleix Pol <aleixpol>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mustafa Muhammad 2018-09-24 07:18:37 UTC
Application: plasma-discover (5.14.80)

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

-- Information about the crash:
After I untick a souftware source in discover, there is no save button, so I assumed I should just go to other partition and the settings will be saved.
After pressing Applications or Updates (was on Settings page), discover crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: Discover (plasma-discover), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f786c8a7c80 (LWP 5596))]

Thread 10 (Thread 0x7f781f3b3700 (LWP 5609)):
#0  0x00007f7867e14bf9 in __GI___poll (fds=0x7f7814002960, nfds=1, timeout=8502) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f7862384439 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f786238454c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7868754a9b in QEventDispatcherGlib::processEvents (this=0x7f7814000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f78686f8dea in QEventLoop::exec (this=this@entry=0x7f781f3b2da0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007f7868523b8a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#6  0x00007f786852eaab in QThreadPrivate::start (arg=0x558a561d6440) at thread/qthread_unix.cpp:367
#7  0x00007f786451f6db in start_thread (arg=0x7f781f3b3700) at pthread_create.c:463
#8  0x00007f7867e2188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f782d0fe700 (LWP 5605)):
#0  0x00007f7867e100b4 in __GI___libc_read (fd=21, buf=0x7f782d0fdb90, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f78623c8a00 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7862383f27 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f78623843e0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f786238454c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f7868754a9b in QEventDispatcherGlib::processEvents (this=0x7f7824000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f78686f8dea in QEventLoop::exec (this=this@entry=0x7f782d0fdda0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#7  0x00007f7868523b8a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#8  0x00007f786852eaab in QThreadPrivate::start (arg=0x558a58095430) at thread/qthread_unix.cpp:367
#9  0x00007f786451f6db in start_thread (arg=0x7f782d0fe700) at pthread_create.c:463
#10 0x00007f7867e2188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f782ef3c700 (LWP 5603)):
#0  0x00007f7867e100b4 in __GI___libc_read (fd=18, buf=0x7f782ef3bb90, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f78623c8a00 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7862383f27 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f78623843e0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f786238454c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f7868754a9b in QEventDispatcherGlib::processEvents (this=0x7f7820000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f78686f8dea in QEventLoop::exec (this=this@entry=0x7f782ef3bda0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#7  0x00007f7868523b8a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#8  0x00007f786852eaab in QThreadPrivate::start (arg=0x558a56338e20) at thread/qthread_unix.cpp:367
#9  0x00007f786451f6db in start_thread (arg=0x7f782ef3c700) at pthread_create.c:463
#10 0x00007f7867e2188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f782ffff700 (LWP 5602)):
#0  0x00007f7867e14bf9 in __GI___poll (fds=0x558a56307040, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f7862384439 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f78623847d2 in g_main_loop_run () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f78374bef66 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f78623abe85 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f786451f6db in start_thread (arg=0x7f782ffff700) at pthread_create.c:463
#6  0x00007f7867e2188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f7834fbb700 (LWP 5601)):
#0  0x00007f7862352ca0 in poll@plt () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f7862384439 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f786238454c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7862384591 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f78623abe85 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f786451f6db in start_thread (arg=0x7f7834fbb700) at pthread_create.c:463
#6  0x00007f7867e2188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f7840b49700 (LWP 5600)):
#0  0x00007f7867e100b4 in __GI___libc_read (fd=13, buf=0x7f7840b48b20, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f78623c8a00 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7862383f27 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f78623843e0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f786238454c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f7868754a9b in QEventDispatcherGlib::processEvents (this=0x7f783c000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f78686f8dea in QEventLoop::exec (this=this@entry=0x7f7840b48d30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#7  0x00007f7868523b8a in QThread::exec (this=this@entry=0x558a56145c00) at thread/qthread.cpp:525
#8  0x00007f786b91f906 in QQuickPixmapReader::run (this=0x558a56145c00) at util/qquickpixmapcache.cpp:934
#9  0x00007f786852eaab in QThreadPrivate::start (arg=0x558a56145c00) at thread/qthread_unix.cpp:367
#10 0x00007f786451f6db in start_thread (arg=0x7f7840b49700) at pthread_create.c:463
#11 0x00007f7867e2188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f784bfff700 (LWP 5599)):
#0  0x00007f78687547cd in timerSourcePrepare (source=<optimized out>, timeout=0x7f784bffebb4) at kernel/qeventdispatcher_glib.cpp:166
#1  0x00007f7862383998 in g_main_context_prepare () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f786238436b in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f786238454c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f7868754a9b in QEventDispatcherGlib::processEvents (this=0x7f7844000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f78686f8dea in QEventLoop::exec (this=this@entry=0x7f784bffed80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#6  0x00007f7868523b8a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#7  0x00007f78690c88b5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007f786852eaab in QThreadPrivate::start (arg=0x558a5498b4b0) at thread/qthread_unix.cpp:367
#9  0x00007f786451f6db in start_thread (arg=0x7f784bfff700) at pthread_create.c:463
#10 0x00007f7867e2188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f7851615700 (LWP 5598)):
#0  0x00007f7862381327 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f78623838d3 in g_main_context_prepare () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f786238436b in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f786238454c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f7868754a9b in QEventDispatcherGlib::processEvents (this=0x7f784c000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f78686f8dea in QEventLoop::exec (this=this@entry=0x7f7851614d70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#6  0x00007f7868523b8a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#7  0x00007f786a421e45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f786852eaab in QThreadPrivate::start (arg=0x7f786a699d60) at thread/qthread_unix.cpp:367
#9  0x00007f786451f6db in start_thread (arg=0x7f7851615700) at pthread_create.c:463
#10 0x00007f7867e2188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f7859e43700 (LWP 5597)):
#0  0x00007f7867e14bf9 in __GI___poll (fds=0x7f7859e42ca8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f786211b747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f786211d36a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f785ce04129 in QXcbEventReader::run (this=0x558a548c2400) at qxcbconnection.cpp:1388
#4  0x00007f786852eaab in QThreadPrivate::start (arg=0x558a548c2400) at thread/qthread_unix.cpp:367
#5  0x00007f786451f6db in start_thread (arg=0x7f7859e43700) at pthread_create.c:463
#6  0x00007f7867e2188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f786c8a7c80 (LWP 5596)):
[KCrash Handler]
#6  std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=0x94) at /usr/include/c++/7/bits/atomic_base.h:396
#7  QAtomicOps<int>::load<int> (_q_value=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic_cxx11.h:227
#8  QBasicAtomicInteger<int>::load (this=0x94) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qbasicatomic.h:103
#9  QWeakPointer<QObject>::data (this=0x558a58810ac0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:569
#10 QPointer<QQuickMenu>::data (this=0x558a58810ac0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:86
#11 QPointer<QQuickMenu>::operator-> (this=0x558a58810ac0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:88
#12 operator==<QQuickMenu> (o=0x0, p=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:116
#13 QQuickMenuPrivate::setParentMenu (this=0x558a58810940, parent=parent@entry=0x0) at qquickmenu.cpp:482
#14 0x00007f7853d645cb in QQuickMenuPrivate::removeItem (this=0x558a5955d570, index=<optimized out>, item=<optimized out>) at qquickmenu.cpp:238
#15 0x00007f786b9dfd26 in QQuickItemPrivate::itemChange (this=this@entry=0x558a585306e0, change=change@entry=QQuickItem::ItemParentHasChanged, data=...) at items/qquickitem.cpp:6206
#16 0x00007f786b9e6157 in QQuickItem::setParentItem (this=0x558a58452e70, parentItem=parentItem@entry=0x0) at items/qquickitem.cpp:2791
#17 0x00007f786b9e7a6c in QQuickItem::~QQuickItem (this=0x558a584ea210, __in_chrg=<optimized out>) at items/qquickitem.cpp:2391
#18 0x00007f786b9e7d59 in QQuickItem::~QQuickItem (this=0x558a584ea210, __in_chrg=<optimized out>) at items/qquickitem.cpp:2439
#19 0x00007f78687276ab in QObjectPrivate::deleteChildren (this=this@entry=0x558a58333cf0) at kernel/qobject.cpp:1997
#20 0x00007f786873114b in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1025
#21 0x00007f786b9e7b7b in QQuickItem::~QQuickItem (this=0x558a5b436a90, __in_chrg=<optimized out>) at items/qquickitem.cpp:2378
#22 0x00007f786ba04e15 in QQmlPrivate::QQmlElement<QQuickListView>::~QQmlElement (this=0x558a5b436a90, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:103
#23 QQmlPrivate::QQmlElement<QQuickListView>::~QQmlElement (this=0x558a5b436a90, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:103
#24 0x00007f78687276ab in QObjectPrivate::deleteChildren (this=this@entry=0x558a5955d570) at kernel/qobject.cpp:1997
#25 0x00007f786873114b in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1025
#26 0x00007f784883d25d in QQuickMenu::~QQuickMenu (this=0x558a5871db50, __in_chrg=<optimized out>) at ../../../include/QtQuickTemplates2/5.11.1/QtQuickTemplates2/private/../../../../../src/quicktemplates2/qquickmenu_p.h:63
#27 QQmlPrivate::QQmlElement<QQuickMenu>::~QQmlElement (this=0x558a5871db50, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:103
#28 QQmlPrivate::QQmlElement<QQuickMenu>::~QQmlElement (this=0x558a5871db50, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:103
#29 0x00007f78687276ab in QObjectPrivate::deleteChildren (this=this@entry=0x558a54df9d40) at kernel/qobject.cpp:1997
#30 0x00007f786873114b in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1025
#31 0x00007f786b9e7b7b in QQuickItem::~QQuickItem (this=0x558a5b4e65f0, __in_chrg=<optimized out>) at items/qquickitem.cpp:2378
#32 0x00007f786ba05065 in QQmlPrivate::QQmlElement<QQuickMouseArea>::~QQmlElement (this=0x558a5b4e65f0, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:103
#33 QQmlPrivate::QQmlElement<QQuickMouseArea>::~QQmlElement (this=0x558a5b4e65f0, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:103
#34 0x00007f78687276ab in QObjectPrivate::deleteChildren (this=this@entry=0x558a58b01bc0) at kernel/qobject.cpp:1997
#35 0x00007f786873114b in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1025
#36 0x00007f786b9e7b7b in QQuickItem::~QQuickItem (this=0x558a5937c6e0, __in_chrg=<optimized out>) at items/qquickitem.cpp:2378
#37 0x00007f786ba046c5 in QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement (this=0x558a5937c6e0, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:103
#38 QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement (this=0x558a5937c6e0, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:103
#39 0x00007f786872a660 in QObject::event (this=this@entry=0x558a5937c6e0, e=e@entry=0x558a58a7f580) at kernel/qobject.cpp:1242
#40 0x00007f786b9e4aeb in QQuickItem::event (this=0x558a5937c6e0, ev=0x558a58a7f580) at items/qquickitem.cpp:8003
#41 0x00007f7869d11e8c in QApplicationPrivate::notify_helper (this=this@entry=0x558a548c8520, receiver=receiver@entry=0x558a5937c6e0, e=e@entry=0x558a58a7f580) at kernel/qapplication.cpp:3727
#42 0x00007f7869d1945f in QApplication::notify (this=0x7ffd9dbeaa00, receiver=0x558a5937c6e0, e=0x558a58a7f580) at kernel/qapplication.cpp:3486
#43 0x00007f78686faab8 in QCoreApplication::notifyInternal2 (receiver=0x558a5937c6e0, event=event@entry=0x558a58a7f580) at kernel/qcoreapplication.cpp:1048
#44 0x00007f78686fd5fd in QCoreApplication::sendEvent (event=0x558a58a7f580, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#45 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x558a548c7f30) at kernel/qcoreapplication.cpp:1745
#46 0x00007f78686fdbb8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1599
#47 0x00007f7868755453 in postEventSourceDispatch (s=0x558a54916d20) at kernel/qeventdispatcher_glib.cpp:276
#48 0x00007f7862384287 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007f78623844c0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007f786238454c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007f7868754a7f in QEventDispatcherGlib::processEvents (this=0x558a54918700, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#52 0x00007f785ce8eed1 in QPAEventDispatcherGlib::processEvents (this=0x558a54918700, flags=...) at qeventdispatcher_glib.cpp:69
#53 0x00007f78686f8dea in QEventLoop::exec (this=this@entry=0x7ffd9dbea940, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#54 0x00007f7868701fa0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1336
#55 0x0000558a528c4808 in main (argc=<optimized out>, argv=<optimized out>) at ./discover/main.cpp:156

The reporter indicates this bug may be a duplicate of or related to bug 397863.

Possible duplicates by query: bug 397907, bug 390480.

Reported using DrKonqi
Comment 1 Nate Graham 2018-09-24 15:05:56 UTC

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