Skip to content

fix(android): bump rive-android to 11.6.2#317

Open
mfazekas wants to merge 1 commit into
mainfrom
fix/android-rive-11.6.2
Open

fix(android): bump rive-android to 11.6.2#317
mfazekas wants to merge 1 commit into
mainfrom
fix/android-rive-11.6.2

Conversation

@mfazekas

@mfazekas mfazekas commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

Bumps the pinned Android runtime from 11.6.1 to 11.6.2, which backports the ViewModelInstance read/write lock from 11.7.0 without the 11.7.x Vulkan default flip.

In 11.6.1, StateMachineInstance.advance() holds the file lock but ViewModelInstance property access takes no lock, so a property write or instance teardown on another thread can race the advance path's DataBindContainer::updateDataBinds and crash (SIGSEGV reported in production on 0.4.11). Related ledger: #308.

Verified on a Pixel 6 API 34 emulator (arm64 debug build): the databinding-related harness suites and a targeted advance-vs-write stress loop are green on both 11.6.1 and 11.6.2 (the race did not reproduce locally at this volume; no regressions from the bump).

11.6.2 backports the ViewModelInstance read/write lock from 11.7.0
(without the 11.7.x Vulkan default flip). In 11.6.1, state-machine
advance holds the file lock but ViewModelInstance property access takes
no lock, so a property write or instance teardown on another thread can
race the advance path's DataBindContainer::updateDataBinds and crash.
@mfazekas mfazekas force-pushed the fix/android-rive-11.6.2 branch from a88afa2 to 89378b3 Compare July 6, 2026 05:12
@mfazekas mfazekas requested a review from HayesGordon July 6, 2026 06:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant