Application: plasma-discover (5.13.4) Qt Version: 5.11.1 Frameworks Version: 5.48.0 Operating System: Linux 4.15.0-29-generic x86_64 Distribution: KDE neon User Edition 5.13 -- Information about the crash: - What I was doing when the application crashed: I was typing the name of the program in the search engine, and it closed suddenly. I only had the firefox and dolphin browser The crash can be reproduced sometimes. -- 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 0x7f14b63258c0 (LWP 10868))] Thread 7 (Thread 0x7f146fdf3700 (LWP 10881)): #0 0x00007f14ac21f407 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #1 0x00007f14ac221cea in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f14ac222330 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f14ac22249c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007f14b22030bb in QEventDispatcherGlib::processEvents (this=0x7f14680008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #5 0x00007f14b21aa5ba in QEventLoop::exec (this=this@entry=0x7f146fdf2cf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214 #6 0x00007f14b1fdf5e4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525 #7 0x00007f14b1fea727 in QThreadPrivate::start (arg=0x16e7460) at thread/qthread_unix.cpp:367 #8 0x00007f14ae0876ba in start_thread (arg=0x7f146fdf3700) at pthread_create.c:333 #9 0x00007f14b15ee41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 6 (Thread 0x7f147da15700 (LWP 10877)): #0 0x00007f14ac266a94 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #1 0x00007f14ac22223d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f14ac22249c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f14b22030bb in QEventDispatcherGlib::processEvents (this=0x7f14700008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #4 0x00007f14b21aa5ba in QEventLoop::exec (this=this@entry=0x7f147da14cf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214 #5 0x00007f14b1fdf5e4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525 #6 0x00007f14b1fea727 in QThreadPrivate::start (arg=0x2b98e80) at thread/qthread_unix.cpp:367 #7 0x00007f14ae0876ba in start_thread (arg=0x7f147da15700) at pthread_create.c:333 #8 0x00007f14b15ee41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 5 (Thread 0x7f147f810700 (LWP 10874)): #0 0x00007f14ac266a94 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #1 0x00007f14ac221bf9 in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f14ac222307 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f14ac22249c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007f14b22030bb in QEventDispatcherGlib::processEvents (this=0x7f14780008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #5 0x00007f14b21aa5ba in QEventLoop::exec (this=this@entry=0x7f147f80fcf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214 #6 0x00007f14b1fdf5e4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525 #7 0x00007f14b1fea727 in QThreadPrivate::start (arg=0x1a3fad0) at thread/qthread_unix.cpp:367 #8 0x00007f14ae0876ba in start_thread (arg=0x7f147f810700) at pthread_create.c:333 #9 0x00007f14b15ee41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 4 (Thread 0x7f148948b700 (LWP 10873)): #0 0x00007f14ac266a79 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #1 0x00007f14ac221929 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f14ac2222bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f14ac22249c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007f14b22030bb in QEventDispatcherGlib::processEvents (this=0x7f14840008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #5 0x00007f14b21aa5ba in QEventLoop::exec (this=this@entry=0x7f148948ac80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214 #6 0x00007f14b1fdf5e4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525 #7 0x00007f14b542cf86 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5 #8 0x00007f14b1fea727 in QThreadPrivate::start (arg=0x19a43f0) at thread/qthread_unix.cpp:367 #9 0x00007f14ae0876ba in start_thread (arg=0x7f148948b700) at pthread_create.c:333 #10 0x00007f14b15ee41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 3 (Thread 0x7f149934a700 (LWP 10872)): #0 0x00007f14ac266a79 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #1 0x00007f14ac222488 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f14b22030bb in QEventDispatcherGlib::processEvents (this=0x7f148c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #3 0x00007f14b21aa5ba in QEventLoop::exec (this=this@entry=0x7f1499349cd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214 #4 0x00007f14b1fdf5e4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525 #5 0x00007f14b2b69195 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #6 0x00007f14b1fea727 in QThreadPrivate::start (arg=0x11ccb60) at thread/qthread_unix.cpp:367 #7 0x00007f14ae0876ba in start_thread (arg=0x7f149934a700) at pthread_create.c:333 #8 0x00007f14b15ee41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 2 (Thread 0x7f149a55b700 (LWP 10871)): #0 0x00007f14b15e274d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007f14ac22238c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f14ac22249c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f14b22030bb in QEventDispatcherGlib::processEvents (this=0x7f14940008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #4 0x00007f14b21aa5ba in QEventLoop::exec (this=this@entry=0x7f149a55acc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214 #5 0x00007f14b1fdf5e4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525 #6 0x00007f14b3f24f35 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 #7 0x00007f14b1fea727 in QThreadPrivate::start (arg=0x7f14b419dd60) at thread/qthread_unix.cpp:367 #8 0x00007f14ae0876ba in start_thread (arg=0x7f149a55b700) at pthread_create.c:333 #9 0x00007f14b15ee41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 1 (Thread 0x7f14b63258c0 (LWP 10868)): [KCrash Handler] #6 0x00000000028184d0 in ?? () #7 0x000000000042a7f8 in filterDupes (resources=...) at /workspace/build/discover/FeaturedModel.cpp:102 #8 FeaturedModel::setResources (this=<optimized out>, _resources=...) at /workspace/build/discover/FeaturedModel.cpp:117 #9 0x00007f14b21d92a6 in QtPrivate::QSlotObjectBase::call (a=0x7ffc99d8c370, r=0x16e59a0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:376 #10 QMetaObject::activate (sender=0x754e060, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc99d8c370) at kernel/qobject.cpp:3754 #11 0x00007f14b21d9887 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f14b52f9160 <StoredResultsStream::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc99d8c370) at kernel/qobject.cpp:3633 #12 0x00007f14b50d8b62 in StoredResultsStream::finishedResources (this=<optimized out>, _t1=...) at /workspace/build/obj-x86_64-linux-gnu/libdiscover/moc_StoredResultsStream.cpp:141 #13 0x00007f14b21d92a6 in QtPrivate::QSlotObjectBase::call (a=0x7ffc99d8c460, r=0x754e060, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:376 #14 QMetaObject::activate (sender=sender@entry=0x754e060, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3754 #15 0x00007f14b21d9887 in QMetaObject::activate (sender=sender@entry=0x754e060, m=m@entry=0x7f14b52f92e0 <AggregatedResultsStream::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3633 #16 0x00007f14b50d8490 in AggregatedResultsStream::finished (this=this@entry=0x754e060) at /workspace/build/obj-x86_64-linux-gnu/libdiscover/moc_ResourcesModel.cpp:127 #17 0x00007f14b50b6f41 in AggregatedResultsStream::clear (this=0x754e060) at /workspace/build/libdiscover/resources/ResourcesModel.cpp:315 #18 0x00007f14b50b8163 in AggregatedResultsStream::destruction (this=0x754e060, obj=0x754f300) at /workspace/build/libdiscover/resources/ResourcesModel.cpp:308 #19 0x00007f14b21d92a6 in QtPrivate::QSlotObjectBase::call (a=0x7ffc99d8c600, r=0x754e060, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:376 #20 QMetaObject::activate (sender=sender@entry=0x754f300, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc99d8c600) at kernel/qobject.cpp:3754 #21 0x00007f14b21d9887 in QMetaObject::activate (sender=sender@entry=0x754f300, m=m@entry=0x7f14b2625a40 <QObject::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc99d8c600) at kernel/qobject.cpp:3633 #22 0x00007f14b21d992f in QObject::destroyed (this=this@entry=0x754f300, _t1=_t1@entry=0x754f300) at .moc/moc_qobject.cpp:214 #23 0x00007f14b21e0848 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:904 #24 0x00007f14b50c8109 in ResultsStream::~ResultsStream (this=0x754f300, __in_chrg=<optimized out>) at /workspace/build/libdiscover/resources/AbstractResourcesBackend.cpp:65 #25 0x00007f14b21d9ff0 in QObject::event (this=0x754f300, e=<optimized out>) at kernel/qobject.cpp:1242 #26 0x00007f14b380539c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x754f300, e=0x4dac560) at kernel/qapplication.cpp:3727 #27 0x00007f14b380cab0 in QApplication::notify (this=0x7ffc99d8cd10, receiver=0x754f300, e=0x4dac560) at kernel/qapplication.cpp:3486 #28 0x00007f14b21ac228 in QCoreApplication::notifyInternal2 (receiver=0x754f300, event=event@entry=0x4dac560) at kernel/qcoreapplication.cpp:1048 #29 0x00007f14b21aee2e in QCoreApplication::sendEvent (event=0x4dac560, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234 #30 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x10bf9f0) at kernel/qcoreapplication.cpp:1745 #31 0x00007f14b21af2a8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1599 #32 0x00007f14b2203a93 in postEventSourceDispatch (s=0x11736a0) at kernel/qeventdispatcher_glib.cpp:276 #33 0x00007f14ac222197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #34 0x00007f14ac2223f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #35 0x00007f14ac22249c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #36 0x00007f14b220309f in QEventDispatcherGlib::processEvents (this=this@entry=0x1144340, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #37 0x00007f14a5d959a1 in QPAEventDispatcherGlib::processEvents (this=0x1144340, flags=...) at qeventdispatcher_glib.cpp:69 #38 0x00007f14b21aa5ba in QEventLoop::exec (this=this@entry=0x7ffc99d8cc30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214 #39 0x00007f14b21b36c4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1336 #40 0x00007f14b2ff0f8c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1762 #41 0x00007f14b38052f5 in QApplication::exec () at kernel/qapplication.cpp:2901 #42 0x000000000041319f in main (argc=1, argv=<optimized out>) at /workspace/build/discover/main.cpp:156 Reported using DrKonqi
Git commit 391d57df0ae3ba4717f3c318c18fadbd7ac206d4 by Aleix Pol. Committed on 22/10/2018 at 11:47. Pushed by apol into branch 'Plasma/5.14'. Make sure resources aren't deleted before served M +4 -0 libdiscover/resources/StoredResultsStream.cpp https://commits.kde.org/discover/391d57df0ae3ba4717f3c318c18fadbd7ac206d4