Android GPU profiler crashes out loading it's own capture file after single frame profile.
- Dominant language
- Go
- Stars
- 1.1k
- Forks
- 169
- PR merge metrics
- No merged PRs in 30d
Description
**Environment information:**
- AGI version:
- 2023.3.3.0
- Host OS: [e.g. Linux]
- Linux Ubuntu
If tracing on Android:
- Device model:
- samsung sm-a04f
- Android Version:
14 (api 34)
**Bug description**
App crashes after tracing android opengles.
**Reproduction steps**
Connect to android device.
Capture a single frame.
Click to open trace when it finishes.
The app just exits.
**Stacktrace**
Please paste a stacktrace here if it's available.
I20250405-161858739[main][models.Capture.loadCapture] Loading capture /home/steve/agi/com.rubicon.dev.poolshark_angle_20250405_1617.gfxtrace...
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000795b641e4df1, pid=19829, tid=19830
#
# JRE version: OpenJDK Runtime Environment (11.0.26+4) (build 11.0.26+4-post-Ubuntu-1ubuntu124.04)
# Java VM: OpenJDK 64-Bit Server VM (11.0.26+4-post-Ubuntu-1ubuntu124.04, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C [libX11.so.6+0x44df1] _XGetRequest+0x41
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /home/steve/agi/core.19829)
#
# An error report file with more information is saved as:
# /home/steve/agi/hs_err_pid19829.log
#
# If you would like to submit a bug report, please visit:
# https://bugs.launchpad.net/ubuntu/+source/openjdk-lts
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
[gapis.log](https://github.com/user-attachments/files/19616586/gapis.log)
[gapic.log](https://github.com/user-attachments/files/19616587/gapic.log)
**Screenshots**
If applicable, add screenshots to help explain your problem.
**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.