muxinc / mux-stats-sdk-bitmovin-android

Apache License 2.0
0 stars 1 forks source link

MUX Stat Config is freezing player's UI #8

Closed Grandpasoul closed 1 year ago

Grandpasoul commented 2 years ago

Hi, we are having some issues on several users since Sep 16th

Bitmovin Version: 3.23.0 (we tested with these 3 version, 3.11.1 and 3.18.1, no problems were found, we published the app 2 days before the issue appeared) MUX SDK Version: 0.5.1

What is happening: Mux configuration is freezing the player UI, content audio can be listened, after a while Android alert pop up.

Here is the Stat Configuration:

val player = Player.create(this, playerConfig = playerConfig).also {
                bView.bitmovinPlayerView.player = it
            }
            //setup player listeners
            setupPlayerListeners()
            //Load playlist
            player.load(playlistConfig)
            setMUXConfig()
private fun setMUXConfig() {
        Log.e("here", "MUX Config")

        try {
            val customerPlayerData = CustomerPlayerData()
            customerPlayerData.environmentKey = BuildConfig.MUX_KEY
            val customerVideoData = CustomerVideoData()
            customerVideoData.videoTitle = titleVideo
            customerVideoData.videoId = titleVideoID
            customerVideoData.videoSeries = episodeName
            customerPlayerData.playerInitTime = getCurrentNowMilliseconds()
            customerPlayerData.subPropertyId = BuildConfig.SUB_PROPERTY_ID
            val customerData = CustomerData(customerPlayerData, customerVideoData, null)

            muxStatsBitmovin = MuxStatsSDKBitmovinPlayer(
                this,
                bView.bitmovinPlayerView,
                "Riivi",
                customerData)

            val size = Point()
            windowManager.defaultDisplay.getSize(size)
            muxStatsBitmovin?.setScreenSize(size.x, size.y)

        } catch (e: Exception){
            Log.e("mux", "${e.message}")
        }

    }

And here is the Stacktrace:

  at com.mux.stats.sdk.muxstats.MuxStats.handle (unavailable:2)
  at com.mux.stats.sdk.core.events.EventBus.dispatch (unavailable:24)
  at com.mux.stats.sdk.muxstats.bitmovinplayer.MuxStatsSDKBitmovinPlayer.dispatch (MuxStatsSDKBitmovinPlayer.java:587)
  at com.mux.stats.sdk.muxstats.bitmovinplayer.MuxStatsSDKBitmovinPlayer.buffering (MuxStatsSDKBitmovinPlayer.java:386)
  at com.mux.stats.sdk.muxstats.bitmovinplayer.MuxStatsSDKBitmovinPlayer.lambda$new$10$com-mux-stats-sdk-muxstats-bitmovinplayer-MuxStatsSDKBitmovinPlayer (MuxStatsSDKBitmovinPlayer.java:263)
  at com.mux.stats.sdk.muxstats.bitmovinplayer.MuxStatsSDKBitmovinPlayer$$ExternalSyntheticLambda11.onEvent (unavailable:4)
  at com.bitmovin.player.api.event.EventEmitter$DefaultImpls$d.a (SourceFile:1)
  at com.bitmovin.player.api.event.EventEmitter$DefaultImpls$d.invoke (SourceFile:1)
  at com.bitmovin.player.u.b.b (SourceFile:206)
  at com.bitmovin.player.u.d.a (SourceFile:1)
  at com.bitmovin.player.f.p0.a (SourceFile:42)
  at com.bitmovin.player.f.p0.a (SourceFile:1)
  at com.bitmovin.player.f.p0.b (SourceFile:1)
  at com.bitmovin.player.f.p0$a.a (SourceFile:2)
  at com.bitmovin.player.f.p0$a.invoke (SourceFile:1)
  at kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1$2.emit (Emitters.kt:223)
  at kotlinx.coroutines.flow.StateFlowImpl.collect (StateFlow.kt:398)
  at kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1.collect (SafeCollector.common.kt:113)
  at kotlinx.coroutines.flow.FlowKt__CollectKt.collect (Collect.kt:30)
  at kotlinx.coroutines.flow.FlowKt.collect (unavailable:1)
  at kotlinx.coroutines.flow.FlowKt__CollectKt$launchIn$1.invokeSuspend (Collect.kt:50)
  at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith (ContinuationImpl.kt:33)
  at kotlinx.coroutines.DispatchedTask.run (DispatchedTask.kt:106)
  at android.os.Handler.handleCallback (Handler.java:938)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at android.os.Looper.loopOnce (Looper.java:226)
  at android.os.Looper.loop (Looper.java:313)
  at android.app.ActivityThread.main (ActivityThread.java:8663)
  at java.lang.reflect.Method.invoke (Native method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:571)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1135)
