Bug 339531 - KDevelop hangs in GrepOutputModel::appendOutputs()
Summary: KDevelop hangs in GrepOutputModel::appendOutputs()
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: grepview (other bugs)
Version First Reported In: git master
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-30 16:04 UTC by Alexander Potashev
Modified: 2021-01-13 04:33 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Potashev 2014-09-30 16:04:37 UTC
I tried to search for "0.01" in our medium-size project in KDevelop. May be I did it wrong because I have set the filename mask to "*.*" and the total size of files in the project's root directory (including executables and binary test data) was 431 MB.

After I started the search, KDevelop hanged up. GDB showed me that GrepOutputModel::appendOutputs() could not finish for at least 5 minutes.

(gdb) bt
#0  0x00007f69d0b24784 in GrepOutputModel::appendOutputs(QString const&, QList<GrepOutputItem> const&) ()
   from /usr/lib64/kde4/kdevgrepview.so
#1  0x00007f6a6748604e in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f6a679b043c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#3  0x00007f6a679b6a00 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#4  0x00007f6a68936b8a in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#5  0x00007f6a6746e16d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007f6a674711bf in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()
   from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f6a6749b44e in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f6a61043534 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#9  0x00007f6a61043778 in g_main_context_iterate.isra.24 () from /usr/lib64/libglib-2.0.so.0
#10 0x00007f6a6104381c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#11 0x00007f6a6749ac0e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib64/qt4/libQtCore.so.4
#12 0x00007f6a67a4c606 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib64/qt4/libQtGui.so.4
#13 0x00007f6a6746cdcf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#14 0x00007f6a6746d0c5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#15 0x00007f6a674721db in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#16 0x000000000041167c in main ()
(gdb) finish
Run till exit from #0  0x00007f69d0b24784 in GrepOutputModel::appendOutputs(QString const&, QList<GrepOutputItem> const&) ()
   from /usr/lib64/kde4/kdevgrepview.so


Reproducible: Always




Built from Git on September 28, 2014. It's KDevelop for Qt4/Kdelibs4 (kdevelop-4.9999 in Gentoo, similar for kdevplatform).
Comment 1 Kevin Funk 2014-09-30 16:12:37 UTC
Yes.

Actually, this is a big issue with the current grepview. Accidentally searching for a too-broad search term ends up like this.
Comment 2 Justin Zobel 2020-12-14 02:04:39 UTC
Thank you for the crash report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 3 Bug Janitor Service 2020-12-29 04:34:20 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2021-01-13 04:33:53 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!