luma
HHASS.Agent
•Created by luma on 2/16/2024 in #💬・get-help
HASS.Agent crashes on explorer.exe restart
Just installed 2.1.0-beta1 and the crash problem is resolved. Nice work!
33 replies
HHASS.Agent
•Created by luma on 2/16/2024 in #💬・get-help
HASS.Agent crashes on explorer.exe restart
23H2 Build 22631.3085
33 replies
HHASS.Agent
•Created by luma on 2/16/2024 in #💬・get-help
HASS.Agent crashes on explorer.exe restart
So now I can't restart explorer, and also can't track virtual desktops any more.
33 replies
HHASS.Agent
•Created by luma on 2/16/2024 in #💬・get-help
HASS.Agent crashes on explorer.exe restart
Attempting to add ActiveDesktop back to my config, I open New Sensor, select ActiveDesktop, then click Store Sensor and I get an error: "Virtual Desktop management is unavailable on your machine. Usually this is due to the virtual desktop management library not being update to support your version of Windows".
33 replies
HHASS.Agent
•Created by luma on 2/16/2024 in #💬・get-help
HASS.Agent crashes on explorer.exe restart
Now I have a new problem 😦
33 replies
HHASS.Agent
•Created by luma on 2/16/2024 in #💬・get-help
HASS.Agent crashes on explorer.exe restart
Allright, I disabled the ActiveDesktopSensor from my config, store and activate sensors, then restart explorer and HASS.Agent crashes. Restart H.A, check sensor config and find that the ActiveDesktop is not shown, restart explorer.exe again, H.A crashes again. Idea here was to try and get H.A to load without the VD stuff enabled to see if the behavior is any different, but no luck.
33 replies
HHASS.Agent
•Created by luma on 2/16/2024 in #💬・get-help
HASS.Agent crashes on explorer.exe restart
I am!
33 replies
HHASS.Agent
•Created by luma on 2/16/2024 in #💬・get-help
HASS.Agent crashes on explorer.exe restart
Then event 1001
Fault bucket 1335466257019559275, type 4
Event Name: APPCRASH
Response: Not available
Cab Id: 0
Problem signature:
P1: HASS.Agent.exe
P2: 2.0.2.0
P3: 65310000
P4: KERNELBASE.dll
P5: 10.0.22621.3085
P6: 98257e11
P7: e0434352
P8: 0000000000064d8c
P9:
P10:
Attached files:
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.41b892e6-9ebf-4c7c-aceb-962e55c0fbb5.tmp.dmp
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.6f192789-d5d5-4123-aff1-251e54bcea45.tmp.WERInternalMetadata.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.a4a850b6-8a30-4100-9b2a-6f33969efa49.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.ebc3a81f-4e9e-4db3-8b76-d1e6b8789b2d.tmp.txt
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.783e5d92-5f82-4b97-a16d-9cf438135ee2.tmp.xml
These files may be available here:
\\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_HASS.Agent.exe_63d6cb7ade4c289b7aaace6a2a06e56e06d7fe7_39a05308_6bee942e-9214-481c-bf8b-c82196f6ef70
Analysis symbol:
Rechecking for solution: 0
Report Id: e4856619-f88a-4475-b285-b08a424dfd83
Report Status: 268435456
Hashed bucket: 87988b784007f5569288877c332bdd6b
Cab Guid: 0
33 replies
HHASS.Agent
•Created by luma on 2/16/2024 in #💬・get-help
HASS.Agent crashes on explorer.exe restart
Then an event 1000:
Faulting application name: HASS.Agent.exe, version: 2.0.2.0, time stamp: 0x65310000
Faulting module name: KERNELBASE.dll, version: 10.0.22621.3085, time stamp: 0x98257e11
Exception code: 0xe0434352
Fault offset: 0x0000000000064d8c
Faulting process id: 0x0x4438
Faulting application start time: 0x0x1DA60D88D4183DE
Faulting application path: C:\Users\Allen\AppData\Local\HASS.Agent\Client\HASS.Agent.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: e4856619-f88a-4475-b285-b08a424dfd83
Faulting package full name:
Faulting package-relative application ID:
33 replies
HHASS.Agent
•Created by luma on 2/16/2024 in #💬・get-help
HASS.Agent crashes on explorer.exe restart
<continued>
at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(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)
33 replies
HHASS.Agent
•Created by luma on 2/16/2024 in #💬・get-help
HASS.Agent crashes on explorer.exe restart
Event ID 1026
Application: HASS.Agent.exe
CoreCLR Version: 6.0.2724.6912
.NET Version: 6.0.27
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidCastException: Specified cast is not valid.
at WindowsDesktop.Interop.IServiceProvider.QueryService(Guid& guidService, Guid& riid)
at WindowsDesktop.Interop.ComInterfaceAssembly.CreateInstance(Type type, Nullable
1 guidService)
at WindowsDesktop.Interop.ComInterfaceAssembly.CreateInstance(String comInterfaceName, Guid clsid)
at WindowsDesktop.Interop.ComWrapperBase1..ctor(ComInterfaceAssembly assembly, Guid clsid)
at WindowsDesktop.Interop.Build22621.VirtualDesktopManagerInternal..ctor(ComInterfaceAssembly assembly, ComWrapperFactory factory)
at WindowsDesktop.Interop.Build22621.VirtualDesktopProvider22621.InitializeCore(ComInterfaceAssembly assembly)
at WindowsDesktop.Interop.VirtualDesktopProvider.Initialize(ComInterfaceAssembly assembly)
at WindowsDesktop.VirtualDesktop.InitializeCore()
at WindowsDesktop.VirtualDesktop.HandleExplorerRestarted()
at WindowsDesktop.VirtualDesktop.<>c.<.cctor>b__77_0()
at WindowsDesktop.Utils.ExplorerRestartListenerWindow.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
33 replies
HHASS.Agent
•Created by luma on 1/1/2024 in #💬・get-help
2.0.1 crashes when switching virtual desktops
@Amadeo my man! works a treat. no more crashes when desktop sensor is not enabled and i switch vdesktops, then enabling the sensor it's correctly updating the desk UUID on switch (and still not crashing). everything working like i'd expect it to, and man what a fast turnaround. thanks!
72 replies
HHASS.Agent
•Created by luma on 1/1/2024 in #💬・get-help
2.0.1 crashes when switching virtual desktops
helps that i have 128GB DDR5 and a 13900k 😄
72 replies
HHASS.Agent
•Created by luma on 1/1/2024 in #💬・get-help
2.0.1 crashes when switching virtual desktops
every other week or so.
72 replies
HHASS.Agent
•Created by luma on 1/1/2024 in #💬・get-help
2.0.1 crashes when switching virtual desktops
What VD I have active at any given moment is a good proxy for what mode of work i'm engaged in.
72 replies
HHASS.Agent
•Created by luma on 1/1/2024 in #💬・get-help
2.0.1 crashes when switching virtual desktops
One of my VDs is for media (flip over to a desktop for some youtubes while I wait for something at work) and it'd be nice to control audio sources and dim lights in response. When on work VD, turn off the lights in my workshop behind me so that when I jump on a Teams call it isn't super obvious that I've just been standing at my bench wrenching on shit instead of working, things like that 😄
72 replies
HHASS.Agent
•Created by luma on 1/1/2024 in #💬・get-help
2.0.1 crashes when switching virtual desktops
I'll note that virtual desktops are really handy if you have 3 monitors too 😄 it's a nice way to separate different tasks, I have a vdesktop for work stuff, for home stuff, for dev stuff, and for cad stuff. Being able to know which one is active would be crazy useful for me as I have different things I do and use when each desktop is active. Looking forward to this feature!
72 replies
HHASS.Agent
•Created by luma on 1/1/2024 in #💬・get-help
2.0.1 crashes when switching virtual desktops
Win 11 Enterprise Version 23H2 OS Build 22631.3007
72 replies
HHASS.Agent
•Created by luma on 1/1/2024 in #💬・get-help
2.0.1 crashes when switching virtual desktops
Found enable extended logging. One thing I note is that virtual desktop support is being loaded per the logs despite me not having the virtual desktop sensor loaded. Not sure if that's normal or not. I also note that there is a Windows event 1001 that always follows event 1000:
72 replies
HHASS.Agent
•Created by luma on 1/1/2024 in #💬・get-help
2.0.1 crashes when switching virtual desktops
So I've gone and disabled the vdesktop sensor and... same result. Any time I change desktops HASS.Agent crashes.
72 replies