Skip to content

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

@cherieccccccccccc

Description

@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.

  2. Start a new chat.

  3. 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.

  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appbugSomething isn't workingperformance

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions