-
-
Notifications
You must be signed in to change notification settings - Fork 443
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
Incorrect line number in Sentry event when running app on release mode. #4040
Comments
Internal ticket with information: https://getsentry.atlassian.net/browse/FEEDBACK-2393 |
@rodolfoBee if |
hi @romtsn thank you for the info. I got confirmation it also happens on v7.20.0. The raw stack trace also points to the same location (it does not get resolved by the proguard mapping):
do you believe is caused by how the code is obfuscated? |
@rodolfoBee you can disregard the SDK version, the problem is usually either in our proguard processing or mapping upload logic, but in this particular case this is caused by how the code is optimized, yes. If you look at the mapping file, it's not possible to trace back the |
@rodolfoBee perhaps the customer could report this to https://issuetracker.google.com/issues and provide a reproducible sample of their code, so google could shed some light on this. |
Integration
sentry-android
Build System
Other
AGP Version
NA
Proguard
Enabled
Version
6.23.0
Steps to Reproduce
ArrayIndexOutOfBoundsException
Expected Result
The line number in the crash report from release mode is the same is in the debug mode. This is the screenshot from the debug mode:
Actual Result
The line number in the crash report is incorrect (line 3)
Proguard mapping is uploaded to the project and applied to the affected event:
Event:
The result using retrace also shows line 3 as the affected line:
Links to events and project are available in the internal ticket.
The text was updated successfully, but these errors were encountered: