Skip to content

Missing rives on Android 8.1.0 #397

@jacek-cieslak

Description

@jacek-cieslak

Description

We reported an issue where Rive animations are missing from our application on Xiaomi Mi Play (MIUI Global 11.0.10 | Android 8.1.0) from [9.13.1] lib version. In your example, it crashes with any sample on the Xiaomi Mi Play:

 A  Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 10204 (Rive CmdServer), pid 10160 (runtime.example)
 V  DecorView setVisiblity: visibility = 4, Parent = ViewRoot{3b22d70 app.rive.runtime.example/app.rive.runtime.example.MainActivity,ident = 0}, this = DecorView@dec4d22[MainActivity]
 I  orig_dumpable: 1
 A  pid: 10160, tid: 10204, name: Rive CmdServer  >>> app.rive.runtime.example <<<
 A      #01 pc 000000000033b3bc  /data/app/app.rive.runtime.example-lX9MXuH7xsFFso0lz8sf3g==/lib/arm64/librive-android.so
 A      #02 pc 00000000003374e0  /data/app/app.rive.runtime.example-lX9MXuH7xsFFso0lz8sf3g==/lib/arm64/librive-android.so (rive::gpu::RenderContextGLImpl::flush(rive::gpu::FlushDescriptor const&)+2272)
 A      #03 pc 00000000003420d0  /data/app/app.rive.runtime.example-lX9MXuH7xsFFso0lz8sf3g==/lib/arm64/librive-android.so (rive::gpu::RenderContext::flush(rive::gpu::RenderContext::FlushResources const&)+1776)
 A      #04 pc 00000000001a47e4  /data/app/app.rive.runtime.example-lX9MXuH7xsFFso0lz8sf3g==/lib/arm64/librive-android.so
 A      #05 pc 0000000000203484  /data/app/app.rive.runtime.example-lX9MXuH7xsFFso0lz8sf3g==/lib/arm64/librive-android.so (rive::CommandServer::processCommands()+39264)
 A      #06 pc 00000000001f9aac  /data/app/app.rive.runtime.example-lX9MXuH7xsFFso0lz8sf3g==/lib/arm64/librive-android.so (rive::CommandServer::serveUntilDisconnect()+56)
 A      #07 pc 00000000001a42ac  /data/app/app.rive.runtime.example-lX9MXuH7xsFFso0lz8sf3g==/lib/arm64/librive-android.so
 E  channel 'c6fa9c0 app.rive.runtime.example/app.rive.runtime.example.ComposeActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
 E  channel '8203db6 app.rive.runtime.example/app.rive.runtime.example.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!

On other android devices like LG Q6 (Android 8.1.0) or Emulator with same Android OS is ok.

Device & Versions (please complete the following information)

Device: Some devices with Android 8.1.0
Rive version: (app.rive:rive-android:9.13.1) or newer

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtriage

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions