Crash in CFStringConvertNSStringEncodingToEncoding

Our app is using AVSpeechSynthesizer and has been stable for some time. It is now crashing in CFStringConvertNSStringEncodingToEncoding after a call to [AXSpeechManager _startNextSpeechJob].


The voic ein use is: [AVSpeechSynthesisVoice voiceWithLanguage:@"de-DE"]


Has anyone seen this before?


Thank you for your help.

I am also sometimes seeing this crash in my crash reports in previously working code using AVSpeechSynthesizer, beginning with iOS 8.3. Funny enough, though it is not common, one of those crash reports was during an app review of one of my apps and triggered a rejection.


The problem seems to be occuring less frequently in iOS 8.4, but I am still receiving crash reports on it.


Submitted Bug Report 21906117 to Apple on this.

iOS9 beta 2 here. I had this feature working for many months without any problem. Now I getting a crash every time AVSpeechSynthesisVoice voiceWithLanguage is called. It was working for quite a long time and now suddenly crashes. I also noticed strange accent/pronounciations in English US after the GM came out, which I imagine will be sorted out before it goes public.


Anyone in the same boat?

Crash in CFStringConvertNSStringEncodingToEncoding
 
 
Q