Skip to content

[Windows][26.908.4834.0] Desktop app crashes on startup in chrome!v8::Context::Exit with 0xC0000005 null pointer read #45435

Closed

Description

@thiagokoelho

What version of the Codex App are you using (From “About Codex” dialog)?

26.908.4834.0

What subscription do you have?

Plus

What platform is your computer?

Windows 11 Pro 25H2 Build 26200.9445 x64

What issue are you seeing?

The Codex/ChatGPT Windows desktop app crashes immediately on startup before any UI is displayed.

The MSIX package installs and activates successfully, and Windows AppModel reports a successful activation, but the main browser process exits about one second later.

I am a software engineer and performed native crash analysis before submitting this report. The failure is reproducible and I have the Crashpad dump and WinDbg analysis available.

Crash details

The process exits with:

-1073741819

which corresponds to:
0xC0000005
STATUS_ACCESS_VIOLATION

WinDbg !analyze -v reports:
Failure.Bucket:
INVALID_POINTER_READ_c0000005_chrome.dll!Unknown

ExceptionAddress:
chrome!v8::Context::Exit+0x1b

ExceptionCode:
c0000005

AV.Type:
Read

Attempt to read from address:
00000000000001f8

The exception context shows:
rax=0000000000000000
rip=00007ffa2d18e76b

chrome!v8::Context::Exit+0x1b:
movzx r8d,word ptr [rax+1F8h]

So the app is dereferencing a null pointer:}
RAX = 0
[RAX + 0x1F8] -> 0x1F8

Relevant stack trace:
chrome!v8::Context::Exit+0x1b
chrome!node::AsyncResource::CallbackScope::~CallbackScope
chrome!node::GetEnvironmentIsolateData
chrome!ChromeMain
chrome!v8::ValueSerializer::ValueSerializer
chrome!v8::ValueSerializer::ValueSerializer
chrome!v8::ValueSerializer::ValueSerializer
chrome!ChromeMain
ChatGPT.exe
ChatGPT.exe
ChatGPT!IsSandboxedProcess
KERNEL32!BaseThreadInitThunk
ntdll!RtlUserThreadStart

Crashpad identifies the crashing process as:
{"capture_kind":"crash","osarch":"x86_64","ptype":"browser"}

Troubleshooting already performed
Reinstalled the app
Tested both stable and Beta builds
Confirmed the MSIX package is correctly installed and registered
Confirmed Windows AppModel activation succeeds
Reset/recreated the local Chromium profile/cache
Tested with --disable-gpu and --disable-gpu-compositing
Verified Edge WebView2 is installed and working in other apps
Checked Event Viewer
Captured startup with Process Monitor and Process Explorer
Ran Windows Memory Diagnostic with no errors
Ran sfc /scannow; it repaired Windows files, but the crash remained identical
Inspected loaded modules with WinDbg lm t n

The loaded modules at the time of the crash are primarily:
ChatGPT.exe
chrome.dll
chrome_elf.dll

plus standard Microsoft Windows system libraries. I did not see obvious third-party injected DLLs in the crashing process.

Expected behavior

The desktop app should open normally and display the UI.

Actual behavior

The process starts, initializes Chromium/Crashpad, and then crashes immediately with 0xC0000005 inside chrome!v8::Context::Exit.

I can provide the Crashpad .dmp, sidecar JSON, ProcMon trace, and additional WinDbg output if useful.

