Post

Replies

Boosts

Views

Activity

Reply to AVSpeechSynthesizer CRASH with certain voices under iOS 14.2+
I am also getting this issue as well. Attached my stack trace below: OS Version: iOS 14.3 (18C66) Report Version: 104 Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: BUS_NOOP at 0x000000011a400000 Crashed Thread: 37 Application Specific Information: appendBytes:length: > appendData: > containsString: > countByEnumeratingWithState:objects:count: > dataUsingEncoding: > JBOs > path > Attempted to dereference garbage pointer 0x11a400000. Thread 37 Crashed: 0	 TextToSpeech										0x340a12688				 TTSCreateDecryptedDataFromEncryptedData 1	 TextToSpeechBundleSupport			 0x351d36b88				 -[TTSVocalizer loadResource:mimeType:resourceURL:supportsAccurateWordCallbacks:] 2	 TextToSpeechBundleSupport			 0x351d34188				 -[TTSSpeechServerInstance _loadVoiceResource:voiceResource:] 3	 TextToSpeechBundleSupport			 0x351d33c80				 -[TTSSpeechServerInstance _initializeSpeechEngine:] 4	 TextToSpeechBundleSupport			 0x351d33f00				 -[TTSSpeechServerInstance _initializeSpeech:] 5	 TextToSpeechBundleSupport			 0x351d3149c				 -[TTSSpeechServerInstance _processCurrentRequest:] 6	 TextToSpeechBundleSupport			 0x351d32630				 -[TTSSpeechServerInstance _handleSpeechThread] 7	 TextToSpeechBundleSupport			 0x351d31450				 _SpeechThread 8	 libsystem_pthread.dylib				 0x393d15b38				 _pthread_start
Jan ’21
Reply to AVSpeechSynthesizer CRASH with certain voices under iOS 14.2+
I see that a lot of you are saying this happens only on certain voices. I only use one voice which is com.apple.speech.voice.Alex. And this crash occurs randomly (sometimes it works, sometimes it doesn't) in no particular cadence. Relevant Stack Trace: OS Version: iOS 14.3 (18C66) Report Version: 104 Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: BUS_NOOP at 0x0000000119b00000 Crashed Thread: 34 Application Specific Information: appendBytes:length: > appendData: > containsString: > countByEnumeratingWithState:objects:count: > dataUsingEncoding: > JBOs > path > Attempted to dereference garbage pointer 0x119b00000. Thread 34 Crashed: 0	 TextToSpeech										0x35cef4e38				 TTSCreateDecryptedDataFromEncryptedData 1	 TextToSpeech										0x35cef4e98				 TTSCreateDecryptedDataFromEncryptedData 2	 TextToSpeechBundleSupport			 0x36ec48670				 -[TTSVocalizer loadResource:mimeType:resourceURL:supportsAccurateWordCallbacks:] 3	 TextToSpeechBundleSupport			 0x36ec45a30				 -[TTSSpeechServerInstance _loadVoiceResource:voiceResource:] 4	 TextToSpeechBundleSupport			 0x36ec4550c				 -[TTSSpeechServerInstance _initializeSpeechEngine:] 5	 TextToSpeechBundleSupport			 0x36ec45790				 -[TTSSpeechServerInstance _initializeSpeech:] 6	 TextToSpeechBundleSupport			 0x36ec42c0c				 -[TTSSpeechServerInstance _processCurrentRequest:] 7	 TextToSpeechBundleSupport			 0x36ec43e40				 -[TTSSpeechServerInstance _handleSpeechThread] 8	 TextToSpeechBundleSupport			 0x36ec42bbc				 _SpeechThread 9	 libsystem_pthread.dylib				 0x3b3779b3c				 _pthread_start
Jan ’21