[Linux] Window permanently freezes (window.unresponsive) on text insertion and dictation completion
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.4k
- PR merge metrics
- PR metrics pending
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.901.51231
What subscription do you have?
Plus / Free
What platform is your computer?
Linux 7.1.5-76070105-generic x86_64 (Pop!_OS 24.04 LTS, COSMIC Wayland)
What issue are you seeing?
Window freezes permanently when committing text / finishing voice dictation. D-Bus IBus portal causes ibus-ui-gtk3 segfault, deadlocking the Electron renderer.
What steps can reproduce the bug?
- Launch ChatGPT 26.901.51231 on Wayland
- Use voice dictation in composer
- Stop dictation
- App freezes permanently (window.unresponsive)
What is the expected behavior?
Transcribed or pasted text is inserted smoothly without freezing the UI.
Additional information
Full diagnostic logs, Sentry traces, and segfault dmesg are ready to paste. SingletonLock also remains stale after SIGKILL.
Electron & Sentry Logs
{"timestamp": 1788787959.749, "category": "ui.click", "message": "button...[aria-label="Зупинити диктування"][type="button"]"}
{"timestamp": 1788787965.075, "type": "http", "category": "electron.net", "data": {"url": "https://chatgpt.com/backend-api/transcribe", "method": "POST", "status_code": 200}}
{"timestamp": 1788787983.577, "category": "electron", "message": "window.unresponsive", "type": "ui", "data": {"id": 1, "url": "app://-/index.html"}}
[console] [IpcRouter] Socket error errorCode=EPIPE errorMessage="write EPIPE" errorName=Error
Kernel & IBus crash:
kernel: ibus-ui-gtk3[180867]: segfault at 0 ip 000057afbfc3ebbe sp 00007ffdbe143540 error 4 in ibus-ui-gtk3[11bbe,57afbfc3a000+27000]
ibus-portal[180875]: Not connected to the ibus bus
systemd[1772]: dbus-:1.1-org.freedesktop.portal.IBus@11.service: Main process exited, code=exited, status=1/FAILURE
Workaround:
Setting GTK_IM_MODULE=simple and clearing XMODIFIERS prevents the crash. Launching with --ozone-platform-hint=auto works reliably.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the freeze on Pop!_OS 24.04 LTS with COSMIC Wayland using voice dictation, then review the Electron and Sentry logs alongside the ibus-ui-gtk3 and ibus-portal crash messages. Compare the failing launch with GTK_IM_MODULE=simple, cleared XMODIFIERS, and --ozone-platform-hint=auto; done means text insertion and dictation completion no longer freeze the window.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, linux
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100