René's URL Explorer Experiment


Title: randomUUID generation results in ApplicationNotResponding error from the SDK · Issue #4057 · getsentry/sentry-java · GitHub

Open Graph Title: randomUUID generation results in ApplicationNotResponding error from the SDK · Issue #4057 · getsentry/sentry-java

X Title: randomUUID generation results in ApplicationNotResponding error from the SDK · Issue #4057 · getsentry/sentry-java

Description: Integration sentry-android Build System Gradle AGP Version NA Proguard Disabled Version 7.18.0 Steps to Reproduce Steps to reproduce are unclear. A way to reproduce would be to by drawing a lot of randomness via secureRandom() until it s...

Open Graph Description: Integration sentry-android Build System Gradle AGP Version NA Proguard Disabled Version 7.18.0 Steps to Reproduce Steps to reproduce are unclear. A way to reproduce would be to by drawing a lot of ...

X Description: Integration sentry-android Build System Gradle AGP Version NA Proguard Disabled Version 7.18.0 Steps to Reproduce Steps to reproduce are unclear. A way to reproduce would be to by drawing a lot of ...

Opengraph URL: https://github.com/getsentry/sentry-java/issues/4057

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"randomUUID generation results in ApplicationNotResponding error from the SDK","articleBody":"### Integration\n\nsentry-android\n\n### Build System\n\nGradle\n\n### AGP Version\n\nNA\n\n### Proguard\n\nDisabled\n\n### Version\n\n7.18.0\n\n### Steps to Reproduce\n\n~~Steps to reproduce are unclear.~~\nA way to reproduce would be to by drawing a lot of randomness via `secureRandom()` until it starts blocking. But that might take a while.\n\n### Expected Result\n\nThe SDK is able to generate UUID without blocking the main thread. \n\n### Actual Result\n\nThe Sentry SDK causes an ANR error, here is the stack trace. \n\n```\nio.sentry.android.core.ApplicationNotResponding: ANR\n    atsyscall\n    atart::ConditionVariable::WaitHoldingLocks(art::Thread*)\n    atart::JNI\u003cfalse>::ReleaseByteArrayElements(_JNIEnv*, _jbyteArray*, signed char*, int)\n    atdeleted) (offset 2000000) (art_jni_trampoline\n    atdeleted) (offset 2000000) (com.android.org.conscrypt.OpenSSLRandom.engineNextBytes\n    at com.android.org.conscrypt.NativeCrypto.RAND_bytes\n    at com.android.org.conscrypt.OpenSSLRandom.engineNextBytes(OpenSSLRandom.java:46)\n    at java.security.SecureRandom.nextBytes(SecureRandom.java:480)\n    at java.util.UUID.randomUUID(UUID.java:145)\n    at io.sentry.protocol.SentryId.\u003cinit>(SentryId.java:25)\n    at io.sentry.protocol.SentryId.\u003cinit>(SentryId.java:20)\n    at io.sentry.SentryEvent.\u003cinit>(SentryEvent.java:102)\n    at io.sentry.android.timber.SentryTimberTree.captureEvent(SentryTimberTree.kt:262)\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 timber.log.Timber.e(Timber.kt)\n    at me.getreach.setup.MainActivity$onCreate$3.invokeSuspend(MainActivity.kt:422)\n    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)\n    at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:28)\n    at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:99)\n    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)\n    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:102)\n    at kotlinx.coroutines.EventLoop.processUnconfinedEvent(EventLoop.common.kt:65)\n    at kotlinx.coroutines.DispatchedTaskKt.resumeUnconfined(DispatchedTask.kt:241)\n    at kotlinx.coroutines.DispatchedTaskKt.dispatch(DispatchedTask.kt:159)\n    at kotlinx.coroutines.CancellableContinuationImpl.dispatchResume(CancellableContinuationImpl.kt:470)\n    at kotlinx.coroutines.CancellableContinuationImpl.cancel(CancellableContinuationImpl.kt:213)\n    at kotlinx.coroutines.CancellableContinuationImpl.parentCancelled$kotlinx_coroutines_core(CancellableContinuationImpl.kt:220)\n    at kotlinx.coroutines.ChildContinuation.invoke(JobSupport.kt:1447)\n    at kotlinx.coroutines.JobSupport.notifyCancelling(JobSupport.kt:1473)\n    at kotlinx.coroutines.JobSupport.tryMakeCancelling(JobSupport.kt:796)\n    at kotlinx.coroutines.JobSupport.makeCancelling(JobSupport.kt:756)\n    at kotlinx.coroutines.JobSupport.cancelImpl$kotlinx_coroutines_core(JobSupport.kt:672)\n    at kotlinx.coroutines.JobSupport.parentCancelled(JobSupport.kt:638)\n    at kotlinx.coroutines.ChildHandleNode.invoke(JobSupport.kt:1436)\n    at kotlinx.coroutines.JobSupport.notifyCancelling(JobSupport.kt:1473)\n    at kotlinx.coroutines.JobSupport.tryMakeCancelling(JobSupport.kt:796)\n    at kotlinx.coroutines.JobSupport.makeCancelling(JobSupport.kt:756)\n    at kotlinx.coroutines.JobSupport.cancelImpl$kotlinx_coroutines_core(JobSupport.kt:672)\n    at kotlinx.coroutines.JobSupport.parentCancelled(JobSupport.kt:638)\n    at kotlinx.coroutines.ChildHandleNode.invoke(JobSupport.kt:1436)\n    at kotlinx.coroutines.JobSupport.notifyCancelling(JobSupport.kt:1473)\n    at kotlinx.coroutines.JobSupport.tryMakeCompletingSlowPath(JobSupport.kt:901)\n    at kotlinx.coroutines.JobSupport.tryMakeCompleting(JobSupport.kt:864)\n    at kotlinx.coroutines.JobSupport.cancelMakeCompleting(JobSupport.kt:697)\n    at kotlinx.coroutines.JobSupport.cancelImpl$kotlinx_coroutines_core(JobSupport.kt:668)\n    at kotlinx.coroutines.JobSupport.cancelInternal(JobSupport.kt:633)\n    at kotlinx.coroutines.JobSupport.cancel(JobSupport.kt:618)\n    at kotlinx.coroutines.JobKt__JobKt.cancel(Job.kt:560)\n    at kotlinx.coroutines.JobKt.cancel(unavailable:1)\n    at kotlinx.coroutines.JobKt__JobKt.cancel$default(Job.kt:559)\n    at kotlinx.coroutines.JobKt.cancel$default(unavailable:1)\n    at androidx.lifecycle.LifecycleCoroutineScopeImpl.onStateChanged(Lifecycle.kt:430)\n    at androidx.lifecycle.LifecycleRegistry$ObserverWithState.dispatchEvent(LifecycleRegistry.kt:322)\n    at androidx.lifecycle.LifecycleRegistry.backwardPass(LifecycleRegistry.kt:273)\n    at androidx.lifecycle.LifecycleRegistry.sync(LifecycleRegistry.kt:290)\n    at androidx.lifecycle.LifecycleRegistry.moveToState(LifecycleRegistry.kt:143)\n    at androidx.lifecycle.LifecycleRegistry.handleLifecycleEvent(LifecycleRegistry.kt:126)\n    at androidx.lifecycle.ReportFragment$Companion.dispatch$lifecycle_runtime_release(ReportFragment.kt:190)\n    at androidx.lifecycle.ReportFragment$LifecycleCallbacks.onActivityPreDestroyed(ReportFragment.kt:146)\n    at android.app.Activity.dispatchActivityPreDestroyed(Activity.java:1498)\n    at android.app.Activity.performDestroy(Activity.java:8235)\n    at android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1344)\n    at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:5094)\n    at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:5139)\n    at android.app.servertransaction.DestroyActivityItem.execute(DestroyActivityItem.java:44)\n    at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:176)\n    at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)\n    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2066)\n    at android.os.Handler.dispatchMessage(Handler.java:106)\n    at android.os.Looper.loop(Looper.java:223)\n    at android.app.ActivityThread.main(ActivityThread.java:7664)\n    at java.lang.reflect.Method.invoke\n    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)\n    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:952)\n```\n\nA possible root cause of the error is the kerner running out of entropy: https://stackoverflow.com/questions/19981189/how-does-the-kernel-entropy-pool-work","author":{"url":"https://github.com/rodolfoBee","@type":"Person","name":"rodolfoBee"},"datePublished":"2025-01-16T14:42:24Z","url":"https://github.com/getsentry/sentry-java/issues/4057"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:d791ac22-6da1-e03c-22ae-e957279d0494
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE01A:2D47A6:6541F4:8808C8:6B04A28A
html-safe-nonce5316430b16930ce2693a663bbdbdbaca00c18783ecf4a6a7185f033ea08cee83
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDFBOjJENDdBNjo2NTQxRjQ6ODgwOEM4OjZCMDRBMjhBIiwidmlzaXRvcl9pZCI6Ijg1NjU0ODEwMDg1MTcxMjg4NDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac57be37bd54ea9cc9d769ed0f969b3f90912ffdf32767a98626d1a5dfaba3f403
hovercard-subject-tagissue:2792973080
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-java/4057/issue_layout
twitter:imagehttps://opengraph.githubassets.com/a49b0d7b69bbbecff8ee3be0a5777e8cf910b2f6dbca959f53e39376837e11ef/getsentry/sentry-java/issues/4057
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a49b0d7b69bbbecff8ee3be0a5777e8cf910b2f6dbca959f53e39376837e11ef/getsentry/sentry-java/issues/4057
og:image:altIntegration sentry-android Build System Gradle AGP Version NA Proguard Disabled Version 7.18.0 Steps to Reproduce Steps to reproduce are unclear. A way to reproduce would be to by drawing a lot of ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerodolfoBee
hostnamegithub.com
expected-hostnamegithub.com
None9784b6f42e2d5eac4e394fa88cad134c0dc5b6662b4ff2787a1ed1ef5a96331d
turbo-cache-controlno-preview
go-importgithub.com/getsentry/sentry-java git https://github.com/getsentry/sentry-java.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3368190
octolytics-dimension-repository_nwogetsentry/sentry-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3368190
octolytics-dimension-repository_network_root_nwogetsentry/sentry-java
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release3fd14143b75b2af7b76bbd23b069867d091adfcc
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/getsentry/sentry-java/issues/4057#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-java%2Fissues%2F4057
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-java%2Fissues%2F4057
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=getsentry%2Fsentry-java
Reloadhttps://github.com/getsentry/sentry-java/issues/4057
Reloadhttps://github.com/getsentry/sentry-java/issues/4057
Reloadhttps://github.com/getsentry/sentry-java/issues/4057
getsentryhttps://github.com/getsentry
sentry-javahttps://github.com/getsentry/sentry-java
Codehttps://github.com/getsentry/sentry-java
Issues266 (266)https://github.com/getsentry/sentry-java/issues
Pull requests57 (57)https://github.com/getsentry/sentry-java/pulls
Discussionshttps://github.com/getsentry/sentry-java/discussions
Actionshttps://github.com/getsentry/sentry-java/actions
Projectshttps://github.com/getsentry/sentry-java/projects
Security and quality2 (2)https://github.com/getsentry/sentry-java/security
Insightshttps://github.com/getsentry/sentry-java/insights
https://github.com/getsentry/sentry-java
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-java/issues/4057
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-java/issues/4057
randomUUID generation results in ApplicationNotResponding error from the SDKhttps://github.com/getsentry/sentry-java/issues/4057#top
https://github.com/rodolfoBee
rodolfoBeehttps://github.com/rodolfoBee
on Jan 16, 2025https://github.com/getsentry/sentry-java/issues/4057#issue-2792973080
https://stackoverflow.com/questions/19981189/how-does-the-kernel-entropy-pool-workhttps://stackoverflow.com/questions/19981189/how-does-the-kernel-entropy-pool-work
rodolfoBeehttps://github.com/rodolfoBee
Platform: Androidhttps://github.com/getsentry/sentry-java/issues?q=state%3Aopen%20label%3A%22Platform%3A%20Android%22
Type: Bughttps://github.com/getsentry/sentry-java/issues?q=state%3Aopen%20label%3A%22Type%3A%20Bug%22
on Jan 16, 2025https://github.com/getsentry/sentry-java/issues/4057#event-15962888184
getsantryhttps://github.com/apps/getsantry
Waiting for: Product Ownerhttps://github.com/getsentry/sentry-java/issues?q=state%3Aopen%20label%3A%22Waiting%20for%3A%20Product%20Owner%22
on Jan 16, 2025https://github.com/getsentry/sentry-java/issues/4057#event-15962888838
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀 3https://github.com/orgs/getsentry/projects/227
on Jan 16, 2025https://github.com/getsentry/sentry-java/issues/4057#event-15962890304
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀 3https://github.com/orgs/getsentry/projects/227
on Jan 16, 2025https://github.com/getsentry/sentry-java/issues/4057
github-actionshttps://github.com/apps/github-actions
Platform: Javahttps://github.com/getsentry/sentry-java/issues?q=state%3Aopen%20label%3A%22Platform%3A%20Java%22
on Jan 16, 2025https://github.com/getsentry/sentry-java/issues/4057#event-15962891693
https://github.com/stefanosiano
stefanosianohttps://github.com/stefanosiano
on Jan 21, 2025https://github.com/getsentry/sentry-java/issues/4057#issuecomment-2604279053
#3818https://github.com/getsentry/sentry-java/pull/3818
stefanosianohttps://github.com/stefanosiano
completedhttps://github.com/getsentry/sentry-java/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jan 21, 2025https://github.com/getsentry/sentry-java/issues/4057#event-16011568240
getsantryhttps://github.com/apps/getsantry
Waiting for: Product Ownerhttps://github.com/getsentry/sentry-java/issues?q=state%3Aopen%20label%3A%22Waiting%20for%3A%20Product%20Owner%22
on Jan 21, 2025https://github.com/getsentry/sentry-java/issues/4057#event-16011568579
Sign up for freehttps://github.com/signup?return_to=https://github.com/getsentry/sentry-java/issues/4057
Sign in to commenthttps://github.com/login?return_to=https://github.com/getsentry/sentry-java/issues/4057
GitHub Issues with 👀 3https://github.com/orgs/getsentry/projects/227
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.