Exception in UIPasteboard when it contains an "MutableUIImage"
| Originator: | steipete | ||
| Number: | rdar://18537933 | Date Originated: | 03-Oct-2014 05:24 PM |
| Status: | Open | Resolved: | |
| Product: | Product Version: | iOS 7 | |
| Classification: | Reproducible: |
Peter Steinberger03-Oct-2014 05:24 PM Summary: We received an crash for an exception in UIPasteboard when it contains an "MutableUIImage" ``` Thread : Fatal Exception: NSInvalidUnarchiveOperationException 0 CoreFoundation 0x3066afd3 __exceptionPreprocess + 130 1 libobjc.A.dylib 0x3b234ccf objc_exception_throw + 38 2 CoreFoundation 0x3066af15 -[NSException initWithCoder:] 3 Foundation 0x30fe6b97 _decodeObjectBinary + 2718 4 Foundation 0x30fe6005 _decodeObject + 288 5 Foundation 0x30fe541f +[NSKeyedUnarchiver unarchiveObjectWithData:] + 82 6 UIKit 0x3323419f ConvertDataToValue + 182 7 UIKit 0x332352c9 -[UIPasteboard(UIPasteboardDataExtensions) image] + 260 8 eBackpack 0x0045407d -[PSPDFPageView(ClipboardSupport) canPasteAnnotations] + 1592692 9 eBackpack 0x0044b73d -[PSPDFPageView(AnnotationMenu) menuItemsForNewAnnotationAtPoint:] + 1557556 10 eBackpack 0x004328a1 -[PSPDFPageView longPress:] + 1455512 11 eBackpack 0x004416ed -[PSPDFScrollView longPress:] + 1516516 12 UIKit 0x3300d00d _UIGestureRecognizerSendActions + 196 13 UIKit 0x32eb8503 -[UIGestureRecognizer _updateGestureWithEvent:buttonEvent:] + 1138 14 UIKit 0x3325faf5 ___UIGestureRecognizerUpdate_block_invoke + 48 15 UIKit 0x32e7f373 _UIGestureRecognizerRemoveObjectsFromArrayAndApplyBlocks + 218 16 UIKit 0x32e7dabb _UIGestureRecognizerUpdate + 282 17 UIKit 0x32eb6d69 -[UIWindow _sendGesturesForEvent:] + 772 18 UIKit 0x32eb668f -[UIWindow sendEvent:] + 666 19 UIKit 0x32e8b8ed -[UIApplication sendEvent:] + 196 20 UIKit 0x32e89f97 _UIApplicationHandleEventQueue + 7102 21 CoreFoundation 0x3063625b __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 14 22 CoreFoundation 0x3063572b __CFRunLoopDoSources0 + 206 23 CoreFoundation 0x30633f1f __CFRunLoopRun + 622 24 CoreFoundation 0x3059ef0f CFRunLoopRunSpecific + 522 25 CoreFoundation 0x3059ecf3 CFRunLoopRunInMode + 106 26 GraphicsServices 0x354c4663 GSEventRunModal + 138 27 UIKit 0x32eea16d UIApplicationMain + 1136 28 eBackpack 0x000277d7 main (main.m:22) 29 libdyld.dylib 0x3b741ab7 start + 2 ``` http://crashes.to/s/96c317bdecf Steps to Reproduce: Not Applicable. User crash. Expected Results: Methods on `UIPasteboard` should simply return nil, but never throw exceptions. Actual Results: Unexpected exception thrown. Version: iOS 7 Notes: Configuration: iPad Attachments:
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!