Codex Desktop应用在macOS系统上存在严重的Crashpad崩溃报告泄漏问题1。用户报告该应用在~/Library/Application Support/Codex/Crashpad/pending目录中无限期积累崩溃转储文件,导致磁盘空间大幅耗尽1。根据观测数据,该目录单日增长可超过5GB,最严重的案例中单次积累达到137GB,包含893,043个.dmp文件;另有用户磁盘占用达到326GB、待处理文件数达240,966个的情况1。
问题的根本原因在于browser_crashpad_handler进程在macOS系统调用失败后进入持续崩溃循环1。该进程每秒生成约181,552字节的转储文件,换算为每小时3,600个、每天约15GB的生成速率1。系统报告的错误信息为"fatal error: mach_port_request_notification: (os/kern) invalid capability (20)"1。所有转储文件均为browser_crashpad_handler自身的崩溃报告,形成自我监控循环,而completed目录始终为空,表明上传路径失败且系统未实现自动清理或容量限制机制1。
该问题跨越多个应用版本,从26.527.60818至26.1007.71326,已持续数月未获修复1。尽管磁盘空间不断被消耗,应用本身仍保持可用状态1。用户采取的临时解决方案包括将Crashpad/pending目录设置为只读或定时手动删除文件1。
Codex Desktop is experiencing a severe crash report accumulation issue on macOS, with Crashpad dump files piling up indefinitely in the ~/Library/Application Support/Codex/Crashpad/pending directory 1. Users report that the directory grows by at least 5GB daily, with some cases reaching 137GB containing 893,043 .dmp files, and extreme instances documenting 326GB of disk occupation with 240,966 pending files consuming storage to zero bytes 1. The underlying cause is the browser_crashpad_handler process entering a crash loop following a macOS system call failure, generating approximately one dump file per second at a rate of 181,552 bytes per second—or roughly 3,600 files hourly and 15GB daily 1. The specific error encountered is "fatal error: mach_port_request_notification: (os/kern) invalid capability (20)" 1.
The problem persists across application versions ranging from 26.527.60818 to 26.1007.71326 and has remained unfixed for months 1. All accumulated dumps are crash reports from browser_crashpad_handler itself, creating a self-monitoring loop 1. The completed/ directory remains consistently empty, indicating that the upload pathway has failed with no alternative cleanup mechanism in place 1. Although the application remains functional, affected users have adopted temporary workarounds such as setting the Crashpad/pending directory to read-only permissions or periodically deleting files manually 1.
评论
还没有评论,欢迎留下第一条。