iOS 9.3 b3: Loading a PDF in a small webview crashes in CoreGraphics
Originator: | raise.rescue | ||
Number: | rdar://24606364 | Date Originated: | 11-Feb-2016 12:56 PM |
Status: | Open | Resolved: | |
Product: | Developer Tools | Product Version: | iOS 9.3 b3 |
Classification: | Crash/Hang/Data Loss | Reproducible: | Always |
Summary: Loading a specific PDF in a small webview crashes in CoreGraphics. It is a public available PDF and not an obscurely created one (from a german publisher, you can find it at http://dpunkt.de/material/Scrum/ resp. http://dpunkt.de/material/Scrum/ScrumPrimer.pdf). Steps to Reproduce: - Open and execute the attached project on an iPad 2 / iPad mini 1, running iOS 9.3b3 (didn’t test other devices, it doesn’t happen on a simulated iPad 2) - it will instantly crash in CGBit_swapBytes (the project contains a screenshot of the stacktrace) Expected Results: The PDF should be loaded into the webview and being shown Actual Results: It crashes Regression: Didn’t happen in iOS 9.2 Notes: Thread 11 Crashed: 0 CoreGraphics 0x265ecbe2 CGBlt_swapBytes + 298 1 CoreGraphics 0x265e3a0e img_raw_read + 1354 2 CoreGraphics 0x265e67ea img_colormatch_read + 286 3 CoreGraphics 0x265e6bfe img_alphamerge_read + 542 4 CoreGraphics 0x265e996e img_data_lock + 5630 5 CoreGraphics 0x265ea0ee CGSImageDataLockPixels + 350 6 CoreGraphics 0x265fd5d2 ripc_EndLayer + 298 7 CoreGraphics 0x266cf8a8 CGContextEndTransparencyLayer + 40 8 CoreGraphics 0x2672df4e CGPDFDrawingContextDrawPage + 410 9 CoreGraphics 0x265483b6 pdf_page_draw_in_context + 86 10 CoreGraphics 0x2645eaba CGContextDrawPDFPageWithProgressCallback + 30 11 CorePDF 0x2c1f1dea -[UIPDFPageRenderJob renderImage] + 738 12 CorePDF 0x2c1f3424 -[UIPDFPageRenderOperation main] + 112 13 Foundation 0x25c4d9b4 __NSThread__start__ + 1148 14 libsystem_pthread.dylib 0x2515b85a _pthread_body + 138 15 libsystem_pthread.dylib 0x2515b7ce _pthread_start + 110 16 libsystem_pthread.dylib 0x25159724 thread_start + 8
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!