github / github/app

The Browser Preview feature caused GitHub Copilot App to crash unexpectedly.

Abierto
#2,269 1 comentario 0 reacciones 0 asignados Ver en GitHub
Bugs
Lenguaje dominante
Sin datos de lenguaje
Estrellas
2.1k
Forks
153
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

## 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 |

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza con el informe de crash de macOS adjunto y los puntos de entrada de Browser Preview nombrados en el stack: github_app::browser_preview::close_browser_preview_webview y close_browser_preview. Reproduce el cierre de Browser Preview en macOS y sigue la ruta de desmontaje de WKWebView. Se considera terminado cuando la WebView se cierra sin EXC_BAD_ACCESS y la Copilot App no se bloquea.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
macos
Área
desktop
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Tranquilo
Claridad
Bastante claro
Aptitud para principiantes
48/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.