lionheart / openradar-mirror

A mirror of radars pulled from http://openradar.me/.
245 stars 17 forks source link

50135175: QLPreviewController terminates when opening this PDF #21226

Open openradar-mirror opened 5 years ago

openradar-mirror commented 5 years ago

Description

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)

- Product Version: Created: 2019-05-01T16:55:44.641769 Originated: 2019-04-23T00:00:00 Open Radar Link: http://www.openradar.me/50135175