-
-
Notifications
You must be signed in to change notification settings - Fork 435
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
In situations where the network is slow, ANR often occurs #2649
Comments
The bug can be reproduced using the demo. |
@yaohuzhou hi, thanks for the report. Can you share the full stacktrace/thread dump of the ANR please? It's not clear why you think our SDK is the cause. |
|
收到
|
I have the same problem: sun.misc.Unsafe.park(Native Method) |
我今天也遇到这个问题,降到6.16.0也一样 |
cc @stefanosiano since this seems to be related to the Profiler |
这个文件:AndroidTransactionProfiler 260行使用线程池的submit()方法,再get的时候会阻塞子线程,导致卡顿。 |
@kahest @helloword1 @yaohuzhou I'll have a look at it soon. |
Integration
sentry-android
Build System
Gradle
AGP Version
7.3.1
Proguard
Disabled
Version
6.17.0
Steps to Reproduce
Reproduction steps:
1. Initialize SDK.
`class TestApplication : Application() {
}`
2.Simulate a weak network environment using Charles proxy.
Throttle Settings-> Bandwidth (kbps): Download = 1 Upload = 1
Start Throttling
3.Repeat opening the app multiple times and wait for about 20 seconds.
4.ANR
Expected Result
There will be no ANR.
Actual Result
ANR often occurs.
The text was updated successfully, but these errors were encountered: