EverythingToolbar — Startup Hang / Crash: Analysis and Fix Report
Preflight Checklist
- I have fully read the README and it did not solve the problem.
- I have read the FAQ and it did not solve the problem.
- I have searched all open and closed issues for the same bug report without success.
EverythingToolbar Version
3.5.0.0
Variant
Taskbar search box / Launcher
Everything Version
1.4.1.895
Windows Version
Windows 11 Enterprise 10.0.26200
Steps to reproduce
See below
Expected Behavior
See below
Actual Behavior
================================================================================ EverythingToolbar — Startup Hang / Crash: Analysis and Fix Report ================================================================================
Report generated : 2026-09-30 Operating system : Windows 11 Enterprise 10.0.26200 Software version : EverythingToolbar 3.5.0.0 (.NET 8.0 / net8.0-windows / WPF) Install path : D:\EverythingToolbar Build : 1.0.0+93b7aded95abaac654a1b18371d35792ce810784
================================================================================
SYMPTOMS
After installation, launching the application made its window appear briefly and show "Not Responding", then the process died within about one second.
Five consecutive launches produced five crashes — a 100% reproduction rate, with not a single successful startup.
Log file location: %LOCALAPPDATA%\Temp\EverythingToolbar.log
Crash dump location: %LOCALAPPDATA%\CrashDumps\EverythingToolbar.Launcher.exe..dmp
Log chronology across launches (excerpt): 11:59:46.3696 |INFO |Launcher| EverythingToolbar 3.5.0.0 started. OS: ... 26200.0 11:59:47.3062 |ERROR|Launcher| Unhandled exception on UI thread |System.ArgumentOutOfRangeException... ^ only 0.94 seconds apart
The other four runs died at 0.80 / 0.91 / 0.83 / 0.80 seconds respectively, every one of them from the same exception.
================================================================================ 2. INVESTIGATION ================================================================================
--- Step 1: Read the log, identify the exception stack -------------------------
System.ArgumentOutOfRangeException: Not a valid Win32 FileTime. (Parameter 'fileTime')
at System.DateTime.FromFileTimeUtc(Int64 fileTime)
at System.DateTime.FromFileTime(Int64 fileTime)
at EverythingToolbar.Core.Data.SearchResult.get_HumanReadableDateModified()
in D:\a\EverythingToolbar\EverythingToolbar\EverythingToolbar.Core\Data\SearchResult.cs:line 35
at EverythingToolbar.Core.Data.SearchResult.PrintMembers(StringBuilder builder)
at EverythingToolbar.Core.Data.SearchResult.ToString()
at System.Windows.Automation.Peers.FrameworkElementAutomationPeer.GetNameCore()
at System.Windows.Automation.Peers.AutomationPeer.GetName()
at System.Windows.Automation.Peers.ItemAutomationPeer.GetNameCore()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.ContextLayoutManager.fireAutomationEvents()
at System.Windows.ContextLayoutManager.UpdateLayout()
...
at EverythingToolbar.Launcher.Launcher.Main(String[] args) in ...\Launcher.cs:line 295
Conclusion: the crash happened on the UI thread, caused by an unhandled exception.--- Step 2: Rule out the Everything backend (process of elimination) -----------
The initial strong suspicion was that the Everything search backend was
returning corrupt data. Each hypothesis was tested in turn:
(a) Is the official Everything installed?
- C:\Program Files\Everything\Everything.exe NOT PRESENT
- C:\Program Files (x86)\Everything\Everything.exe NOT PRESENT
- HKCU\Software\voidtools registry key NOT PRESENT
- Nothing from voidtools in the uninstall list
=> The official voidtools Everything is NOT installed on this machine.
(b) What is the Windows service actually named "Everything"?
Name : Everything
State : Running
PathName : "D:\HuoChat\hc_engine.exe" -svc
StartName : LocalSystem
D:\HuoChat\hc_engine.exe metadata:
FileDescription : Everything
ProductName : Everything
FileVersion : 1.4.1.895
The same folder also contains Everything.db / Everything.ini /
Everything.lng / Everything32.dll / "everything license.txt".
=> That service is a renamed copy of Everything 1.4.1.895 bundled with
HuoChat (火聊), running in service-only mode (-svc).
(c) Probe the backend directly via P/Invoke
Calling D:\EverythingToolbar\Everything64.dll (the Everything SDK) directly:
Everything_IsDBLoaded() -> True
Everything_SetRequestFlags(0x00006054)
Everything_QueryW(true) -> True
Everything_GetNumResults() -> 200000
Everything_GetResultDateModified() -> returns True for every row, dates all valid
Then, using the exact request flags EverythingToolbar itself uses
(0x00006054), all 200,000 results were scanned:
total results = 200000
BAD (out-of-range or failed date) = 0
=> The backend works perfectly and the data is 100% clean.
The invalid date value therefore does NOT come from the search engine.
(d) Additional checks
- Everything64.dll and the engine are the same version (1.4.1.895),
so there is no SDK/engine version mismatch.
- No Everything 1.5 named pipe exists on the system, so the application
can only use the legacy IPC client.
- An experiment forcing the legacy IPC client (IsForceLegacySdk) did not
stop the crash; that hypothesis was disproved and the experimental
setting was reverted.--- Step 3: Disassemble the binary to pinpoint the defect ----------------------
IL disassembly of SearchResult::get_HumanReadableDateModified in
D:\EverythingToolbar\EverythingToolbar.Core.dll:
IL_0000: ldarg.0
IL_0001: call SearchResult::get_DateModified()
IL_0002: ldfld FILETIME::dwHighDateTime <-- Int32 (SIGNED)
IL_0003: conv.i8 <-- SIGN-EXTENDS!
IL_0004: ldc.i4.s 32
IL_0005: shl
IL_0006: ldarg.0
IL_0007: call SearchResult::get_DateModified()
IL_0008: ldfld FILETIME::dwLowDateTime <-- Int32
IL_0009: conv.u8 <-- zero-extends
IL_000A: or
IL_000B: call System.DateTime::FromFileTime(System.Int64) <-- CRASH SITE
IL_000C: stloc.0
IL_000D: ldloca.s V_0
IL_000E: ldstr "g"
IL_000F: call System.DateTime::ToString(System.String)
IL_0010: ret
The defect is plainly visible.================================================================================ 3. ROOT CAUSE ================================================================================
In .NET, System.Runtime.InteropServices.ComTypes.FILETIME is defined with two SIGNED int fields:
public int dwLowDateTime;
public int dwHighDateTime;The source code (EverythingToolbar.Core/Data/SearchResult.cs, lines 39-40) reads:
long dateModified = ((long)DateModified.dwHighDateTime << 32)
| (uint)DateModified.dwLowDateTime;
return DateTime.FromFileTime(dateModified).ToString("g");When the most significant bit of dwHighDateTime is set (for example the invalid sentinel value 0xFFFFFFFF, i.e. -1), the IL instruction conv.i8 performs a SIGN EXTENSION, filling the upper 32 bits with ones. The combined long therefore becomes NEGATIVE.
DateTime.FromFileTime only accepts values in the range [0, 2650467743999999999]. Passing a negative value throws ArgumentOutOfRangeException.
The crucial point: this call has NO range validation whatsoever. By contrast, HumanReadableFileSize in the very same file IS guarded:
if (!IsFile || FileSize < 0)
return string.Empty; <-- guardedThe date property alone has no equivalent protection. This is an upstream defect.
--- The complete trigger chain ------------------------------------------------
WPF UI Automation calls ToString() on every item in the result list
in order to obtain its accessibility name
|
v
The C# record's compiler-generated PrintMembers() prints EVERY public property
(confirmed by disassembly: that method contains 105 instructions and really
does include the computed property HumanReadableDateModified, not merely the
primary-constructor parameters)
|
v
HumanReadableDateModified calls DateTime.FromFileTime()
|
v
An out-of-range value is passed in -> exception thrown -> unhandled on the UI
thread -> the process terminates immediately--- Why this stayed hidden ----------------------------------------------------
The code path is only reached when a UI Automation (UIA) client is present and ToString() therefore gets invoked. This makes it a LATENT DEFECT: harmless in normal operation, but guaranteed to detonate the moment UIA enumerates the result items.
--- About the "Not Responding" state ------------------------------------------
The window and taskbar components had only just been created and the UI thread had not yet entered its normal message loop when the unhandled exception interrupted it. From the user's perspective this appears as "hangs first, then vanishes".
================================================================================ 4. THE FIX ================================================================================
Because upstream has not fixed this defect (3.5.0 is already the latest release, and the file carries no protection on the develop branch either), a local binary patch was applied.
Tools used: Mono.Cecil 0.11.5 (net40 build) + Windows PowerShell 5.1
Target: D:\EverythingToolbar\EverythingToolbar.Core.dll Method: EverythingToolbar.Core.Data.SearchResult::get_HumanReadableDateModified
The patched logic, expressed in equivalent C#:
long ft = ((long)DateModified.dwHighDateTime << 32)
| (uint)DateModified.dwLowDateTime;
if (ft < 0 || ft > 2650467743999999999)
return ""; // out-of-range: degrade safely
return DateTime.FromFileTime(ft).ToString("g"); // only call it in rangeIn other words: FromFileTime is only invoked for values inside the legal range, and out-of-range values return an empty string instead of throwing.
The actual IL after patching:
IL_000B: stloc V_0
IL_000C: ldloc V_0
IL_000D: ldc.i8 0
IL_000E: blt <fallback> // if ft < 0 return ""
IL_000F: ldloc V_0
IL_0010: ldc.i8 2650467743999999999
IL_0011: bgt <fallback> // if ft > MAX return ""
IL_0012: ldloc V_0
IL_0013: call DateTime::FromFileTime(Int64) // in range only
...
<fallback>:
IL_0019: ldstr ""
IL_001A: retExactly one method was modified. The whole assembly was audited: across all six assemblies, FromFileTime appears at this single call site only, so there are no other landmines of this kind.
================================================================================ 5. VERIFICATION ================================================================================
Metric | Before fix | After fix
----------------------|-------------------|---------------------------
Uptime | ~0.8 seconds | 81+ seconds (still running)
Process responsiveness| Not responding | Responding = True
Visible window | Flashed briefly | Created normally
Log ERROR entries | 2 per crash | 0 new
New crash dumps | 1 per crash | 0To eliminate any confounding factors, the experimental IsForceLegacySdk setting was reverted to its original state, confirming that THE DLL PATCH ALONE is sufficient to fix the problem completely.
================================================================================ 6. FILE CHANGES AND ROLLBACK ================================================================================
File modified by this work: D:\EverythingToolbar\EverythingToolbar.Core.dll (patched)
Original file backup: D:\EverythingToolbar\EverythingToolbar.Core.dll.bak-before-fix
Patch script (retained, can be re-run): %LOCALAPPDATA%\Temp\etb-analyze\patch.ps1
--- How to roll back ---------------------------------------------------------- Rename EverythingToolbar.Core.dll.bak-before-fix over EverythingToolbar.Core.dll (and the crashes will return with it).
--- IMPORTANT ---------------------------------------------------------------- Do NOT update or reinstall EverythingToolbar casually! Upstream has not fixed this defect, so an update will overwrite the fixed file with the broken one and the crash will come back. If you ever upgrade, re-run patch.ps1 afterwards.
================================================================================ 7. ENVIRONMENT NOTES (not directly related to the crash, but worth knowing) ================================================================================
The official voidtools Everything is NOT installed on this machine. The Windows service named "Everything" actually points to:
D:\HuoChat\hc_engine.exe -svcThis is a renamed copy of Everything 1.4.1.895 bundled inside HuoChat (火聊), shipped alongside Everything.db / Everything.lng / everything license.txt and related files. Its own config D:\HuoChat\Everything.ini sets app_data=1, so the settings actually in effect live in %APPDATA%\Everything\Everything.ini.
Search currently works (a probe returned 200,000 results), but this is an unusual installation shape whose behaviour may differ from the official Everything.
The five drives indexed in D:\HuoChat\Everything.ini — H:, I:, J:, K:, X: — do not currently exist (they are not mounted), so the index may contain entries pointing at offline volumes. The drives that DO exist on this machine are: C, D, E, F, G, Y, Z.
EverythingToolbar's settings file is located at: %APPDATA%\EverythingToolbar\settings.ini It uses the Config.Net IniFile store: plain ASCII encoding, CRLF line endings, and the key name equals the property name. For example: IsForceLegacySdk=True maps to bool IsForceLegacySdk { get; set; }
For a more standard experience, installing the official voidtools Everything is recommended. Note that the "Everything" service name is currently taken by hc_engine.exe, which needs to be taken into account during installation.
================================================================================ 8. CLEANUP RECORD ================================================================================
Deleted (the dumps produced by this crash, 6 files, approx. 172 MB): %LOCALAPPDATA%\CrashDumps\EverythingToolbar.Launcher.exe.281200.dmp %LOCALAPPDATA%\CrashDumps\EverythingToolbar.Launcher.exe.292996.dmp %LOCALAPPDATA%\CrashDumps\EverythingToolbar.Launcher.exe.294224.dmp %LOCALAPPDATA%\CrashDumps\EverythingToolbar.Launcher.exe.298836.dmp %LOCALAPPDATA%\CrashDumps\EverythingToolbar.Launcher.exe.300308.dmp %LOCALAPPDATA%\CrashDumps\EverythingToolbar.Launcher.exe.303804.dmp
Retained (unrelated to this issue, left untouched): LauncherRSXRuntime.exe.290704.dmp approx. 0.6 MB QQ.exe.263300.dmp approx. 16.1 MB QQ.exe.274564.dmp approx. 16.5 MB QQ.exe.296976.dmp approx. 16.8 MB
================================================================================ END OF REPORT ================================================================================
Screenshots
No response
Log output
EverythingToolbar Crash Analysis and Fix Report.txt
Additional Information
No response
Final Checklist
- I have provided detailed, clear information in all required fields above and put genuine effort into this bug report.
Source: srwi/EverythingToolbar