Bug 359494 - Kfind crashes after never finishing searching the home folder
Summary: Kfind crashes after never finishing searching the home folder
Status: RESOLVED WORKSFORME
Alias: None
Product: kfind
Classification: Applications
Component: general (show other bugs)
Version: 2.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-17 11:54 UTC by piedro
Modified: 2018-12-16 03:44 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 piedro 2016-02-17 11:54:59 UTC
After searching for a name within the content of all files in my home folder - kfind takes a very long time (many files I guess!) and then crashes in the end with this message: 

[code]
kfind(13576) KQuery::processQuery: ignoring, not a text file:  KUrl("file:///home/piedro/VMs/Isoz/linuxmint-17.3-cinnamon-64bit.iso")
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
KCrash: Application 'kfind' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
KCrash: Connect sock_file=/home/piedro/.kde4/socket-arch/kdeinit4__0
[/code]

Now first of all - I do not know why kfind searches within *.iso files and Virtualbox images... 
this should be avoided somehow (maybe by preference profiles?). 

Why it crashes - I do not know - but looks like a big bug to me. 

Essentially this crashes every search for the content of files. 



Reproducible: Always

Steps to Reproduce:
1. search for a name you know you have in some files in your home folder
2. let it kfind run a long time 
3. wait for it to crash

Actual Results:  
crashes 

Expected Results:  
shouldn't crash

If kfind is to be used within dolphin searches soon - it should not refer to ".kde4" directories, should it?
Comment 1 piedro 2016-02-17 12:53:25 UTC
Oops, my bad! 

It's nothing to do with the "*.iso" file - as the message clearly says: 
[quote]...ignoring, not a text file:... 
[/quote] 

Sorry for that but the crashing continues: 

[code]Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
KCrash: Application 'kfind' crashing...
[/code]

p.
Comment 2 Andrew Crouthamel 2018-11-01 13:47:39 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2018-11-16 11:39:01 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 piedro 2018-11-16 14:52:50 UTC
Sry, I do not use KDE anymore. 

Thx for the notice... 

p.
Comment 5 Bug Janitor Service 2018-12-01 03:44:45 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 6 Bug Janitor Service 2018-12-16 03:44:27 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!