Search: Crash on "Open Item Location" if item's parent directory deleted
If you search for files and get a result, and then delete the parent directory of one of those results (in another window, terminal, etc), then try to "Open Item Location" on that search result, thunar will crash.
To reproduce:
- Create a test folder with a subfolder and file within that subfolder (
/test/folder/pepper.txt
) - Open two thunar windows in
/test/
- Window 1: Search for
pepper.txt
- Window 2: Delete
/folder/
- Window 1: Right click
pepper.txt
and select "Open Item Location"
There thunar crashes with:
'thunar' terminated by signal SIGSEGV (Address boundary error)
Not sure if relevant or helps, but in step 4 when the folder is deleted, I get:
GLib-GIO-CRITICAL **: 14:30:47.010: file ../../../gio/gfileinfo.c: line 1846 (g_file_info_get_size): should not be reached
Using Thunar 4.18.8.
Let me know if there's anything else I can add or do. Thanks!