daytime-em commented 2 years ago

Hello @Grandpasoul, thank you for reporting this issue. We are investigating now.

If it's possible, would you be able to supply the type of Exception being thrown (like, just above the stack trace)? Thank you!

Grandpasoul commented 2 years ago

Hello @daytime-em thanks for the response.

The logs are from Google Play Console, we don't recognize any Exception on the stacktrace, actually that's all that the console catches, but the title says:

unavailable - com.mux.stats.sdk.muxstats.MuxStats.handle
Input dispatching timed out
Thread: "main" tid=1 Blocked
  at com.mux.stats.sdk.muxstats.MuxStats.handle (unavailable)
  at com.mux.stats.sdk.core.events.EventBus.dispatch (unavailable)
  at com.mux.stats.sdk.muxstats.bitmovinplayer.MuxStatsSDKBitmovinPlayer.dispatch (MuxStatsSDKBitmovinPlayer.java:587)
  at com.mux.stats.sdk.muxstats.bitmovinplayer.MuxStatsSDKBitmovinPlayer.buffering (MuxStatsSDKBitmovinPlayer.java:386)
  at com.mux.stats.sdk.muxstats.bitmovinplayer.MuxStatsSDKBitmovinPlayer.lambda$new$10$com-mux-stats-sdk-muxstats-bitmovinplayer-MuxStatsSDKBitmovinPlayer (MuxStatsSDKBitmovinPlayer.java:263)
  at com.mux.stats.sdk.muxstats.bitmovinplayer.MuxStatsSDKBitmovinPlayer$$ExternalSyntheticLambda11.onEvent (D8$$SyntheticClass)
  at com.bitmovin.player.api.event.EventEmitter$DefaultImpls$d.a (SourceFile:1)
  at com.bitmovin.player.api.event.EventEmitter$DefaultImpls$d.invoke (SourceFile:1)
  at com.bitmovin.player.u.b.b (SourceFile:206)
  at com.bitmovin.player.u.d.a (SourceFile:1)
  at com.bitmovin.player.f.p0.a (SourceFile:42)
  at com.bitmovin.player.f.p0.a (SourceFile:1)
  at com.bitmovin.player.f.p0.b (SourceFile:1)
  at com.bitmovin.player.f.p0$a.a (SourceFile:2)
  at com.bitmovin.player.f.p0$a.invoke (SourceFile:1)
  at kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1$2.emit (Emitters.kt:223)
  at kotlinx.coroutines.flow.StateFlowImpl.collect (StateFlow.kt:398)
  at kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1.collect (SafeCollector.common.kt:113)
  at kotlinx.coroutines.flow.FlowKt__CollectKt.collect (Collect.kt:30)
  at kotlinx.coroutines.flow.FlowKt.collect (unavailable:1)
  at kotlinx.coroutines.flow.FlowKt__CollectKt$launchIn$1.invokeSuspend (Collect.kt:50)
  at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith (ContinuationImpl.kt:33)
  at kotlinx.coroutines.DispatchedTask.run (DispatchedTask.kt:106)
  at android.os.Handler.handleCallback (Handler.java:938)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at android.os.Looper.loop (Looper.java:236)
  at android.app.ActivityThread.main (ActivityThread.java:8107)
  at java.lang.reflect.Method.invoke (Native method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:656)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:967)

This is the start of the Stacktrace

Captura de Pantalla 2022-09-21 a la(s) 13 45 43

We are trying to replicate the issue to get more logs, but nothing for now.

daytime-em commented 2 years ago

@Grandpasoul Thank you for providing this information! This is very useful

daytime-em commented 2 years ago

This issue has been isolated and a fix has been proposed here: https://github.com/muxinc/mux-stats-sdk-bitmovin-android/pull/9 We expect to release a fix soon.

daytime-em commented 2 years ago

@Grandpasoul A fix should now be available in SDK version 0.5.2, which is available on our mvn now. Thank you for your help with this issue!

Grandpasoul commented 2 years ago

As a recommendation, update the docs @ https://docs.mux.com/guides/data/monitor-bitmovin-android#1-install-the-mux-data-sdk

Thank you very much.

daytime-em commented 2 years ago

Whoops, great catch! Thank you!

Please let us know if you run into additional issues, and thanks again!

Grandpasoul commented 2 years ago

The issue re appreared but in less users.

We updated the MUX SDK to 0.5.2 and our app at Google Play Store, from a pool of 35k users, more than 1k active users the last weekend, 2 users still get this ANR. The last issue was 16 hrs ago.

Captura de Pantalla 2022-09-26 a la(s) 09 27 28

I think is the same stacktrace.

  at com.mux.stats.sdk.muxstats.MuxStats.handle (unavailable:2)
  at com.mux.stats.sdk.core.events.EventBus.dispatch (unavailable:24)
  at com.mux.stats.sdk.muxstats.bitmovinplayer.MuxStatsSDKBitmovinPlayer.dispatch (MuxStatsSDKBitmovinPlayer.java:587)
  at com.mux.stats.sdk.muxstats.bitmovinplayer.MuxStatsSDKBitmovinPlayer.buffering (MuxStatsSDKBitmovinPlayer.java:386)
  at com.mux.stats.sdk.muxstats.bitmovinplayer.MuxStatsSDKBitmovinPlayer.lambda$new$10$com-mux-stats-sdk-muxstats-bitmovinplayer-MuxStatsSDKBitmovinPlayer (MuxStatsSDKBitmovinPlayer.java:263)
  at com.mux.stats.sdk.muxstats.bitmovinplayer.MuxStatsSDKBitmovinPlayer$$ExternalSyntheticLambda11.onEvent (unavailable:4)
  at com.bitmovin.player.api.event.EventEmitter$DefaultImpls$d.a (SourceFile:1)
  at com.bitmovin.player.api.event.EventEmitter$DefaultImpls$d.invoke (SourceFile:1)
  at com.bitmovin.player.u.b.b (SourceFile:206)
  at com.bitmovin.player.u.d.a (SourceFile:1)
  at com.bitmovin.player.f.p0.a (SourceFile:42)
  at com.bitmovin.player.f.p0.a (SourceFile:1)
  at com.bitmovin.player.f.p0.b (SourceFile:1)
  at com.bitmovin.player.f.p0$a.a (SourceFile:2)
  at com.bitmovin.player.f.p0$a.invoke (SourceFile:1)
  at kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1$2.emit (Emitters.kt:223)
  at kotlinx.coroutines.flow.StateFlowImpl.collect (StateFlow.kt:398)
  at kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1.collect (SafeCollector.common.kt:113)
  at kotlinx.coroutines.flow.FlowKt__CollectKt.collect (Collect.kt:30)
  at kotlinx.coroutines.flow.FlowKt.collect (unavailable:1)
  at kotlinx.coroutines.flow.FlowKt__CollectKt$launchIn$1.invokeSuspend (Collect.kt:50)
  at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith (ContinuationImpl.kt:33)
  at kotlinx.coroutines.DispatchedTask.run (DispatchedTask.kt:106)
  at android.os.Handler.handleCallback (Handler.java:938)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at android.os.Looper.loopOnce (Looper.java:226)
  at android.os.Looper.loop (Looper.java:313)
  at android.app.ActivityThread.main (ActivityThread.java:8663)
  at java.lang.reflect.Method.invoke (Native method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:567)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1135)
