Bug 365118 - Discover 5.7 crashes while using search field.
Summary: Discover 5.7 crashes while using search field.
Status: RESOLVED DUPLICATE of bug 365235
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-05 18:01 UTC by Tony
Modified: 2016-09-14 10:56 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Log from running discover from konsole. (7.29 KB, text/plain)
2016-07-05 18:01 UTC, Tony
Details
Backtrace during the crash (typed one character) (8.71 KB, text/plain)
2016-07-05 22:35 UTC, bomox
Details
plasma-discover-20160711-121148.kcrash (9.94 KB, text/plain)
2016-07-11 16:21 UTC, Tony
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tony 2016-07-05 18:01:11 UTC
Created attachment 99866 [details]
Log from running discover from konsole.

Using Discover's 5.7 search field will crash it. In order to avoid the crash you have to type the name of the app really fast or copy paste it in the search field otherwise the crash will occur. 

Eg, if i search for "firefox" and typed "f", wait a little, it will crash. Also if i copy-paste "firefox" on the field it will work, BUT, if i backspace a couple of characters it'll crash.

The attached log is what i get from running Discover from konsole.
Comment 1 bomox 2016-07-05 22:35:56 UTC
Created attachment 99872 [details]
Backtrace during the crash (typed one character)
Comment 2 Kai Uwe Broulik 2016-07-06 11:08:59 UTC
I just encountered the very same crash.
Comment 3 Aleix Pol 2016-07-06 17:51:59 UTC
Will be solved by using the next version of KDE Frameworks: 5.24. Sorry for the inconvenience.
Comment 4 Tony 2016-07-11 01:21:18 UTC
Updated Neon today, and got KDE Frameworks: 5.24. 
The problem persists although it happen less often and only (as far as i noticed) when you backspace and few characters are left in the search field, on rare occasions it crashed when you backspace all characters.

Speed is "key" to trigger the bug, if you backspace fast it will not happen.
Comment 5 Aleix Pol 2016-07-11 11:16:59 UTC
@Tony can you provide the backtrace you are getting, with debug symbols?
Comment 6 Tony 2016-07-11 16:21:04 UTC
Created attachment 100011 [details]
plasma-discover-20160711-121148.kcrash
Comment 7 Tony 2016-07-11 16:28:43 UTC
Comment on attachment 100011 [details]
plasma-discover-20160711-121148.kcrash

I have installed plasma-discover-dbgsym and plasma-discover-private-dbgsym.

It says its not useful still.

[quote]The packages containing debug information for the following application and libraries are missing:
/usr/bin/plasma-discover
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
/usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
/usr/lib/x86_64-linux-gnu/libKF5NewStuff.so.5[/quote]
Comment 8 Tony 2016-07-11 17:13:01 UTC
...Well as was figuring out how to install the missing "dbgs"  (which have some unmet dependencies) to do a proper backtrace, i got "new updates to install". Did so and magic is fixed.

The problem is gone, looks like i did not get the needed package in my last update, weird.
Comment 9 Denis Moon 2016-07-11 18:49:44 UTC
The same bug prevents me from using Discover. If I start entering something in the search field, it just crashes. Has been happening all the time since I start using KDE Neon - no update solves the problem.

Here is what I copied from the 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 0x7f517f2948c0 (LWP 5241))]

