Bug 375352

Summary: Discover crashes when clicking on the Applications section/panel
Product: [Applications] Discover Reporter: Lucas <kdeokk>
Component: discoverAssignee: Aleix Pol <aleixpol>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 5.8.95   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Lucas 2017-01-20 22:51:43 UTC
When I click somewhere on the right panel with categories (Applications, Plasma addons) discover crashes immediately. I can reproduce it almost every time.
Neon Developer Edition Git-Stable (Plasma 5.9 branch) 

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 0x7f28505d58c0 (LWP 4686))]

Thread 11 (Thread 0x7f27bf38a700 (LWP 4720)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f284d673a4b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f284fcb6eed in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#3  0x00007f284fcb77c5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#4  0x00007f284d672b98 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f284a5ad6ba in start_thread (arg=0x7f27bf38a700) at pthread_create.c:333
#6  0x00007f284cc7682d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 10 (Thread 0x7f2818ff9700 (LWP 4702)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007f284d673986 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f284d66f23a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f284d672b98 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f284a5ad6ba in start_thread (arg=0x7f2818ff9700) at pthread_create.c:333
#5  0x00007f284cc7682d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7f281a7fc700 (LWP 4699)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007f284d673986 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f284d66f23a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f284d672b98 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f284a5ad6ba in start_thread (arg=0x7f281a7fc700) at pthread_create.c:333
#5  0x00007f284cc7682d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7f281affd700 (LWP 4698)):
#0  0x00007f284872cae4 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f28486e79b0 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f28486e82cb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f28486e84ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f284d89e23b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f284d848cea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f284d66dfb4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f284d672b98 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f284a5ad6ba in start_thread (arg=0x7f281affd700) at pthread_create.c:333
#9  0x00007f284cc7682d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f281b7fe700 (LWP 4697)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007f284d673986 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f284d66f23a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f284d672b98 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f284a5ad6ba in start_thread (arg=0x7f281b7fe700) at pthread_create.c:333
#5  0x00007f284cc7682d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f2821067700 (LWP 4694)):
#0  0x00007f284872cac9 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f28486e7ddc in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f28486e8340 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f28486e84ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f284d89e23b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f284d848cea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f284d66dfb4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f284d672b98 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f284a5ad6ba in start_thread (arg=0x7f2821067700) at pthread_create.c:333
#9  0x00007f284cc7682d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f2834df3700 (LWP 4693)):
#0  0x00007f284cc6669d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f284872b740 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f28486e7e84 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f28486e8340 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f28486e84ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f284d89e23b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f284d848cea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f284d66dfb4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f284fc47aa6 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#9  0x00007f284d672b98 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f284a5ad6ba in start_thread (arg=0x7f2834df3700) at pthread_create.c:333
#11 0x00007f284cc7682d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f2836508700 (LWP 4690)):
#0  0x00007f284cc6669d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f284872b740 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f28486e7e84 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f28486e8340 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f28486e84ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f284d89e23b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f284d848cea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f284d66dfb4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f284dff7675 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007f284d672b98 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f284a5ad6ba in start_thread (arg=0x7f2836508700) at pthread_create.c:333
#11 0x00007f284cc7682d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f2837719700 (LWP 4689)):
#0  0x00007f284872cae4 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f28486e7c09 in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f28486e8317 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f28486e84ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f284d89e23b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f284d848cea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f284d66dfb4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f28507177a5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f284d672b98 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f284a5ad6ba in start_thread (arg=0x7f2837719700) at pthread_create.c:333
#10 0x00007f284cc7682d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f284010c700 (LWP 4688)):
#0  0x00007f284cc6ab5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f284827dc62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f284827f8d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f2842c96a39 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f284d672b98 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f284a5ad6ba in start_thread (arg=0x7f284010c700) at pthread_create.c:333
#6  0x00007f284cc7682d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f28505d58c0 (LWP 4686)):
[KCrash Handler]
#6  0x00007f284fcd9a25 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f284fcd46b1 in QQuickItemPrivate::removeItemChangeListener(QQuickItemChangeListener*, QFlags<QQuickItemPrivate::ChangeType>) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f2834eb06ee in QQuickScrollBarAttached::~QQuickScrollBarAttached() () from /usr/lib/x86_64-linux-gnu/libQt5QuickTemplates2.so.5
#9  0x00007f2834eb0709 in QQuickScrollBarAttached::~QQuickScrollBarAttached() () from /usr/lib/x86_64-linux-gnu/libQt5QuickTemplates2.so.5
#10 0x00007f284d8742e3 in QObjectPrivate::deleteChildren() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f284d87d484 in QObject::~QObject() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f284fcd68f3 in QQuickItem::~QQuickItem() () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#13 0x00007f284fcf19d6 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#14 0x00007f284d8742e3 in QObjectPrivate::deleteChildren() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f284d87d484 in QObject::~QObject() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007f284fcd68f3 in QQuickItem::~QQuickItem() () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#17 0x00007f2834f4e51e in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Templates.2/libqtquicktemplates2plugin.so
#18 0x00007f284d876a50 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f284fcd415b in QQuickItem::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#20 0x00007f284e7bc89c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007f284e7c4296 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007f284d84acf8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f284d84d3bb in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007f284d89de13 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007f28486e81a7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f28486e8400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f28486e84ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f284d89e21f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007f284d848cea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007f284d8512fc in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x000000000040c451 in main (argc=1, argv=<optimized out>) at /workspace/build/discover/main.cpp:141
Comment 1 Aleix Pol 2017-01-21 23:01:20 UTC

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