Bug 365235 - crash on quick search
Summary: crash on quick search
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.7.0
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords: drkonqi
: 365118 365233 365234 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-07-08 11:26 UTC by Harald Sitter
Modified: 2016-10-03 13:33 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harald Sitter 2016-07-08 11:26:53 UTC
Application: plasma-discover (5.7.0)

Qt Version: 5.7.0
Frameworks Version: 5.23.0
Operating System: Linux 4.4.0-28-generic x86_64
Distribution: KDE neon User Edition 5.7

-- Information about the crash:
- What I was doing when the application crashed:

searched for 'discover'
ctrl+a
started typing something else
crash

All of this happend very quickly and shortly after starting discover. Seems fairly reproducible here.

-- 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 0x7f70c4f298c0 (LWP 17315))]

Thread 8 (Thread 0x7f709affd700 (LWP 17346)):
#0  0x00007f70ceb31e8d in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f70ca88639c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f70ca8864ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f70cf76530b in QEventDispatcherGlib::processEvents (this=0x7f70900008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f70cf70fd9a in QEventLoop::exec (this=this@entry=0x7f709affcc90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210
#5  0x00007f70cf535044 in QThread::exec (this=this@entry=0x3440920) at thread/qthread.cpp:507
#6  0x00007f70d1b02ac6 in QQuickPixmapReader::run (this=0x3440920) at util/qquickpixmapcache.cpp:823
#7  0x00007f70cf539c28 in QThreadPrivate::start (arg=0x3440920) at thread/qthread_unix.cpp:344
#8  0x00007f70cc4ff6fa in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#9  0x00007f70ceb3db5d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 7 (Thread 0x7f709bfff700 (LWP 17327)):
#0  0x00007f70cf7634a8 in QTimerInfoList::repairTimersIfNeeded (this=<optimized out>) at kernel/qtimerinfo_unix.cpp:167
#1  0x00007f70cf763503 in QTimerInfoList::timerWait (this=0x7f7094002cd0, tm=...) at kernel/qtimerinfo_unix.cpp:389
#2  0x00007f70cf764b5c in timerSourcePrepareHelper (timeout=0x7f709bffeb34, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:132
#3  idleTimerSourcePrepare (source=<optimized out>, timeout=0x7f709bffeb34) at kernel/qeventdispatcher_glib.cpp:212
#4  0x00007f70ca88592d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f70ca8862cb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f70ca8864ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f70cf76530b in QEventDispatcherGlib::processEvents (this=0x7f70940008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#8  0x00007f70cf70fd9a in QEventLoop::exec (this=this@entry=0x7f709bffed00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210
#9  0x00007f70cf535044 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#10 0x00007f70cf539c28 in QThreadPrivate::start (arg=0x306bc10) at thread/qthread_unix.cpp:344
#11 0x00007f70cc4ff6fa in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#12 0x00007f70ceb3db5d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 6 (Thread 0x7f70a1bef700 (LWP 17326)):
#0  0x00007f70cc5053a0 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f70cf53aadb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x3074090) at thread/qwaitcondition_unix.cpp:143
#2  QWaitCondition::wait (this=this@entry=0x3064b68, mutex=mutex@entry=0x3064b60, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#3  0x00007f70d1b71f5d in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x3064b58) at scenegraph/qsgthreadedrenderloop.cpp:242
#4  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x3064ae0) at scenegraph/qsgthreadedrenderloop.cpp:690
#5  0x00007f70d1b72835 in QSGRenderThread::run (this=0x3064ae0) at scenegraph/qsgthreadedrenderloop.cpp:719
#6  0x00007f70cf539c28 in QThreadPrivate::start (arg=0x3064ae0) at thread/qthread_unix.cpp:344
#7  0x00007f70cc4ff6fa in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#8  0x00007f70ceb3db5d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 5 (Thread 0x7f70abc26700 (LWP 17319)):
#0  0x00007f70ceb31e8d in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f70ca88639c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f70ca8864ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f70cf76530b in QEventDispatcherGlib::processEvents (this=0x7f70a40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f70cf70fd9a in QEventLoop::exec (this=this@entry=0x7f70abc25d00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210
#5  0x00007f70cf535044 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#6  0x00007f70cf539c28 in QThreadPrivate::start (arg=0x23008a0) at thread/qthread_unix.cpp:344
#7  0x00007f70cc4ff6fa in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#8  0x00007f70ceb3db5d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 4 (Thread 0x7f70b3fff700 (LWP 17318)):
#0  0x00007f70ca8caac9 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f70ca885939 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f70ca8862cb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f70ca8864ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f70cf76530b in QEventDispatcherGlib::processEvents (this=0x7f70ac0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f70cf70fd9a in QEventLoop::exec (this=this@entry=0x7f70b3ffece0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210
#6  0x00007f70cf535044 in QThread::exec (this=this@entry=0x1e60060) at thread/qthread.cpp:507
#7  0x00007f70d1675685 in QQmlThreadPrivate::run (this=0x1e60060) at qml/ftw/qqmlthread.cpp:147
#8  0x00007f70cf539c28 in QThreadPrivate::start (arg=0x1e60060) at thread/qthread_unix.cpp:344
#9  0x00007f70cc4ff6fa in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007f70ceb3db5d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 3 (Thread 0x7f70b95a2700 (LWP 17317)):
#0  0x00007f70ca8caac9 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f70ca886382 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f70ca8864ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f70cf76530b in QEventDispatcherGlib::processEvents (this=0x7f70b40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f70cf70fd9a in QEventLoop::exec (this=this@entry=0x7f70b95a1cd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210
#5  0x00007f70cf535044 in QThread::exec (this=this@entry=0x7f70cce0ad60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:507
#6  0x00007f70ccd967a5 in QDBusConnectionManager::run (this=0x7f70cce0ad60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:196
#7  0x00007f70cf539c28 in QThreadPrivate::start (arg=0x7f70cce0ad60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:344
#8  0x00007f70cc4ff6fa in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#9  0x00007f70ceb3db5d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 2 (Thread 0x7f70c1f7a700 (LWP 17316)):
#0  0x00007f70ceb31e8d in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f70ca41bc62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f70ca41d8d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f70c4b03a39 in QXcbEventReader::run (this=0x1d98580) at qxcbconnection.cpp:1337
#4  0x00007f70cf539c28 in QThreadPrivate::start (arg=0x1d98580) at thread/qthread_unix.cpp:344
#5  0x00007f70cc4ff6fa in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007f70ceb3db5d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 1 (Thread 0x7f70c4f298c0 (LWP 17315)):
[KCrash Handler]
#6  0x00007f70a3482328 in KNS3::Entry::size (this=<optimized out>) at /var/lib/jenkins-slave/nci/workspace/xenial_release_frameworks_knewstuff_bin_amd64/build/src/entry.cpp:129
#7  0x00007f70a371b4ad in KNSResource::size (this=<optimized out>) at /var/lib/jenkins-slave/nci/workspace/xenial_release_plasma_plasma-discover_bin_amd64/build/libdiscover/backends/KNSBackend/KNSResource.cpp:133
#8  0x00007f70d17e350a in AbstractResource::qt_static_metacall (_o=_o@entry=0x34d1400, _c=_c@entry=QMetaObject::ReadProperty, _id=_id@entry=17, _a=_a@entry=0x7ffd3b455c20) at /var/lib/jenkins-slave/nci/workspace/xenial_release_plasma_plasma-discover_bin_amd64/build/obj-x86_64-linux-gnu/libdiscover/moc_AbstractResource.cpp:288
#9  0x00007f70d17e5b2b in AbstractResource::qt_metacall (this=0x34d1400, _c=QMetaObject::ReadProperty, _id=17, _a=0x7ffd3b455c20) at /var/lib/jenkins-slave/nci/workspace/xenial_release_plasma_plasma-discover_bin_amd64/build/obj-x86_64-linux-gnu/libdiscover/moc_AbstractResource.cpp:341
#10 0x00007f70cf71eb36 in QMetaProperty::read (this=this@entry=0x7ffd3b455cb0, object=object@entry=0x34d1400) at kernel/qmetaobject.cpp:3027
#11 0x00007f70d17cd312 in ResourcesModel::data (this=<optimized out>, index=..., role=274) at /var/lib/jenkins-slave/nci/workspace/xenial_release_plasma_plasma-discover_bin_amd64/build/libdiscover/resources/ResourcesModel.cpp:214
#12 0x00007f70cf6d6af9 in QSortFilterProxyModel::data (this=<optimized out>, index=..., role=274) at itemmodels/qsortfilterproxymodel.cpp:1973
#13 0x00007f70d144ee21 in QModelIndex::data (arole=274, this=0x7ffd3b455d90) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractitemmodel.h:426
#14 QQmlDMAbstractItemModelData::value (role=274, this=0x45b4180) at util/qqmladaptormodel.cpp:420
#15 QQmlDMCachedModelData::metaCall (this=0x45b4180, call=<optimized out>, id=<optimized out>, arguments=0x7ffd3b455e40) at util/qqmladaptormodel.cpp:292
#16 0x00007f70d15c0a2c in ReadAccessor::Indirect (property=..., n=0x0, output=0x7ffd3b455e20, object=0x45b4180) at jsruntime/qv4qobjectwrapper.cpp:125
#17 LoadProperty<ReadAccessor::Indirect> (v4=v4@entry=0x1e5a930, object=object@entry=0x45b4180, property=..., notifier=0x0) at jsruntime/qv4qobjectwrapper.cpp:202
#18 0x00007f70d15c17ea in QV4::QObjectWrapper::getProperty (engine=engine@entry=0x1e5a930, object=0x45b4180, property=0x4213a98, captureRequired=captureRequired@entry=true) at jsruntime/qv4qobjectwrapper.cpp:386
#19 0x00007f70d15c21ca in QV4::QObjectWrapper::getQmlProperty (this=0x7f70b3000588, qmlContext=qmlContext@entry=0x44dc250, name=name@entry=0x7f70b3000548, revisionMode=revisionMode@entry=QV4::QObjectWrapper::CheckRevision, hasProperty=hasProperty@entry=0x7ffd3b456080, includeImports=includeImports@entry=false) at jsruntime/qv4qobjectwrapper.cpp:324
#20 0x00007f70d15c248f in QV4::QObjectWrapper::getQmlProperty (engine=engine@entry=0x1e5a930, qmlContext=qmlContext@entry=0x44dc250, object=<optimized out>, name=name@entry=0x7f70b3000548, revisionMode=revisionMode@entry=QV4::QObjectWrapper::CheckRevision, hasProperty=hasProperty@entry=0x7ffd3b456080) at jsruntime/qv4qobjectwrapper.cpp:411
#21 0x00007f70d1665577 in QV4::QmlContextWrapper::get (m=<optimized out>, name=0x7f70b3000548, hasProperty=0x7ffd3b456160) at qml/qqmlcontextwrapper.cpp:230
#22 0x00007f70d154bc2e in QV4::Object::get (hasProperty=0x7ffd3b456160, name=0x7f70b3000548, this=<optimized out>) at ../../include/QtQml/5.7.0/QtQml/private/../../../../../src/qml/jsruntime/qv4object_p.h:304
#23 QV4::ExecutionContext::getProperty (this=<optimized out>, name=0x7f70b3000548) at jsruntime/qv4context.cpp:469
#24 0x00007f70d15d4180 in QV4::Runtime::getActivationProperty (engine=0x1e5a930, nameIndex=<optimized out>) at jsruntime/qv4runtime.cpp:724
#25 0x00007f70b0114e94 in ?? ()
#26 0x00007ffd3b456390 in ?? ()
#27 0x0000000001e5a930 in ?? ()
#28 0x0000000000000009 in ?? ()
#29 0x0000000001e5a930 in ?? ()
#30 0x00007f70b30004d8 in ?? ()
#31 0x00007f70b3000400 in ?? ()
#32 0x0000000000000000 in ?? ()

Reported using DrKonqi
Comment 1 Harald Sitter 2016-07-11 07:33:54 UTC
*** Bug 365233 has been marked as a duplicate of this bug. ***
Comment 2 Harald Sitter 2016-07-11 07:34:16 UTC
*** Bug 365234 has been marked as a duplicate of this bug. ***
Comment 3 Aleix Pol 2016-09-14 10:56:46 UTC
*** Bug 365118 has been marked as a duplicate of this bug. ***
Comment 4 Aleix Pol 2016-10-03 13:33:24 UTC
This was a bug in KF5 which is now fixed.