rive-app / rive-app/rive-flutter

ANR in Android

Open
#604 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Dart
Stars
1.5k
Forks
240
PR merge metrics
No merged PRs in 30d

Description

      main (native):tid=1 systid=11359 

#00 pc 0xb6b4 libz.so (deflate_slow + 212) (BuildId: 7e66914ba0a6a86244d3f4d52a24c6e7)
#01 pc 0x9938 libz.so (deflate + 2964) (BuildId: 7e66914ba0a6a86244d3f4d52a24c6e7)
#02 pc 0x76d8 libz.so (compress + 184) (BuildId: 7e66914ba0a6a86244d3f4d52a24c6e7)
#03 pc 0x27c150 libGLESv2_adreno.so (!!!0000!519448e737d52844ad3d0d1f475c15!9ad1b678758! + 1768) (BuildId: c5c584909d832973fae8057842138cf7)
#04 pc 0x1dac4c libGLESv2_adreno.so (!!!0000!7f0e8066f901a72184fa93bc38e4d2!9ad1b678758! + 188) (BuildId: c5c584909d832973fae8057842138cf7)
#05 pc 0x433088 librive_native.so (glutils::CompileShader + 1000)
#06 pc 0x428608 librive_native.so (rive::gpu::RenderContextGLImpl::RenderContextGLImpl + 1596)
#07 pc 0x432a9c librive_native.so (rive::gpu::RenderContextGLImpl::MakeContext + 2152)
#08 pc 0x2ae464 librive_native.so
#09 pc 0x2ae048 librive_native.so (riveFactory + 56)

My Flutter verison: 3.32.9
rive: 0.14.0

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the provided Android stack trace, focusing on glutils::CompileShader and RenderContextGLImpl during rive 0.14.0 initialization under Flutter 3.32.9. Reproduce the ANR on Android and trace shader compilation on the main thread; done means the cause and a reliable reproduction or regression check are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
mobile, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.