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

[BUG] UnigetUI Elevator crashes with NTSTATUS 0xc0000409 #3269

Open
4 tasks done
Masamune3210 opened this issue Feb 6, 2025 · 15 comments
Open
4 tasks done

[BUG] UnigetUI Elevator crashes with NTSTATUS 0xc0000409 #3269

Masamune3210 opened this issue Feb 6, 2025 · 15 comments
Assignees
Labels
bug Something isn't working ready-to-go
Milestone

Comments

@Masamune3210
Copy link

Please confirm these before moving forward

  • I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
  • I have tested that this issue has not been fixed in the latest (beta or stable) release.
  • I have checked the FAQ section for solutions.
  • This issue is about a bug (if it is not, please use the correct template).

UniGetUI Version

3.1.6

Windows version, edition, and architecture

Windows 11 Pro 26100.2894

Describe your issue

When attempting to update certain packages, UniGetUI_Elevator will crash due to the system detecting a stack buffer overrun

Steps to reproduce the issue

Haven't been able to completely nail down a cause. Currently, its occurring due to trying to update Mozilla Thunderbird. It seems to be runtime based, as restarting the app causes the issue to disappear only to occur later on at some point.

UniGetUI Log

[2/6/2025 5:43:11 PM]    __  __      _ ______     __  __  ______
                        / / / /___  (_) ____/__  / /_/ / / /  _/
                       / / / / __ \/ / / __/ _ \/ __/ / / // /
                      / /_/ / / / / / /_/ /  __/ /_/ /_/ // /
                      \____/_/ /_/_/\____/\___/\__/\____/___/
                          Welcome to UniGetUI Version 3.1.6
[2/6/2025 5:43:11 PM]
[2/6/2025 5:43:11 PM] Build 80
[2/6/2025 5:43:11 PM] Data directory C:\Users\User\AppData\Local\UniGetUI
[2/6/2025 5:43:11 PM] Encoding Code Page set to 437
[2/6/2025 5:43:11 PM] Using built-in UniGetUI Elevator
[2/6/2025 5:43:11 PM] Loaded language locale: en
[2/6/2025 5:43:12 PM] Randomly-generated background API auth token for the current session: amlfjv2slt18kkbswexpetekn5p76ntbpbn11rjdw0uemyva87mxec6krjzjhafo
[2/6/2025 5:43:12 PM] Api running on http://localhost:7058
[2/6/2025 5:43:12 PM] Lang files were updated successfully from GitHub
[2/6/2025 5:43:12 PM] Downloaded new icons and screenshots successfully!
[2/6/2025 5:43:12 PM] Command vcpkg was not found on the system
[2/6/2025 5:43:12 PM] Command cargo was not found on the system
[2/6/2025 5:43:12 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Cargo
                      █ Enabled: True
                      █ Found: False
                      █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                      █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2/6/2025 5:43:12 PM] Command vcpkg was not found on the system
