Skip to content

Sentry can't catch stack/buffer overflow problem? #2988

@wingorithm

Description

@wingorithm

Gradle Version

8.3

AGP Version

8.1.2

Code Minifier/Optimizer

R8

Version

3.12.0

Sentry SDK Version

6.30.0

Steps to Reproduce

first of all i'm not sure if the Sentry SDK Version either 6.30.0 or not when using 3.12.0 (AGP). (can't find how to check it)

Case : i'm doing benchmarking for sentry self-hosted with android studio, one of my test is "stack overflow" error. it basically calling recursion function with no end like buffer overflow. But when the app stopped and forced closed, sentry didn't catch any error report?

to reproduce:

  1. just simply call endless recursion function

stackoverflow()
...
...
private fun stackOverflow() {
stackOverflow()
}

Expected Result

Sentry report the error

Actual Result

no report

Metadata

Metadata

Assignees

Labels

BugIssue type

Projects

Status

Done

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions