You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
System event breadcrumbs are delivered in a background thread #4701
For system event breadcrumbs, beforeBreadcrumb is called in the main thread, not in SystemEventsReceiver thread. Is it possible to post system event breadcrumbs back to the main thread with the help of MainLooperHandlerLooper.myLooper?
Actual Result
System event breadcrumbs are added from the SystemEventsReceiver background thread:
This causes beforeBreadcrumb to be called in sentry-android's internal background thread that downstream SDKs are not aware of, causing random hard-to-reproduce crashes down the line:
changed the title [-]System breadcrumbs are delivered in a background thread[/-][+]System event breadcrumbs are delivered in a background thread[/+]on Sep 5, 2025
Activity
linear commentedon Sep 5, 2025
JAVA-168 System breadcrumbs are delivered in a background thread
[-]System breadcrumbs are delivered in a background thread[/-][+]System event breadcrumbs are delivered in a background thread[/+]stefanosiano commentedon Sep 8, 2025
closing as duplicate of #4700 (the root cause and solution are the same)