daytime-em commented 2 years ago

@Grandpasoul We are sorry this issue has not been fully resolved. It appears that bitmovin player can occasionally stall during all state queries, but there was one that we didn't see problems with in testing. I'll reopen this and eliminate the stall completely

daytime-em commented 2 years ago

@Grandpasoul We are having some trouble reproducing this issue internally. If you don't mind, are the rest of the process threads in the crash report? This issue is due to another thread holding a lock required by the main thread, and we should be able to find out what is blocking that way.

Thank you for your help debugging this issue!

Grandpasoul commented 2 years ago

Hi @daytime-em

Yes, there are more threads, here they are.

Hilo "Signal Catcher" tid=5 Runnable

  #00  pc 0x00000000005376cc  /apex/com.android.art/lib64/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, BacktraceMap*, char const*, art::ArtMethod*, void*, bool)+128)
  #01  pc 0x00000000006f0e24  /apex/com.android.art/lib64/libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, bool, BacktraceMap*, bool) const+236)
  #02  pc 0x00000000006fe6b0  /apex/com.android.art/lib64/libart.so (art::DumpCheckpoint::Run(art::Thread*)+208)
  #03  pc 0x0000000000364174  /apex/com.android.art/lib64/libart.so (art::ThreadList::RunCheckpoint(art::Closure*, art::Closure*)+440)
  #04  pc 0x00000000006fce50  /apex/com.android.art/lib64/libart.so (art::ThreadList::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, bool)+280)
  #05  pc 0x00000000006fc844  /apex/com.android.art/lib64/libart.so (art::ThreadList::DumpForSigQuit(std::__1::basic_ostream<char, std::__1::char_traits<char> >&)+292)
  #06  pc 0x00000000006d5914  /apex/com.android.art/lib64/libart.so (art::Runtime::DumpForSigQuit(std::__1::basic_ostream<char, std::__1::char_traits<char> >&)+184)
  #07  pc 0x00000000006e19c0  /apex/com.android.art/lib64/libart.so (art::SignalCatcher::HandleSigQuit()+468)
  #08  pc 0x0000000000573e40  /apex/com.android.art/lib64/libart.so (art::SignalCatcher::Run(void*)+264)
  #09  pc 0x00000000000f10f4  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264)
  #10  pc 0x000000000008d754  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68)
Hilo "main" tid=1 Blocked

  at com.mux.stats.sdk.muxstats.MuxStats.handle (unavailable:2)
  at com.mux.stats.sdk.core.events.EventBus.dispatch (unavailable:24)
  at com.mux.stats.sdk.muxstats.bitmovinplayer.MuxStatsSDKBitmovinPlayer.dispatch (MuxStatsSDKBitmovinPlayer.java:587)
  at com.mux.stats.sdk.muxstats.bitmovinplayer.MuxStatsSDKBitmovinPlayer.buffering (MuxStatsSDKBitmovinPlayer.java:386)
  at com.mux.stats.sdk.muxstats.bitmovinplayer.MuxStatsSDKBitmovinPlayer.lambda$new$10$com-mux-stats-sdk-muxstats-bitmovinplayer-MuxStatsSDKBitmovinPlayer (MuxStatsSDKBitmovinPlayer.java:263)
  at com.mux.stats.sdk.muxstats.bitmovinplayer.MuxStatsSDKBitmovinPlayer$$ExternalSyntheticLambda11.onEvent (unavailable:4)
  at com.bitmovin.player.api.event.EventEmitter$DefaultImpls$d.a (SourceFile:1)
  at com.bitmovin.player.api.event.EventEmitter$DefaultImpls$d.invoke (SourceFile:1)
  at com.bitmovin.player.u.b.b (SourceFile:206)
  at com.bitmovin.player.u.d.a (SourceFile:1)
  at com.bitmovin.player.f.p0.a (SourceFile:42)
  at com.bitmovin.player.f.p0.a (SourceFile:1)
  at com.bitmovin.player.f.p0.b (SourceFile:1)
  at com.bitmovin.player.f.p0$a.a (SourceFile:2)
  at com.bitmovin.player.f.p0$a.invoke (SourceFile:1)
  at kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1$2.emit (Emitters.kt:223)
  at kotlinx.coroutines.flow.StateFlowImpl.collect (StateFlow.kt:398)
  at kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1.collect (SafeCollector.common.kt:113)
  at kotlinx.coroutines.flow.FlowKt__CollectKt.collect (Collect.kt:30)
  at kotlinx.coroutines.flow.FlowKt.collect (unavailable:1)
  at kotlinx.coroutines.flow.FlowKt__CollectKt$launchIn$1.invokeSuspend (Collect.kt:50)
  at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith (ContinuationImpl.kt:33)
  at kotlinx.coroutines.DispatchedTask.run (DispatchedTask.kt:106)
  at android.os.Handler.handleCallback (Handler.java:938)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at android.os.Looper.loopOnce (Looper.java:226)
  at android.os.Looper.loop (Looper.java:313)
  at android.app.ActivityThread.main (ActivityThread.java:8663)
  at java.lang.reflect.Method.invoke (Native method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:567)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1135)
Hilo "perfetto_hprof_listener" tid=7 Native

  #00  pc 0x00000000000dc0b8  /apex/com.android.runtime/lib64/bionic/libc.so (read+8)
  #01  pc 0x000000000001d840  /apex/com.android.art/lib64/libperfetto_hprof.so (void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, ArtPlugin_Initialize::$_34> >(void*)+260)
  #02  pc 0x00000000000f10f4  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264)
  #03  pc 0x000000000008d754  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68)
Hilo "HeapTaskDaemon" tid=8 Waiting

  #00  pc 0x00000000000881b0  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+32)
  #01  pc 0x000000000047cc80  /apex/com.android.art/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+140)
  #02  pc 0x000000000046d13c  /apex/com.android.art/lib64/libart.so (art::gc::TaskProcessor::GetTask(art::Thread*)+736)
  #03  pc 0x000000000046ce10  /apex/com.android.art/lib64/libart.so (art::gc::TaskProcessor::RunAllTasks(art::Thread*)+32)
  at dalvik.system.VMRuntime.runHeapTasks (Native method)
  at java.lang.Daemons$HeapTaskDaemon.runInternal (Daemons.java:609)
  at java.lang.Daemons$Daemon.run (Daemons.java:140)
  at java.lang.Thread.run (Thread.java:1012)
Hilo "Jit thread pool worker thread 0" tid=9 Native

  #00  pc 0x00000000000881b0  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+32)
  #01  pc 0x000000000047cc80  /apex/com.android.art/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+140)
  #02  pc 0x000000000047cb18  /apex/com.android.art/lib64/libart.so (art::ThreadPool::GetTask(art::Thread*)+120)
  #03  pc 0x0000000000619810  /apex/com.android.art/lib64/libart.so (art::ThreadPoolWorker::Run()+136)
  #04  pc 0x00000000006196f0  /apex/com.android.art/lib64/libart.so (art::ThreadPoolWorker::Callback(void*)+160)
  #05  pc 0x00000000000f10f4  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264)
  #06  pc 0x000000000008d754  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68)
Hilo "ReferenceQueueDaemon" tid=10 Waiting

  at java.lang.Object.wait (Native method)
  at java.lang.Object.wait (Object.java:442)
  at java.lang.Object.wait (Object.java:568)
  at java.lang.Daemons$ReferenceQueueDaemon.runInternal (Daemons.java:232)
  at java.lang.Daemons$Daemon.run (Daemons.java:140)
  at java.lang.Thread.run (Thread.java:1012)
Hilo "FinalizerDaemon" tid=11 Waiting

  at java.lang.Object.wait (Native method)
  at java.lang.Object.wait (Object.java:442)
  at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:203)
  at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:224)
  at java.lang.Daemons$FinalizerDaemon.runInternal (Daemons.java:300)
  at java.lang.Daemons$Daemon.run (Daemons.java:140)
  at java.lang.Thread.run (Thread.java:1012)
