Meeting SDK Crashes with Assertion Failure on Linux

zoom-meeting-sdk-linux_x86_64-6.2.3.2095
zoom-meeting-sdk-linux_x86_64-6.1.10.1435

Zoom Meeting SDK carshes with below assertion failure:

audio_conference_mixer_impl.cc:517: virtual WebRtc_Word32 webrtc::AudioConferenceMixerImpl::Process(): Assertion `_processCalls == 0’ failed.
dump_bt: 6
./build/calbot(_Z7dump_bti+0x4c)[0x555555c2879c]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7ffff43ed520]
/lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7ffff44419fc]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7ffff43ed476]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7ffff43d37f3]
/lib/x86_64-linux-gnu/libc.so.6(+0x2871b)[0x7ffff43d371b]
/lib/x86_64-linux-gnu/libc.so.6(+0x39e96)[0x7ffff43e4e96]
/src/lib/zoomsdk/libmeetingsdk.so.1(_ZN6webrtc24AudioConferenceMixerImpl7ProcessEv+0x905)[0x7ffffaa5ff75]
/src/lib/zoomsdk/libmeetingsdk.so.1(_ZN6webrtc3voe11OutputMixer17MixActiveChannelsEv+0x3a)[0x7ffffaa33cda]
/src/lib/zoomsdk/libmeetingsdk.so.1(_ZN6webrtc11VoEBaseImpl25NeedMorePlayDataFromCheckEv+0x1d)[0x7ffffaa1f7dd]
/src/lib/zoomsdk/libmeetingsdk.so.1(_ZN20ssb_audio_sdk_it_imp24CheckRecordThreadProcessEv+0xa2)[0x7ffffa8f3e82]
/src/lib/zoomsdk/libmeetingsdk.so.1(_ZN6webrtc11ThreadLinux3RunEv+0x34)[0x7ffffab9c3f4]

It happens randomly

Reproduction steps: Let bot joins a call. crash happens right after or around 1st audio frame received from the SDK.

Hey @seungkoo,

Based on the stack trace & underlying assertion causing this (_processCalls == 0), it seems that this issue might be related to threading or a race condition.

It’s hard to say why or how without seeing your code. If you could share a snippet of how you’re using the SDK to receive raw audio, this could help highlight any potential issues causing the crash.

You also might want to check out the Recall.ai API.

It’s a simple 3rd party API that lets you use meeting bots to get raw audio/video/metadata from meetings without you needing to spend months to build, scale and maintain these bots.

Here are the API docs: https://docs.recall.ai