Skip to content

[v2] Webview crashes on macOS 26 (Tahoe) #4592

@vegidio

Description

@vegidio

Description

I have a Wails application that makes many UI updates in a short period of time and this has always worked fine, but recently the webview started to crash and the app screen goes blank, however the Go code continues to work fine in the background. This doesn't happen if I open my application frontend using the browser (Firefox); the screen never goes blank.

Nothing major happened in my in app recently; the only difference in my environment was the installation of the newest macOS 26, so I suspect that maybe macOS changed something on how webviews work?

To Reproduce

  1. Create an app that receives many UI updates in a short period of time (a few changes per second)
  2. The webview in crash after some seconds
  3. Open the same application on the browser and the problem doesn't happen

Expected behaviour

The webview doesn't crash on macOS 26

Screenshots

No response

Attempted Fixes

No response

System Details

# Wails
Version | v2.10.2


# System
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
| OS           | MacOS                                                                                                                       |
| Version      | 26.0                                                                                                                        |
| ID           | 25A354                                                                                                                      |
| Branding     |                                                                                                                             |
| Go Version   | go1.25.1                                                                                                                    |
| Platform     | darwin                                                                                                                      |
| Architecture | arm64                                                                                                                       |
| CPU 1        | Apple M2 Max                                                                                                                |
| CPU 2        | Apple M2 Max                                                                                                                |
| GPU          | Chipset Model: Apple M2 Max Type: GPU Bus: Built-In Total Number of Cores: 30 Vendor: Apple (0x106b) Metal Support: Metal 4 |
| Memory       | 64GB                                                                                                                        |
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

# Dependencies
┌────────────────────────────────────────────────────────────────────┐
| Dependency                | Package Name | Status    | Version     |
| Xcode command line tools  | N/A          | Installed | 2412        |
| Nodejs                    | N/A          | Installed | 22.19.0     |
| npm                       | N/A          | Installed | 10.9.3      |
| *Xcode                    | N/A          | Installed | 16.4 (16F6) |
| *upx                      | N/A          | Available |             |
| *nsis                     | N/A          | Available |             |
|                                                                    |
└───────────────────── * - Optional Dependency ──────────────────────┘

Additional context

No response

Metadata

Metadata

Assignees

Labels

BugSomething isn't workingMacOSTODOThe issue is ready to be developedawaiting feedbackMore information is required from the requestorcannot reproduceThe issue cannot be reproduced by the project maintainersv2

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions