-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
PowerToys Run crashes upon entering a character #17710
Comments
This issue is also in reference to earlier #17132 |
Thanks for opening this issue. Then at the Window the error seems to be "Not enough quota is available to process this command", indicating there might be too much memory being spent. So this happens always and reliably with the same query? (Microsoft) Could you please monitor Resource Monitor to check if the memory just keeps growing in a strange way? This is the stacktrace which seems to cause the original exception:
|
Yes, if I have the "Program" plugin enabled, the string "Microsoft" causes the crash reliably. It's not the only such string though, for an example "Adobe" triggers it as well. Disabling the "Program" plugin prevents this; the issue clearly seems to be related to displaying the results themselves, as for an example trying to calculate "1+1" (or any other valid calculation) also triggers the crash. The memory usage does not seem to very meaningfully. Upon opening the prompt, PowerToys Run uses in around 100MB of RAM ("Commit (KB)"), and triggering the crash doesn't significantly affect this; it goes up by a megabyte or two, but I also saw it decrease by similar amounts as well.
This seems extremely plausible, since the conditions wherein the crash occurs, also has explorer.exe (or some other shell related component) a bit "stuck", it being quite unresponsive in terms of file system operations such as moving, copying or deleting files, and Windows Explorer also being unable to generate or display any new thumbnails. This is a common occurrence with Windows however, and previously PowerToys Run was not affected (nor was Wox, which I had been using for a long time prior, which I understand is the bases for PowerToys Run). |
The calculator tidbit is interesting. Does it also occur if you use the activation keyword |
Yes, this is exactly the behavior. If I remove both from the global results, the strings "1+1" or "Microsoft" don't trigger the crash, but using the respective activation prefixes for both still do (i.e. "=1+1" or ".Microsoft"). |
I don't have much to contribute but I'm also encountering this exact issue. Typing a variable number of characters soft-crashes the launcher. Info: I have two suspicious things in my logs: Image loading exception:
Some program indexing failures (don't seem to be fatal but uh, just in case?)
|
@BlackHoleFox , Thanks for the added info. Any chance you can try to backup "C:\Music<Soundtrack Folder Name>" into a zip file and check if that makes the error go away while that folder is not there? You can extract it back afterwards. |
I haven't been able to reproduce this for a bit but if it starts happening again consistently I'll try it. |
@armak , Does 0.59.1 make this better? /needinfo |
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 5 days. It will be closed if no further activity occurs within 5 days of this comment. |
Microsoft PowerToys version
"0.57.2"
Running as admin
Area(s) with issue?
PowerToys Run
Steps to reproduce
✔️ Expected Behavior
I expect to be able to enter the next character.
❌ Actual Behavior
PowerToys Run freezes ("stops responding") immediately.
I should note though that this seems to not strictly be tied to character entry, but something in the query handling system locking up under specific conditions. For an example, if I copy the text "GitHub" onto my clipboard and paste it into PowerToys Run, that does not trigger this behavior, and I can freely continue entering text in it. However, if I start erasing characters, once I get down to just to the prompt just containing "Git", PowerToys Run freezes. Similarly, if I copy paste the string "Microsoft" into the prompt, it just freezes immediately.
If I disable the "Program" plugin for PowerToys Run, then I'm able to enter any three characters until it freezes upon entering the third.
This behavior also doesn't occur immediately. After restarting my PC, it takes hours, or possibly days for this behavior to start occurring, and cannot be avoided until the system is once again restarted. I also use PowerToys Run in the same configuration on two other PCs, on which I haven't been able to replicate the issue.
PowerToysReport_2022-04-13-01-14-42.zip
Event viewer "Error" example:
Here's also two dump files I managed to create earlier (they seem to only spawn very sporadically, and not consistently when this crash occurs).
PowerToys.PowerLauncher.exe.44648.zip
PowerToys.PowerLauncher.exe(1).44648.zip
Other Software
No response
The text was updated successfully, but these errors were encountered: