Skip to content

Windows — Codex unexpectedly closes at the end of a task, persists after update #41845

Open

Description

@Croustibatt

PROBLÈME

L’application Codex se ferme entièrement et involontairement lorsque
la tâche arrive à sa phase finale. Je dois relancer l’application.

Le problème s’est produit au moins trois fois. Lors du dernier incident,
l’exécution a été interrompue avant l’enregistrement de la réponse finale.

ENVIRONNEMENT

  • Windows x64, langue française.
  • Version de l’application lors des deux premiers incidents :
    26.818.3698.0.
  • Version lors du dernier incident : 26.825.6671.0.
  • Version du moteur relevée : codex-cli 0.151.0-alpha.7.2.
  • Travail sur un projet local, avec vérification dans le navigateur intégré
    et utilisation d’un serveur de développement temporaire.

INCIDENTS OBSERVÉS

Heures approximatives de Paris, UTC+2 :

  • 30 août 2026, 15 h 07 min 36 s.
  • 30 août 2026, 15 h 12 min 44 s.
  • 31 août 2026, 15 h 32 min 50 s.

Le problème persiste donc après la mise à jour de l’application.

DERNIER INCIDENT

La dernière action d’outil confirmée est la fermeture d’un onglet
temporaire du navigateur intégré :
await errorTab.close();

Le lot d’actions prévoyait ensuite l’arrêt du serveur temporaire par
Ctrl+C, mais les traces disponibles ne permettent pas de confirmer
si cette étape a été exécutée.

Le journal de l’application s’arrête à 13:32:50.395 UTC, après les
événements de fermeture de l’onglet et de destruction de sa vue intégrée.

Messages présents à proximité :

  • "ResizeObserver loop completed with undelivered notifications."
  • "IAB_LIFECYCLE iab rejected tab for route"
  • "IAB_LIFECYCLE browser sidebar guest torn down"

L’erreur ResizeObserver apparaît 229 fois sur l’ensemble de cette
session de l’application, pas uniquement au moment de la fermeture.

RÉSULTAT ATTENDU

L’application reste ouverte, termine les opérations de nettoyage
et affiche la réponse finale.

RÉSULTAT OBSERVÉ ET IMPACT

L’application disparaît et la tâche reste interrompue.
Les fichiers modifiés sont toujours présents sur disque. Deux exécutions
réussies des 170 tests ont été retrouvées avant le dernier incident,
mais l’absence de conclusion oblige à revérifier ce qui a été terminé.

LIMITES DU DIAGNOSTIC

Le problème est intermittent.
Aucune cause racine n’est confirmée : les messages du navigateur et
ResizeObserver sont des indices, pas une preuve de causalité.

Aucun rapport de crash Windows propre à Codex ni fichier de vidage
correspondant n’a été retrouvé dans les emplacements inspectés.

Activity

  1. added
    bugSomething isn't working
    appIssues related to the Codex desktop app
    windows-osIssues related to Codex on Windows systems
    on Aug 31, 2026
  2. changed the title [-]Windows — Fermetures inattendues de Codex en fin de tâche, persistantes après mise à jour[/-] [+]Windows — Codex unexpectedly closes at the end of a task, persists after update[/+] on Aug 31, 2026
  3. github-actions commented on Aug 31, 2026

    @github-actions
    Contributor

    English translation:

    PROBLEM

    The Codex application closes completely and unexpectedly when
    the task reaches its final phase. I have to restart the application.

    The problem has occurred at least three times. During the latest incident,
    execution was interrupted before the final response was saved.

    ENVIRONMENT

    • Windows x64, French language.
    • Application version during the first two incidents:
      26.818.3698.0.
    • Version during the latest incident: 26.825.6671.0.
    • Engine version recorded: codex-cli 0.151.0-alpha.7.2.
    • Working on a local project, with verification in the integrated browser
      and use of a temporary development server.

    OBSERVED INCIDENTS

    Approximate Paris times, UTC+2:

    • August 30, 2026, 3:07:36 p.m.
    • August 30, 2026, 3:12:44 p.m.
    • August 31, 2026, 3:32:50 p.m.

    The problem therefore persists after updating the application.

    LATEST INCIDENT

    The last confirmed tool action was closing a temporary tab
    in the integrated browser:
    await errorTab.close();

    The batch of actions was then supposed to stop the temporary server with
    Ctrl+C, but the available logs do not make it possible to confirm
    whether this step was executed.

    The application log ends at 13:32:50.395 UTC, after the
    tab-closing events and the destruction of its integrated view.

    Messages present around that time:

    • "ResizeObserver loop completed with undelivered notifications."
    • "IAB_LIFECYCLE iab rejected tab for route"
    • "IAB_LIFECYCLE browser sidebar guest torn down"

    The ResizeObserver error appears 229 times throughout this
    application session, not only at the time of closure.

    EXPECTED RESULT

    The application remains open, completes the cleanup operations,
    and displays the final response.

    OBSERVED RESULT AND IMPACT

    The application disappears and the task remains interrupted.
    The modified files are still present on disk. Two successful runs
    of all 170 tests were found before the latest incident,
    but the lack of a conclusion makes it necessary to verify again what was completed.

    DIAGNOSTIC LIMITATIONS

    The problem is intermittent.
    No root cause has been confirmed: the browser messages and
    ResizeObserver are clues, not proof of causality.

    No Windows crash report specific to Codex or corresponding dump file
    was found in the inspected locations.

  4. Croustibatt commented on Aug 31, 2026

    @Croustibatt
    Author

    Mise à jour : nouveau plantage le 31 août 2026 vers 16:44:11,
    heure de Paris (UTC+2), toujours avec la version 26.825.6671.0.

    La dernière action confirmée est supportTab.close(), après les
    vérifications dans le navigateur intégré. Un Ctrl+C pour arrêter
    le serveur temporaire était prévu ensuite, mais son exécution
    n’est pas confirmée.

    Le journal s’arrête à 14:44:11.515 UTC, après les événements
    de destruction de la vue du navigateur. La tâche est interrompue
    et aucune réponse finale n’a été enregistrée.

    Aucun événement Application Error/WER concernant Codex n’a été
    retrouvé dans le créneau vérifié. Je ne peux donc pas confirmer
    sur ma machine la signature chrome.dll / 0xc000001d rapportée
    par l’autre participant.

    Les deux derniers incidents présentent la même séquence de
    fin de vérification. Pouvez-vous préciser quelles traces
    supplémentaires permettraient d’en identifier la cause ?

  5. MilkyWay008 commented on Aug 31, 2026

    @MilkyWay008

    Je suis tombé sur le même genre de fermeture avec la 26.825.6671.0, et dans mon cas c'était le panneau navigateur intégré qui plantait (erreur GPU, chrome.dll). Le ResizeObserver loop qui revient 229 fois pointe vers une boucle de rendu, pas vers ta logique de tâche. À tester : désactiver l'accélération matérielle du panneau si l'app le permet, jeter un œil à l'Observateur d'événements pour chrome.dll / 0xc000001d, et voir si ça se reproduit sans ouvrir l'onglet navigateur. Oh, btw, j'ai construit un Hermes OTG portable, je le garde sur une clé USB comme agent de secours pour ces moments-là, il permet de diagnostiquer l'install depuis un agent qui tourne à côté. https://github.com/MilkyWay008/Hermes-OTG

  6. jono-cell commented on Sep 1, 2026

    @jono-cell

    I can independently corroborate this on Windows with a matching integrated-browser teardown sequence, and this machine retained Crashpad process-type records for two complete app exits.

    Environment

    • Codex Desktop Microsoft Store package: OpenAI.Codex 26.825.5331.0
    • Bundled engine: codex-cli 0.151.0-alpha.7.1
    • Windows 11 Pro 25H2, build 26200.9168, x64
    • Local timezone: Pacific/Auckland (UTC+12)

    Occurrence 1 — 31 August 2026, 12:17:56 NZST

    • The desktop log for PID 41176 ends at 2026-08-31T00:17:56.830Z.
    • Immediately before it stops, Browser Use session activity ends, its debugger listener is unregistered, a browser-sidebar webview is disposed, the guest is torn down, and the browser page is closed.
    • Crashpad wrote a sidecar at 12:17:57.569 NZST with:
      {"capture_kind":"crash","osarch":"x86_64","ptype":"browser"}
    • Windows Event Viewer has no corresponding Codex Application Error/Hang event.
    • A local watchdog then logged at 12:30:18.732 NZST that it had to start Codex package 26.825.5331.0.

    Occurrence 2 — 31 August 2026, 13:04:34 NZST

    • At 2026-08-31T01:04:33.799Z, another Browser Use session ends and multiple integrated-browser webviews begin teardown.
    • The log records repeated browser sidebar guest torn down, renderer removed browser sidebar webview, and browser tab lifecycle action=closed messages.
    • The desktop log stops at 2026-08-31T01:04:34.121Z.
    • Crashpad wrote another sidecar at 13:04:34.816 NZST with the same capture_kind=crash, ptype=browser classification.
    • A fresh desktop process/session starts later at 13:13:34.349 NZST.

    Expected: ending Browser Use or closing integrated browser views leaves Codex running and lets the task finish.

    Actual: the complete desktop app exits and active work is interrupted.

    The teardown sequence and Crashpad records are strongly correlated, but I am not claiming they identify the lower-level root cause. Raw logs and browser-profile data are not posted publicly because they contain local paths and session metadata; targeted sanitized excerpts can be provided privately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appbrowserbugSomething isn't workingwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions