mix-sort: "crashes" Everything

Discussion related to "Everything" 1.5 Alpha.
Post Reply
NotNull
Posts: 5416
Joined: Wed May 24, 2017 9:22 pm

mix-sort: "crashes" Everything

Post by NotNull »

Was looking for some alternative approaches for changing folder dates based on content dates (this thread) as I don't like it when Everything changes the filesystem in such a way.

One of the options crashes Everything. To reproduce:

- Enable the Folders sidebar
- Check Subfolders in this sidebar
- Select a folder in the Folders sidebar, for example C:\ or another folder that changes often.
- Type or paste the following search in the search bar:

Code: Select all

mix-sort: sort:dm count:1 columns:dm;name;size;path

After some time, the Everything window will be closed without any warning. Its process is no longer running.
It seems related to updates in the selected folder.
Last sign of life according to debug log:
"DB_WAIT: _db_query_results_changed_delay_timer_proc waiting for _db_monitor_ntfs_process_fd_update_events_thread_proc..."


FWIW: the following searches do not have this problem:

Code: Select all

folder:  sort:dm  count:1  columns:dm;name;size;path
file:  sort:dm  count:1  columns:dm;name;size;path
Enabling mixed sort through the context menu instead of using mix-sort: makes no difference.
void
Developer
Posts: 16413
Joined: Fri Oct 16, 2009 11:31 pm

Re: mix-sort: "crashes" Everything

Post by void »

Thank you for the crash report NotNull,

Everything is accessing the mix-file-and-folder data after it has been freed due to applying the search quota (count:)

I am working on a fix..
NotNull
Posts: 5416
Joined: Wed May 24, 2017 9:22 pm

Re: mix-sort: "crashes" Everything

Post by NotNull »

Thanks. While you're at it:

it looks like mix-sort: and sorting on multiple properties don't go together well.
Example:

Code: Select all

c:\folder   <ext:zip sibling-folder:$stem:> | <folder: sibling-file:$name:.zip>   mix-sort: sort:path;name
With mix-sort: sort:name : files and folders are mixed together.
With mix-sort: sort:path;name : files and folders are no longer mixed.
void
Developer
Posts: 16413
Joined: Fri Oct 16, 2009 11:31 pm

Re: mix-sort: "crashes" Everything

Post by void »

This is currently a limitation with sort-mix.

It's on my TODO list to support sort-mix with all properties and multiple properties.
However, it will be slow.
Expect a sorting progress bar.

For now, only sorting by Name, Path, Size and Date Modified support sort mixing.
Post Reply