Skip to content

[BUG] Window: UniGetUI Elevator.exe - System Error (overrun of a stack-based buffer) #3454

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

Closed
4 tasks done
ScrambledBrain opened this issue Mar 14, 2025 · 2 comments
Closed
4 tasks done
Assignees
Labels
bug Something isn't working

Comments

@ScrambledBrain
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.8

Windows version, edition, and architecture

Windows 11 Pro 10.0.26100.2314 x64

Describe your issue

The same kind of error mentioned at #3094 seems also occur for UniGetUI Elevator.exe.

Steps to reproduce the issue

Update packages using UniGetUI Elevator.

UniGetUI Log

[14.03.2025 18:14:19] WinGet package Microsoft.VisualStudioCode is installed on a system-wide scope, forcing administrator rights...
[14.03.2025 18:14:19] Loaded operation parameters for package id=Microsoft.VisualStudioCode on manager Winget and operation Update: update --id "Microsoft.VisualStudioCode" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force
[14.03.2025 18:14:19] Caching admin rights for process id 22328
[14.03.2025 18:14:39] WinGet package Ubisoft.Connect requires elevation, forcing administrator rights...
[14.03.2025 18:14:39] Loaded operation parameters for package id=Ubisoft.Connect on manager Winget and operation Update: update --id "Ubisoft.Connect" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force
[14.03.2025 18:14:39] Caching admin rights for process id 22328
[14.03.2025 18:14:58] Clearing UAC prompt since there are no remaining operations
[14.03.2025 18:14:58] Resetting administrator rights cache for process id 22328
[14.03.2025 18:18:46] Resetting administrator rights cache for process id 22328

Package Managers Logs

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

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


Logged native task on manager Winget. Task type is ListSources
Process start time: 14.03.2025 18:03:43
Process end time:   14.03.2025 18:03:43

-- Task information
 ...

The task reported success

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

Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\M\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity"
Process start time: 14.03.2025 18:03:45
Process end time:   14.03.2025 18:03:45

-- Process STDOUT
 ...

Return code: SUCCESS (0)

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

Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 14.03.2025 18:03:45
Process end time:   14.03.2025 18:03:46

-- Task information
 ...

The task reported success

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

Logged native task on manager Winget. Task type is OtherTask
Process start time: 14.03.2025 18:03:45
Process end time:   14.03.2025 18:03:46

-- Task information
 ...

The task reported success

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

Logged native task on manager Winget. Task type is ListUpdates
Process start time: 14.03.2025 18:03:45
Process end time:   14.03.2025 18:03:46

-- Task information
 ...

The task reported success

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

Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 14.03.2025 18:38:28
Process end time:   14.03.2025 18:38:31

-- Task information
 ...

The task reported success

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

Logged native task on manager Winget. Task type is OtherTask
Process start time: 14.03.2025 18:38:28
Process end time:   14.03.2025 18:38:30

-- Task information
 ...

The task reported success

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

Relevant information

Protokollname: Application
Quelle: .NET Runtime
Datum: 14.03.2025 18:14:39
Ereignis-ID: 1026
Aufgabenkategorie:Keine
Ebene: Fehler
Schlüsselwörter:Klassisch
Benutzer: Nicht zutreffend
Computer: PC1
Beschreibung:
Application: UniGetUI Elevator.exe
CoreCLR Version: 9.0.2
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentException: Process with an Id of 12600 is not running.
at System.Diagnostics.Process.GetProcessById(Int32, String) + 0xb4
at gsudo.IntegrityHelpers.VerifyCallerProcess() + 0x2a
at gsudo.Program.d__1.MoveNext() + 0x56
--- End of stack trace from previous location ---
at gsudo.Program.

d__0.MoveNext() + 0x58
--- End of stack trace from previous location ---
at gsudo.Program.() + 0x28

Ereignis-XML:



1026
0
2
0
0
0x80000000000000

19387


Application
PC1



Application: UniGetUI Elevator.exe
CoreCLR Version: 9.0.2
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentException: Process with an Id of 12600 is not running.
at System.Diagnostics.Process.GetProcessById(Int32, String) + 0xb4
at gsudo.IntegrityHelpers.VerifyCallerProcess() + 0x2a
at gsudo.Program.<Start>d__1.MoveNext() + 0x56
--- End of stack trace from previous location ---
at gsudo.Program.<Main>d__0.MoveNext() + 0x58
--- End of stack trace from previous location ---
at gsudo.Program.<Main>() + 0x28


Screenshots and videos

Image
@ScrambledBrain ScrambledBrain added the bug Something isn't working label Mar 14, 2025
@marticliment
Copy link
Owner

Please test the solution on the original thread: #3269 (comment)

@ScrambledBrain
Copy link
Author

Hi Marti,

I've tested the update process with some older software versions, but it worked with 3.1.8 as well as your specific version from https://github.com/user-attachments/files/19245773/UniGetUI.Elevator.zip.

So, maybe this issue only occurs after starting OS and UnigetUI within autostart and then gsudo has the issue with the not existing process ID while updating old software versions -> Exception Info: System.ArgumentException: Process with an Id of 12600 is not running.
Just an idea...

Maybe that helps.

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

No branches or pull requests

2 participants