pgrep xxx during running pgrep yyy => assert (or segfault)
I guess we need to ensure we either finalized the running search or ignore such requests.
Application: Kate (kate), signal: Aborted
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7f45ee75dd40 (LWP 1185881))]
[KCrash Handler]
#5 0x00007f45f24efef5 in raise () from /usr/lib/libc.so.6
#6 0x00007f45f24d9862 in abort () from /usr/lib/libc.so.6
#7 0x00007f45f2a4e9ac in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/libQt5Core.so.5
#8 0x00007f45f2a4dd59 in qt_assert(char const*, char const*, int) () from /usr/lib/libQt5Core.so.5
#9 0x00007f45ec19cad6 in SearchDiskFilesWorkList::init (this=0x556d92950248, files=..., numberOfWorkers=8) at /home/cullmann/projects/kde/src/kde/applications/kate/addons/search/SearchDiskFiles.h:71
#10 0x00007f45ec18dd3c in KatePluginSearchView::startDiskFileSearch (this=0x556d9294ffe0, fileList=..., reg=..., includeBinaryFiles=false) at /home/cullmann/projects/kde/src/kde/applications/kate/addons/search/plugin_search.cpp:768
#11 0x00007f45ec18fbbf in KatePluginSearchView::startSearch (this=0x556d9294ffe0) at /home/cullmann/projects/kde/src/kde/applications/kate/addons/search/plugin_search.cpp:1081
#12 0x00007f45ec1a3be7 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (KatePluginSearchView::*)()>::call(void (KatePluginSearchView::*)(), KatePluginSearchView*, void**) (f=(void (KatePluginSearchView::*)(KatePluginSearchView * const)) 0x7f45ec18e746 <KatePluginSearchView::startSearch()>, o=0x556d9294ffe0, arg=0x7ffe4a81a2a0) at /usr/include/qt/QtCore/qobjectdefs_impl.h:152
#13 0x00007f45ec1a2de9 in QtPrivate::FunctionPointer<void (KatePluginSearchView::*)()>::call<QtPrivate::List<>, void>(void (KatePluginSearchView::*)(), KatePluginSearchView*, void**) (f=(void (KatePluginSearchView::*)(KatePluginSearchView * const)) 0x7f45ec18e746 <KatePluginSearchView::startSearch()>, o=0x556d9294ffe0, arg=0x7ffe4a81a2a0) at /usr/include/qt/QtCore/qobjectdefs_impl.h:185
#14 0x00007f45ec1a13e0 in QtPrivate::QSlotObject<void (KatePluginSearchView::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x556d929f3c80, r=0x556d9294ffe0, a=0x7ffe4a81a2a0, ret=0x0) at /usr/include/qt/QtCore/qobjectdefs_impl.h:418
#15 0x00007f45f2caadd6 in ?? () from /usr/lib/libQt5Core.so.5
#16 0x00007f45ec163b8f in KateSearchCommand::startSearch (this=0x556d92737690) at addons/search/katesearchplugin_autogen/EWIEGA46WW/moc_KateSearchCommand.cpp:198
#17 0x00007f45ec1715c0 in KateSearchCommand::exec (this=0x556d92737690, cmd=...) at /home/cullmann/projects/kde/src/kde/applications/kate/addons/search/KateSearchCommand.cpp:53
#18 0x00007f45f53079bf in KateCmdLineEdit::slotReturnPressed (this=0x556d9362a8e0, text=...) at /home/cullmann/projects/kde/src/frameworks/ktexteditor/src/view/kateviewhelpers.cpp:1226
#19 0x00007f45f5319c98 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString const&>, void, void (KateCmdLineEdit::*)(QString const&)>::call (f=(void (KateCmdLineEdit::*)(KateCmdLineEdit * const, const QString &)) 0x7f45f5307490 <KateCmdLineEdit::slotReturnPressed(QString const&)>, o=0x556d9362a8e0, arg=0x7ffe4a81a610) at /usr/include/qt/QtCore/qobjectdefs_impl.h:152
#20 0x00007f45f531911d in QtPrivate::FunctionPointer<void (KateCmdLineEdit::*)(QString const&)>::call<QtPrivate::List<QString const&>, void> (f=(void (KateCmdLineEdit::*)(KateCmdLineEdit * const, const QString &)) 0x7f45f5307490 <KateCmdLineEdit::slotReturnPressed(QString const&)>, o=0x556d9362a8e0, arg=0x7ffe4a81a610) at /usr/include/qt/QtCore/qobjectdefs_impl.h:185
#21 0x00007f45f5317d30 in QtPrivate::QSlotObject<void (KateCmdLineEdit::*)(QString const&), QtPrivate::List<QString const&>, void>::impl (which=1, this_=0x556d9360df30, r=0x556d9362a8e0, a=0x7ffe4a81a610, ret=0x0) at /usr/include/qt/QtCore/qobjectdefs_impl.h:418
#22 0x00007f45f2caadd6 in ?? () from /usr/lib/libQt5Core.so.5
#23 0x00007f45f483650c in KLineEdit::returnPressed (this=0x556d9362a8e0, _t1=...) at src/KF5Completion_autogen/include/moc_klineedit.cpp:391
#24 0x00007f45f48314cc in KLineEdit::keyPressEvent (this=0x556d9362a8e0, e=0x7ffe4a81ac60) at /home/cullmann/projects/kde/src/frameworks/kcompletion/src/klineedit.cpp:576
#25 0x00007f45f5308021 in KateCmdLineEdit::keyPressEvent (this=0x556d9362a8e0, ev=0x7ffe4a81ac60) at /home/cullmann/projects/kde/src/frameworks/ktexteditor/src/view/kateviewhelpers.cpp:1302
#26 0x00007f45f39679c5 in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#27 0x00007f45f4833b04 in KLineEdit::event (this=0x556d9362a8e0, ev=0x7ffe4a81ac60) at /home/cullmann/projects/kde/src/frameworks/kcompletion/src/klineedit.cpp:1065
#28 0x00007f45f5307418 in KateCmdLineEdit::event (this=0x556d9362a8e0, e=0x7ffe4a81ac60) at /home/cullmann/projects/kde/src/frameworks/ktexteditor/src/view/kateviewhelpers.cpp:1146
#29 0x00007f45f3925752 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#30 0x00007f45f392cdb8 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#31 0x00007f45f2c73a7a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#32 0x00007f45f398269a in ?? () from /usr/lib/libQt5Widgets.so.5
#33 0x00007f45f3925752 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#34 0x00007f45f2c73a7a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#35 0x00007f45f31cb474 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () from /usr/lib/libQt5Gui.so.5
#36 0x00007f45f31a4bb5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#37 0x00007f45ee30e16c in ?? () from /usr/lib/libQt5XcbQpa.so.5
#38 0x00007f45f0bd5b54 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#39 0x00007f45f0c29bf1 in ?? () from /usr/lib/libglib-2.0.so.0
#40 0x00007f45f0bd4381 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#41 0x00007f45f2ccc6e1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#42 0x00007f45f2c723fc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#43 0x00007f45f2c7a894 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#44 0x0000556d82c58954 in main (argc=1, argv=0x7ffe4a81b348) at /home/cullmann/projects/kde/src/kde/applications/kate/kate/main.cpp:703
[Inferior 1 (process 1185881) detached]