code=3221225477

Resolved 💬 5 comments Opened Mar 10, 2026 by smku3747362048-creator Closed Mar 10, 2026
💡 Likely answer: A maintainer (etraut-openai, contributor) responded on this thread — see the highlighted reply below.

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

3.0

What subscription do you have?

no

What platform is your computer?

Windows x64

What issue are you seeing?

Codex运行时发生错误:
(code=3221225477, signal=null).Most recent error: [2m2026-03-09T09:32:15.846781ZE[em[33m WARNE[om [2mcodex_core::state_db[oma[2m:图[em statedb backfill not complete at C:\Users\54589\.codex (status:pending)
可尝试以下解决方案:
检查 config.toml 是否包含无效设置
若出现兼容性问题,请在设置中禁用“在WSL中运行"功能
尝试下载扩展程序的其他版本
点击重新加载以重启Codex扩展程序,或查阅文档获取其他帮助。

!Image

What steps can reproduce the bug?

login

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

5 Comments

wanfeg · 5 months ago

错误码 3221225781 原因是因为本地电脑环境缺少某些 dll库,通过 该 https://github.com/openai/codex/releases/download/rust-v0.113.0-alpha.2/codex-x86_64-pc-windows-msvc.exe 链接下载codex 的应用,点击安装后根据报错信息确定对应缺失的dll 命令, 然后去微软官网下载对应的Visual C++ 套件安装就Ok了, 我的是下载 https://aka.ms/vc14/vc_redist.x64.exe 该文件解决的

etraut-openai contributor · 5 months ago

English translation:
An error occurs when running Codex:

Codex runtime error:
(code=3221225477, signal=null)

Most recent error:
2026-03-09T09:32:15.846781Z WARN codex_core::state_db:
statedb backfill not complete at C:\Users\54589\.codex (status: pending)

Possible solutions suggested:
Check whether config.toml contains invalid settings
If compatibility issues occur, disable the “Run in WSL” option in settings
Try downloading a different version of the extension
Click Reload to restart the Codex extension, or consult the documentation for other help

etraut-openai contributor · 5 months ago

Please refer to this troubleshooting documentation. That should address the problem.

Rechendian · 5 months ago
错误码 3221225781 原因是因为本地电脑环境缺少某些dll库,通过该https://github.com/openai/codex/releases/download/rust-v0.113.0-alpha.2/codex-x86_64-pc-windows-msvc.exe链接下载codex的应用,点击安装后根据报错信息确定对应删除的dll命令,然后去微软官网对应下载的Visual C++套件安装就Ok了,我是下载https://aka.ms/vc14/vc_redist.x64.exe该文件解决的

这个好用下完,安装一下就好了

laomo404 · 5 months ago

是WSL的锅,在config.toml里补上:

[wsl]
enabled = false

文件路径:C:\Users\你用户名\.codex\config.toml