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

Soloader IO exception #12118

Closed
msharibahmed opened this issue Sep 2, 2022 · 4 comments
Closed

Soloader IO exception #12118

msharibahmed opened this issue Sep 2, 2022 · 4 comments
Labels

Comments

@msharibahmed
Copy link

msharibahmed commented Sep 2, 2022

When the user updates my app, it's showing this error and the app is crashing. The app works if uninstall and reinstall the app.
@saghul
Previously I was using jitsi sdk version 5+ but now I am using V4.1.0.

Exception java.lang.RuntimeException:
  at android.app.ActivityThread.installProvider (ActivityThread.java:8195)
  at android.app.ActivityThread.installContentProviders (ActivityThread.java:7698)
  at android.app.ActivityThread.handleBindApplication (ActivityThread.java:7452)
  at android.app.ActivityThread.access$1600 (ActivityThread.java:310)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2277)
  at android.os.Handler.dispatchMessage (Handler.java:106)
  at android.os.Looper.loopOnce (Looper.java:226)
  at android.os.Looper.loop (Looper.java:313)
  at android.app.ActivityThread.main (ActivityThread.java:8633)
  at java.lang.reflect.Method.invoke (Method.java)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:567)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1133)
Caused by androidx.startup.d:
  at androidx.startup.AppInitializer.doInitialize (AppInitializer.java)
  at androidx.startup.AppInitializer.discoverAndInitialize (AppInitializer.java)
  at androidx.startup.InitializationProvider.onCreate (InitializationProvider.java)
  at android.content.ContentProvider.attachInfo (ContentProvider.java:2516)
  at android.content.ContentProvider.attachInfo (ContentProvider.java:2486)
  at android.app.ActivityThread.installProvider (ActivityThread.java:8190)
Caused by java.lang.RuntimeException:
  at com.facebook.soloader.SoLoader.init (SoLoader.java)
  at org.jitsi.meet.sdk.JitsiInitializer.create (JitsiInitializer.java)
  at org.jitsi.meet.sdk.JitsiInitializer.create (JitsiInitializer.java)
  at androidx.startup.AppInitializer.doInitialize (AppInitializer.java)
Caused by java.io.IOException:
  at com.facebook.soloader.SysUtil.dumbDeleteRecursive (SysUtil.java)
  at com.facebook.soloader.UnpackingSoSource.deleteUnmentionedFiles (UnpackingSoSource.java)
  at com.facebook.soloader.UnpackingSoSource.regenerate (UnpackingSoSource.java)
  at com.facebook.soloader.UnpackingSoSource.refreshLocked (UnpackingSoSource.java)
  at com.facebook.soloader.UnpackingSoSource.prepare (UnpackingSoSource.java)
  at com.facebook.soloader.SoLoader.initSoSources (SoLoader.java)
  at com.facebook.soloader.SoLoader.init (SoLoader.java)
  at com.facebook.soloader.SoLoader.init (SoLoader.java)
  at com.facebook.soloader.SoLoader.init (SoLoader.java)

@saghul
Copy link
Member

saghul commented Sep 2, 2022

I have never seen this one sorry.

@msharibahmed
Copy link
Author

msharibahmed commented Sep 2, 2022

@saghul This is related to react native SoLoader bug

I fixed it by adding this in the build.gradle file implementation 'com.facebook.soloader:soloader:0.10.1+'

@saghul
Copy link
Member

saghul commented Sep 2, 2022

Interesting, we haven't seen this in our Crashlytics crashes (I think). Thanks for sharing!

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Aug 22, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants