Failed to open a gpu capture
- Dominant language
- Go
- Stars
- 1.1k
- Forks
- 169
- PR merge metrics
- No merged PRs in 30d
Description
**Environment information:**
- AGI version: 3.3.2
- Host OS: Windows 10
If tracing on Android:
- Device model: vivo x100
- Android Version: Android 14
**Bug description**
Failed to open a captured gpu gfxtrace. Error shows “The server has exited with an error code of 2”
More information can be found in log file.
**Reproduction steps**
Just opening a captured gfxtrace
**Stacktrace**
panic: uint8(0x0@0)[0].Slice(0, 11185152) - out of bounds [recovered]
panic:
--- *initialcmds.InitialCmdsResolvable ---
capture:{ID:{data:"\x9f\x9f\xa9\xd88\xe5P\x05\x13\x18:\xd9\xfc\x83\xa2\x1d\x86=\x9b&"}}
Store():
gapis/database/database.go:56 github.com/google/gapid/gapis/database.Build
gapis/resolve/initialcmds/initial_commands.go:40 github.com/google/gapid/gapis/resolve/initialcmds.InitialCommands
gapis/resolve/resources.go:58 github.com/google/gapid/gapis/resolve.(*ResourcesResolvable).Resolve
gapis/database/memory.go:137 github.com/google/gapid/gapis/database.(*record).resolve
gapis/database/memory.go:241 github.com/google/gapid/gapis/database.(*memory).resolveLocked.func1
core/app/crash/crash.go:65 github.com/google/gapid/core/app/crash.Go.func1
**Screenshots**

[gapic.log](https://github.com/user-attachments/files/18259488/gapic.log)
[gapis.log](https://github.com/user-attachments/files/18259491/gapis.log)
**Additional debugging information**
- Please attach the generated _gapis.log_ and _gapic.log_ files you will find in the temp folder (e.g. /tmp/ on linux).
- If using Android: Please attach a full logcat dump (```adb logcat -d > logcat-full.txt```) that contains logs since AGI was started.
Contributor guide
Assessment
This issue has not been assessed yet.