The Browser Preview feature caused GitHub Copilot App to crash unexpectedly.
- 主要语言
- 没有语言数据
- 星标
- 2.1k
- 派生
- 153
- PR 合并指标
- 30 天内没有已合并 PR
描述
## Summary
The Browser Preview feature caused GitHub Copilot App to crash unexpectedly.
## Environment
* GitHub Copilot App: 1.0.26
* macOS: 13.7.6
* Hardware: Intel Mac (Macmini8,1)
## What happened
I was using the built-in Browser Preview normally.
During use (or while the Browser Preview was closing), the entire Copilot App crashed immediately.
The application exited without any error dialog.
## Expected behavior
Closing the Browser Preview should cleanly destroy the WebView without crashing the entire application.
## Actual behavior
The application crashes with:
* EXC_BAD_ACCESS (SIGSEGV)
* KERN_INVALID_ADDRESS
The crash occurs on the main thread.
From the crash stack, it appears to happen while Browser Preview is closing a WKWebView:
* `WKWebView::closeAllMediaPresentationsWithCompletionHandler`
* `github_app::browser_preview::close_browser_preview_webview`
* `github_app::browser_preview::close_browser_preview`
This looks like a Browser Preview / WebKit lifecycle issue rather than a model-related problem.
I've attached the complete macOS crash report for investigation.
---
| Field | Value |
| --- | --- |
| App version | 1.0.26 |
| OS | macOS 13.7.6 |
| Theme | GitHub |
| Path | /chat |
| Tenure | Week 8 |
贡献指南
调研方向
从附带的 macOS 崩溃报告以及 stack 中列出的 Browser Preview 入口点开始:github_app::browser_preview::close_browser_preview_webview 和 close_browser_preview。在 macOS 上复现关闭 Browser Preview,并跟踪 WKWebView 的 teardown 路径。当 WebView 关闭时不出现 EXC_BAD_ACCESS 且 Copilot App 不发生崩溃时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- macos
- 领域
- desktop
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100