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

Powertoys crashing when trying to open #27126

Closed
papalazerous opened this issue Jun 30, 2023 · 15 comments
Closed

Powertoys crashing when trying to open #27126

papalazerous opened this issue Jun 30, 2023 · 15 comments
Labels
Issue-Bug Something isn't working Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something Product-Settings The standalone PowerToys Settings application Severity-High Bugs that we consider a blocking issue for release (crashes stuff outside of PT)

Comments

@papalazerous
Copy link

Microsoft PowerToys version

0.70.1

Installation method

GitHub

Running as admin

Yes

Area(s) with issue?

Settings

Steps to reproduce

Powertoys appears to have some functionality as keyboard shortcuts still work and I can see it running in my system tray, if I try and open the app it will bring up the settings window and immediately crash. I have tried removing and installing again and attached a bug report zip
PowerToysReport_2023-06-30-16-32-13.zip

✔️ Expected Behavior

Powertoys to run without crashing

❌ Actual Behavior

It crashed
image

Other Software

Nothing else opening or running at time of software crashing

@papalazerous papalazerous added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Jun 30, 2023
@davidegiacometti davidegiacometti added Product-Settings The standalone PowerToys Settings application Severity-High Bugs that we consider a blocking issue for release (crashes stuff outside of PT) labels Jul 4, 2023
@stefansjfw
Copy link
Collaborator

Hi @papalazerous,

Was this a one-time occurrence or it happens often? /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 labels Jul 25, 2023
@papalazerous
Copy link
Author

It has never worked properly on version 0.70.1 and always crashes when I try and open the settings window. although keyboard shortcuts otherwise work indicating that it is running in the background. I have rolled back to V0.43.0 and have it fully functioning as expected in the meantime.

@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 Jul 25, 2023
@stefansjfw
Copy link
Collaborator

Would you be willing to try the following steps in order to help us figure out what's wrong with Settings app?

  • If you have VC redistributable installed on your machine, uninstall it and install it again.
  • Then uninstall PowerToys, make sure that PowerToys in Program Files is completely removed (if it's installed in Program Files)
  • Install PowerToys again
  • Check if Settings app works

Thanks in advance /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 Jul 25, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot added the Status-No recent activity no activity in the past 5 days when follow up's are needed label Jul 30, 2023
@microsoft-github-policy-service
Copy link
Contributor

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.

@UrbanPotato
Copy link

UrbanPotato commented Aug 23, 2023

also crashing seems to be a config corruption issue

happened after I toggled the legacy mouse without boarders option on > off
uninstall / reinstall does not resolve the issue. deleting the entire config folder resolves the issue

@microsoft-github-policy-service microsoft-github-policy-service bot removed the Status-No recent activity no activity in the past 5 days when follow up's are needed label Aug 23, 2023
@davidegiacometti
Copy link
Collaborator

also crashing seems to be a config corruption issue

happened after I toggled the legacy mouse without boarders option on > off uninstall / reinstall does not resolve the issue. deleting the entire config folder resolves the issue

#27126 (comment) looks like another problem. Can you open an issue attaching a bug report?

@UrbanPotato
Copy link

I tried generating a bug report but its not generating any logs / the bug report tool doesn't find them

@yuyoyuppe
Copy link
Collaborator

@UrbanPotato Hi, can you please describe what issue you are having and why do you suspect it to be caused by mouse without borders?

@UrbanPotato
Copy link

UrbanPotato commented Aug 24, 2023

the crashing started as soon as I enabled the use Legacy Mouse Without boarders button checkbox

works fine on my laptop not on my desktop
at this stage I am not sure what the problem is seems like its ok on first run but then buggs out on the next reguardless of the state of mouse without boarders

https://streamable.com/f5b9r8
if actions are setup ill try the next build when the commit is merged in maby I got a bit of both issues going on here

@yuyoyuppe
Copy link
Collaborator

@UrbanPotato thanks for the video. I've noticed that on 1:11 you've removed your config, then restarted PowerToys without opening settings ("Welcome to PowerToys" window is a different window), and then the config folder appeared, then you've started PowerToys yet again and got a crash without enabling MWB. 🤔

Anyway, please try again creating a bug report - it actually zips your config folder, so if you've removed it earlier that might be the issue. If you want to make sure that the Settings logs are there, they should be located in PowerToys\Settings\Logs.

@UrbanPotato
Copy link

UrbanPotato commented Aug 24, 2023

yea I had no problems untill I enabled the Legacy Option for MWB. now it will run ONCE after a config clear and then crash on subequent attempts Ill try the bug report option but the issue is clicking on ANY part of the tray UI causes the crash 🪦 including the bug report button lol
edit: yep if i click on the try and select bug report it just crashes with no error
is there a --debug or --verbose flag I can enable?

@yuyoyuppe
Copy link
Collaborator

You can launch PowerToys\Tools\PowerToys.BugReportTool.exe directly, it should generate a bug report on your desktop.

@UrbanPotato
Copy link

PowerToysReport_2023-08-23-17-51-41.zip
PowerToysReport_2023-08-24-05-11-44.zip
PowerToysReport_2023-08-24-11-35-33.zip
PowerToysReport_2023-08-24-11-42-34.zip
PowerToysReport_2023-08-23-17-50-39.zip

lol I had run that tool before but al lI got with a con window complaining about missing logs.

but I also don't enable desktop icons lol

@yuyoyuppe
Copy link
Collaborator

Thanks. Your reports indeed do not contain any crash-related info, i.e. all EventViewer-* are empty. Settings logs are also weird. It might be that the application is getting closed instead.

One thing I've noticed is that MWB reports an invalid service path. Please try to remove it manually using services.msc. If that doesn't help, please create a new issue so we can track it.

@UrbanPotato
Copy link

moved #28140

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-Author-Feedback The original author of the issue/PR needs to come back and respond to something Product-Settings The standalone PowerToys Settings application Severity-High Bugs that we consider a blocking issue for release (crashes stuff outside of PT)
Projects
None yet
Development

No branches or pull requests

5 participants