Thread 8 (Thread 0x7f5159536700 (LWP 5272)):
#0  0x00007f5188e90e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f5184be539c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5184be54ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5189ac430b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f5189a6ed9a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f5189894044 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f518be61ac6 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f5189898c28 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f518685e6fa in start_thread (arg=0x7f5159536700) at pthread_create.c:333
#9  0x00007f5188e9cb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f515abed700 (LWP 5253)):
#0  0x00007f5184c29ae4 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f5184be4c09 in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5184be5317 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5184be54ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f5189ac430b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f5189a6ed9a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f5189894044 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f5189898c28 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f518685e6fa in start_thread (arg=0x7f515abed700) at pthread_create.c:333
#9  0x00007f5188e9cb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f515c166700 (LWP 5252)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f5189899adb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f518bed0f5d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#3  0x00007f518bed1835 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#4  0x00007f5189898c28 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f518685e6fa in start_thread (arg=0x7f515c166700) at pthread_create.c:333
#6  0x00007f5188e9cb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f516a0da700 (LWP 5245)):
#0  0x00007f5188e90e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f5184be539c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5184be54ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5189ac430b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f5189a6ed9a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f5189894044 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f5189898c28 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f518685e6fa in start_thread (arg=0x7f516a0da700) at pthread_create.c:333
#8  0x00007f5188e9cb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f517272d700 (LWP 5244)):
#0  0x00007f5189890099 in QMutex::lock() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#1  0x00007f5189ac3a5f in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f5184be492d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5184be52cb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f5184be54ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f5189ac430b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f5189a6ed9a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f5189894044 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f518b9d4685 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007f5189898c28 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f518685e6fa in start_thread (arg=0x7f517272d700) at pthread_create.c:333
#11 0x00007f5188e9cb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f517393e700 (LWP 5243)):
#0  0x00007f5189ac3bb0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#1  0x00007f5184be4dd1 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5184be5340 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5184be54ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f5189ac430b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f5189a6ed9a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f5189894044 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f51870f57a5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f5189898c28 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f518685e6fa in start_thread (arg=0x7f517393e700) at pthread_create.c:333
#10 0x00007f5188e9cb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f517c34e700 (LWP 5242)):
#0  0x00007f5188e90e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f518477ac62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f518477c8d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f517eed7a39 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f5189898c28 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f518685e6fa in start_thread (arg=0x7f517c34e700) at pthread_create.c:333
#6  0x00007f5188e9cb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f517f2948c0 (LWP 5241)):
[KCrash Handler]
#6  0x00007f515d8ba328 in KNS3::Entry::size() const () from /usr/lib/x86_64-linux-gnu/libKF5NewStuff.so.5
#7  0x00007f515db534ad in KNSResource::size() () from /usr/lib/x86_64-linux-gnu/qt5/plugins/discover/kns-backend.so
#8  0x00007f518bb4250a in ?? () from /usr/lib/x86_64-linux-gnu/plasma-discover/libDiscoverCommon.so
#9  0x00007f518bb44b2b in AbstractResource::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/x86_64-linux-gnu/plasma-discover/libDiscoverCommon.so
#10 0x00007f5189a7db36 in QMetaProperty::read(QObject const*) const () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f518bb2c312 in ResourcesModel::data(QModelIndex const&, int) const () from /usr/lib/x86_64-linux-gnu/plasma-discover/libDiscoverCommon.so
#12 0x00007f5189a35af9 in QSortFilterProxyModel::data(QModelIndex const&, int) const () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f518b7ade21 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#14 0x00007f518b91fa2c in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#15 0x00007f518b9207ea in QV4::QObjectWrapper::getProperty(QV4::ExecutionEngine*, QObject*, QQmlPropertyData*, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#16 0x00007f518b9211ca in QV4::QObjectWrapper::getQmlProperty(QQmlContextData*, QV4::String*, QV4::QObjectWrapper::RevisionMode, bool*, bool) const () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#17 0x00007f518b92148f in QV4::QObjectWrapper::getQmlProperty(QV4::ExecutionEngine*, QQmlContextData*, QObject*, QV4::String*, QV4::QObjectWrapper::RevisionMode, bool*) () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#18 0x00007f518b9c4577 in QV4::QmlContextWrapper::get(QV4::Managed const*, QV4::String*, bool*) () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#19 0x00007f518b8aac2e in QV4::ExecutionContext::getProperty(QV4::String*) () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#20 0x00007f518b933180 in QV4::Runtime::getActivationProperty(QV4::ExecutionEngine*, int) () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#21 0x00007f517008ef14 in ?? ()
#22 0x00007ffce9f1f640 in ?? ()
#23 0x000000000243b500 in ?? ()
#24 0x0000000000000009 in ?? ()
#25 0x000000000243b500 in ?? ()
#26 0x00007f517172ea88 in ?? ()
#27 0x00007f517172e950 in ?? ()
#28 0x0000000000000000 in ?? ()
Comment 10 Aleix Pol 2016-09-14 10:56:46 UTC

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