Some files cause a "Service Connection Interrupted" error in QLPreviewController
Originator: | tobias.hagemann | ||
Number: | rdar://32074510 | Date Originated: | 2017-05-09 |
Status: | Closed | Resolved: | 2017-06-09 |
Product: | iOS + SDK (QuickLook Framework) | Product Version: | iOS 10.3.1 [14E304] |
Classification: | Other Bug | Reproducible: | Always |
Area: QuickLook Framework Summary: We've received a bug report from a user that some files cause the QLPreviewController to re-display the contents in a loop, like opening the file over and over. We were able to confirm the issue. This is the error shown in the log output: ``` [default] View service did terminate with error: Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 "(null)" UserInfo={Message=Service Connection Interrupted} #Remote ``` You can find the bug report here: https://github.com/cryptomator/cryptomator-ios/issues/85 Steps to Reproduce: 1. Open attached DocInteraction project (it's Apple's DocInteraction sample project, only with one small change: Replaced "PDF Document.pdf" with PDF test file that exemplary causes the issue) 2. Run project on current iPhone or iPad (issue doesn't seem to appear in iOS Simulator) 3. Select "PDF Document.pdf" in the app in order to open it via QLPreviewController 4. Scroll through the file until you've hit the aforementioned error Expected Results: Scrolling through the sample file's preview should work normally and shouldn't "hang up" with an error. Actual Results: While scrolling through the sample file, eventually the preview stops displaying and shows a white screen for a short time. After that, the document is re-loaded. Version: iOS 10.3.1 [14E304] Notes: Configuration: iPhone 7 128GB & iPad Pro 9.7" 128GB Attachments: 'DocInteraction.zip' was successfully uploaded.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
Apple Developer Relations
We believe this issue is resolved in the latest iOS 11 beta.
Please test with the latest iOS beta. If you still have issues, please update your bug report with any relevant logs or information that could help us investigate.
https://developer.apple.com/download/