Hilo "Binder:7782_1" tid=12 Native

  #00  pc 0x00000000000dc358  /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+8)
  #01  pc 0x0000000000095d48  /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+156)
  #02  pc 0x0000000000046070  /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+292)
  #03  pc 0x0000000000046360  /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+28)
  #04  pc 0x0000000000046c98  /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+72)
  #05  pc 0x000000000006e46c  /system/lib64/libbinder.so (android::PoolThread::threadLoop()+384)
  #06  pc 0x000000000001358c  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+264)
  #07  pc 0x00000000000c0564  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+148)
  #08  pc 0x0000000000012de8  /system/lib64/libutils.so (thread_data_t::trampoline(thread_data_t const*)+408)
  #09  pc 0x00000000000f10f4  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264)
  #10  pc 0x000000000008d754  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68)
Hilo "FinalizerWatchdogDaemon" tid=13 Timed Waiting

  at java.lang.Thread.sleep (Native method)
  at java.lang.Thread.sleep (Thread.java:450)
  at java.lang.Thread.sleep (Thread.java:355)
  at java.lang.Daemons$FinalizerWatchdogDaemon.sleepForNanos (Daemons.java:438)
  at java.lang.Daemons$FinalizerWatchdogDaemon.waitForProgress (Daemons.java:480)
  at java.lang.Daemons$FinalizerWatchdogDaemon.runInternal (Daemons.java:369)
  at java.lang.Daemons$Daemon.run (Daemons.java:140)
  at java.lang.Thread.run (Thread.java:1012)
Hilo "Binder:7782_2" tid=14 Native

  #00  pc 0x00000000000dc358  /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+8)
  #01  pc 0x0000000000095d48  /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+156)
  #02  pc 0x0000000000046070  /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+292)
  #03  pc 0x0000000000046360  /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+28)
  #04  pc 0x0000000000046c98  /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+72)
  #05  pc 0x000000000006e46c  /system/lib64/libbinder.so (android::PoolThread::threadLoop()+384)
  #06  pc 0x000000000001358c  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+264)
  #07  pc 0x00000000000c0564  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+148)
  #08  pc 0x0000000000012de8  /system/lib64/libutils.so (thread_data_t::trampoline(thread_data_t const*)+408)
  #09  pc 0x00000000000f10f4  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264)
  #10  pc 0x000000000008d754  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68)
Hilo "Binder:7782_3" tid=15 Native

  #00  pc 0x00000000000dc358  /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+8)
  #01  pc 0x0000000000095d48  /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+156)
  #02  pc 0x0000000000046070  /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+292)
  #03  pc 0x0000000000046360  /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+28)
  #04  pc 0x0000000000046c98  /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+72)
  #05  pc 0x000000000006e46c  /system/lib64/libbinder.so (android::PoolThread::threadLoop()+384)
  #06  pc 0x000000000001358c  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+264)
  #07  pc 0x00000000000c0564  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+148)
  #08  pc 0x0000000000012de8  /system/lib64/libutils.so (thread_data_t::trampoline(thread_data_t const*)+408)
  #09  pc 0x00000000000f10f4  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264)
  #10  pc 0x000000000008d754  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68)
Hilo "Profile Saver" tid=16 Native

  #00  pc 0x00000000000881b4  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+36)
  #01  pc 0x000000000048771c  /apex/com.android.art/lib64/libart.so (art::ConditionVariable::TimedWait(art::Thread*, long, int)+252)
  #02  pc 0x00000000005407f8  /apex/com.android.art/lib64/libart.so (art::ProfileSaver::Run()+524)
  #03  pc 0x0000000000535fac  /apex/com.android.art/lib64/libart.so (art::ProfileSaver::RunProfileSaverThread(void*)+148)
  #04  pc 0x00000000000f10f4  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264)
  #05  pc 0x000000000008d754  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68)
Hilo "queued-work-looper-timer" tid=17 Waiting

  at java.lang.Object.wait (Native method)
  at java.lang.Object.wait (Object.java:442)
  at java.lang.Object.wait (Object.java:568)
  at java.util.TimerThread.mainLoop (Timer.java:534)
  at java.util.TimerThread.run (Timer.java:513)
