Codex Desktop freezes when pasting repeated LaTeX display math blocks using \[...\]

Open 💬 2 comments Opened May 30, 2026 by cherieccccccccccc

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

26.527.31326

What subscription do you have?

ChatGPT Plus

What platform is your computer?

Darwin 24.3.0 arm64 arm

What issue are you seeing?

Codex Desktop freezes when the input box contains multiple LaTeX display-math blocks using $begin:math:display$\.\.\.$end:math:display$.

This does not happen for all long prompts. I can paste other long text normally. The freeze appears to be specifically triggered when several $begin:math:display$\.\.\.$end:math:display$ display-math delimiters are present in the user input. For example, pasting multiple repeated blocks like:
\[
a=b
\]
eventually makes the Codex Desktop input box / UI unresponsive.

What steps can reproduce the bug?

  1. Open Codex Desktop.
  1. Start a new chat.
  1. Pasting multiple repeated following text into the input box:

\[

a=b

\]

\[

a=b

\]

\[

a=b

\]

\[

a=b

\]

\[

a=b

\]

  1. The input box / app becomes unresponsive.
  1. Command+Q no longer works; I have to kill the app process.

What is the expected behavior?

Expected behavior

The input box should remain responsive and treat the content as plain user input.

Actual behavior

The app freezes / becomes unresponsive.

Additional information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