godotengine / godotengine/godot

Tab crashes when using "Performance" debugger in Chrome

Open
#95,032 1 comment 0 reactions 1 assignee Claimed by @adamscott View on GitHub
bug crash platform:web topic:platforms
Dominant language
C++
Stars
117k
Forks
26.8k
PR merge metrics
PR metrics pending

Description

### Tested versions

- Reproducible in: 4.3.rc

### System information

Godot v4.3.rc (2f2d1a7e6) - macOS 14.5.0 - GLES3 (Compatibility) - Apple M2 - Apple M2 (8 Threads)

### Issue description

When using the "Performance" tool in Chrome to create a recording, the running game will crash after stoping the recording:

Screenshot 2024-08-01 at 10 58 31 AM

*Note, I have only tested on Chrome.*

It seems like the crash does not happen for all web games. Consider the following example projects that I tested on my system:

- https://snowhex.itch.io/nefarius-the-last-wizard (crashes)
- https://adamscott.github.io/catburglar-main-thread-samples/ (does not crash)

### Steps to reproduce

1. Open a game exported for web in a new browser tab (I have only tested Chrome)
2. With the game running, open up the [Performance tool](https://developer.chrome.com/docs/devtools/performance) and start a new recording
3. Stop the recording (the length of the recording doesn't seem to matter)
4. Observe the crash

### Minimal reproduction project (MRP)

Exporting an empty project for web will cause this issue.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.