Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash on 8.2.2 #303

Open
MKelman opened this issue Sep 3, 2023 · 7 comments
Open

crash on 8.2.2 #303

MKelman opened this issue Sep 3, 2023 · 7 comments
Labels
needs repro The issue doesn't have clear steps to reproduce the issue question Further information is requested

Comments

@MKelman
Copy link

MKelman commented Sep 3, 2023

Description

Crash affecting many users.

rive version: 8.2.2

Provide a Repro

Fatal Exception: java.lang.UnsatisfiedLinkError: No implementation found for long app.rive.runtime.kotlin.renderers.Renderer.constructor(boolean, int) (tried Java_app_rive_runtime_kotlin_renderers_Renderer_constructor and Java_app_rive_runtime_kotlin_renderers_Renderer_constructor__ZI)
       at app.rive.runtime.kotlin.renderers.Renderer.constructor(Renderer.kt)
       at app.rive.runtime.kotlin.renderers.Renderer.make(Renderer.kt:62)
       at app.rive.runtime.kotlin.RiveTextureView.onAttachedToWindow(RiveTextureView.kt:69)
       at app.rive.runtime.kotlin.RiveAnimationView.onAttachedToWindow(RiveAnimationView.kt:713)
       at android.view.View.dispatchAttachedToWindow(View.java:20188)
       at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3519)
       at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3519)
       at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3519)
       at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3519)
       at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3519)
       at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3519)
       at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3519)
       at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2137)
       at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1809)
       at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:8119)
       at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1043)
       at android.view.Choreographer.doCallbacks(Choreographer.java:866)
       at android.view.Choreographer.doFrame(Choreographer.java:801)
       at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1028)
       at android.os.Handler.handleCallback(Handler.java:883)
       at android.os.Handler.dispatchMessage(Handler.java:100)
       at android.os.Looper.loop(Looper.java:214)
       at android.app.ActivityThread.main(ActivityThread.java:7615)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:964)

Source .riv/.rev file

ticket_stars_and_flare.riv.zip

Expected behavior

no crash

Device & Versions (please complete the following information)

image
@umberto-sonnino
Copy link
Contributor

Hi @MKelman
Are you seeing this crash only on Android 12 devices?
Do you have a repro for this? You can share the code with your setup also in a public repo and we can take a look.

@umberto-sonnino umberto-sonnino added question Further information is requested needs repro The issue doesn't have clear steps to reproduce the issue labels Sep 4, 2023
@MKelman
Copy link
Author

MKelman commented Sep 6, 2023

Hi @umberto-sonnino , no as you can see android 12 is only 47% of the users getting this crash. this is the new breakdown by version
image

@umberto-sonnino
Copy link
Contributor

Hi @umberto-sonnino , no as you can see android 12 is only 47% of the users getting this crash. this is the new breakdown by version image

I tried your Rive file and it seems to be working fine in the example app that comes with this repository.
Can you share an example that reproduces the problem you're seeing? A public repo or a gist both work

@MKelman
Copy link
Author

MKelman commented Sep 7, 2023

unfortunately I'm not able to repo it, this is just crashes coming from our companies production. not sure how to further help with this besides the log

@MKelman
Copy link
Author

MKelman commented Oct 5, 2023

@umberto-sonnino I need your help to reproduce this but i can get the test app here to work

image

@MKelman
Copy link
Author

MKelman commented Oct 5, 2023

@umberto-sonnino can you try this rive file on your end? this is the new number 1 crash in our app.
idle_box_coin_green.riv.zip

@umberto-sonnino
Copy link
Contributor

unfortunately I'm not able to repo it, this is just crashes coming from our companies production. not sure how to further help with this besides the log

Hi @MKelman, we just released a simpler version of our example app which builds right out of the box, you can give it a try from a fresh clone of https://github.com/rive-app/rive-android

@umberto-sonnino can you try this rive file on your end? this is the new number 1 crash in our app. idle_box_coin_green.riv.zip

I tried running the default animation in the example app from this repo, but it plays fine. Are you seeing a crash on your end? Can you send the code that's showing the crash?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs repro The issue doesn't have clear steps to reproduce the issue question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants