PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

Almost everything crashes on startup since v0.69.0

Open stevenwdv opened this issue 1 year ago • 13 comments

Microsoft PowerToys version

0.69.0

Installation method

PowerToys auto-update

Running as admin

No

Area(s) with issue?

General

Steps to reproduce

Start PowerToys, or try to open settings

✔️ Expected Behavior

Works normally

❌ Actual Behavior

Crashes: System.IO.FileNotFoundException: Could not load file or assembly 'PowerToys.Interop, Version=0.69.0.0, Culture=neutral, PublicKeyToken=null'.

Application: PowerToys.ColorPickerUI.exe
CoreCLR Version: 7.0.323.6910
.NET Version: 7.0.3
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException: Could not load file or assembly 'PowerToys.Interop, Version=0.69.0.0, Culture=neutral, PublicKeyToken=null'. Het systeem kan het opgegeven bestand niet vinden.
File name: 'PowerToys.Interop, Version=0.69.0.0, Culture=neutral, PublicKeyToken=null'
   at ManagedCommon.Logger.InitializeLogger(String applicationLogPath, Boolean isLocalLow)
   at ColorPicker.Program.Main(String[] args)
Application: PowerToys.PowerLauncher.exe
CoreCLR Version: 7.0.323.6910
.NET Version: 7.0.3
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException: Could not load file or assembly 'PowerToys.Interop, Version=0.69.0.0, Culture=neutral, PublicKeyToken=null'. Het systeem kan het opgegeven bestand niet vinden.
File name: 'PowerToys.Interop, Version=0.69.0.0, Culture=neutral, PublicKeyToken=null'
   at PowerLauncher.App.Main()
Application: PowerToys.PowerOCR.exe
CoreCLR Version: 7.0.323.6910
.NET Version: 7.0.3
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException: Could not load file or assembly 'PowerToys.Interop, Version=0.69.0.0, Culture=neutral, PublicKeyToken=null'. Het systeem kan het opgegeven bestand niet vinden.
File name: 'PowerToys.Interop, Version=0.69.0.0, Culture=neutral, PublicKeyToken=null'
   at ManagedCommon.Logger.InitializeLogger(String applicationLogPath, Boolean isLocalLow)
   at PowerOCR.App..ctor()
   at PowerOCR.App.Main()
Naam van toepassing met fout: PowerToys.Settings.exe, versie: 0.69.0.0, tijdstempel: 0x63ed82c1
Naam van module met fout: KERNELBASE.dll, versie: 10.0.19041.2788, tijdstempel: 0x62e593d6
Uitzonderingscode: 0xc000027b
Foutmarge: 0x0000000000117cd2
Id van proces met fout: 0x21b4
Starttijd van toepassing met fout: 0x01d96a0fe0247fb8
Pad naar toepassing met fout: C:\Program Files\PowerToys\Settings\PowerToys.Settings.exe
Pad naar module met fout: C:\WINDOWS\System32\KERNELBASE.dll
Rapport-id: f586cb84-53c8-4423-9e63-a5a3a17123c8
Volledige pakketnaam met fout: 
Relatieve toepassings-id van pakket met fout: 

etc.

Other Software

No response

stevenwdv avatar Apr 08 '23 11:04 stevenwdv

Ok, so reinstalling (now in per-user mode, btw) fixed the issue for me. But it seems some of my settings are gone :/

Still, the cause of this issue should be looked in to

stevenwdv avatar Apr 08 '23 11:04 stevenwdv

How was the upgrade installed. How did you install the prior version

/reportbug

crutkas avatar Apr 08 '23 13:04 crutkas

Hi there!

We need a bit more information to really debug this issue. Can you add a "Report Bug" zip file here? You right click on our system tray icon and just go to report bug. Then drag the zipfile from your desktop onto the GitHub comment box in this issue. Thanks!
Report Bug

@crutkas

How was the upgrade installed. How did you install the prior version

Originally probably via GitHub? Was a long time ago so not sure. The upgrade I installed via the auto updater after I got a notification.

We need a bit more information to really debug this issue. Can you add a "Report Bug" zip file here? You right click on our system tray icon and just go to report bug. Then drag the zipfile from your desktop onto the GitHub comment box in this issue. Thanks!

That didn't do anything on the crashing version. Meanwhile I reinstalled, as I mentioned.

If you cannot diagnose the cause, feel free to close the issue as cannot reproduce.

stevenwdv avatar Apr 08 '23 14:04 stevenwdv

Running the PowerToys applications with administrator privileges or modifying the security settings of the system may help resolve the issue with loading the PowerToys.Interop file.

I tried changing the security setting of PowerToys.Interop file which solved the issue.

/reportbug

p21nc3 avatar Apr 09 '23 06:04 p21nc3

Nome dell'applicazione che ha generato l'errore: PowerToys.Settings.exe, versione: 0.69.0.0, timestamp: 0x63ed82c1
Nome del modulo che ha generato l'errore: KERNELBASE.dll, versione: 10.0.19041.2728, timestamp: 0xe7e53a4e
Codice eccezione: 0xc000027b
Offset errore 0x000000000010fd12
ID processo che ha generato l'errore: 0x6a68
Ora di avvio dell'applicazione che ha generato l'errore: 0x01d96c48ef911af1
Percorso dell'applicazione che ha generato l'errore: C:\Program Files\PowerToys\Settings\PowerToys.Settings.exe
Percorso del modulo che ha generato l'errore: C:\Windows\System32\KERNELBASE.dll
ID segnalazione: 704c3719-26b2-467e-b0f5-93d61d20024f
Nome completo pacchetto che ha generato l'errore: 
ID applicazione relativo al pacchetto che ha generato l'errore: 

Uninstalled and reinstalled from scratch, now opens correctly.

gioxx avatar Apr 11 '23 07:04 gioxx

Attaching /bugreport could help figuring out what happened here and preventing it from happen again. Thanks in advance

stefansjfw avatar Apr 21 '23 17:04 stefansjfw

Hi there!

We need a bit more information to really debug this issue. Can you add a "Report Bug" zip file here? You right click on our system tray icon and just go to report bug. Then drag the zipfile from your desktop onto the GitHub comment box in this issue. Thanks!
Report Bug

@stefansjfw As I said, I already uninstalled & reinstalled, so my installation will not resemble the crashing one anymore

stevenwdv avatar Apr 21 '23 18:04 stevenwdv

Me too.

Il ven 21 apr 2023, 20:37 stevenwdv @.***> ha scritto:

@stefansjfw https://github.com/stefansjfw As I said, I already uninstalled & reinstalled, so my installation will not resemble the crashing one anymore

— Reply to this email directly, view it on GitHub https://github.com/microsoft/PowerToys/issues/25324#issuecomment-1518204102, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANPZGOVOSHZ6VNMFUHLL3TXCLHXBANCNFSM6AAAAAAWXNGASE . You are receiving this because you are subscribed to this thread.Message ID: @.***>

gioxx avatar Apr 21 '23 19:04 gioxx

@stevenwdv Can you attach bug report? Thanks.

stefansjfw avatar Apr 24 '23 10:04 stefansjfw

@stefansjfw Hi, did you read my comment?

stevenwdv avatar Apr 24 '23 11:04 stevenwdv

I did. Logs are being preserved across versions/reinstalls and running bug report tool will collect everything and zip it.

stefansjfw avatar Apr 24 '23 11:04 stefansjfw

This has been shipped for 0.70.0. Please updated to the latest release. Thank you.

jaimecbernardo avatar Jun 07 '23 10:06 jaimecbernardo