Codex Desktop crashes when opening a conversation
What version of the Codex App are you using (From “About Codex” dialog)?
the last
What subscription do you have?
plus
What platform is your computer?
Windows
What issue are you seeing?
codex Desktop crashes when opening a conversation – "RangeError: Invalid string length" Hello OpenAI Support, I'm experiencing a consistent issue with the Codex Desktop app on Windows. The application launches normally, but as soon as I open a conversation, it immediately crashes and displays the following error: `` A JavaScript error occurred in the main process Uncaught Exception: RangeError: Invalid string length at jl.write (C:\Program Files\WindowsApps\OpenAI.Codex_26.707.9981.0_x64__2p2nqsd0c76g0\app\resources\...) at Socket.onStdoutData (...) at Socket.emit (node:events:508:28) at addChunk (node:internal/streams/readable:563:12) at readableAddChunkPushByteMode (node:internal/streams/readable:514:3) at Readable.push (node:internal/streams/readable:394:5) at Pipe.onStreamRead (node:internal/stream_base_commons:189:23) `` Issue details: Operating System: Windows App: OpenAI Codex Desktop The application starts successfully. The crash occurs every time I open a conversation. The error appears immediately after opening the chat. I have attached a screenshot of the error dialog. Could you please investigate whether this is a known issue or provide a workaround? Thank you.
What steps can reproduce the bug?
Feedback ID: no-active-thread-019f61ad-ea1e-7963-a4b2-263dc4691881
What is the expected behavior?
_No response_
Additional information
_No response_
2 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Seeing this on MacOS as well: last few releases, no change, large thread, crashes on load.
Uncaught Exception:
RangeError: Invalid string length
at jL.write (/Applications/ChatGPT.app/Contents/Resources/app.asar/.vite/build/src-HagpvBpE.js:410:21)
at Socket.onStdoutData (/Applications/ChatGPT.app/Contents/Resources/app.asar/.vite/build/src-HagpvBpE.js:427:4845)
at Socket.emit (node:events:508:28)
at addChunk (node:internal/streams/readable:563:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
at Readable.push (node:internal/streams/readable:394:5)
at Pipe.onStreamRead (node:internal/stream_base_commons:189:23)