Codex panicked while editing
Resolved 💬 3 comments Opened Aug 12, 2025 by nikhil-pandey Closed Oct 17, 2025
💡 Likely answer: A maintainer (bolinfest, collaborator)
responded on this thread — see the highlighted reply below.
What version of Codex is running?
codex-cli 0.20.0
Which model were you using?
gpt-5
What platform is your computer?
Linux 6.11.0-1018-azure x86_64 x86_64
What steps can reproduce the bug?
Codex was applying edits and it panicked. See screenshot for error message
What is the expected behavior?
Edit succeeds
What do you see instead?
<img width="733" height="124" alt="Image" src="https://github.com/user-attachments/assets/7a595e26-d47f-4fc6-8d96-dc58ce84240d" />
Additional information
_No response_
3 Comments
Do you know if it was working with non-ASCII characters, by chance?
I'm not sure, but it's possible. Let's add that fix to apply-patch and see if anyone reports the issue again.
Marking as fixed as we haven't seen reports of this in latest versions.