-
-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Bug: HASS.Agent keeps crashing #156
Comments
What version of Windows are you using? You can try the beta: https://github.com/LAB02-Research/HASS.Agent/releases/tag/2022.13.0-beta2 |
Windows 10. I'll try the beta. |
Same with me the app always disappear on taskbar. Im using windows 11. And already try the beta. |
I have the same issue :( I'm running windows 11. |
Beta isn't working either. |
That's a helpful log @Alderto1995, I'll look into it, thanks |
I've been experiencing crashing for a few months on my Windows 10 PC, sometimes it quits after a few seconds, sometimes it lasts a few hours or days before it terminates itself. No issues with my Windows 11 PC. I have just installed the latest 2022.13 beta 2 and it is still crashing. Event viewer shows the following:
And
My Windows version is 10 Pro 21H2 (19044.2006) |
Just tried installing this on my windows 10 machine and it opened fine the first time and then each time after that it just closes out when I try and click the icon in the system tray. Uninstalled and reinstalled and got the same thing. |
To everyone here; if I make a debug build, would you be willing to test it? It'll give some more info (hopefully) in the logs for me to work with. |
I'm willing. |
Same here |
Okay, great :) There are two things I'd like to try, the first is focussed on getting more info. Please download this debug build: https://shares.lab02-research.org/tests/156/hass.agent.zip And place it anywhere on your PC. You can then copy your current hass.agent's config dir, it should be located in Completely close the current running hass.agent instance, and launch the debug variant. As soon as it crashes, please send me the logs in the Note: after a reboot, the normal version will start. |
That is perfect thank you @cbarth3, I'll fix it |
I've published a new beta for you to test @cbarth3: https://shares.lab02-research.org/tests/156/hass.agent.zip In your case, it was because mqtt is disabled but the mediaplayer doesn't properly check that. So this might not be the fix for the rest (I did fix a few other things as well though, so worth a try). Let me know how it goes - if it crashes again, please send the new logs :) |
Thanks, |
The previous version is working for me now. I had uninstalled it previously, but reinstalled when you reached out. So I didn't try the beta version. Glad it's working for everyone now. |
Great! |
The latest one will stay running now and allow me to open the tray icon and adjust the settings. Now I just need to figure out why I can't connect to it from home assistant. |
Connect what exactly @cbarth3? |
|
I'm getting the same error as @slunat and have just run the debug build and it's crashed after which it's crashing on startup. I've included the log though the last thing logged is at 13:46:50 and Event Viewer shows the actual crash at 13:52:21 so I'm not sure it's going to help you? [2022-11-05] HASS.Agent_20221105.log From what I can ascertain via web search it points to some unmanaged code trying to access memory it shouldn't?
|
I'm not sure it helps but I guess more info can't hurt even if it's just documenting co-incidence. I could still run the normal version when the Beta was failing. I copied my configuration over again in case I'd tweaked anything and then I was able to run the Beta again, so I'll leave it running. I can see you're using a COM wrapper for Windows Update so I'm going to try removing that sensor to see if it helps. EDIT: It didn't help but removing all sensors has allowed me to run it, putting the file back crashes on startup. Process of elimination time! ... EDIT: No luck. I notice when it crashes on startup the cursor changes to a wait cursor shortly before the window disappears. |
Just a note that I noticed I was getting an error in my logs at a similar time, within 30s, of a crash:
I followed the guide linked below but using the IDs from my error message: I haven't had a crash since, but it might be too early to call it a solution. 🤞 EDIT: I've run both the beta and the normal version for a few hours each without a crash so this is definitely worth trying for others that may see similar entries around the time of the crash. |
Fixes implemented in the latest beta, closing this |
Sorry @hastarin completely missed your additions yesterday! Thank you for that, I'll add it to the docs :) |
I am experiencing essentially the exact symptoms as one of the others above ( #156 (comment) ), except I'm on version 14 instead of version 13. I am also on Windows 10. Given the version difference, I am hesitant to download the debug build that you created, since it isn't a fork from the version of the app that I'm running. How can I help solve this so it stops crashing? |
Whenever HASS.Agent starts it runs for a few seconds then crashes/disappears from task bar. I've tried uninstalling and reinstalling. Any suggestions to resolve this would be greatly appreciated.
The text was updated successfully, but these errors were encountered: