Bug 376577

Summary: filenamesearch crashes when started from root folder
Product: [Frameworks and Libraries] kio-extras Reporter: Alex <eneeen>
Component: defaultAssignee: Plasma Development Mailing List <plasma-devel>
Status: RESOLVED FIXED    
Severity: normal CC: elvis.angelaccio
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Log from dolphin search
Screenshot of error
from console: KDE_SLABE_DEBUG_WAIT=dolphin kdeinit5

Description Alex 2017-02-17 10:35:17 UTC
To replicate:
- open dolphin
- go to root folder
- search for .svg
- wait a while

I can help providing some info if needed.
Comment 1 Elvis Angelaccio 2017-02-17 22:45:38 UTC
(In reply to Alex from comment #0)
> To replicate:
> - open dolphin
> - go to root folder
> - search for .svg
> - wait a while
> 
> I can help providing some info if needed.

Yes, please. We need a backtrace with debug symbols (see https://community.kde.org/Dolphin/FAQ/Crashes)
Comment 2 Alex 2017-02-18 11:52:51 UTC
Created attachment 104090 [details]
Log from dolphin search
Comment 3 Elvis Angelaccio 2017-02-18 18:16:21 UTC
The valgrind log does not say much. Can you please start Dolphin with gdb? After it crashes, hit 'bt' and post here the backtrace you get.
Comment 4 Alex 2017-02-18 19:02:08 UTC
Sure, but please write specific command how to use, I'm just lame.
Comment 5 Alex 2017-02-18 19:36:26 UTC
Ok I run:
gdb /usr/bin/dolphin
then "run"
 and I get:

------------------
[Thread 0x7fffbaffd700 (LWP 7087) exited]
[Thread 0x7fffca67e700 (LWP 7081) exited]
[Thread 0x7fffbb7fe700 (LWP 7086) exited]
[Thread 0x7fffc8e7b700 (LWP 7084) exited]
[Thread 0x7fffc967c700 (LWP 7083) exited]
[Thread 0x7fffbbfff700 (LWP 7085) exited]
[Thread 0x7fffc9e7d700 (LWP 7082) exited]
bt
[Thread 0x7fffcb885700 (LWP 7059) exited]
[Thread 0x7fffe20bd700 (LWP 7049) exited]
[Thread 0x7fffcf628700 (LWP 7058) exited]
[Thread 0x7fffcfe29700 (LWP 7057) exited]
[Thread 0x7fffd062a700 (LWP 7056) exited]
[Thread 0x7fffd0e2b700 (LWP 7055) exited]
[Thread 0x7fffd162c700 (LWP 7054) exited]
[Thread 0x7fffd881f700 (LWP 7053) exited]
[Thread 0x7fffd9020700 (LWP 7052) exited]
[Thread 0x7fffd9821700 (LWP 7051) exited]
[Thread 0x7fffdbfff700 (LWP 7050) exited]
[Inferior 1 (process 7045) exited normally]
(gdb) bt
No stack.
-------------------------
Comment 6 Alex 2017-02-18 21:35:58 UTC
Created attachment 104105 [details]
Screenshot of error
Comment 7 Elvis Angelaccio 2017-02-19 10:37:05 UTC
Thanks, the screenshot shows that the crash is not in Dolphin (that's why gdb could not find any backtrace), but in the filenamesearch ioslave. Unfortunately ioslaves are very hard to debug. If you want to give it a try, follow this link to get a backtrace: https://community.kde.org/Guidelines_and_HOWTOs/Debugging/Debugging_IOSlaves#Attaching_gdb_to_an_io-slave
Comment 8 Alex 2017-02-28 15:30:48 UTC
Created attachment 104275 [details]
from console: KDE_SLABE_DEBUG_WAIT=dolphin kdeinit5
Comment 9 Alex 2017-03-16 09:47:57 UTC
Should I do another test or this is sufficient?
Comment 10 Alex 2017-08-22 13:33:13 UTC
It seems to work under Neon Dev stable 5.10.4. Searching / for svg doesn't crash anymore.