Occasional Android crash (SIGABRT): request_frames() (0 vs. 480)

I am currently using version 124.0.5. My chat app is crashing in Android (pixel 5 & 8) about 1 in 20 calls. IOS has no issues.

Would anyone know how to avoid the scenario triggering the SIGABRT below?

If of interest, the webrtc specific typescript integration can be found here: (code)

I captured these logs in the most recent crash:


--------- beginning of crash
2025-08-14 13:55:44.715 20284-20886 rtc                     com.databag                          E  #
                                                                                                    # Fatal error in: ../../common_audio/resampler/push_sinc_resampler.cc, line 52
                                                                                                    # last system error: 0
                                                                                                    # Check failed: source_length == resampler_->request_frames() (0 vs. 480)
                                                                                                    #
2025-08-14 13:55:44.716 20284-20886 libc                    com.databag                          A  Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 20886 (AudioRecordJava), pid 20284 (com.databag)
2025-08-14 13:55:44.722  2673-3590  GRIL-S                  com.google.android.grilservice       D  [2150]< UPDATE_DEVICE_STATE
2025-08-14 13:55:44.724  1451-1451  AOC                     aocd                                 D  H1:MSG: asp_fm.cc, 850: depop: mute
2025-08-14 13:55:44.724  1451-1451  AOC                     aocd                                 D  H1:MSG: asp_fm.cc, 223: All mics are not blocked
2025-08-14 13:55:44.733  1451-1451  AOC                     aocd                                 D  H1:[AMixMODEM] CCA rb underrun (0 < 480)
2025-08-14 13:55:44.733  1451-1451  AOC                     aocd                                 D  H1:MSG: asp_fm.cc, 850: depop: mute
2025-08-14 13:55:44.743  1451-1451  AOC                     aocd                                 D  H1:MSG: asp_fm.cc, 850: depop: mute
2025-08-14 13:55:44.751 20284-20887 org.webrtc.Logging      com.databag                          I  WebRtcAudioRecordExternal: Number of active recording sessions: 1
2025-08-14 13:55:44.751 20284-20887 org.webrtc.Logging      com.databag                          I  WebRtcAudioRecordExternal: AudioRecordingConfigurations:
2025-08-14 13:55:44.753  1451-1451  AOC                     aocd                                 D  H1:MSG: asp_fm.cc, 850: depop: mute
2025-08-14 13:55:44.762 20284-20887 org.webrtc.Logging      com.databag                          I  WebRtcAudioRecordExternal:   client audio source=VOICE_COMMUNICATION, client session id=2073 (2073)
                                                                                                      Device AudioFormat: channel count=1, channel index mask=0, channel mask=IN_MONO, encoding=PCM_16BIT, sample rate=48000
                                                                                                      Client AudioFormat: channel count=1, channel index mask=0, channel mask=IN_MONO, encoding=PCM_16BIT, sample rate=48000
                                                                                                      AudioDevice: type=TYPE_BUILTIN_MIC, id=22
2025-08-14 13:55:44.762 20284-20887 org.webrtc.Logging      com.databag                          I  WebRtcAudioRecordExternal: verifyAudioConfig: PASS

Any help would be greatly appreciated. Thank you! - Roland (balzack) Osborne

I delayed the InCallManager.start a little, and the race condition (crash) seems to not occur anymore. Perhaps this is now resolved….