Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Catch situations where a loop runs forever #41

Open
XavierNCline opened this issue Jun 3, 2023 · 0 comments
Open

Catch situations where a loop runs forever #41

XavierNCline opened this issue Jun 3, 2023 · 0 comments

Comments

@XavierNCline
Copy link
Collaborator

This issue was brought to my attention when a user tried running Specify when their system was infected with a virus that incapacitated Windows Update in an unknown way: https://discord.com/channels/749314018837135390/750395566307016814/1114330300823109643

In both Specify and Get-Specs, the WMI call for HotFixes was getting jammed up either indefinitely or for a very long period of time. This was discovered after both Jim and I looked into where the problem was occurring. Below is the original log where it got caught. Jim made a dev build that tracked the WMI calls and found that to be taking a massive amount of time on hot fixes.

Something we should work towards is having a time out on any loops running so that the program doesn't hang in unexpected areas. Basically if the calls time out, add it as an issue and make note of it on Specified.

message (10).txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant