AudioTrack.finalize error

Description
When I press the leave meeting button I receive the following error message:

2021-05-18 13:43:27.162 19948-19957/us.zoom.app E/System: Uncaught exception thrown by finalizer
2021-05-18 13:43:27.162 19948-19957/us.zoom.app E/System: java.lang.IllegalStateException: Binder has been finalized!
        at android.os.BinderProxy.transactNative(Native Method)
        at android.os.BinderProxy.transact(Binder.java:615)
        at com.android.internal.app.IAppOpsService$Stub$Proxy.stopWatchingMode(IAppOpsService.java:435)
        at android.media.PlayerBase.baseRelease(PlayerBase.java:136)
        at android.media.AudioTrack.finalize(AudioTrack.java:979)
        at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:222)
        at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:209)
        at java.lang.Thread.run(Thread.java:761)

Which Android Client SDK version?
sdk-5.5.1.1317

To Reproduce(If applicable)
Join a meeting.
Click the leave meeting button.

Smartphone (please complete the following information):

  • Device: Custom hardare
  • OS: Android 7.1.1_r11

Hi @awava, thanks for using the dev forum.

I am not seeing anything related to the SDK in that stack trace. What leads you to believe that this is being caused by the SDK?

Thanks!

It was not specifically an issue within the Zoom SDK. Android 7 has a garbage collection issue when multiple AudioTracks are spun up and then closed.

I ended up finding a fix in Android 8 and back-porting the fix to Android 7.

Glad to hear you were able to resolve this, and thank you for confirming that it was not an SDK issue. :slightly_smiling_face:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.