Hilo "ScionFrontendApi" tid=19 Timed Waiting

  at jdk.internal.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:234)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2123)
  at java.util.concurrent.LinkedBlockingQueue.poll (LinkedBlockingQueue.java:458)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1062)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1123)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:637)
  at java.lang.Thread.run (Thread.java:1012)
Hilo "pool-5-thread-1" tid=20 Waiting

  at jdk.internal.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.park (LockSupport.java:194)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2081)
  at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:433)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1063)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1123)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:637)
  at java.lang.Thread.run (Thread.java:1012)
Hilo "RxSchedulerPurge-1" tid=21 Timed Waiting

  at jdk.internal.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:234)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2123)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1188)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:905)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1063)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1123)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:637)
  at java.lang.Thread.run (Thread.java:1012)
Hilo "RxCachedWorkerPoolEvictor-1" tid=22 Timed Waiting

  at jdk.internal.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:234)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos (AbstractQueuedSynchronizer.java:2123)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1188)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:905)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1063)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1123)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:637)
  at java.lang.Thread.run (Thread.java:1012)
Hilo "queued-work-looper-data" tid=18 Waiting

  at jdk.internal.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.park (LockSupport.java:194)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2081)
  at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:433)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1063)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1123)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:637)
  at java.lang.Thread.run (Thread.java:1012)
Hilo "glide-active-resources" tid=24 Waiting

  at java.lang.Object.wait (Native method)
  at java.lang.Object.wait (Object.java:442)
  at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:203)
  at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:224)
  at com.bumptech.glide.load.engine.ActiveResources.cleanReferenceQueue (ActiveResources.java:128)
  at com.bumptech.glide.load.engine.ActiveResources$2.run (ActiveResources.java:61)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1137)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:637)
  at com.bumptech.glide.load.engine.ActiveResources$1$1.run (ActiveResources.java:43)
  at java.lang.Thread.run (Thread.java:1012)
Hilo "RxCachedThreadScheduler-1" tid=25 Waiting

  at jdk.internal.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.park (LockSupport.java:194)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2081)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:1176)
  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take (ScheduledThreadPoolExecutor.java:905)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1063)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1123)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:637)
  at java.lang.Thread.run (Thread.java:1012)
Hilo "GmsDynamite" tid=27 Waiting

  at java.lang.Object.wait (Native method)
  at java.lang.Object.wait (Object.java:442)
  at java.lang.Object.wait (Object.java:568)
  at com.google.android.gms.dynamite.zza.run (com.google.android.gms:play-services-basement@@18.1.0:2)
Hilo "AsyncTask #2" tid=30 Waiting

  at jdk.internal.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.park (LockSupport.java:194)
  at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill (SynchronousQueue.java:461)
  at java.util.concurrent.SynchronousQueue$TransferStack.transfer (SynchronousQueue.java:361)
  at java.util.concurrent.SynchronousQueue.take (SynchronousQueue.java:922)
  at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1063)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1123)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:637)
  at java.lang.Thread.run (Thread.java:1012)
Hilo "Measurement Worker" tid=34 Timed Waiting

  at java.lang.Object.wait (Native method)
  at java.lang.Object.wait (Object.java:442)
  at com.google.android.gms.measurement.internal.zzfu.run (com.google.android.gms:play-services-measurement-impl@@21.1.1:10)
daytime-em commented 1 year ago

Hi @Grandpasoul

v0.5.3 of the Bitmovin SDK is now deploying, containing a fix for this issue. I'm very sorry for the long turnaround on this. Thank you for your report!

Grandpasoul commented 1 year ago

Hi @daytime-em

Don't worry, we updated our app with some try/catches for safe mode. We will update on these days to review. I will let you know if some issue appears again. Thank you very much.

Grandpasoul commented 1 year ago

Hi, after a few weeks we are going to publish our app with Mux Android SDK 0.5.3, no issues were detected, so i think you can close this issue.

Thanks!