Post

Replies

Boosts

Views

Activity

Reply to AVSpeechSynthesizer CRASH with certain voices under iOS 14.2+
I'm seeing a crash on AVSpeechSynthesizer as well - it *just* started yesterday, on January 20th. I didn't put out an app update recently and there haven't been any recent iOS updates, either, so it's unclear why this class would just randomly start crashing all of a sudden. I've filed my bug report as FB8977390. I'm attaching the relevant stack trace below. OP, is this the same crash you are seeing? Exception Type: EXCBADACCESS (SIGSEGV) Exception Subtype: KERNINVALIDADDRESS at 0x0000000143794089 VM Region Info: 0x143794089 is not in any region. Bytes after previous region: 295050 Bytes before following region: 442231 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL MALLOCLARGE 143700000-14374c000 [ 304K] rw-/rwx SM=PRV --> GAP OF 0xb4000 BYTES MALLOCSMALL 143800000-144000000 [ 8192K] rw-/rwx SM=PRV Termination Signal: Segmentation fault: 11 Termination Reason: Namespace SIGNAL, Code 0xb Terminating Process: exc handler [21347] Triggered by Thread: 13 Thread 13 name: com.apple.TextToSpeech.SpeechThread Thread 13 Crashed: 0 TextToSpeech 0x00000001a7ca6e4c TTSCreateDecryptedDataFromEncryptedData + 168 1 TextToSpeech 0x00000001a7ca6e6c TTSCreateDecryptedDataFromEncryptedData + 200 2 TextToSpeechBundleSupport 0x00000001b0b5d674 -[TTSVocalizer loadResource:mimeType:resourceURL:supportsAccurateWordCallbacks:] + 424 3 TextToSpeechBundleSupport 0x00000001b0b5aa34 -[TTSSpeechServerInstance loadVoiceResource:voiceResource:] + 484 4 TextToSpeechBundleSupport 0x00000001b0b5a510 -[TTSSpeechServerInstance initializeSpeechEngine:] + 1852 5 TextToSpeechBundleSupport 0x00000001b0b5a794 -[TTSSpeechServerInstance initializeSpeech:] + 56 6 TextToSpeechBundleSupport 0x00000001b0b57c10 -[TTSSpeechServerInstance processCurrentRequest:] + 64 7 TextToSpeechBundleSupport 0x00000001b0b58e44 -[TTSSpeechServerInstance handleSpeechThread] + 1552 8 TextToSpeechBundleSupport 0x00000001b0b57bc0 SpeechThread + 48 9 libsystempthread.dylib 0x00000001d30e5b40 pthreadstart + 320 10 libsystempthread.dylib 0x00000001d30ee768 thread_start + 8
Topic: Programming Languages SubTopic: Swift Tags:
Jan ’21