rive-app / rive-app/rive-android

Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) on Pixel 10 (including Pro and XL) devices.

Open
#420 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

triage
Dominant language
Kotlin
Stars
538
Forks
66
PR merge metrics
No merged PRs in 30d

Description

Description

A SIGABRT seems to be occurring on all Pixel 10 devices, running Android 16 (I've tested it on multiple Pixel 10 devices (including Pixel 10 Pro and Pixel 10 XL, but they have all been running Android 16/API 36). The issue appears in versions of this library between, at least, 10.3.1 and the latest (10.5.0). I did not test it on versions earlier than 10.3.1.

The issue occasionally occurs on first launch and first attempted display of a Rive animation. Sometimes, after the initial crash, the animation is successfully displayed after re-launch. I have found that a complete uninstall or device wipe makes it easiest to reproduce this issue again after an initial reproduction.

Here's a tombstone from the latest instance, from a Pixel 10 on Android 16:

 A  *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2025-11-05 15:48:48.479 31792-31792 DEBUG                   crash_dump64                         A  Build fingerprint: 'google/frankel/frankel:16/BD1A.250702.001/13724644:user/release-keys'
2025-11-05 15:48:48.479 31792-31792 DEBUG                   crash_dump64                         A  Revision: 'MP1.0'
2025-11-05 15:48:48.479 31792-31792 DEBUG                   crash_dump64                         A  ABI: 'arm64'
2025-11-05 15:48:48.479 31792-31792 DEBUG                   crash_dump64                         A  Timestamp: 2025-11-05 13:48:48.324362243-0800
2025-11-05 15:48:48.479 31792-31792 DEBUG                   crash_dump64                         A  Process uptime: 194s
2025-11-05 15:48:48.479 31792-31792 DEBUG                   crash_dump64                         A  Cmdline: com.example.android
2025-11-05 15:48:48.479 31792-31792 DEBUG                   crash_dump64                         A  pid: 31410, tid: 31500, name: RenderThread  >>> com.example.android <<<
2025-11-05 15:48:48.479 31792-31792 DEBUG                   crash_dump64                         A  uid: 10308
2025-11-05 15:48:48.479 31792-31792 DEBUG                   crash_dump64                         A  tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
2025-11-05 15:48:48.479 31792-31792 DEBUG                   crash_dump64                         A  pac_enabled_keys: 000000000000000f (PR_PAC_APIAKEY, PR_PAC_APIBKEY, PR_PAC_APDAKEY, PR_PAC_APDBKEY)
2025-11-05 15:48:48.479 31792-31792 DEBUG                   crash_dump64                         A  signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
2025-11-05 15:48:48.479 31792-31792 DEBUG                   crash_dump64                         A  Abort message: 'frameworks/base/libs/hwui/AutoBackendTextureRelease.cpp Invalid GrBackendTexture. Width==735, height==131, protected==0'
2025-11-05 15:48:48.479 31792-31792 DEBUG                   crash_dump64                         A      x0  0000000000000000  x1  0000000000007b0c  x2  0000000000000006  x3  0000007b864297a0
2025-11-05 15:48:48.479 31792-31792 DEBUG                   crash_dump64                         A      x4  00000000676f6c62  x5  00000000676f6c62  x6  00000000676f6c62  x7  b400007d195b4666
2025-11-05 15:48:48.479 31792-31792 DEBUG                   crash_dump64                         A      x8  00000000000000f0  x9  a50a9532e15ba0d1  x10 0000000000000001  x11 0000007eeecac930
2025-11-05 15:48:48.479 31792-31792 DEBUG                   crash_dump64                         A      x12 000000000012800c  x13 00000000004f97d0  x14 00000000004f97d0  x15 000000b67440dc54
2025-11-05 15:48:48.479 31792-31792 DEBUG                   crash_dump64                         A      x16 0000007eeed170f0  x17 0000007eeecff640  x18 0000007b86044000  x19 0000000000007ab2
2025-11-05 15:48:48.479 31792-31792 DEBUG                   crash_dump64                         A      x20 0000000000007b0c  x21 00000000ffffffff  x22 0000007c48f9e000  x23 0000007c48f9fe20
2025-11-05 15:48:48.479 31792-31792 DEBUG                   crash_dump64                         A      x24 0000007b86429e40  x25 0000007b8642a220  x26 0000000000000000  x27 0000000000000040
2025-11-05 15:48:48.479 31792-31792 DEBUG                   crash_dump64                         A      x28 b400007df9623bb0  x29 0000007b86429820
2025-11-05 15:48:48.479 31792-31792 DEBUG                   crash_dump64                         A      lr  0000007eeec9680c  sp  0000007b864297a0  pc  0000007eeec96830  pst 0000000000001000
2025-11-05 15:48:48.479 31792-31792 DEBUG                   crash_dump64                         A  12 total frames
2025-11-05 15:48:48.479 31792-31792 DEBUG                   crash_dump64                         A  backtrace:
2025-11-05 15:48:48.479 31792-31792 DEBUG                   crash_dump64                         A        #00 pc 0000000000072830  /apex/com.android.runtime/lib64/bionic/libc.so (abort+160) (BuildId: 984ab86b1414c4e14b5888b51dacf0e1)
2025-11-05 15:48:48.479 31792-31792 DEBUG                   crash_dump64                         A        #01 pc 00000000008a14a4  /apex/com.android.art/lib64/libart.so (art::Runtime::Abort(char const*)+476) (BuildId: b229f9d1b6196afaae086f29f029f907)
2025-11-05 15:48:48.479 31792-31792 DEBUG                   crash_dump64                         A        #02 pc 0000000000016188  /apex/com.android.art/lib64/libbase.so (android::base::SetAborter(std::__1::function<void (char const*)>&&)::$_0::__invoke(char const*)+80) (BuildId: 5e1c2a9a9b42ab6e6a3f44738913b9f7)
2025-11-05 15:48:48.479 31792-31792 DEBUG                   crash_dump64                         A        #03 pc 000000000000c854  /system/lib64/liblog.so (__android_log_assert+292) (BuildId: d9458d5f3cedd494030b4c7ebf67dcf9)
2025-11-05 15:48:48.479 31792-31792 DEBUG                   crash_dump64                         A        #04 pc 0000000000270cfc  /system/lib64/libhwui.so (android::uirenderer::AutoBackendTextureRelease::AutoBackendTextureRelease(GrDirectContext*, AHardwareBuffer*)+700) (BuildId: cf245094a7677c7b02a297e29ba6946f)
2025-11-05 15:48:48.479 31792-31792 DEBUG                   crash_dump64                         A        #05 pc 00000000002707d8  /system/lib64/libhwui.so (android::uirenderer::DeferredLayerUpdater::apply()+952) (BuildId: cf245094a7677c7b02a297e29ba6946f)
2025-11-05 15:48:48.479 31792-31792 DEBUG                   crash_dump64                         A        #06 pc 0000000000272b2c  /system/lib64/libhwui.so (android::uirenderer::renderthread::DrawFrameTask::run()+2476) (BuildId: cf245094a7677c7b02a297e29ba6946f)
2025-11-05 15:48:48.479 31792-31792 DEBUG                   crash_dump64                         A        #07 pc 000000000052b724  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+788) (BuildId: cf245094a7677c7b02a297e29ba6946f)
2025-11-05 15:48:48.479 31792-31792 DEBUG                   crash_dump64                         A        #08 pc 000000000001932c  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+236) (BuildId: 383914f8a741b3fb4e91a8f0d9425367)
2025-11-05 15:48:48.479 31792-31792 DEBUG                   crash_dump64                         A        #09 pc 000000000001b938  /system/lib64/libutils.so (libutil_thread_trampoline(void*) (.__uniq.226528677032898775202282855395389835431)+24) (BuildId: 383914f8a741b3fb4e91a8f0d9425367)
2025-11-05 15:48:48.479 31792-31792 DEBUG                   crash_dump64                         A        #10 pc 0000000000083654  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+180) (BuildId: 984ab86b1414c4e14b5888b51dacf0e1)
2025-11-05 15:48:48.479 31792-31792 DEBUG                   crash_dump64                         A        #11 pc 0000000000075ed4  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68) (BuildId: 984ab86b1414c4e14b5888b51dacf0e1)
2025-11-05 15:48:48.487  5323-5965  PixelDisplayManager     com.android.pixeldisplayservice      E  Lux invalidated
2025-11-05 15:48:48.493   699-699   tombstoned              tombstoned                           E  Tombstone written to: tombstone_01
Versions, Device, and Other Information
  • Rive Android Runtime Version: 10.3.1 - 10.5.0 (did not test below 10.3.1)
  • Rive API: I'm not sure what this is referring to but presumably the "legacy" API (i.e. not Compose).
  • Device: Pixel 10, Pixel 10 Pro
  • App Minimum SDK Level: 28
  • App Target SDK Level: 36
  • App NDK Level: We don't use the NDK directly.
  • Frequency: Seems to occasionally happen on first launch and first display of some Rive animations. Occasionally, the animation will load successfully after the first crash.
  • Other Rive runtimes affected: N/A
  • Dependencies with native libraries: Nothing of note.
Reproduction Steps
Source .riv/.rev File

Unfortunately, I cannot provide our .riv file for this at this time but should this eventually be deemed necessary we can see what's possible and perhaps I can directly email a copy. We've seen this on an array of Rive animations though so it's unlikely to be specific to a particular animation.

Expected Behavior

No crash and no SIGABRT.

Screenshots

Not applicable, app crashes.

Contributor guide

Open the contributing guide

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 by reproducing the first-display crash on a Pixel 10, Pixel 10 Pro, or Pixel 10 XL running Android 16 with Rive Android 10.3.1–10.5.0, using the supplied SIGABRT tombstone as the diagnostic reference. Trace the legacy API's animation rendering path around the Android RenderThread and hwui failure; done means affected animations display without a crash.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
computer-graphics, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.