-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[Bug]: Earn (Money) onboarding crashes ~50% of the time when first opened on Android #31167
Copy link
Copy link
Closed
Closed
Copy link
Labels
RCA-neededIssue root cause analysis neededIssue root cause analysis neededSev1-highAn issue that may have caused fund loss or access to wallet in the past & may still be ongoingAn issue that may have caused fund loss or access to wallet in the past & may still be ongoingregression-RC-7.81.0Regression bug that was found in release candidate (RC) for release 7.81.0Regression bug that was found in release candidate (RC) for release 7.81.0release-blockerThis bug is blocking the next releaseThis bug is blocking the next releaseta-needs-engineer-escalationTriage-Agent - Applied when confidence is below thresholdTriage-Agent - Applied when confidence is below thresholdta-triagedteam-mobile-platformMobile Platform teamMobile Platform teamtype-bugSomething isn't workingSomething isn't working
Metadata
Metadata
Assignees
Labels
RCA-neededIssue root cause analysis neededIssue root cause analysis neededSev1-highAn issue that may have caused fund loss or access to wallet in the past & may still be ongoingAn issue that may have caused fund loss or access to wallet in the past & may still be ongoingregression-RC-7.81.0Regression bug that was found in release candidate (RC) for release 7.81.0Regression bug that was found in release candidate (RC) for release 7.81.0release-blockerThis bug is blocking the next releaseThis bug is blocking the next releaseta-needs-engineer-escalationTriage-Agent - Applied when confidence is below thresholdTriage-Agent - Applied when confidence is below thresholdta-triagedteam-mobile-platformMobile Platform teamMobile Platform teamtype-bugSomething isn't workingSomething isn't working
Type
Fields
Give feedbackNo fields configured for Bug.
Projects
StatusShow more project fields
To be triaged
Describe the bug
Opening the Earn onboarding screen on Android causes the app to crash approximately 50% of the time, with no user interaction required. Symptom: navigate to the Money/Earn tab, the Rive animation fails to appear, and ~0.2-0.5 seconds later the app aborts via a native SIGABRT. Same
rive-react-nativelibrary bug as Issue #31166, but triggered during initial mount/render rather than on close.The screen mounts and the Rive component begins loading, but Android's
SurfaceViewlifecycle releases the Surface during the navigation transition. The Rive worker thread is mid-frame and callsSurface.unlockCanvasAndPost(), which throwsIllegalStateException. Rive's exception handler then callsRiveLogD→MakeJString→NewStringUTFwithout first clearing the pending Java exception, violating ART's JNI rules and aborting the process.JS-side mitigations attempted (deferring Rive mount via
InteractionManager.runAfterInteractions) did not eliminate the crash, suggesting the Surface lifecycle issue is outside the React tree's controlExpected behavior
Opening the Earn onboarding screen should reliably display the Rive animation and allow the user to step through onboarding without crashing.
Screenshots/Recordings
onboarding.mov
Steps to reproduce
Error messages or log output
Where was this bug found?
Internal release testing
Version
7.81.0
Build number
4823
Build type
None
Device
Operating system
Android
Additional context
onboarding.txt
Severity
No response