[Bug Report] - WinUtil 26.11.13 crashes on launch `(0xC0000409 in nvwgf2umx.dll);` caused by `Start-WinUtilAssetRendering`

Aperta
#5,271 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
52/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
powershell
Ambito
backend, desktop

Direzione di ricerca

Start at the call to Start-WinUtilAssetRendering immediately after “Starting the interface thread,” then read that function and the related overlay rendering path in winutil.ps1. Reproduce the launch crash and compare behavior with that call disabled; investigate which operation in the background rendering path triggers the native fail-fast. Done means WinUtil launches reliably and taskbar overlays still render safely.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug
I have read the known issues
  • Yes, I did
Version of WinUtil

26.11.13

What part of WinUtil are you having issues with?

None

Description of the issue
Environment
  • WinUtil 26.11.13 (irm christitus.com/win | iex)
  • PowerShell 7.7.0 (Microsoft Store/MSIX package)
  • Windows 11 26H2, build 10.0.26300
  • NVIDIA GeForce RTX 3060, Game Ready driver 621.24 (Windows driver version 32.0.16.2124), clean install already tried
What happens

The terminal prints the banner and these lines, then the process dies with exit code 3221226505 (0xC0000409):

[INFO] [WinUtil] WinUtil 26.11.13 on PowerShell 7.7.0 (Core), Microsoft Windows NT 10.0.26300.0, process 38452.
[INFO] [UI] Starting the interface thread.
[process exited with code 3221226505 (0xc0000409)]

It happens every time (more than 5 consecutive launches). There is no PowerShell error or stack trace, because the process is killed by a native fail-fast.

Event Viewer (Application log, event 1000)
  • Faulting application: pwsh.exe 7.7.0.500
  • Faulting module: nvwgf2umx.dll 32.0.16.2124
  • Exception code: 0xc0000409
  • Fault offset: 0x0000000000fd608c (identical in every crash)

Launching from Windows PowerShell 5.1 also ends in a pwsh.exe crash with the same module and offset. No powershell.exe fault events were logged.

What I ruled out
  • A bare WPF window (Add-Type -AssemblyName PresentationFramework; $w = New-Object System.Windows.Window; $w.ShowDialog()) opens fine in both pwsh 7.7 and Windows PowerShell 5.1 (elevated), with hardware acceleration enabled.
  • Clean reinstall of the NVIDIA driver (same version) and a reboot did not help.
Root cause I narrowed down

I downloaded winutil.ps1 and commented out the call to Start-WinUtilAssetRendering | Out-Null (line 21331 in this release, right after "Starting the interface thread."). With only that line disabled, WinUtil opens normally. Without the change, it crashes every time.

That function renders the taskbar overlay bitmaps on a separate thread. I have not confirmed which exact operation inside it reaches the driver, so this may be a driver or Windows-side bug that WinUtil merely triggers. I'm reporting it because it is a reproducible trigger and a possible workaround on your side (for example, rendering on the interface thread instead, or making it optional).

Workaround

Run a local copy with line 21331 commented out:

pwsh -NoProfile -File winutil-noassets.ps1
Open question

The code comment says that if the background render hasn't finished when an overlay is requested, Set-WinUtilTaskbaritem renders it in place. I don't know whether that path hits the same crash.

Related issues and PRs (I searched the tracker and found no duplicate)**
  • #5142 (open): also on Windows 11 26H2 (build 26300.9550), it reports exceptions from the "InstallAppRender" background render queue at startup, with a COM RCW error while loading app favicons. It describes log errors, not a crash, and does not mention NVIDIA, so I can't say it shares a cause. It is the same area of code: rendering on background threads on 26H2.
  • #5210 (PR): fixes the session log stopping at "Starting the interface thread". I used console output for this report, so I can't say whether the session log would have captured more in my case.
List of Applied Tweaks

No response

Error logs
    CCCCCCCCCCCCCTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
 CCC::::::::::::CT:::::::::::::::::::::TT:::::::::::::::::::::T
CC:::::::::::::::CT:::::::::::::::::::::TT:::::::::::::::::::::T
C:::::CCCCCCCC::::CT:::::TT:::::::TT:::::TT:::::TT:::::::TT:::::T
C:::::C       CCCCCCTTTTTT  T:::::T  TTTTTTTTTTTT  T:::::T  TTTTTT
C:::::C                     T:::::T                T:::::T
C:::::C                     T:::::T                T:::::T
C:::::C                     T:::::T                T:::::T
C:::::C                     T:::::T                T:::::T
C:::::C                     T:::::T                T:::::T
C:::::C                     T:::::T                T:::::T
C:::::C       CCCCCC        T:::::T                T:::::T
C:::::CCCCCCCC::::C      TT:::::::TT            TT:::::::TT
CC:::::::::::::::C       T:::::::::T            T:::::::::T
CCC::::::::::::C         T:::::::::T            T:::::::::T
  CCCCCCCCCCCCC          TTTTTTTTTTT            TTTTTTTTTTT

====Chris Titus Tech=====
=====Windows Toolbox=====
[2026-11-20 01:51:11.493] [INFO] [WinUtil] WinUtil 26.11.13 on PowerShell 7.7.0 (Core), Microsoft Windows NT 10.0.26300.0, process 8284.
[2026-11-20 01:51:11.662] [INFO] [UI] Starting the interface thread.

[process exited with code 3221226505 (0xc0000409)]
You can now close this terminal with Ctrl+D, or press Enter to restart.
Lingua principale
PowerShell
Stelle
67.2k
Fork
4k
Merge medio
2g 7h
PR unite (30g)
11

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ChrisTitusTech/winutil

Tutte le issue di ChrisTitusTech/winutil

Issue simili

Altre issue su Backend & API Design

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.