fix(mapping): Report a single frame when no line number and no signature are present - #95
Merged
markushi merged 2 commits intoJul 28, 2026
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want reviews to match your repository better? Bugbot Learning can learn team-specific rules from PR activity. A team admin can enable Learning in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit f23e6ea. Configure here.
loewenheim
requested changes
Jul 27, 2026
…nline chain Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
loewenheim
approved these changes
Jul 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Tombstone stacktraces have no line numbers and no signatures — a frame is
just
a.b.c. When every mapping entry for the method is keyed by aminified line range, nothing can select one, and we emitted every entry
whenever their original names differed. Since R8 reuses one obfuscated name
for many unrelated bodies, a single frame can quickly expand into hundreds
of unrelated frames.
This PR mimics retracer's behavior by reporting only the first range group's
outermost entry. Inlinees are dropped, because we don't have enough information.
Verified frame-for-frame against
retrace8.9.27 on inline chains (2- and3-deep), a chain followed by distinct ranges, real overloads, and against the original issue report.
Also changes behavior beyond the reported bug:
test_inline_group_no_base_entriesand its cache twin asserted a 3-frame expansion for a line-less frame and now
assert the single outermost frame, confirmed against retrace.
Fixes JAVA-646