What version of Codex CLI is running?
v0.118.0
What subscription do you have?
pro
Which model were you using?
gpt-5.4
What platform is your computer?
Darwin 24.6.0 arm64 arm
What terminal emulator and version are you using (if applicable)?
Terminal.app
What issue are you seeing?
codex(3912) MallocStackLogging: can't turn off malloc stack logging because it was not enabled.
What steps can reproduce the bug?
- Open Terminal.app on macOS
- Launch Codex
- Observe repeated log output:
codex(...) MallocStackLogging: can't turn off malloc stack logging because it was not enabled.
- Leave Codex running for a short time
- Terminal becomes filled with the repeated warning messages
What is the expected behavior?
expected behavior: I shouldn't see the repeated flooding of the error.
Codex should not continuously emit malloc logging warnings during normal use.
If malloc stack logging is not enabled, Codex should not repeatedly attempt to disable it or surface this warning to the user.
Additional information
-
Version: v0.118.0
-
Platform: macOS
-
Running via: Terminal.app
-
Reproducibility: every launch
-
Restarting Codex does not fix it
-
Checked Terminal environment with:
No malloc-related environment variables were present.
This suggests the repeated warning is not caused by user-set shell environment variables such as MallocStackLogging or MallocStackLoggingNoCompact.
The issue appears to be caused by Codex or one of its macOS runtime components repeatedly attempting to disable malloc stack logging when it is not enabled.
What version of Codex CLI is running?
v0.118.0
What subscription do you have?
pro
Which model were you using?
gpt-5.4
What platform is your computer?
Darwin 24.6.0 arm64 arm
What terminal emulator and version are you using (if applicable)?
Terminal.app
What issue are you seeing?
What steps can reproduce the bug?
What is the expected behavior?
expected behavior: I shouldn't see the repeated flooding of the error.
Codex should not continuously emit malloc logging warnings during normal use.
If malloc stack logging is not enabled, Codex should not repeatedly attempt to disable it or surface this warning to the user.
Additional information
Version: v0.118.0
Platform: macOS
Running via: Terminal.app
Reproducibility: every launch
Restarting Codex does not fix it
Checked Terminal environment with:
env | grep -i mallocNo malloc-related environment variables were present.
This suggests the repeated warning is not caused by user-set shell environment variables such as
MallocStackLoggingorMallocStackLoggingNoCompact.The issue appears to be caused by Codex or one of its macOS runtime components repeatedly attempting to disable malloc stack logging when it is not enabled.