[2/6/2025 5:43:12 PM] Command vcpkg was not found on the system
[2/6/2025 5:43:12 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: vcpkg
                      █ Enabled: True
                      █ Found: False
                      █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                      █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2/6/2025 5:43:12 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Winget
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: winget.exe
                      █ Executable path: C:\Users\User\AppData\Local\Microsoft\WindowsApps\winget.exe
                      █ Call arguments: 
                      █ Version: 
                      █   System WinGet CLI Version: v1.10.40-preview
                      █   Using Native WinGet helper (COM Api)
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2/6/2025 5:43:13 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: .NET Tool
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: dotnet tool
                      █ Executable path: C:\Program Files\dotnet\dotnet.exe
                      █ Call arguments: tool
                      █ Version: 
                      █   8.0.405
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2/6/2025 5:43:13 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Pip
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: pip
                      █ Executable path: C:\Users\User\AppData\Local\Programs\Python\Python311\python.exe
                      █ Call arguments:  -m pip
                      █ Version: 
                      █   pip 25.0 from C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\pip (python 3.11)
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2/6/2025 5:43:13 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Npm
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: npm
                      █ Executable path: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
                      █ Call arguments:  -NoProfile -ExecutionPolicy Bypass -Command npm
                      █ Version: 
                      █   10.9.2
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2/6/2025 5:43:13 PM] Starting scoop cleanup...
[2/6/2025 5:43:14 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Scoop
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: scoop
                      █ Executable path: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
                      █ Call arguments:  -NoProfile -ExecutionPolicy Bypass -Command scoop
                      █ Version: 
                      █   Current Scoop version:
                      █   859d1db5 chore(release): Bump to version 0.5.2 (#6080)
                      █   
                      █   'main' bucket:
                      █   bce236234 tor: Update to version 0.4.8.13-14.0.4
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2/6/2025 5:43:15 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Chocolatey
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: choco.exe
                      █ Executable path: C:\Users\User\AppData\Local\UniGetUI\Chocolatey\choco.exe
                      █ Call arguments: 
                      █ Version: 
                      █   2.4.2
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2/6/2025 5:43:15 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: PowerShell
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: powershell.exe
                      █ Executable path: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
                      █ Call arguments:  -NoProfile -Command
                      █ Version: 
                      █   Name                           Value                                                                                   
                      █   ----                           -----                                                                                   
                      █   PSVersion                      5.1.26100.2161                                                                          
                      █   PSEdition                      Desktop                                                                                 
                      █   PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                 
                      █   BuildVersion                   10.0.26100.2161                                                                         
                      █   CLRVersion                     4.0.30319.42000                                                                         
                      █   WSManStackVersion              3.0                                                                                     
                      █   PSRemotingProtocolVersion      2.3                                                                                     
                      █   SerializationVersion           1.1.0.1
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2/6/2025 5:43:15 PM] Scoop cleanup finished!
[2/6/2025 5:43:15 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: PowerShell7
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: pwsh.exe
                      █ Executable path: C:\Program Files\PowerShell\7\pwsh.exe
                      █ Call arguments:  -NoProfile -Command
                      █ Version: 
                      █   PowerShell 7.5.0
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2/6/2025 5:43:15 PM] LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface.
[2/6/2025 5:43:16 PM] Found 27 installed packages from Pip
[2/6/2025 5:43:17 PM] Dependency Scoop-Search for manager Scoop is present
[2/6/2025 5:43:17 PM] Found 1 installed packages from .NET Tool
[2/6/2025 5:43:17 PM] Found 1 installed packages from Scoop
[2/6/2025 5:43:17 PM] Dependency Git for manager Scoop is present
[2/6/2025 5:43:17 PM] Found 0 available updates from .NET Tool
[2/6/2025 5:43:17 PM] Found 4 installed packages from PowerShell7
[2/6/2025 5:43:17 PM] Dependency .NET Tools Outdated for manager .NET Tool is present
[2/6/2025 5:43:18 PM] Found 13 installed packages from Chocolatey
[2/6/2025 5:43:20 PM] Found 0 available updates from Chocolatey
[2/6/2025 5:43:20 PM] WinGet package Microsoft.WindowsTerminal.Preview not being shown as an updated as this version has already been marked as installed
[2/6/2025 5:43:20 PM] Found 1 installed packages from PowerShell
[2/6/2025 5:43:20 PM] Found 1 installed packages from Npm
[2/6/2025 5:43:20 PM] Found 7 available updates from Winget
[2/6/2025 5:43:20 PM] Found 304 installed packages from Winget
[2/6/2025 5:43:20 PM] Found 0 available updates from PowerShell
[2/6/2025 5:43:21 PM] Found 1 installed packages from Scoop
[2/6/2025 5:43:21 PM] Backup saved to \\SERVER\Backups\MASA-DESKTOP Winget List Backup.ubundle
[2/6/2025 5:43:21 PM] Unknown mimetype image/jpeg for icon https://i.imgur.com/glf2Hgy.jpg, aborting download
[2/6/2025 5:43:21 PM] Found 0 available updates from Npm
[2/6/2025 5:43:21 PM] Found 0 available updates from Pip
[2/6/2025 5:43:21 PM] Cached icon for id=curl is INVALID (PackageVersion)
[2/6/2025 5:43:21 PM] Found 0 available updates from PowerShell7
[2/6/2025 5:43:22 PM] Unknown mimetype image/jpeg for icon https://tweakers.net/ext/i/2004859552.jpeg, aborting download
[2/6/2025 5:43:22 PM] Cached icon for id=wsl is INVALID (PackageVersion)
[2/6/2025 5:43:23 PM] Found 0 available updates from Scoop
[2/6/2025 5:43:24 PM] Package is installed on a system-wide scope, forcing administrator rights...
[2/6/2025 5:43:24 PM] Loaded operation parameters for package id=Mozilla.Thunderbird.en-CA on manager Winget and operation Update: update --id "Mozilla.Thunderbird.en-CA" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force
[2/6/2025 5:43:24 PM] Caching admin rights for process id 1804

Package Managers Logs

Manager WinGet with version:
System WinGet CLI Version: v1.10.40-preview
Using Native WinGet helper (COM Api)

——————————————————————————————————————————


Logged native task on manager Winget. Task type is ListSources
Process start time: 2/6/2025 5:43:12 PM
Process end time:   2/6/2025 5:43:12 PM

-- Task information
 ...

The task reported success

——————————————————————————————————————————

Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\User\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity"
Process start time: 2/6/2025 5:43:15 PM
Process end time:   2/6/2025 5:43:17 PM

-- Process STDOUT
 ...

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 2/6/2025 5:43:15 PM
Process end time:   2/6/2025 5:43:20 PM

-- Task information
 ...

The task reported success

——————————————————————————————————————————

Logged native task on manager Winget. Task type is OtherTask
Process start time: 2/6/2025 5:43:15 PM
Process end time:   2/6/2025 5:43:18 PM

-- Task information
 ...

The task reported success

——————————————————————————————————————————

Logged native task on manager Winget. Task type is ListUpdates
Process start time: 2/6/2025 5:43:17 PM
Process end time:   2/6/2025 5:43:20 PM

-- Task information
 ...

The task reported success

——————————————————————————————————————————

Relevant information

Minidump file showing issue - https://drive.google.com/file/d/1IIyKm18DfESgD8bgsuPjOCEo9TINEPgR/view?usp=sharing

Screenshots and videos

No response

@Masamune3210 Masamune3210 added the bug Something isn't working label Feb 6, 2025
@marticliment marticliment added this to the Bugs milestone Feb 7, 2025
@TheAmazingLooser
Copy link

Is there any new information or eta?

I can't update 90% of my packages because UnigetUI Elevator crashes every time I try to update a package.
It can update like 2-3 packages after I start UnigetUI and then starts failing consistently.

This is a very annoying bug with auto-update enabled, as I get a dozen crash messages (one after another), only to have to close them for them to reappear at some point.

As soon as I try the "debug the program" feature and open it in VS2022, I get the following error:

Unhandled exception at 0x00007FF6C721C0E0 in UniGetUI Elevator.exe: Unknown __fastfail() status code: 0x0000000000000048.

Installed UnigetUI Version: 3.1.6
None of the administrative options change the behaviour.
Starting UnigetUI as an admin will not change the behaviour either. (Except for a warning at the startup)

Can I somehow provide more information for this issue? If so, how?

@ElfDestruct
Copy link

Just chiming in that this is probably an across-the-board issue, but most users will likely never notice it depending on what development tools they have installed, if the system does not prompt for debug.

My systems' event logs get blasted with Elevator crashes, but aside from that there is no interactive indication whatsoever that a crash has occurred, and the elevated installs all complete successfully.

@marticliment
Copy link
Owner

This is a very annoying bug with auto-update enabled, as I get a dozen crash messages (one after another), only to have to close them for them to reappear at some point.

Do the updates still work? or the update process also crashes?

@TheAmazingLooser
Copy link

This is a very annoying bug with auto-update enabled, as I get a dozen crash messages (one after another), only to have to close them for them to reappear at some point.

Do the updates still work? or the update process also crashes?

The updates still work (as it appears).

@marticliment
Copy link
Owner

This is weird then, since it means that the elevator is actually working, but somehow crashing at quit. I will investigate the issue further, but I haven't been able to reproduce it yet

@RLSinRFV
Copy link

RLSinRFV commented Feb 13, 2025

I'm getting the UniGetUI Elevator error every time I try to update packages. If you need any additional information, logs, etc., let me know.

@djhalnon
Copy link

Every time UniGetUI tries to update a package, it throws this error, on 2 computers I have. Version 3.1.6.

@marticliment
Copy link
Owner

Which windows version are you using? Any AV installed aside from Windows Defender?

@djhalnon
Copy link

Windows 11 24H2, no A/V other than Defender.

@marticliment
Copy link
Owner

Is there any other special/noncommon thing that your two systems may share?

@djhalnon
Copy link

One is a custom-built desktop, the other an HP laptop. Both have i7 CPUs (different models, but both i7s). Laptop has 16GB RAM, desktop 32GB. Both have Samsung SSDs, 1 TB. Laptop is about 4 years old & desktop is about 2.

@marticliment marticliment marked this as a duplicate of #3345 Feb 22, 2025
@marticliment marticliment marked this as a duplicate of #3350 Feb 23, 2025
@HannesPaul
Copy link

it seems to happen when you enable any option of the "Administrator privileges preferences"

@gtflip
Copy link

gtflip commented Mar 3, 2025

I'm getting it, too. Windows 10 Pro 22H2, just Windows Defender. Unlike one of the earlier people, though, I get a stack of popups like this:

Image

@marticliment
Copy link
Owner

Hello, please test if the latest PreRelease version 3.1.8-beta1 fixes the issue: https://github.com/marticliment/UniGetUI/releases/download/3.1.8-beta1/UniGetUI.Installer.exe

@ElfDestruct
Copy link

Installed a random winget package (TreeSize Free) with the new version, UniGetUI Elevator.exe still crashed with Exception Code: 0xc0000409.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ready-to-go
Projects
None yet
Development

No branches or pull requests

8 participants