Random suspend when deleting a file
Random suspend when deleting a file
Hello there! First of all, thanks for the great app!
I've been using Everything for almost 10 years. It works always well und helps me a lot.
In the recent versions(maybe since 1.5.0.1340), it has been a bug around.
When I try to delete a file, Everything will randomly suspend (no response).
Then I must terminate the process and run Everything again, but the suspend doesn't happen 100% when deleting, it's very strange.
If you need, I've got a .dmp file generated by ProcessExplorer when it suspends, but I don't know if I should send it as a attachment or per Email. Is there any private informations in the .dmp file?
Thanks in advance for the help!
I've been using Everything for almost 10 years. It works always well und helps me a lot.
In the recent versions(maybe since 1.5.0.1340), it has been a bug around.
When I try to delete a file, Everything will randomly suspend (no response).
Then I must terminate the process and run Everything again, but the suspend doesn't happen 100% when deleting, it's very strange.
If you need, I've got a .dmp file generated by ProcessExplorer when it suspends, but I don't know if I should send it as a attachment or per Email. Is there any private informations in the .dmp file?
Thanks in advance for the help!
Re: Random suspend when deleting a file
A full dump would contain all your filenames. (hundreds of MB)Is there any private informations in the .dmp file?
A mini crash dump will only contain a small snapshot which includes the stack. (<10 MB)
The stack may contain a couple filenames from your system that Everything may currently be processing.
Re: Random suspend when deleting a file
thx for the info.
I've created a Minidump according to the instructions and sended it to support@voidtools.comvoid wrote: ↑Tue Jun 27, 2023 10:34 pmA full dump would contain all your filenames. (hundreds of MB)Is there any private informations in the .dmp file?
A mini crash dump will only contain a small snapshot which includes the stack. (<10 MB)
The stack may contain a couple filenames from your system that Everything may currently be processing.
It doesn't happen everytime I delete, but comes out almost every hour.
I even have to make a one-click-script to terminate & restart Everything.
I hope you can find the problem.
Re: Random suspend when deleting a file
Thank you for the mini crash dump.
The dump shows Everything calling SHFileOperation.
The system call SHFileOperation is hanging. (deadlocked)
SHFileOperation is an old API.
Everything will try to use IFileOperation when available.
It's odd Everything is not using IFileOperation for you.
What version of Windows are you using?
Have you disabled Tools -> Options -> Advanced -> file_operation? (please make sure it's set to true)
The dump shows Everything calling SHFileOperation.
The system call SHFileOperation is hanging. (deadlocked)
SHFileOperation is an old API.
Everything will try to use IFileOperation when available.
It's odd Everything is not using IFileOperation for you.
What version of Windows are you using?
Have you disabled Tools -> Options -> Advanced -> file_operation? (please make sure it's set to true)
Re: Random suspend when deleting a file
Thanks for the reply.
I'm using Win11 x64 22H2 and "file_operation" was set to true as default.
Here is the debug log until Everything hangs when I delete a file.
I hope it helps and thanks for your work.
I'm using Win11 x64 22H2 and "file_operation" was set to true as default.
Here is the debug log until Everything hangs when I delete a file.
I hope it helps and thanks for your work.
IFileOperation::PerformOperations
Last edited by void on Fri Jun 30, 2023 11:58 pm, edited 1 time in total.
Reason: trimmed log
Reason: trimmed log
Re: Random suspend when deleting a file
Thank you for the debug logs.
From the dumps and logs, it looks like Everything does use IFileOperation most of the time.
The hang occurs when an instance of IFileOperation fails to be created and Everything falls back to SHFileOperation.
I will add more information to the logs to try to work out why this might occur..
I'll report back here once this is ready for testing.
From the dumps and logs, it looks like Everything does use IFileOperation most of the time.
The hang occurs when an instance of IFileOperation fails to be created and Everything falls back to SHFileOperation.
I will add more information to the logs to try to work out why this might occur..
I'll report back here once this is ready for testing.
Re: Random suspend when deleting a file
thanks, hope it will soon get fixedvoid wrote: ↑Sat Jul 01, 2023 12:43 am Thank you for the debug logs.
From the dumps and logs, it looks like Everything does use IFileOperation most of the time.
The hang occurs when an instance of IFileOperation fails to be created and Everything falls back to SHFileOperation.
I will add more information to the logs to try to work out why this might occur..
I'll report back here once this is ready for testing.
Re: Random suspend when deleting a file
Everything 1.5.0.1352a adds a sh_file_operation ini setting.
Everything 1.5.0.1352a also adds more debugging information on IFileOperation failures.
Could you please send debug logs with this version:
To prevent Everything from calling SHFileOperation (which appears to be causing the issue in your case):
Everything 1.5.0.1352a also adds more debugging information on IFileOperation failures.
Could you please send debug logs with this version:
- In Everything, from the Tools menu, under the Debug submenu, check Console.
---this will show a debug console---
---wait for Everything to hang--- - Right click the debug console window title bar
- Under the Edit menu, click Select All.
- Right click the selected text to copy it to the clipboard.
- Please paste the debug output in your reply.
To prevent Everything from calling SHFileOperation (which appears to be causing the issue in your case):
- In Everything 1.5, from the Tools menu, click Options.
- Click the Advanced tab on the left.
- To the right of Show settings containing, search for:
sh_ - Select sh_file_operation.
- Set the value to: false
- Click OK.
Re: Random suspend when deleting a file
Is it suitable to disable/remove entirely SHFileOperation in Everything?
Asking just theoretically.
Asking just theoretically.
Re: Random suspend when deleting a file
IFileOperation only exists on Vista+
XP and earlier will depend on SHFileOperation.
I will like to keep SHFileOperation for XP support.
Everything will only use SHFileOperation if IFileOperation does not exist or fails.
XP and earlier will depend on SHFileOperation.
I will like to keep SHFileOperation for XP support.
Everything will only use SHFileOperation if IFileOperation does not exist or fails.
Re: Random suspend when deleting a file
thanks for the new version.void wrote: ↑Fri Jul 07, 2023 6:14 am Everything 1.5.0.1352a adds a sh_file_operation ini setting.
Everything 1.5.0.1352a also adds more debugging information on IFileOperation failures.
Could you please send debug logs with this version:Privacy
- In Everything, from the Tools menu, under the Debug submenu, check Console.
---this will show a debug console---
---wait for Everything to hang---- Right click the debug console window title bar
- Under the Edit menu, click Select All.
- Right click the selected text to copy it to the clipboard.
- Please paste the debug output in your reply.
To prevent Everything from calling SHFileOperation (which appears to be causing the issue in your case):Everything should now silently fail instead of hang.
- In Everything 1.5, from the Tools menu, click Options.
- Click the Advanced tab on the left.
- To the right of Show settings containing, search for:
sh_- Select sh_file_operation.
- Set the value to: false
- Click OK.
I will set the "false" value and pay attention to the debug console to see if the problem still exists or not.
Re: Random suspend when deleting a file
I've set sh_file_operation to false, and the suspend comes again.void wrote: ↑Fri Jul 07, 2023 6:14 am Everything 1.5.0.1352a adds a sh_file_operation ini setting.
Everything 1.5.0.1352a also adds more debugging information on IFileOperation failures.
Could you please send debug logs with this version:Privacy
- In Everything, from the Tools menu, under the Debug submenu, check Console.
---this will show a debug console---
---wait for Everything to hang---- Right click the debug console window title bar
- Under the Edit menu, click Select All.
- Right click the selected text to copy it to the clipboard.
- Please paste the debug output in your reply.
To prevent Everything from calling SHFileOperation (which appears to be causing the issue in your case):Everything should now silently fail instead of hang.
- In Everything 1.5, from the Tools menu, click Options.
- Click the Advanced tab on the left.
- To the right of Show settings containing, search for:
sh_- Select sh_file_operation.
- Set the value to: false
- Click OK.
Here's the debug log, I hope it will help.
Code: Select all
DB_WAIT: _db_monitor_finished_process_fd_update_events_event_proc waiting for _db_monitor_network_index_process_fd_update_events_thread_proc...
DB_WAIT: _db_monitor_finished_process_fd_update_events_event_proc waited 0.000126 seconds
COMMAND 41005
IFileOperation::PerformOperations
update m 0 000000000490dfe0
update m 2 0000000003ec7dc0
update m 1 0000000003ec6c90
Last edited by NottMee on Sat Jul 08, 2023 10:40 am, edited 1 time in total.
Re: Random suspend when deleting a file
Thank you for the logs.
The issue could be caused by the preview handler.
Please try disabling the preview pane (Alt + P) and see if the issue persists.
The issue could be caused by the preview handler.
Please try disabling the preview pane (Alt + P) and see if the issue persists.
Re: Random suspend when deleting a file
The suspend didn't appear again for a whole day after I disabled the preview.
But it becomes very inconvenient
Can you fix the bug in the next versions?
Thanks
Re: Random suspend when deleting a file
Previewing a file should not lock this file.
Windows preview uses a rather complicated mechanism to prevent this (and other stuff)
But not all preview handlers "play nice". You might try changing the preview handler for this type of files.
BTW: Which filetype? And what is the current preview handler?
Windows preview uses a rather complicated mechanism to prevent this (and other stuff)
But not all preview handlers "play nice". You might try changing the preview handler for this type of files.
BTW: Which filetype? And what is the current preview handler?
Re: Random suspend when deleting a file
mostly on mp4 files, i'm using Icaros, but sometime also on other file formatsNotNull wrote: ↑Mon Jul 10, 2023 9:17 pm Previewing a file should not lock this file.
Windows preview uses a rather complicated mechanism to prevent this (and other stuff)
But not all preview handlers "play nice". You might try changing the preview handler for this type of files.
BTW: Which filetype? And what is the current preview handler?
i will find some updates or try another preview handler.
Thanks for the info