Watcher list disappeared
維護者通常 3 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 30/100
- Issue 類型
- 缺陷
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- visualbasic
研究方向
Start with CompactGUI.Core.Analyser.AnalyseFolder and follow the call path through GetAnalysedFilesAsync, Watcher.Analyse, ParseWatchers, and RunWatcher. Reproduce the failure around the reported .NET 9.0.11 update and determine how the missing System.Linq.Parallel assembly affects watcher processing. Done means the crash is handled or prevented and the watcher list is not lost.
由索引模型根據 Issue 內容生成。
描述
I used it for 20 days, someday the entire watcher list disappeared. I found this crash in Event Viewer:
Application: CompactGUI.exe
CoreCLR Version: 9.0.1025.47515
.NET Version: 9.0.10
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException:
File name: 'System.Linq.Parallel, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at CompactGUI.Core.Analyser.AnalyseFolder(CancellationToken cancellationToken)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at CompactGUI.Core.Analyser.AnalyseFolder(CancellationToken cancellationToken)
at CompactGUI.Core.Analyser.GetAnalysedFilesAsync(CancellationToken token)
at CompactGUI.Watcher.Watcher.Analyse(String folder, Boolean checkDiskModified, CancellationToken cToken)
at CompactGUI.Watcher.Watcher.ParseWatchers(Boolean ParseAll, CancellationToken cToken)
at CompactGUI.Watcher.Watcher.RunWatcher(Boolean runAll, CancellationToken cToken)
at CompactGUI.Watcher.Watcher.OnSystemIdle()
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---w
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at CompactGUI.Application.Main()
Time of the crash coincides with a Windows update 2025-11 .NET 9.0.11 Update for x64 Client (KB5071067). This suggests the update mechanism is not secure enough to not break apps. However, the watcher list being lost suggests another bug.
Windows 11 24H2 26100.7171
4.0 beta6
- 主要語言
- Visual Basic .NET
- 星號
- 8.9k
- 分支
- 343
- 平均合併
- 3 天 18 小時
- 30 天內合併 PR
- 7
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
IridiumIO/CompactGUI 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 76/100
IridiumIO/CompactGUI#699 ·
維護者通常 3 天內回覆
-
難度 2/5 1-3 小時 新手友好度 82/100
IridiumIO/CompactGUI#697 ·
維護者通常 3 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
IridiumIO/CompactGUI#696 ·
維護者通常 3 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
IridiumIO/CompactGUI#680 ·
維護者通常 3 天內回覆
-
難度 3/5 1-2 天 新手友好度 48/100
IridiumIO/CompactGUI#700 ·
維護者通常 3 天內回覆
查看 IridiumIO/CompactGUI 的全部 Issue
相似的 Issue
-
alerts bug effort:S P3
難度 2/5 1-3 小時 新手友好度 82/100
nightscout/nocturne#2505 ·
維護者通常 1 天內回覆
-
enhancement
難度 2/5 1-3 小時 新手友好度 72/100
-
bug internal-plugin pr-welcome upstream
難度 2/5 1-3 小時 新手友好度 78/100
dsh-tauri-desk/deepseek-harness-desktop#1225 · 1 則留言 ·
-
Settings clone badge under-counts nested agents可能已有人在做 @HerbertGao 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 78/100
msitarzewski/agency-agents-app#119 ·
維護者通常 1 天內回覆
-
enhancement
難度 2/5 1-3 小時 新手友好度 78/100