Hello everyone,
I face issue with TextToSpeech in my App after iOS 14.2. When I start a player I see crash: com.apple.TextToSpeech.SpeechThread (114): EXCBADACCESS (code=1, address=0x7ffdfe300000)
This I see in Xcode:
Xcode output - https://developer.apple.com/forums/content/attachment/93592b89-0e55-4acf-ab6f-e0c36ac85fcd
There is report from Crashlytics:
com.apple.TextToSpeech.SpeechThread
EXCBADACCESS KERNINVALIDADDRESS 0x0000000137600000
0 TextToSpeech
TTSCreateDecryptedDataFromEncryptedData
1 TextToSpeech
TTSCreateDecryptedDataFromEncryptedData
2 TextToSpeechBundleSupport[TTSVocalizer loadResource:mimeType:resourceURL:supportsAccurateWordCallbacks:]
3 TextToSpeechBundleSupport[TTSSpeechServerInstance loadVoiceResource:voiceResource:]
4 TextToSpeechBundleSupport[TTSSpeechServerInstance initializeSpeechEngine:]
5 TextToSpeechBundleSupport[TTSSpeechServerInstance initializeSpeech:]
6 TextToSpeechBundleSupport[TTSSpeechServerInstance processCurrentRequest:]
7 TextToSpeechBundleSupport[TTSSpeechServerInstance handleSpeechThread]
8 TextToSpeechBundleSupport
SpeechThread
9 libsystempthread.dylib
pthreadstart + 320
10 libsystempthread.dylib
thread_start + 8
I tried to find issues in my code, but nothing was found. I used Address Sanitiser, Thread Sanitiser, Zombie objects.
Maybe, something was changed in this API and I missed it?
I'd really appreciate it, If somebody could help me find solution.