Codex hangs

Resolved 💬 1 comment Opened Apr 23, 2025 by ikamensh Closed Aug 7, 2025

What version of Codex is running?

0.1.2504221401

Which model were you using?

o4-mini

What platform is your computer?

Darwin 24.3.0 arm64 arm

What steps can reproduce the bug?

not sure. Codex was working on a chrome plugin project, I've passed an image as input and there was --full-auto enabled. It already did few interaction loops, but then even the time thinking stopped counting, and I could see it using 99% CPU steadily for ~10 min.

    command.stdout (code: 0, duration: 0.4s)

    panel.js:8:      window.setupGermanPanel(msg.original, msg.corrected);
    panel.js:123:window.setupGermanPanel = function(original, corrected) {


    command

    $ nl -ba panel.js | sed -n '1,60p'

    command.stdout (code: 0, duration: 0.4s)

         1	// panel.js: logic for diff panel and interactions
         2	// Listen for messages from background to populate the panel
         3	if (typeof chrome !== 'undefined' && chrome.runtime && chrome.runtime.onMessage) {
         4	  chrome.runtime.onMessage.addListener((msg) => {
    ... (57 more lines)
╭────────────────────────────────────────────────────────────────────────────────────────────────╮
│(     ●) 142s  Thinking.                                                                        │
╰────────────────────────────────────────────────────────────────────────────────────────────────╯
  send q or ctrl+c to exit | send "/clear" to reset | send "/help" for commands | press enter to
   send | shift+enter for new line — 80% context left

fish: Job 1, 'codex --full-auto -i Screenshot…' terminated by signal SIGKILL (Forced quit)

What is the expected behavior?

No error is best.
Explicit error is better than hanging.

What do you see instead?

program hangs, even time is not counting, 99% cpu usage for long time.

Additional information

I would like to have some global log for codex on my PC. if I knew where to find such, I would attach it here.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