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

Power Toys Run UI Crash when launched via settings #32951

Closed
cripto135 opened this issue May 21, 2024 · 8 comments
Closed

Power Toys Run UI Crash when launched via settings #32951

cripto135 opened this issue May 21, 2024 · 8 comments
Labels
Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Resolution-Can't Repro Couldn't reproduce the issue on the most recent code path

Comments

@cripto135
Copy link

cripto135 commented May 21, 2024

Microsoft PowerToys version

0.81.0

Installation method

PowerToys auto-update

Running as admin

Yes

Area(s) with issue?

PowerToys Run

Steps to reproduce

Update app to 0.81.0
Open Power Toys primary GUI
Click on Power Toys Run

✔️ Expected Behavior

Power Toys Run UI should open

❌ Actual Behavior

Instant crash 💥
Mild disappointment
Unexplainable urge to write up bug
PowerToysRunCrash

Other Software

Windows 11 23H2
OS Build 22631.3593

@cripto135 cripto135 added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels May 21, 2024
Copy link

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@cripto135
Copy link
Author

I can enable Power Toys Run from the dashboard view and then use it normally with Alt + Space. The crash only occurs when clicking on Power Toys run in the Power Toys GUI app.

@crutkas crutkas changed the title Power Toys Run UI Crash Power Toys Run UI Crash when launched via settings May 21, 2024
@jaimecbernardo
Copy link
Collaborator

Something about loading the Settings for a specific plugin, maybe...
Can you please send a /bugreport ?

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels May 21, 2024
@cripto135
Copy link
Author

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Needs-Team-Response An issue author responded so the team needs to follow up and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels May 21, 2024
@jaimecbernardo
Copy link
Collaborator

Installation looks fine. I've tried to copy the powertoys run settings to my local settings but it doesn't cause any crash when opening the PT Run page in Settings.
This seems to be the crash we get in Event Log, which is a stowed exception from Windows App SDK:

<Event xmlns='http://schemas.microsoft.com/win/2004/08/events/event'>
  <System>
    <Provider Name='Application Error' Guid='{a0e9b465-b939-57d7-b27d-95d8e925ff57}'><\Provider>
    <EventID>1000<\EventID>
    <Version>0<\Version>
    <Level>2<\Level>
    <Task>100<\Task>
    <Opcode>0<\Opcode>
    <Keywords>0x8000000000000000<\Keywords>
    <TimeCreated SystemTime='2024-05-21T18:50:17.6928317Z'><\TimeCreated>
    <EventRecordID>211799<\EventRecordID>
    <Correlation><\Correlation>
    <Execution ProcessID='20396' ThreadID='79200'><\Execution>
    <Channel>Application<\Channel>
    <Computer>Icon<\Computer>
    <Security UserID='S-1-5-21-3160699271-3123313600-4130351833-1001'><\Security>
  <\System>
  <EventData>
    <Data Name='AppName'>PowerToys.Settings.exe<\Data>
    <Data Name='AppVersion'>0.81.0.0<\Data>
    <Data Name='AppTimeStamp'>661f0000<\Data>
    <Data Name='ModuleName'>Microsoft.ui.xaml.dll<\Data>
    <Data Name='ModuleVersion'>3.1.5.0<\Data>
    <Data Name='ModuleTimeStamp'>7fd76c03<\Data>
    <Data Name='ExceptionCode'>c000027b<\Data>
    <Data Name='FaultingOffset'>0000000000404495<\Data>
    <Data Name='ProcessId'>0x149b0<\Data>
    <Data Name='ProcessCreationTime'>0x1daabafb349fef2<\Data>
    <Data Name='AppPath'>C:\Program Files\PowerToys\WinUI3Apps\PowerToys.Settings.exe<\Data>
    <Data Name='ModulePath'>C:\Program Files\PowerToys\WinUI3Apps\Microsoft.ui.xaml.dll<\Data>
    <Data Name='IntegratorReportId'>2ceff2c4-83ac-40df-8ad6-7dd2c3df31a2<\Data>
    <Data Name='PackageFullName'><\Data>
    <Data Name='PackageRelativeAppId'><\Data>
  <\EventData>
<\Event>

@jaimecbernardo
Copy link
Collaborator

Can you please try to generate a crash dump so we can try to verify where it's failing?

One way of achieving this would be by creating an entry in the Registry Editor (regedit.msc), for Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\PowerToys.Settings.exe , according to the instructions in https://docs.microsoft.com/en-us/windows/win32/wer/collecting-user-mode-dumps

It should look something like this in the end:
image

After that, please replicate the bug, navigate to %LOCALAPPDATA%\CrashDumps in the File Explorer and upload the zipped PowerToys.Settings.exe.*.dmp file to a GitHub comment.

Here's hoping the mini dump contains information about the stowed exception, otherwise I'll try to ask for a full dump.

/needinfo

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Needs-Team-Response An issue author responded so the team needs to follow up labels May 22, 2024
@cripto135
Copy link
Author

Good News: The bug fixed itself after a restart
Bad News: I wasn't able to capture a dump

I restarted my system to ensure the registry change took effect and it fixed the issue. I will keep logging on in case it happens again. Up to you if you want to keep the issue open or close it.

Thanks for all the work on PowerToys!

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Needs-Team-Response An issue author responded so the team needs to follow up and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels May 22, 2024
@jaimecbernardo
Copy link
Collaborator

Restart fixed 😄 That's the best. Thanks for the feedback. Wonder if it might have been some intermittent state while some update was going on 🤔
If it happens, please open another issue? 😉
Thank you!

@jaimecbernardo jaimecbernardo added Resolution-Can't Repro Couldn't reproduce the issue on the most recent code path and removed Needs-Team-Response An issue author responded so the team needs to follow up labels May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Resolution-Can't Repro Couldn't reproduce the issue on the most recent code path
Projects
Development

No branches or pull requests

2 participants