Title: ANR in Android from Screenshot · Issue #3647 · getsentry/sentry-java · GitHub
Open Graph Title: ANR in Android from Screenshot · Issue #3647 · getsentry/sentry-java
X Title: ANR in Android from Screenshot · Issue #3647 · getsentry/sentry-java
Description: Integration sentry-android Build System Gradle AGP Version 8.1.1 Proguard Enabled Version 4.5.1 Steps to Reproduce Direct operation Expected Result No ANR Actual Result main (native):tid=1 systid=18806 #00 pc 0x89730 libc.so (syscall + 3...
Open Graph Description: Integration sentry-android Build System Gradle AGP Version 8.1.1 Proguard Enabled Version 4.5.1 Steps to Reproduce Direct operation Expected Result No ANR Actual Result main (native):tid=1 systid=1...
X Description: Integration sentry-android Build System Gradle AGP Version 8.1.1 Proguard Enabled Version 4.5.1 Steps to Reproduce Direct operation Expected Result No ANR Actual Result main (native):tid=1 systid=1...
Opengraph URL: https://github.com/getsentry/sentry-java/issues/3647
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ANR in Android from Screenshot","articleBody":"### Integration\n\nsentry-android\n\n### Build System\n\nGradle\n\n### AGP Version\n\n8.1.1\n\n### Proguard\n\nEnabled\n\n### Version\n\n4.5.1\n\n### Steps to Reproduce\n\nDirect operation\n\n### Expected Result\n\nNo ANR\n\n### Actual Result\n\n \n\n\n\n\n\n\n```\n main (native):tid=1 systid=18806 \n#00 pc 0x89730 libc.so (syscall + 32) (BuildId: 68a68ca7f3b5f0855cb4842d8ccd258e)\n#01 pc 0x232670 libart.so (art::ConditionVariable::WaitHoldingLocks + 140) (BuildId: 2452917c4ff69cbb6e75e5512260946b)\n#02 pc 0x6be854 libart.so (art::JNI\u003cfalse>::SetByteArrayRegion + 1692) (BuildId: 2452917c4ff69cbb6e75e5512260946b)\n#03 pc 0x2167e8 libhwui.so (SkJavaOutputStream::write + 116) (BuildId: a747ddbc7c084af82b716a41a91c3357)\n#04 pc 0x3ffaa4 libhwui.so (sk_write_fn + 52) (BuildId: a747ddbc7c084af82b716a41a91c3357)\n#05 pc 0x31d0c libpng.so (png_compress_IDAT + 560) (BuildId: 1f5d2db6586c5a1002e07d4da15b2d2c)\n#06 pc 0x35ac0 libpng.so (png_write_find_filter + 1472) (BuildId: 1f5d2db6586c5a1002e07d4da15b2d2c)\n#07 pc 0x2e8c4 libpng.so (png_write_row + 828) (BuildId: 1f5d2db6586c5a1002e07d4da15b2d2c)\n#08 pc 0x2e568 libpng.so (png_write_rows + 48) (BuildId: 1f5d2db6586c5a1002e07d4da15b2d2c)\n#09 pc 0x400780 libhwui.so (SkPngEncoder::onEncodeRows + 224) (BuildId: a747ddbc7c084af82b716a41a91c3357)\n#10 pc 0x3fea8c libhwui.so (SkEncoder::encodeRows + 72) (BuildId: a747ddbc7c084af82b716a41a91c3357)\n#11 pc 0x400a1c libhwui.so (SkPngEncoder::Encode + 524) (BuildId: a747ddbc7c084af82b716a41a91c3357)\n#12 pc 0x3fe984 libhwui.so (SkEncodeImage + 104) (BuildId: a747ddbc7c084af82b716a41a91c3357)\n#13 pc 0x3fe880 libhwui.so (SkEncodeImage + 96) (BuildId: a747ddbc7c084af82b716a41a91c3357)\n#14 pc 0x241a68 libhwui.so (android::Bitmap::compress + 360) (BuildId: a747ddbc7c084af82b716a41a91c3357)\n#15 pc 0x20e64c libhwui.so (Bitmap_compress + 84) (BuildId: a747ddbc7c084af82b716a41a91c3357)\n at android.graphics.Bitmap.nativeCompress(Native method)\n at android.graphics.Bitmap.compress(Bitmap.java:1472)\n at io.sentry.android.core.internal.util.ScreenshotUtils.takeScreenshot(ScreenshotUtils.java:139)\n at io.sentry.android.core.ScreenshotEventProcessor.process(ScreenshotEventProcessor.java:91)\n at io.sentry.SentryClient.processEvent(SentryClient.java:381)\n at io.sentry.SentryClient.captureEvent(SentryClient.java:142)\n at io.sentry.Hub.captureEventInternal(Hub.java:120)\n at io.sentry.Hub.captureEvent(Hub.java:90)\n at io.sentry.Sentry.captureEvent(Sentry.java:525)\n at io.sentry.HubAdapter.captureEvent(HubAdapter.java:30)\n at io.sentry.IHub.captureEvent(IHub.java:40)\n at io.sentry.android.timber.SentryTimberTree.captureEvent(SentryTimberTree.kt:272)\n at io.sentry.android.timber.SentryTimberTree.logWithSentry(SentryTimberTree.kt:240)\n at io.sentry.android.timber.SentryTimberTree.e(SentryTimberTree.kt:146)\n at timber.log.Timber$Forest.e(Timber.kt:342)\n at tv.accedo.elevate.ui.modular.module.ContainersStateManager.handleFetchFailure(ContainersStateManager.java:229)\n at tv.accedo.elevate.ui.modular.module.ContainersStateManager.access$handleFetchFailure(ContainersStateManager.java:40)\n at tv.accedo.elevate.ui.modular.module.ContainersStateManager$fetchSingleContainer$4.emit(ContainersStateManager.kt:207)\n at kotlinx.coroutines.flow.internal.SafeCollectorKt$emitFun$1.invoke(SafeCollector.kt:15)\n at kotlinx.coroutines.flow.internal.SafeCollectorKt$emitFun$1.invoke(SafeCollector.kt:15)\n at kotlinx.coroutines.flow.internal.SafeCollector.emit(SafeCollector.kt:87)\n at kotlinx.coroutines.flow.internal.SafeCollector.emit(SafeCollector.kt:66)\n at tv.accedo.elevate.domain.usecase.GetAssetsFromContainerUseCase$invoke$1.invokeSuspend(GetAssetsFromContainerUseCase.kt:46)\n at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)\n at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)\n at android.os.Handler.handleCallback(Handler.java:984)\n at android.os.Handler.dispatchMessage(Handler.java:104)\n at android.os.Looper.loopOnce(Looper.java:238)\n at android.os.Looper.loop(Looper.java:357)\n at android.app.ActivityThread.main(ActivityThread.java:8149)\n at java.lang.reflect.Method.invoke(Native method)\n at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)\n at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:957)\n```","author":{"url":"https://github.com/JRomeroCar","@type":"Person","name":"JRomeroCar"},"datePublished":"2024-08-20T08:30:23Z","url":"https://github.com/getsentry/sentry-java/issues/3647"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f91438eb-edbb-848e-eef7-cdbabb231565 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 849C:154661:1806CA:215B63:6B0465A0 |
| html-safe-nonce | 0ceebc40426e91a3cb74d18d46a4c5635a3f6e7bd4c05ed5646c597d1ae6259f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDlDOjE1NDY2MToxODA2Q0E6MjE1QjYzOjZCMDQ2NUEwIiwidmlzaXRvcl9pZCI6Ijg4NTgxNTg4NzA1NDg0NzMyNDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 74f62d5b69511fac438bd488cdf64f3ebe671252e383f0df6e82ef65d2844c02 |
| hovercard-subject-tag | issue:2475037289 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-java/3647/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b22ff67b42e6a749974c971675177f8f18f239ec9844b4ae96e1746f4d5223e8/getsentry/sentry-java/issues/3647 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b22ff67b42e6a749974c971675177f8f18f239ec9844b4ae96e1746f4d5223e8/getsentry/sentry-java/issues/3647 |
| og:image:alt | Integration sentry-android Build System Gradle AGP Version 8.1.1 Proguard Enabled Version 4.5.1 Steps to Reproduce Direct operation Expected Result No ANR Actual Result main (native):tid=1 systid=1... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JRomeroCar |
| hostname | github.com |
| expected-hostname | github.com |
| None | 83e4c0e58c5162177f3c161c5fbad38527ae04c11ac14980f9f9d85ae2027b1f |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-java git https://github.com/getsentry/sentry-java.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3368190 |
| octolytics-dimension-repository_nwo | getsentry/sentry-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3368190 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ca4d07a7cef4e4b75f821dc25e7300d80c1450a9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width