-
Notifications
You must be signed in to change notification settings - Fork 49
Description
We've tried to integrate Rive SDK (version 10.4.3) in our Android app, but 've faced the following crash:
Fatal signal 7 (SIGBUS), code 1 (BUS_ADRALN), fault addr 0x400000006 in tid 20631 (Thread-106), pid 19968 (com.example.app)
pid: 19968, tid: 20631, name: Thread-106 >>> com.example.app <<<
#00 pc 00000000001b8360 /data/app/~~5XL0-EtF3Xab7Z5LfnFfLQ==/com.example.app-GUqTKI93eYigSPFezJpOOg==/base.apk!librive-android.so (offset 0x44e8000) (BuildId: 033e270918d961a2742d79b996bd2ee17def07cc)
#1 pc 00000000001aa8d0 /data/app/~~5XL0-EtF3Xab7Z5LfnFfLQ==/com.example.app-GUqTKI93eYigSPFezJpOOg==/base.apk!librive-android.so (offset 0x44e8000) (BuildId: 033e270918d961a2742d79b996bd2ee17def07cc)
#2 pc 00000000001b1060 /data/app/~~5XL0-EtF3Xab7Z5LfnFfLQ==/com.example.app-GUqTKI93eYigSPFezJpOOg==/base.apk!librive-android.so (offset 0x44e8000) (rive_android::WorkerThread::threadMain()+488) (BuildId: 033e270918d961a2742d79b996bd2ee17def07cc)
#3 pc 00000000001b0e40 /data/app/~~5XL0-EtF3Xab7Z5LfnFfLQ==/com.example.app-GUqTKI93eYigSPFezJpOOg==/base.apk!librive-android.so (offset 0x44e8000) (BuildId: 033e270918d961a2742d79b996bd2ee17def07cc)
There supposed to be a screen with a couple of animated buttons, each one representing related riv file. The animations are pretty simple and can be successfully played at the Rive Web Runtime page. But it seems one particular animation file produces this app crash. When the button is removed everything works fine and all other animated buttons look good.
In despair, I've decided to try switching to the previous version of the Rive SDK (10.4.2) – and all animations (including the 'failed' one) were played with no issues at all.
We use app.rive.runtime.kotlin.RiveAnimationView to render the animations (tried to use the Compose widget, but without any success). The issue is reproducible on different devices and Android OS versions (Pixel 7, API level 36; an Emulator with Android 15 (API level 35) and Mi A1 with Android 9, API level 28).
I'm not sure if I can attach the riv-file here, but I may send it to you via email linking this issue.