-
-
Notifications
You must be signed in to change notification settings - Fork 445
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
Switch to audio then back to video crash #5958
Comments
On v0.22.2 this bug is not present. Android 14 (LOS 21) On Android 13, v0.23 i could reproduce this bug too. Edit, including the crash notification on launch:
|
I can reproduce this. v0.23.0, Android 14 (GOS) |
I am able to reproduce this consistently by selecting play in background and then pressing the X on the mini player. I don't even have to switch to video. |
can confirm. using android 13, can reproduce the issue on 0.23.0 |
I also encountered this error:
|
I also encounter this error |
Steps to reproduce
Open a video, turn on audio mode, turn on video mode again
Expected behavior
App isn't crashing
Actual behavior
App is crashing
LibreTube version
0.23.0
Android version
Android 14
Other details
java.lang.RuntimeException: Unable to stop service com.github.libretube.services.OnlinePlayerService@b6752b0: java.lang.IllegalArgumentException: Receiver not registered: androidx.media3.common.util.NetworkTypeObserver$Receiver@a500529
at android.app.ActivityThread.handleStopService(ActivityThread.java:5111)
at android.app.ActivityThread.-$$Nest$mhandleStopService(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2405)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loopOnce(Looper.java:232)
at android.os.Looper.loop(Looper.java:317)
at android.app.ActivityThread.main(ActivityThread.java:8532)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
at com.android.internal.os.ExecInit.main(ExecInit.java:50)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:359)
Caused by: java.lang.IllegalArgumentException: Receiver not registered: androidx.media3.common.util.NetworkTypeObserver$Receiver@a500529
at android.app.LoadedApk.forgetReceiverDispatcher(LoadedApk.java:1670)
at android.app.ContextImpl.unregisterReceiver(ContextImpl.java:1905)
at android.content.ContextWrapper.unregisterReceiver(ContextWrapper.java:821)
at com.github.libretube.services.OnlinePlayerService.onDestroy(SourceFile:34)
at android.app.ActivityThread.handleStopService(ActivityThread.java:5091)
... 11 more
Acknowledgements
The text was updated successfully, but these errors were encountered: