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

Fix comparison base for line table compression #54032

Merged
merged 1 commit into from
Apr 11, 2024
Merged

Fix comparison base for line table compression #54032

merged 1 commit into from
Apr 11, 2024

Conversation

Keno
Copy link
Member

@Keno Keno commented Apr 11, 2024

I'm not entirely sure what the original intent of this statement was, but the effect ends up being that some codeloc entries end up negative in the compressed representation, but the code always assumes unsigned integers, so things roundtripped badly, leading to badly corrupted stack traces. I guess this might have been a rebase mistake,
since the same line exists (correctly) a few lines prior. Fixes #54031.

I'm not entirely sure what the original intent of this statement
was, but the effect ends up being that some codeloc entries end
up negative in the compressed representation, but the code always
assumes unsigned integers, so things roundtripped badly, leading
to badly corrupted stack traces. Fixes #54031.
@Keno Keno requested a review from vtjnash April 11, 2024 00:38
Copy link
Sponsor Member

@vtjnash vtjnash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I don't know why it looks like there ended up being two copies of this line

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

Successfully merging this pull request may close these issues.

Bad backtraces because codeloc compression does not roundtrip properly
2 participants