iOS SIGSEGV crash in silk_encode_indices on version 1.3.1
We recently received the following crash report from a user of our iOS app. The app is using Opus 1.3.1. Unfortunately, we don't have repro steps.
Here is the exception info, and the crashing thread's stack trace (The full crash report is attached):
Exception Type: SIGSEGV
Exception Codes: SEGV_MAPERR at 0x18
Crashed Thread: 26
Thread 26 Crashed:
0 AppXAudio 0x00000001054a3840 silk_encode_indices (encode_indices.c:91)
1 AppXAudio 0x00000001054b8484 silk_encode_frame_FLP (encode_frame_FLP.c:205)
2 AppXAudio 0x00000001054a2e3c silk_Encode (enc_API.c:499)
3 AppXAudio 0x00000001054c7484 opus_encode_native (opus_encoder.c:1845)
4 AppXAudio 0x00000001054c7e50 opus_encode_float (opus_encoder.c:2263)
5 AppXAudio 0x00000001054585e0 -[AppXOpusEncoder encodeAudioBuffer:withCompletion:] (AppXOpusEncoder.m:59)
6 AppXAudio 0x000000010547b358 closure #1 () -> () in closure #1 (__C.AVAudioPCMBuffer, __C.AVAudioTime) -> () in AppXAudio.AppXAudioRecorder.(installTap in _D59F0003FB45C5CBF6B0090245925C5B)() -> () (AppXAudioRecorder.swift:173)
7 AppXAudio 0x000000010545acdc reabstraction thunk helper from @escaping @callee_guaranteed () -> () to @escaping @callee_unowned @convention(block) () -> () (<compiler-generated>:0)
8 libdispatch.dylib 0x000000018322da54 _dispatch_call_block_and_release + 28
9 libdispatch.dylib 0x000000018322f7ec _dispatch_client_callout + 16
10 libdispatch.dylib 0x0000000183236fd4 _dispatch_lane_serial_drain + 616
11 libdispatch.dylib 0x0000000183237bd0 _dispatch_lane_invoke + 400
12 libdispatch.dylib 0x000000018324248c _dispatch_workloop_worker_thread + 760
13 libsystem_pthread.dylib 0x00000001cf05e7a4 _pthread_wqthread + 272
14 libsystem_pthread.dylib 0x00000001cf06574c start_wqthread + 4
At this time, we have no more info, but we will update here if there is anything new to add.
report-2517809400350009999-ea0d674f-525b-46ec-b113-d09d14ad2c93.txt