QLPreviewController terminates when opening this PDF

Originator:gabeshahbazian
Number:rdar://50135175 Date Originated:April 23 2019
Status:DUPLICATE OF 47931766 Resolved:
Product:QuickLook Framework Product Version:
Classification: Reproducible:Yes
 
Area:
QuickLook Framework

Summary:
This PDF one of our users sent in is crashing the QLPreviewController. The controller once presented, flashes the pdf page a few times then gives up and shows only the title text. PDFKit.PDFView is able to correctly view this PDF, but QuickLook, UIDocumentInteractionController, and WKWebView all crash.

Steps to Reproduce:
Launch sample app, tap "Quick Look PDF" button

Expected Results:
PDF is opened by QLPreviewController

Actual Results:
QLPreviewController crashes and shows empty screen with text

Version/Build:
Xcode 10.2.1
iOS 12.1.4

Configuration:
iPhone X (MQA52LL/A)

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!