Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash occurred after GPU capture is done #1402

Open
codevania opened this issue Jan 3, 2025 · 0 comments
Open

Crash occurred after GPU capture is done #1402

codevania opened this issue Jan 3, 2025 · 0 comments

Comments

@codevania
Copy link

Environment information:

  • AGI version: 2024-3.3.3
  • Host OS: [e.g. Linux] Windows
    If tracing on Android:
  • Device model: samsung SM-X710 - Android 14 API 34 - Qualcomm Adreno (TM) 740
  • Android Version: Android 14

Bug description
A clear and concise description of what the bug is.

  • Crash occurred after GPU capture is done

Reproduction steps
Steps to reproduce the behavior:

  • After frame capturing, crash is occurred when I press 'Open Trace' button.

Stacktrace
Please paste a stacktrace here if it's available.
panic: app.ExitCode(1) [recovered]
panic: app.ExitCode(1)

goroutine 199 [running]:
github.com/google/gapid/core/app/crash.Crash({0x143f9a500, 0x1450940d8})
core/app/crash/crash.go:89 +0x7d
github.com/google/gapid/core/app/crash.handler()
core/app/crash/crash.go:56 +0x2a
panic({0x143f9a500, 0x1450940d8})
GOROOT/src/runtime/panic.go:884 +0x212
github.com/google/gapid/core/app.wrapHandler.func1(0xc00131c780)
core/app/log.go:46 +0x6f
github.com/google/gapid/core/log.handler.Handle(...)
core/log/handler.go:35
github.com/google/gapid/core/log.(*Broadcaster).Handle(0x0?, 0x501000000?)
core/log/broadcast.go:50 +0xdd
github.com/google/gapid/core/log.(*Indirect).Handle(0x0?, 0x0?)
core/log/indirect.go:54 +0x33
github.com/google/gapid/core/log.(*Logger).Logf(0xc0009e5b80?, 0xb3247e0?, 0xc0?, {0x144adbbac?, 0x43?}, {0x0?, 0x0?, 0x0?})
core/log/log.go:114 +0xd1
github.com/google/gapid/core/log.(*Logger).F(...)
core/log/log.go:98
github.com/google/gapid/core/log.F({0x1450f8920?, 0xc00b3247e0?}, 0x30?, {0x144adbbac, 0x43}, {0x0, 0x0, 0x0})
core/log/log.go:80 +0x74
github.com/google/gapid/gapis/api/vulkan.NewLoopingVulkanControlFlowGenerator({0x1450f8920?, 0xc00b3247e0?}, 0xc00131c6e0?, {0x1450b39a0?, 0xc00b1c5130?}, 0x1450bf7f0?, 0xc0001cb960?, 0x0?, 0x0?, {0xc000393220, ...})
gapis/api/vulkan/looping_vulkan_control_flow_generator.go:228 +0xf87
github.com/google/gapid/gapis/api/vulkan.API.Replay({}, {0x1450f8920, 0xc00b3247e0}, {0xc00126aba0?, 0xc000d1e540?}, {0x143f07aa0, 0x147e50e38}, {0x0, 0x0}, {0xc000412570, ...}, ...)
gapis/api/vulkan/replay.go:169 +0xff1
github.com/google/gapid/gapis/replay.(*manager).execute.func2()
gapis/replay/batch.go:349 +0x243
github.com/google/gapid/core/app/benchmark.(*DurationCounter).Time(0xc00006d528, 0xc0015b18c0)
core/app/benchmark/counter.go:163 +0x89
github.com/google/gapid/gapis/replay.(*manager).execute(0xc00055e660, {0x1450f8920, 0xc00126a9c0}, {0x1450fb1d8, 0xc000584000}, 0xc0012b7a60?, {0xfc, 0xd7, 0xab, 0xbd, ...}, ...)
gapis/replay/batch.go:345 +0x1276
github.com/google/gapid/gapis/replay.(*manager).batch.func1({0x1450fb1d8, 0xc000584000}, 0xc0012b7d68, {{0x1c, 0x98, 0xaf, 0x25, 0x7c, 0xdd, 0x86, ...}, ...}, ...)
gapis/replay/batch.go:87 +0x39d
github.com/google/gapid/gapis/replay.(*manager).batch(0x1403a0e65?, {0x1450f8920, 0xc00126a9c0}, 0x1400083c5?, {0xc0000cb600?, 0x1, 0x1}, {{0x14470b060, 0x145094108}, {0x1446f9760, ...}, ...})
gapis/replay/batch.go:88 +0x35e
github.com/google/gapid/gapis/replay/scheduler.(*bin).exec(0xc001312480, {0x1450f8920, 0xc000353bc0}, 0xc0005a2360)
gapis/replay/scheduler/scheduler.go:280 +0x2ac
github.com/google/gapid/gapis/replay/scheduler.(*Scheduler).run.func2()
gapis/replay/scheduler/scheduler.go:194 +0x1ac
github.com/google/gapid/core/app/crash.Go.func1()
core/app/crash/crash.go:65 +0x3f
created by github.com/google/gapid/core/app/crash.Go
core/app/crash/crash.go:63 +0x56

Screenshots
If applicable, add screenshots to help explain your problem.
Image

Additional debugging information

  • Please attach the generated gapis.log
    gapic.log
    .log_ and gapic.log files you will find in the temp folder (e.g. /tmp/ on linux).
    gapis.log
    gapis.log

  • If using Android: Please attach a full logcat dump (adb logcat -d > logcat-full.txt) that contains logs since AGI was started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant