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

vk: do not crash on corrupted scopes stack #623

Merged
merged 1 commit into from
Oct 31, 2023
Merged

Conversation

w23
Copy link
Owner

@w23 w23 commented Oct 31, 2023

This is not a valid reason to assert/crash, even though it is clearly a programming mistake. If the stack is corrupted, just print its contents as an S_ERROR and continue.

Also:

Fixes #604

This is not a valid reason to assert/crash, even though it is clearly a programming mistake.
If the stack is corrupted, just print its contents as an S_ERROR and continue.

Also:
- Fix the ultimate reason for stack being unbalanced for #604
- Do not analyze scopes when not needed, i.e. when `r_speeds` is zero.

Fixes #604
@w23 w23 merged commit 5698746 into vulkan Oct 31, 2023
8 checks passed
@w23 w23 deleted the E322-fix-speeds-assert-604 branch October 31, 2023 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Profiler stack gets unbalanced occasionally
1 participant