Error -11819 "Cannot Complete Action" on iOS 14.5

Hello,

Our app is using avfoundation to add overlay and merge several video tracks and audio.

we are using:
Code Block
AVMutableComposition
AVMutableVideoCompositionInstruction
AVMutableCompositionTrack
AVMutableAudioMix
AudioCompositor
AVAssetExportSession.exportAsynchronously


it works well until iOS 14.5. From iOS 14.5, there are more errors below (very frequently), sometime it crashes too.

Code Block
Error Domain=AVFoundationErrorDomain Code=-11819 "Cannot Complete Action" UserInfo={NSLocalizedRecoverySuggestion=Try again later., NSLocalizedDescription=Cannot Complete Action, NSUnderlyingError=0x283cf3d80 {Error Domain=NSOSStatusErrorDomain Code=-16978 "(null)"}}


With our first investigations, we suppose that iOS 14.5 is more strict on memory consumption, but we cant' find any changelog about avfoundation or memory restriction on iOS 14.5

We are in trouble, because our app is completely inusable.

Looking forward for your relays, thank you!
  • Like you, this problem occurs frequently after users upgrade to 14.6, which gives me a headache, because users only have this problem after upgrading the system, and they use it very well in versions before IOS 14.5. What's more, as long as it appears on this mobile phone, it is a necessary error. Have you solved this problem now?

Add a Comment

Replies

When you get -11819, it means that a daemon has crashed. Please file a report using the feedback assistant.
  • Any luck with this? I think in the security notes it says that there was a bug that allowed a video to hack the system. Maybe that work started this situation. Once it goes down in our app videos stop playing, exporting stops, everything else is still working but the app is not usable. The thing that caught my eye was this section

    AVEVideoEncoder Available for: iPhone 6s and later, iPad Pro (all models), iPad Air 2 and later, iPad 5th generation and later, iPad mini 4 and later, and iPod touch (7th generation) Impact: An application may be able to cause unexpected system termination or write kernel memory Description: A race condition was addressed with improved state handling. CVE-2021-30714: @08Tc3wBB of ZecOps, and George Nosenko

  • I sent in a bug report this morning Bug Report FB9121026...It also has a minimal example that will exhibit this error and AVFoundation crash. Not a crash of the app just AVFoundation. I hope that helps get this issue resolved. Code we have used as far back as i remember will not work

Add a Comment
I use AVAssetReader and AVAssetWriter to export edited video. Since iOS 14.5.1, -11819 errors have occurred a lot too.
Please report those failure too ;)
  • I reported -11819 failure via FB9166298. It is estimated that -11819 occurs more frequently when AVVideoCompositionCoreAnimationTool is used and the resolution of the video to be exported is higher(like 4K). Because, if I do not use AVVideoCompositionCoreAnimationTool or set it to a resolution lower than 4K, the case that caused the -11819 error was solved.

Add a Comment
I am also seeing this at a super high rate. In many ways our app is becoming unusable with 14.5
Yes, I have same issue too. I use nextLevelSessionExporter for rendering video, but on some videos with iOS 14.5 I get that error.
  • Same here, confirmed more stable on 14.4

Add a Comment

Same problem. Filed a radar. The issue for us is that with iOS 14.5, any lengthy 4K resolution video will fail with this error.

Users are starting to report this same issue when things were fine before. All of them are on 14.6. Seeing the same error in Xcode. Don't have a fix but hopefully Apple sees how many of us are experiencing this.

This has become rampant on iOS 15 devices as well, particularly iPhone X. Not sure what is the fix!

The same error on iOS 15.3.1, please fix this or provide a better explanation

  • This symptom can be indicative of a number of different root causes, so the best way to get the problem resolved is to file a report.

  • Hi, we have exactly the same issue especially on iPad mini 4 after upgrading to 15.4. We filled a feedback report one month and half ago with sysdiagnose without any answer from Apple https://feedbackassistant.apple.com/feedback/9969994

    If you can gently have a look, this will help a customer to get the TV service back.

    Best regards Cédric

Add a Comment