CmdPal: all apps fails to load, `WaitAll`
Microsoft PowerToys version
0.90.0
Installation method
WinGet, PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
Command Palette
Steps to reproduce
Step 1: Turn off then turn on Command Palette Step 2: Open Command Palette (via keyboard shortcut or icon). No error shown yet.
Step 3 (option 1): Start typing
Step 3 (or option 2): Pressing Enter (on All apps).
✔️ Expected Behavior
None error, able to use normally.
❌ Actual Behavior
Error(s) on page:
A bug occurred in the "All Apps" extension's code:
One or more errors occurred. (One or more errors occurred. ())
System.Private.CoreLib
at System.Threading.Tasks.Task.WaitAllCore(ReadOnlySpan1 tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.WaitAll(ReadOnlySpan1 tasks)
at Microsoft.CmdPal.Ext.Apps.AppCache..ctor()
at Microsoft.CmdPal.Ext.Apps.AppCache.<>c.<.cctor>b__15_0()
at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) --- End of stack trace from previous location --- at System.Lazy1.CreateValue()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetPrograms()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.BuildListItems()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetItems()
at Microsoft.CmdPal.UI.ViewModels.ListViewModel.FetchItems()
at Microsoft.CmdPal.UI.ViewModels.ListViewModel.InitializeProperties()
at Microsoft.CmdPal.UI.ViewModels.PageViewModel.InitializeAsync()
A bug occurred in the "All Apps" extension's code:
One or more errors occurred. (One or more errors occurred. ())
System.Private.CoreLib
at System.Threading.Tasks.Task.WaitAllCore(ReadOnlySpan1 tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.WaitAll(ReadOnlySpan1 tasks)
at Microsoft.CmdPal.Ext.Apps.AppCache..ctor()
at Microsoft.CmdPal.Ext.Apps.AppCache.<>c.<.cctor>b__15_0()
at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) --- End of stack trace from previous location --- at System.Lazy1.CreateValue()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetPrograms()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.BuildListItems()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetItems()
at Microsoft.CmdPal.UI.ViewModels.ListViewModel.FetchItems()
at Microsoft.CmdPal.UI.ViewModels.ListViewModel.InitializeProperties()
at Microsoft.CmdPal.UI.ViewModels.PageViewModel.InitializeAsync()
Error(s) on page:
A bug occurred in the "" extension's code:
One or more errors occurred. (One or more errors occurred. ())
System.Private.CoreLib
at System.Threading.Tasks.Task.WaitAllCore(ReadOnlySpan1 tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.WaitAll(ReadOnlySpan1 tasks)
at Microsoft.CmdPal.Ext.Apps.AppCache..ctor()
at Microsoft.CmdPal.Ext.Apps.AppCache.<>c.<.cctor>b__15_0()
at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) --- End of stack trace from previous location --- at System.Lazy1.CreateValue()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetPrograms()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.BuildListItems()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetItems()
at Microsoft.CmdPal.UI.ViewModels.MainPage.MainListPage.UpdateSearchText(String oldSearch, String newSearch)
at Microsoft.CmdPal.UI.ViewModels.ListViewModel.<>c__DisplayClass40_0.<OnFilterUpdated>b__0()
A bug occurred in the "" extension's code:
One or more errors occurred. (One or more errors occurred. ())
System.Private.CoreLib
at System.Threading.Tasks.Task.WaitAllCore(ReadOnlySpan1 tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.WaitAll(ReadOnlySpan1 tasks)
at Microsoft.CmdPal.Ext.Apps.AppCache..ctor()
at Microsoft.CmdPal.Ext.Apps.AppCache.<>c.<.cctor>b__15_0()
at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) --- End of stack trace from previous location --- at System.Lazy1.CreateValue()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetPrograms()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.BuildListItems()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetItems()
at Microsoft.CmdPal.UI.ViewModels.MainPage.MainListPage.UpdateSearchText(String oldSearch, String newSearch)
at Microsoft.CmdPal.UI.ViewModels.ListViewModel.<>c__DisplayClass40_0.<OnFilterUpdated>b__0()
A bug occurred in the "" extension's code:
One or more errors occurred. (One or more errors occurred. ())
System.Private.CoreLib
at System.Threading.Tasks.Task.WaitAllCore(ReadOnlySpan1 tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.WaitAll(ReadOnlySpan1 tasks)
at Microsoft.CmdPal.Ext.Apps.AppCache..ctor()
at Microsoft.CmdPal.Ext.Apps.AppCache.<>c.<.cctor>b__15_0()
at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) --- End of stack trace from previous location --- at System.Lazy1.CreateValue()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetPrograms()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.BuildListItems()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetItems()
at Microsoft.CmdPal.UI.ViewModels.MainPage.MainListPage.UpdateSearchText(String oldSearch, String newSearch)
at Microsoft.CmdPal.UI.ViewModels.ListViewModel.<>c__DisplayClass40_0.<OnFilterUpdated>b__0()
A bug occurred in the "" extension's code:
One or more errors occurred. (One or more errors occurred. ())
System.Private.CoreLib
at System.Threading.Tasks.Task.WaitAllCore(ReadOnlySpan1 tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.WaitAll(ReadOnlySpan1 tasks)
at Microsoft.CmdPal.Ext.Apps.AppCache..ctor()
at Microsoft.CmdPal.Ext.Apps.AppCache.<>c.<.cctor>b__15_0()
at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) --- End of stack trace from previous location --- at System.Lazy1.CreateValue()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetPrograms()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.BuildListItems()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetItems()
at Microsoft.CmdPal.UI.ViewModels.MainPage.MainListPage.UpdateSearchText(String oldSearch, String newSearch)
at Microsoft.CmdPal.UI.ViewModels.ListViewModel.<>c__DisplayClass40_0.<OnFilterUpdated>b__0()
A bug occurred in the "" extension's code:
One or more errors occurred. (One or more errors occurred. ())
System.Private.CoreLib
at System.Threading.Tasks.Task.WaitAllCore(ReadOnlySpan1 tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.WaitAll(ReadOnlySpan1 tasks)
at Microsoft.CmdPal.Ext.Apps.AppCache..ctor()
at Microsoft.CmdPal.Ext.Apps.AppCache.<>c.<.cctor>b__15_0()
at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) --- End of stack trace from previous location --- at System.Lazy1.CreateValue()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetPrograms()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.BuildListItems()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetItems()
at Microsoft.CmdPal.UI.ViewModels.MainPage.MainListPage.UpdateSearchText(String oldSearch, String newSearch)
at Microsoft.CmdPal.UI.ViewModels.ListViewModel.<>c__DisplayClass40_0.<OnFilterUpdated>b__0()
A bug occurred in the "" extension's code:
One or more errors occurred. (One or more errors occurred. ())
System.Private.CoreLib
at System.Threading.Tasks.Task.WaitAllCore(ReadOnlySpan1 tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.WaitAll(ReadOnlySpan1 tasks)
at Microsoft.CmdPal.Ext.Apps.AppCache..ctor()
at Microsoft.CmdPal.Ext.Apps.AppCache.<>c.<.cctor>b__15_0()
at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) --- End of stack trace from previous location --- at System.Lazy1.CreateValue()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetPrograms()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.BuildListItems()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetItems()
at Microsoft.CmdPal.UI.ViewModels.MainPage.MainListPage.UpdateSearchText(String oldSearch, String newSearch)
at Microsoft.CmdPal.UI.ViewModels.ListViewModel.<>c__DisplayClass40_0.<OnFilterUpdated>b__0()
A bug occurred in the "" extension's code:
One or more errors occurred. (One or more errors occurred. ())
System.Private.CoreLib
at System.Threading.Tasks.Task.WaitAllCore(ReadOnlySpan1 tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.WaitAll(ReadOnlySpan1 tasks)
at Microsoft.CmdPal.Ext.Apps.AppCache..ctor()
at Microsoft.CmdPal.Ext.Apps.AppCache.<>c.<.cctor>b__15_0()
at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) --- End of stack trace from previous location --- at System.Lazy1.CreateValue()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetPrograms()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.BuildListItems()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetItems()
at Microsoft.CmdPal.UI.ViewModels.MainPage.MainListPage.UpdateSearchText(String oldSearch, String newSearch)
at Microsoft.CmdPal.UI.ViewModels.ListViewModel.<>c__DisplayClass40_0.<OnFilterUpdated>b__0()
A bug occurred in the "" extension's code:
One or more errors occurred. (One or more errors occurred. ())
System.Private.CoreLib
at System.Threading.Tasks.Task.WaitAllCore(ReadOnlySpan1 tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.WaitAll(ReadOnlySpan1 tasks)
at Microsoft.CmdPal.Ext.Apps.AppCache..ctor()
at Microsoft.CmdPal.Ext.Apps.AppCache.<>c.<.cctor>b__15_0()
at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) --- End of stack trace from previous location --- at System.Lazy1.CreateValue()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetPrograms()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.BuildListItems()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetItems()
at Microsoft.CmdPal.UI.ViewModels.MainPage.MainListPage.UpdateSearchText(String oldSearch, String newSearch)
at Microsoft.CmdPal.UI.ViewModels.ListViewModel.<>c__DisplayClass40_0.<OnFilterUpdated>b__0()
A bug occurred in the "" extension's code:
One or more errors occurred. (One or more errors occurred. ())
System.Private.CoreLib
at System.Threading.Tasks.Task.WaitAllCore(ReadOnlySpan1 tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.WaitAll(ReadOnlySpan1 tasks)
at Microsoft.CmdPal.Ext.Apps.AppCache..ctor()
at Microsoft.CmdPal.Ext.Apps.AppCache.<>c.<.cctor>b__15_0()
at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) --- End of stack trace from previous location --- at System.Lazy1.CreateValue()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetPrograms()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.BuildListItems()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetItems()
at Microsoft.CmdPal.UI.ViewModels.MainPage.MainListPage.UpdateSearchText(String oldSearch, String newSearch)
at Microsoft.CmdPal.UI.ViewModels.ListViewModel.<>c__DisplayClass40_0.<OnFilterUpdated>b__0()
A bug occurred in the "" extension's code:
One or more errors occurred. (One or more errors occurred. ())
System.Private.CoreLib
at System.Threading.Tasks.Task.WaitAllCore(ReadOnlySpan1 tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.WaitAll(ReadOnlySpan1 tasks)
at Microsoft.CmdPal.Ext.Apps.AppCache..ctor()
at Microsoft.CmdPal.Ext.Apps.AppCache.<>c.<.cctor>b__15_0()
at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) --- End of stack trace from previous location --- at System.Lazy1.CreateValue()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetPrograms()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.BuildListItems()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetItems()
at Microsoft.CmdPal.UI.ViewModels.MainPage.MainListPage.UpdateSearchText(String oldSearch, String newSearch)
at Microsoft.CmdPal.UI.ViewModels.ListViewModel.<>c__DisplayClass40_0.<OnFilterUpdated>b__0()
A bug occurred in the "" extension's code:
One or more errors occurred. (One or more errors occurred. ())
System.Private.CoreLib
at System.Threading.Tasks.Task.WaitAllCore(ReadOnlySpan1 tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.WaitAll(ReadOnlySpan1 tasks)
at Microsoft.CmdPal.Ext.Apps.AppCache..ctor()
at Microsoft.CmdPal.Ext.Apps.AppCache.<>c.<.cctor>b__15_0()
at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) --- End of stack trace from previous location --- at System.Lazy1.CreateValue()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetPrograms()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.BuildListItems()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetItems()
at Microsoft.CmdPal.UI.ViewModels.MainPage.MainListPage.UpdateSearchText(String oldSearch, String newSearch)
at Microsoft.CmdPal.UI.ViewModels.ListViewModel.<>c__DisplayClass40_0.<OnFilterUpdated>b__0()
A bug occurred in the "" extension's code:
One or more errors occurred. (One or more errors occurred. ())
System.Private.CoreLib
at System.Threading.Tasks.Task.WaitAllCore(ReadOnlySpan1 tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.WaitAll(ReadOnlySpan1 tasks)
at Microsoft.CmdPal.Ext.Apps.AppCache..ctor()
at Microsoft.CmdPal.Ext.Apps.AppCache.<>c.<.cctor>b__15_0()
at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) --- End of stack trace from previous location --- at System.Lazy1.CreateValue()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetPrograms()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.BuildListItems()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetItems()
at Microsoft.CmdPal.UI.ViewModels.MainPage.MainListPage.UpdateSearchText(String oldSearch, String newSearch)
at Microsoft.CmdPal.UI.ViewModels.ListViewModel.<>c__DisplayClass40_0.<OnFilterUpdated>b__0()
A bug occurred in the "" extension's code:
One or more errors occurred. (One or more errors occurred. ())
System.Private.CoreLib
at System.Threading.Tasks.Task.WaitAllCore(ReadOnlySpan1 tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.WaitAll(ReadOnlySpan1 tasks)
at Microsoft.CmdPal.Ext.Apps.AppCache..ctor()
at Microsoft.CmdPal.Ext.Apps.AppCache.<>c.<.cctor>b__15_0()
at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) --- End of stack trace from previous location --- at System.Lazy1.CreateValue()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetPrograms()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.BuildListItems()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetItems()
at Microsoft.CmdPal.UI.ViewModels.MainPage.MainListPage.UpdateSearchText(String oldSearch, String newSearch)
at Microsoft.CmdPal.UI.ViewModels.ListViewModel.<>c__DisplayClass40_0.<OnFilterUpdated>b__0()
Other Software
No response
Huh. Definitely weird. Something clearly threw an exception while we were trying to load all the apps, but the exception got eaten by the WaitAll.
I'm not sure we've got great logging on this scenario. I bet for 0.2 we could get a log statement around there, to at least know what threw the exception.
Have version 0.2 has any method of logging? I updated my PowerToys today, but the bug still occur.
Error(s) on page:
A bug occurred in the "All Apps" extension's code:
One or more errors occurred. (One or more errors occurred. ())
System.Private.CoreLib
at System.Threading.Tasks.Task.WaitAllCore(ReadOnlySpan1 tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.WaitAll(ReadOnlySpan1 tasks)
at Microsoft.CmdPal.Ext.Apps.AppCache..ctor()
at Microsoft.CmdPal.Ext.Apps.AppCache.<>c.<.cctor>b__15_0()
at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) --- End of stack trace from previous location --- at System.Lazy1.CreateValue()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetPrograms()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.BuildListItems()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetItems()
at Microsoft.CmdPal.UI.ViewModels.ListViewModel.FetchItems()
at Microsoft.CmdPal.UI.ViewModels.ListViewModel.InitializeProperties()
at Microsoft.CmdPal.UI.ViewModels.PageViewModel.InitializeAsync()
A bug occurred in the "All Apps" extension's code:
One or more errors occurred. (One or more errors occurred. ())
System.Private.CoreLib
at System.Threading.Tasks.Task.WaitAllCore(ReadOnlySpan1 tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.WaitAll(ReadOnlySpan1 tasks)
at Microsoft.CmdPal.Ext.Apps.AppCache..ctor()
at Microsoft.CmdPal.Ext.Apps.AppCache.<>c.<.cctor>b__15_0()
at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) --- End of stack trace from previous location --- at System.Lazy1.CreateValue()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetPrograms()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.BuildListItems()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetItems()
at Microsoft.CmdPal.UI.ViewModels.ListViewModel.FetchItems()
at Microsoft.CmdPal.UI.ViewModels.ListViewModel.InitializeProperties()
at Microsoft.CmdPal.UI.ViewModels.PageViewModel.InitializeAsync()
A bug occurred in the "All Apps" extension's code:
One or more errors occurred. (One or more errors occurred. ())
System.Private.CoreLib
at System.Threading.Tasks.Task.WaitAllCore(ReadOnlySpan1 tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.WaitAll(ReadOnlySpan1 tasks)
at Microsoft.CmdPal.Ext.Apps.AppCache..ctor()
at Microsoft.CmdPal.Ext.Apps.AppCache.<>c.<.cctor>b__15_0()
at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) --- End of stack trace from previous location --- at System.Lazy1.CreateValue()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetPrograms()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.BuildListItems()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetItems()
at Microsoft.CmdPal.UI.ViewModels.ListViewModel.FetchItems()
at Microsoft.CmdPal.UI.ViewModels.ListViewModel.InitializeProperties()
at Microsoft.CmdPal.UI.ViewModels.PageViewModel.InitializeAsync()
A bug occurred in the "All Apps" extension's code:
One or more errors occurred. (One or more errors occurred. ())
System.Private.CoreLib
at System.Threading.Tasks.Task.WaitAllCore(ReadOnlySpan1 tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.WaitAll(ReadOnlySpan1 tasks)
at Microsoft.CmdPal.Ext.Apps.AppCache..ctor()
at Microsoft.CmdPal.Ext.Apps.AppCache.<>c.<.cctor>b__15_0()
at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) --- End of stack trace from previous location --- at System.Lazy1.CreateValue()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetPrograms()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.BuildListItems()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetItems()
at Microsoft.CmdPal.UI.ViewModels.ListViewModel.FetchItems()
at Microsoft.CmdPal.UI.ViewModels.ListViewModel.InitializeProperties()
at Microsoft.CmdPal.UI.ViewModels.PageViewModel.InitializeAsync()
Is there a know work around for this. I can disable every single extension and the problem still persists.
Error(s) on page:
A bug occurred in the "" extension's code:
One or more errors occurred. (One or more errors occurred. ())
System.Private.CoreLib
at System.Threading.Tasks.Task.WaitAllCore(ReadOnlySpan`1 tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.WaitAll(ReadOnlySpan`1 tasks)
at Microsoft.CmdPal.Ext.Apps.AppCache..ctor()
at Microsoft.CmdPal.Ext.Apps.AppCache.<>c.<.cctor>b__15_0()
at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
--- End of stack trace from previous location ---
at System.Lazy`1.CreateValue()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetPrograms()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.BuildListItems()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetItems()
at Microsoft.CmdPal.UI.ViewModels.MainPage.MainListPage.UpdateSearchText(String oldSearch, String newSearch)
at Microsoft.CmdPal.UI.ViewModels.ListViewModel.<>c__DisplayClass45_0.<OnFilterUpdated>b__0()
Struggling with this for like good few months, PT v0.92 Is this something about very specific system setup? I can't boil it down to any outlier, as person above, also tried no extensions on.
Same issue for me:
Error(s) on page:
A bug occurred in the "" extension's code:
One or more errors occurred. (One or more errors occurred. ())
System.Private.CoreLib
at System.Threading.Tasks.Task.WaitAllCore(ReadOnlySpan1 tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.WaitAll(ReadOnlySpan1 tasks)
at Microsoft.CmdPal.Ext.Apps.AppCache..ctor()
at Microsoft.CmdPal.Ext.Apps.AppCache.<>c.<.cctor>b__15_0()
at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) --- End of stack trace from previous location --- at System.Lazy1.CreateValue()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetPrograms()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.BuildListItems()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetItems()
at Microsoft.CmdPal.UI.ViewModels.MainPage.MainListPage.UpdateSearchText(String oldSearch, String newSearch)
at Microsoft.CmdPal.UI.ViewModels.ListViewModel.<>c__DisplayClass45_0.<OnFilterUpdated>b__0()
A bug occurred in the "" extension's code:
One or more errors occurred. (One or more errors occurred. ())
System.Private.CoreLib
at System.Threading.Tasks.Task.WaitAllCore(ReadOnlySpan1 tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.WaitAll(ReadOnlySpan1 tasks)
at Microsoft.CmdPal.Ext.Apps.AppCache..ctor()
at Microsoft.CmdPal.Ext.Apps.AppCache.<>c.<.cctor>b__15_0()
at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) --- End of stack trace from previous location --- at System.Lazy1.CreateValue()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetPrograms()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.BuildListItems()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetItems()
at Microsoft.CmdPal.UI.ViewModels.MainPage.MainListPage.UpdateSearchText(String oldSearch, String newSearch)
at Microsoft.CmdPal.UI.ViewModels.ListViewModel.<>c__DisplayClass45_0.<OnFilterUpdated>b__0()
A bug occurred in the "" extension's code:
One or more errors occurred. (One or more errors occurred. ())
System.Private.CoreLib
at System.Threading.Tasks.Task.WaitAllCore(ReadOnlySpan1 tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.WaitAll(ReadOnlySpan1 tasks)
at Microsoft.CmdPal.Ext.Apps.AppCache..ctor()
at Microsoft.CmdPal.Ext.Apps.AppCache.<>c.<.cctor>b__15_0()
at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) --- End of stack trace from previous location --- at System.Lazy1.CreateValue()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetPrograms()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.BuildListItems()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetItems()
at Microsoft.CmdPal.UI.ViewModels.MainPage.MainListPage.UpdateSearchText(String oldSearch, String newSearch)
at Microsoft.CmdPal.UI.ViewModels.ListViewModel.<>c__DisplayClass45_0.<OnFilterUpdated>b__0()
Still appening in 0.92.1
Is there a know work around for this. I can disable every single extension and the problem still persists.
Doesn't seem like it so far. I have tried wiping configs, disabling everything, trying both machine-wide and local install.
Here's the error on PowerToys v0.92.1
Error(s) on page: A bug occurred in the "" extension's code: One or more errors occurred. (One or more errors occurred. ()) System.Private.CoreLib at System.Threading.Tasks.Task.WaitAllCore(ReadOnlySpan1 tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.WaitAll(ReadOnlySpan1 tasks) at Microsoft.CmdPal.Ext.Apps.AppCache..ctor() at Microsoft.CmdPal.Ext.Apps.AppCache.<>c.<.cctor>b__15_0() at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode)
--- End of stack trace from previous location ---
at System.Lazy`1.CreateValue()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetPrograms()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.BuildListItems()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetItems()
at Microsoft.CmdPal.UI.ViewModels.MainPage.MainListPage.UpdateSearchText(String oldSearch, String newSearch)
at Microsoft.CmdPal.UI.ViewModels.ListViewModel.<>c__DisplayClass45_0.<OnFilterUpdated>b__0()
A bug occurred in the "" extension's code:
One or more errors occurred. (One or more errors occurred. ())
System.Private.CoreLib
at System.Threading.Tasks.Task.WaitAllCore(ReadOnlySpan1 tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.WaitAll(ReadOnlySpan1 tasks)
at Microsoft.CmdPal.Ext.Apps.AppCache..ctor()
at Microsoft.CmdPal.Ext.Apps.AppCache.<>c.<.cctor>b__15_0()
at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) --- End of stack trace from previous location --- at System.Lazy1.CreateValue()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetPrograms()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.BuildListItems()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetItems()
at Microsoft.CmdPal.UI.ViewModels.MainPage.MainListPage.UpdateSearchText(String oldSearch, String newSearch)
at Microsoft.CmdPal.UI.ViewModels.ListViewModel.<>c__DisplayClass45_0.<OnFilterUpdated>b__0()
A bug occurred in the "" extension's code:
One or more errors occurred. (One or more errors occurred. ())
System.Private.CoreLib
at System.Threading.Tasks.Task.WaitAllCore(ReadOnlySpan1 tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.WaitAll(ReadOnlySpan1 tasks)
at Microsoft.CmdPal.Ext.Apps.AppCache..ctor()
at Microsoft.CmdPal.Ext.Apps.AppCache.<>c.<.cctor>b__15_0()
at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) --- End of stack trace from previous location --- at System.Lazy1.CreateValue()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetPrograms()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.BuildListItems()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetItems()
at Microsoft.CmdPal.UI.ViewModels.MainPage.MainListPage.UpdateSearchText(String oldSearch, String newSearch)
at Microsoft.CmdPal.UI.ViewModels.ListViewModel.<>c__DisplayClass45_0.<OnFilterUpdated>b__0()
A bug occurred in the "" extension's code:
One or more errors occurred. (One or more errors occurred. ())
System.Private.CoreLib
at System.Threading.Tasks.Task.WaitAllCore(ReadOnlySpan1 tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.WaitAll(ReadOnlySpan1 tasks)
at Microsoft.CmdPal.Ext.Apps.AppCache..ctor()
at Microsoft.CmdPal.Ext.Apps.AppCache.<>c.<.cctor>b__15_0()
at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) --- End of stack trace from previous location --- at System.Lazy1.CreateValue()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetPrograms()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.BuildListItems()
at Microsoft.CmdPal.Ext.Apps.AllAppsPage.GetItems()
at Microsoft.CmdPal.UI.ViewModels.MainPage.MainListPage.UpdateSearchText(String oldSearch, String newSearch)
at Microsoft.CmdPal.UI.ViewModels.ListViewModel.<>c__DisplayClass45_0.<OnFilterUpdated>b__0()
`
Some additional error logging logic was added a week or so ago. That should land in the next release so we can track this down. Thanks for the continued input.
@cjlwo, @roberto-gigli, @PixelHir, @ibuildthecloud, @btdat2506, still happening on 0.94?
/needinfo
Has stopped crashing in the current version.
@cjlwo, @roberto-gigli, @PixelHir, @ibuildthecloud, @btdat2506, still happening on 0.94?
I can confirm that with 0.94 the error no longer appears! thank you! i will keep you updated if anything regarding this occurs again.
@cjlwo, @roberto-gigli, @PixelHir, @ibuildthecloud, @btdat2506, still happening on 0.94?
I can also confirm that that the error isn't happening anymore on 0.94