[8612c389-8b11-4757-be4c-24409b3b7059.dmp](https://github.com/user-attachments/files/32197715/8612c389-8b11-4757-be4c-24409b3b7059.dmp)

### What steps can reproduce the bug?

1. Install the current Codex/ChatGPT Windows desktop app from the Microsoft Store.

2. Launch the application normally from the Start menu.

3. The app process starts, but no UI window is displayed.

4. Within about one second, the main browser process crashes.

5. The failure is reproducible on every launch.

The same behavior can also be reproduced by launching the MSIX app directly:

```powershell
explorer.exe "shell:AppsFolder\OpenAI.Codex_2p2nqsd0c76g0!App"

[8612c389-8b11-4757-be4c-24409b3b7059_sidecar.json](https://github.com/user-attachments/files/32197764/8612c389-8b11-4757-be4c-24409b3b7059_sidecar.json)

### What is the expected behavior?

_No response_

### Additional information

Environment:

- Windows 11 Pro 25H2
- Build 26200.9445
- x64
- AMD Ryzen 7 5700X
- Codex App version: 26.908.4834.0
- Chromium/runtime version: 152.0.7977.83
- Subscription: Plus

I analyzed the generated Crashpad dump with WinDbg.

The crash is:

```text
0xC0000005
INVALID_POINTER_READ

Faulting location:
chrome!v8::Context::Exit+0x1b

Exception context:
rax=0000000000000000
rip=00007ffa2d18e76b

chrome!v8::Context::Exit+0x1b:
movzx r8d,word ptr [rax+1F8h]

This results in an attempted read from:
0x00000000000001F8

Relevant stack:
chrome!v8::Context::Exit
chrome!node::AsyncResource::CallbackScope::~CallbackScope
chrome!node::GetEnvironmentIsolateData
chrome!ChromeMain
ChatGPT.exe
KERNEL32!BaseThreadInitThunk
ntdll!RtlUserThreadStart

I also inspected loaded modules with WinDbg using:
lm t n

The crashing process contained the expected OpenAI/Chromium modules and standard Windows system DLLs. I did not observe obvious third-party injected DLLs.

Troubleshooting already performed:

Reinstalled the app
Tested stable and Beta builds
Reset the local Chromium profile/cache
Tested with GPU acceleration disabled
Verified WebView2 is working in other applications
Checked Event Viewer
Captured startup with Process Monitor and Process Explorer
Ran Windows Memory Diagnostic with no errors
Ran SFC; Windows files were repaired, but the same crash persisted



************* Preparing the environment for Debugger Extensions Gallery repositories **************
   ExtensionRepository : Implicit
   UseExperimentalFeatureForNugetShare : true
   AllowNugetExeUpdate : true
   NonInteractiveNuget : true
   AllowNugetMSCredentialProviderInstall : true
   AllowParallelInitializationOfLocalRepositories : true

   -- Configuring repositories
      ----> Repository : LocalInstalled, Enabled: true
      ----> Repository : UserExtensions, Enabled: true

>>>>>>>>>>>>> Preparing the environment for Debugger Extensions Gallery repositories completed, duration 0.015 seconds

************* Waiting for Debugger Extensions Gallery to Initialize **************

>>>>>>>>>>>>> Waiting for Debugger Extensions Gallery to Initialize completed, duration 0.360 seconds
   ----> Repository : UserExtensions, Enabled: true, Packages count: 0
   ----> Repository : LocalInstalled, Enabled: true, Packages count: 46

Microsoft (R) Windows Debugger Version 10.0.29617.1000 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.


Loading Dump File [C:\Users\thiag\AppData\Local\Packages\OpenAI.Codex_2p2nqsd0c76g0\LocalCache\Roaming\Codex\web\Codex\Crashpad\reports\8612c389-8b11-4757-be4c-24409b3b7059.dmp]
User Mini Dump File: Only registers, stack and portions of memory are available

Symbol search path is: srv*
Executable search path is: 
Windows 10 Version 26200 (9445) MP (16 procs) Free x64
Product: WinNt
Edition build lab: Windows NT 10.0.26200.9445
Debug session time: Mon Sep 14 11:28:14.000 2026 (UTC - 3:00)
System Uptime: not available
Process Uptime: 0 days 0:00:01.000
..............................................
Loading unloaded module list
..
This dump file has an exception of interest stored in it.
The stored exception information can be accessed via .ecxr
(8b8.5294): Access violation - code c0000005 (first/second chance not available)
ReadVirtual() failed in GetXStateConfiguration() first read attempt (error == 0.)
Invalid mini-dump Miscellaneous information in InitializeConfiguration()
For analysis of this file, run !analyze -v
*** WARNING: Unable to verify checksum for ntdll.dll
ntdll!NtDelayExecution+0x14:
00007ffb`34f41444 c3              ret
0:000> !analyze -v
..*** WARNING: Unable to verify checksum for ntdll.dll
............................................
Loading unloaded module list
..
*******************************************************************************
*                                                                             *
*                        Exception Analysis                                   *
*                                                                             *
*******************************************************************************

*** WARNING: Unable to verify checksum for ChatGPT.exe
*** WARNING: Unable to verify checksum for KERNEL32.DLL
*** WARNING: Unable to verify checksum for USER32.dll
*** WARNING: Unable to verify checksum for combase.dll
*** WARNING: Unable to verify checksum for KERNELBASE.dll
*** WARNING: Unable to verify checksum for chrome_elf.dll

KEY_VALUES_STRING: 1

    Key  : AV.Type
    Value: Read

    Key  : Analysis.CPU.mSec
    Value: 1187

    Key  : Analysis.Elapsed.mSec
    Value: 17614

    Key  : Analysis.IO.Other.Mb
    Value: 64

    Key  : Analysis.IO.Read.Mb
    Value: 11

    Key  : Analysis.IO.Write.Mb
    Value: 95

    Key  : Analysis.Init.CPU.mSec
    Value: 750

    Key  : Analysis.Init.Elapsed.mSec
    Value: 81216

    Key  : Analysis.Memory.CommitPeak.Mb
    Value: 680

    Key  : Analysis.Version.DbgEng
    Value: 10.0.29617.1000

    Key  : Analysis.Version.Description
    Value: 10.2604.29.1 amd64fre

    Key  : Analysis.Version.Ext
    Value: 1.2604.29.1

    Key  : Failure.Bucket
    Value: INVALID_POINTER_READ_c0000005_chrome.dll!Unknown

    Key  : Failure.Exception.Code
    Value: 0xc0000005

    Key  : Failure.Exception.IP.Address
    Value: 0x7ffa2d18e76b

    Key  : Failure.Exception.IP.Module
    Value: chrome

    Key  : Failure.Exception.IP.Offset
    Value: 0x4cce76b

    Key  : Failure.Hash
    Value: {5cd13162-58f6-4190-dced-e6b658b0f99b}

    Key  : Failure.ProblemClass.Primary
    Value: INVALID_POINTER_READ

    Key  : Faulting.IP.Type
    Value: Paged

    Key  : Timeline.Process.Start.DeltaSec
    Value: 1

    Key  : WER.Process.Version
    Value: 152.0.7977.83


FILE_IN_CAB:  8612c389-8b11-4757-be4c-24409b3b7059.dmp

NTGLOBALFLAG:  0

EXCEPTION_RECORD:  (.exr -1)
ExceptionAddress: 00007ffa2d18e76b (chrome!v8::Context::Exit+0x000000000000001b)
   ExceptionCode: c0000005 (Access violation)
  ExceptionFlags: 00000000
NumberParameters: 2
   Parameter[0]: 0000000000000000
   Parameter[1]: 00000000000001f8
Attempt to read from address 00000000000001f8

PROCESS_NAME:  ChatGPT.exe

READ_ADDRESS:  00000000000001f8 

ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%p referenced memory at 0x%p. The memory could not be %s.

EXCEPTION_CODE_STR:  c0000005

EXCEPTION_PARAMETER1:  0000000000000000

EXCEPTION_PARAMETER2:  00000000000001f8

STACK_TEXT:  
00000041`d79fe5c0 00007ffa`2b8728ab     : 00000000`00000010 00000041`d79fe920 00000000`00000000 00007ffb`335e2470 : chrome!v8::Context::Exit+0x1b
00000041`d79fe5d0 00007ffa`2b81da57     : 00001bc3`fcdb13e0 00000000`00000001 00000000`00000000 00001ce8`2ffd5a8e : chrome!node::AsyncResource::CallbackScope::~CallbackScope+0x30ddb
00000041`d79fe8d0 00007ffa`2b72bbd8     : 00000000`00000000 00000000`00000000 00000000`00000000 00007ffa`2c95b89f : chrome!node::GetEnvironmentIsolateData+0x7e277
00000041`d79feb00 00007ffa`28721b3a     : 00000041`d79ff030 00000000`00000000 00000041`d79ff030 00000000`00000000 : chrome!ChromeMain+0x9c8
00000041`d79fed10 00007ffa`286f40ca     : 00000000`00000000 00000000`00000000 80000000`00000030 00007ffa`3a0b62f0 : chrome!v8::ValueSerializer::ValueSerializer+0x323ca
00000041`d79fef20 00007ffa`286f30c7     : 00000000`00000001 00007ffa`3892f1a0 00000000`00000000 00000000`0000005d : chrome!v8::ValueSerializer::ValueSerializer+0x495a
00000041`d79ff0a0 00007ffa`2b72b6ad     : 00000041`d79ff300 00000041`d79ff300 00000000`00000000 00000000`00000000 : chrome!v8::ValueSerializer::ValueSerializer+0x3957
00000041`d79ff1a0 00007ff7`8d4d770f     : 00000000`803c780b 00007ffa`2b72b210 00000000`00000000 00000000`00000000 : chrome!ChromeMain+0x49d
00000041`d79ff460 00007ff7`8d4d4ffb     : 00000041`d79ff7a0 00000041`d79ff7a0 00000000`00000000 000001da`fa001700 : ChatGPT+0x4770f
00000041`d79ff6e0 00007ff7`8d6a7c92     : 00007ff7`8d7e80a0 00007ff7`8d6a7d09 00000000`00000000 00000000`00000000 : ChatGPT+0x44ffb
00000041`d79ffae0 00007ffb`33abcd87     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ChatGPT!IsSandboxedProcess+0x12f382
00000041`d79ffb20 00007ffb`34e8caec     : 00000000`00000000 00000000`00000000 000004f0`fffffb30 000004d0`fffffb30 : KERNEL32!BaseThreadInitThunk+0x17
00000041`d79ffb50 00000000`00000000     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x2c


STACK_COMMAND: ~0s; .ecxr ; kb

IP_IN_PAGED_CODE: 
chrome!v8::Context::Exit+1b
00007ffa`2d18e76b 440fb780f8010000 movzx   r8d,word ptr [rax+1F8h]

SYMBOL_NAME:  chrome+4cce76b

MODULE_NAME: chrome

IMAGE_NAME:  chrome.dll

FAILURE_BUCKET_ID:  INVALID_POINTER_READ_c0000005_chrome.dll!Unknown

OSPLATFORM_TYPE:  x64

OSNAME:  Windows 10

IMAGE_VERSION:  152.0.7977.83

FAILURE_ID_HASH:  {5cd13162-58f6-4190-dced-e6b658b0f99b}

Followup:     MachineOwner
---------

0:000> lm t n
start             end                 module name
00007ff7`8d490000 00007ff7`8d90d000   ChatGPT  ChatGPT.exe  Wed Sep  2 17:46:41 2026 (6A988B31)
00007ffa`284c0000 00007ffa`3bb83000   chrome   chrome.dll   Wed Sep  2 17:46:41 2026 (6A988B31)
00007ffa`4d170000 00007ffa`4d431000   chrome_elf chrome_elf.dll Wed Sep  2 17:46:41 2026 (6A988B31)
00007ffa`fe690000 00007ffa`fe6db000   container container.dll E33ACF57 (This is a reproducible build file hash, not a timestamp)
00007ffa`ff070000 00007ffa`ff192000   daxexec  daxexec.dll  3F273706 (This is a reproducible build file hash, not a timestamp)
00007ffa`ff1a0000 00007ffa`ff1fd000   capauthz capauthz.dll 7D3B8A11 (This is a reproducible build file hash, not a timestamp)
00007ffb`12ac0000 00007ffb`12b04000   windows_staterepositoryclient windows.staterepositoryclient.dll 4B0340A6 (This is a reproducible build file hash, not a timestamp)
00007ffb`12b60000 00007ffb`12b7e000   windows_staterepositorycore windows.staterepositorycore.dll 3F27CEBD (This is a reproducible build file hash, not a timestamp)
00007ffb`1a9b0000 00007ffb`1a9d1000   MPR      MPR.dll      91065FCC (This is a reproducible build file hash, not a timestamp)
00007ffb`233c0000 00007ffb`233f6000   WINMM    WINMM.dll    863610B1 (This is a reproducible build file hash, not a timestamp)
00007ffb`2dbf0000 00007ffb`2dc98000   uxtheme  uxtheme.dll  2BCDFF75 (This is a reproducible build file hash, not a timestamp)
00007ffb`2edc0000 00007ffb`2f02a000   DWrite   DWrite.dll   83299595 (This is a reproducible build file hash, not a timestamp)
00007ffb`2f400000 00007ffb`2fcae000   windows_storage windows.storage.dll 3511E482 (This is a reproducible build file hash, not a timestamp)
00007ffb`30850000 00007ffb`3085b000   VERSION  VERSION.dll  879CD5A0 (This is a reproducible build file hash, not a timestamp)
00007ffb`30cb0000 00007ffb`30ccb000   kernel_appcore kernel.appcore.dll 0EB18366 (This is a reproducible build file hash, not a timestamp)
00007ffb`30de0000 00007ffb`30e16000   ntmarta  ntmarta.dll  D67CDA44 (This is a reproducible build file hash, not a timestamp)
00007ffb`31270000 00007ffb`312dc000   mswsock  mswsock.dll  AA1B45EF (This is a reproducible build file hash, not a timestamp)
00007ffb`31750000 00007ffb`3178f000   NTASN1   NTASN1.dll   9F05A157 (This is a reproducible build file hash, not a timestamp)
00007ffb`317a0000 00007ffb`317d0000   ncrypt   ncrypt.dll   2202F6F7 (This is a reproducible build file hash, not a timestamp)
00007ffb`31bc0000 00007ffb`31bca000   DPAPI    DPAPI.DLL    EAA3CE6F (This is a reproducible build file hash, not a timestamp)
00007ffb`31e20000 00007ffb`31e35000   UMPDC    UMPDC.dll    E557DE88 (This is a reproducible build file hash, not a timestamp)
00007ffb`31e40000 00007ffb`31e9e000   powrprof powrprof.dll AA6357B3 (This is a reproducible build file hash, not a timestamp)
00007ffb`31f00000 00007ffb`31f2a000   bcrypt   bcrypt.dll   4519343C (This is a reproducible build file hash, not a timestamp)
00007ffb`320a0000 00007ffb`3221e000   CRYPT32  CRYPT32.dll  3359E7CB (This is a reproducible build file hash, not a timestamp)
00007ffb`32230000 00007ffb`322dc000   bcryptprimitives bcryptprimitives.dll DAEC9BFD (This is a reproducible build file hash, not a timestamp)
00007ffb`322f0000 00007ffb`32419000   gdi32full gdi32full.dll 3516563F (This is a reproducible build file hash, not a timestamp)
00007ffb`32420000 00007ffb`32447000   win32u   win32u.dll   AE325489 (This is a reproducible build file hash, not a timestamp)
00007ffb`324e0000 00007ffb`3262c000   ucrtbase ucrtbase.dll 2BBEFD73 (This is a reproducible build file hash, not a timestamp)
00007ffb`32640000 00007ffb`32a42000   KERNELBASE KERNELBASE.dll 28606B21 (This is a reproducible build file hash, not a timestamp)
00007ffb`32a50000 00007ffb`32af3000   msvcp_win msvcp_win.dll 2FC5593E (This is a reproducible build file hash, not a timestamp)
00007ffb`32fa0000 00007ffb`33049000   sechost  sechost.dll  AE597B88 (This is a reproducible build file hash, not a timestamp)
00007ffb`33050000 00007ffb`333d5000   combase  combase.dll  8C05274D (This is a reproducible build file hash, not a timestamp)
00007ffb`334b0000 00007ffb`33516000   shlwapi  shlwapi.dll  BDCD215A (This is a reproducible build file hash, not a timestamp)
00007ffb`33570000 00007ffb`3373f000   USER32   USER32.dll   4C25ADA6 (This is a reproducible build file hash, not a timestamp)
00007ffb`338f0000 00007ffb`33921000   IMM32    IMM32.DLL    8DA71BC7 (This is a reproducible build file hash, not a timestamp)
00007ffb`33a90000 00007ffb`33b5b000   KERNEL32 KERNEL32.DLL 3ECCCF12 (This is a reproducible build file hash, not a timestamp)
00007ffb`33b60000 00007ffb`33c1c000   ADVAPI32 ADVAPI32.dll 2BE8C154 (This is a reproducible build file hash, not a timestamp)
00007ffb`33c30000 00007ffb`33cd9000   msvcrt   msvcrt.dll   847F3439 (This is a reproducible build file hash, not a timestamp)
00007ffb`33ce0000 00007ffb`33d60000   WS2_32   WS2_32.dll   20000B4A (This is a reproducible build file hash, not a timestamp)
00007ffb`33d70000 00007ffb`33e6b000   SHCORE   SHCORE.dll   BA88998E (This is a reproducible build file hash, not a timestamp)
00007ffb`33e70000 00007ffb`33fcb000   MSCTF    MSCTF.dll    328C1816 (This is a reproducible build file hash, not a timestamp)
00007ffb`343d0000 00007ffb`344a9000   OLEAUT32 OLEAUT32.dll 03B3B7EF (This is a reproducible build file hash, not a timestamp)
00007ffb`344b0000 00007ffb`344db000   GDI32    GDI32.dll    5CD2417B (This is a reproducible build file hash, not a timestamp)
00007ffb`344e0000 00007ffb`345f8000   RPCRT4   RPCRT4.dll   BB91989C (This is a reproducible build file hash, not a timestamp)
00007ffb`34600000 00007ffb`34d98000   SHELL32  SHELL32.dll  083B171B (This is a reproducible build file hash, not a timestamp)
00007ffb`34de0000 00007ffb`35047000   ntdll    ntdll.dll    6BDF03CA (This is a reproducible build file hash, not a timestamp)

Unloaded modules:
00007ffb`33d70000 00007ffb`33e6b000   shcore.dll
    Timestamp: ***** Invalid (BA88998E)
    Checksum:  00107D2F
    ImageSize:  000FB000
00007ffb`2b360000 00007ffb`2b366000   KBDBR.DLL
    Timestamp: ***** Invalid (EB3B9163)
    Checksum:  00011759
    ImageSize:  00006000
0:000> .ecxr
rax=0000000000000000 rbx=00000041d79fe920 rcx=00001ae00099c000
rdx=000001dafa11cae0 rsi=00000041d79fe918 rdi=00001ae0000b3400
rip=00007ffa2d18e76b rsp=00000041d79fe5c0 rbp=0000000000000000
 r8=7ffffffffffffffc  r9=000001daf9280000 r10=00000fff45906388
r11=0000000000000114 r12=00001ae000062440 r13=0000000000000000
r14=00001ae00099c000 r15=00001ae0008c8000
iopl=0         nv up ei pl zr na pe nc
cs=0033  ss=0000  ds=0000  es=0000  fs=0053  gs=002b             efl=00010246
chrome!v8::Context::Exit+0x1b:
00007ffa`2d18e76b 440fb780f8010000 movzx   r8d,word ptr [rax+1F8h] ds:00000000`000001f8=????
0:000> r rax
Last set context:
rax=0000000000000000



Activity

  1. added
    app
    on Sep 14, 2026
  2. added
    bug
    windows-os
    on Sep 14, 2026
  3. thiagokoelho commented on Sep 14, 2026

    @thiagokoelho
    Author

    One additional data point that may help correlate this with Crashpad/WER telemetry:

    Failure.Hash:
    {5cd13162-58f6-4190-dced-e6b658b0f99b}
    
    Failure.Bucket:
    INVALID_POINTER_READ_c0000005_chrome.dll!Unknown
    
    Faulting function:
    chrome!v8::Context::Exit+0x1b
    
    RAX:
    0000000000000000
    
    Attempted read:
    0x00000000000001F8
    
    
    
    The crash is deterministic and occurs on every launch.
    
    I have the original Crashpad .dmp available and can provide it privately to an OpenAI engineer if needed.
    
  4. thiagokoelho commented on Sep 16, 2026

    @thiagokoelho
    Author

    Resolved on my machine.

    After comparing the failing Windows user profile with a fresh local user profile where the app worked normally, I found that the failing profile was launching ChatGPT/Codex with a different environment.

    The key difference was:

    NODE_OPTIONS=--openssl-legacy-provider

    I also had:

    CODEX_SPARKLE_ENABLED=false

    set temporarily as part of troubleshooting.

    After removing both environment variables from my user profile/session and starting a fresh session, the desktop app launched successfully.

    The important one appears to be:

    NODE_OPTIONS=--openssl-legacy-provider

    This variable is inherited by Node.js processes and was also being inherited by the Node/V8 runtime embedded in the ChatGPT/Codex desktop app.

    In the failing case, the app consistently crashed with:

    0xC0000005
    chrome!v8::Context::Exit+0x1b
    RAX = 0
    attempted read from 0x1F8

    The same app version and same machine worked normally in a newly-created Windows user account where NODE_OPTIONS was not present.

    Removing the global/user-level NODE_OPTIONS setting resolved the crash.

    For anyone seeing a similar startup crash, I recommend checking:

    $env:NODE_OPTIONS
    [Environment]::GetEnvironmentVariable("NODE_OPTIONS","User")
    [Environment]::GetEnvironmentVariable("NODE_OPTIONS","Machine")

    If it contains:
    --openssl-legacy-provider

    remove the global/user-level setting and sign out/restart the session before testing again.

    I would avoid setting NODE_OPTIONS=--openssl-legacy-provider globally. If an older Node project requires it, it is safer to configure it only for that specific project/script instead of the entire Windows user environment.

    Thanks to everyone maintaining the Windows app. Hopefully this helps anyone hitting the same crash signature.

  5. juhyunk0820 commented on Sep 17, 2026

    @juhyunk0820

    Reproduced the same crash signature on a newer Windows app build.

    Environment:

    • ChatGPT/Codex app: 26.911.7940.0
    • Chromium/runtime: 153.0.8010.36
    • Windows 11 x64 build: 26200.9457
    • Package: OpenAI.Codex_26.911.7940.0_x64__2p2nqsd0c76g0

    Behavior:

    • MSIX/AppX activation succeeds.
    • ChatGPT.exe is created successfully by AppModel-Runtime.
    • No UI is shown.
    • The browser process crashes about one second after launch and a Crashpad dump is generated.

    WinDbg !analyze -v:

    ExceptionCode: c0000005 (Access violation)
    AV.Type: Read
    Attempt to read from address: 00000000000001f8
    PROCESS_NAME: ChatGPT.exe
    ExceptionAddress: chrome!v8::Context::Exit+0x1b
    Failure.Bucket: INVALID_POINTER_READ_c0000005_chrome.dll!Unknown
    Failure.Hash: {5cd13162-58f6-4190-dced-e6b658b0f99b}
    IMAGE_VERSION: 153.0.8010.36
    

    Relevant stack:

    chrome!v8::Context::Exit+0x1b
    chrome!node::AsyncResource::CallbackScope::~CallbackScope
    chrome!uv_fs_get_result
    chrome!ChromeMain
    ...
    ChatGPT.exe
    KERNEL32!BaseThreadInitThunk
    ntdll!RtlUserThreadStart
    

    Troubleshooting already attempted:

    • Completely uninstalled/reinstalled the Microsoft Store app
    • Cleared app/local data and Store cache
    • Confirmed AppX package activation is successful
    • Launch via shell:AppsFolder\OpenAI.Codex_2p2nqsd0c76g0!App
    • Direct launch of ChatGPT.exe
    • --disable-gpu
    • --disable-gpu --disable-gpu-sandbox

    All still crash before UI creation.

    I also saw the resolution posted above regarding a globally-set NODE_OPTIONS=--openssl-legacy-provider. I am checking that environment variable on this machine now. If it is present, I will report back after removing it and restarting the Windows session; if it is absent, this would indicate the identical crash signature can still occur on 26.911.7940.0 for another cause.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions