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

Unable to collect stack traces for crashes in ODEX files #4018

Open
creasexul opened this issue Jan 3, 2025 · 2 comments
Open

Unable to collect stack traces for crashes in ODEX files #4018

creasexul opened this issue Jan 3, 2025 · 2 comments
Labels
Platform: Android Type: Bug Something isn't working

Comments

@creasexul
Copy link

Integration

sentry-android

Build System

Gradle

AGP Version

7.2.2

Proguard

Enabled

Version

7.13.0

Steps to Reproduce

When a crash occurs in optimized DEX (ODEX) files, Sentry is unable to collect the corresponding stack trace information. This significantly impacts our ability to debug crashes in release builds where ART optimization is enabled.

Expected Result

  1. Full stack trace should be collected, including methods from ODEX files
  2. Proper symbolication of method names and line numbers
  3. Ability to map optimized code back to original source code

Actual Result

When a crash occurs in ODEX-optimized code:

  1. The crash is reported to Sentry
  2. The stack trace is either missing or incomplete
  3. Method names and line numbers from ODEX files are not properly symbolicated

Only I can get like this:

Exception Type: Unknown (SIGSEGV)

Application Specific Information:
Segfault

Thread 0 Crashed:
0   base.odex                       0x75dbe64b30        <unknown> + 506200476464
@stefanosiano
Copy link
Member

hi @creasexul
would you mind sharing a link to an event in Sentry with this problem?
If you don't want to publicly expose it, you can send it to stefano.siano@sentry.io

@markushi
Copy link
Member

@creasexul Did you have time to provide a link by any chance?

@markushi markushi moved this from Needs Discussion to Needs More Information in Mobile & Cross Platform SDK Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Platform: Android Type: Bug Something isn't working
Projects
Status: No status
Status: Needs More Information
Development

No branches or pull requests

3 participants