Preview: Rotation: Crash (but not crashing Preview.app)

Originator:manuel
Number:rdar://26890086 Date Originated:2016-06-20
Status:Duplicate/26499151 (Closed) Resolved:2016-09-27
Product:macOS Product Version:10.12 Beta (16A201w)
Classification:Crash/Hang/Data Loss Reproducible:I didn't Try
 
Exception Name: NSInvalidArgumentException
Description: *** -[NSRegularExpression enumerateMatchesInString:options:range:usingBlock:]: nil argument
User Info: (null)

0   CoreFoundation                      0x00007fffbc9d35db __exceptionPreprocess + 171
1   libobjc.A.dylib                     0x00007fffd018ea2d objc_exception_throw + 48
2   CoreFoundation                      0x00007fffbca4c10d +[NSException raise:format:] + 205
3   Foundation                          0x00007fffbe32251c -[NSRegularExpression(NSMatching) enumerateMatchesInString:options:range:usingBlock:] + 234
4   Foundation                          0x00007fffbe3702e6 -[NSRegularExpression(NSMatching) firstMatchInString:options:range:] + 156
5   Safari                              0x00007fffcc5bdee2 +[PlugInDownloadLinkDetector plugInDownloadLinkTypeForURL:] + 311
6   Safari                              0x00007fffcc5bdfd5 +[PlugInDownloadLinkDetector plugInBundleIdentifierForURL:] + 17
7   Safari                              0x00007fffcc338f22 -[BrowserContentViewControllerObjCAdapter _showPromptToManagePlugInInPrefsIfNeeded] + 95
8   Safari                              0x00007fffcc31dcc3 -[BrowserContentViewControllerObjCAdapter setMainDocumentDidFirstVisuallyNonEmptyLayout:] + 222
9   Safari                              0x00007fffcc369750 _ZN6Safari27BrowserPageNavigationClient26renderingProgressDidChangeERKNS_2WK4PageEjRKNS1_4TypeE + 150
10  Safari                              0x00007fffcc59300f _ZN6Safari2WKL26renderingProgressDidChangeEPK12OpaqueWKPagejPKvS5_ + 76
11  WebKit                              0x00007fffc460055d _ZN6WebKit12WebPageProxy9didLayoutEj + 53
12  WebKit                              0x00007fffc4612d0e _ZN6WebKit12WebPageProxy17didReceiveMessageERN3IPC10ConnectionERNS1_14MessageDecoderE + 5626
13  WebKit                              0x00007fffc44d161d _ZN3IPC18MessageReceiverMap15dispatchMessageERNS_10ConnectionERNS_14MessageDecoderE + 129
14  WebKit                              0x00007fffc4651c60 _ZN6WebKit15WebProcessProxy17didReceiveMessageERN3IPC10ConnectionERNS1_14MessageDecoderE + 24
15  WebKit                              0x00007fffc4499d1d _ZN3IPC10Connection15dispatchMessageENSt3__110unique_ptrINS_14MessageDecoderENS1_14default_deleteIS3_EEEE + 119
16  WebKit                              0x00007fffc449cab4 _ZN3IPC10Connection18dispatchOneMessageEv + 126
17  JavaScriptCore                      0x00007fffbf6db765 _ZN3WTF7RunLoop11performWorkEv + 437
18  JavaScriptCore                      0x00007fffbf6dbb12 _ZN3WTF7RunLoop11performWorkEPv + 34
19  CoreFoundation                      0x00007fffbc96a5d1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
20  CoreFoundation                      0x00007fffbc94a9dd __CFRunLoopDoSources0 + 557
21  CoreFoundation                      0x00007fffbc949ed6 __CFRunLoopRun + 934
22  CoreFoundation                      0x00007fffbc9498cd CFRunLoopRunSpecific + 285
23  HIToolbox                           0x00007fffbbf1e27c RunCurrentEventLoopInMode + 240
24  HIToolbox                           0x00007fffbbf1e0b1 ReceiveNextEventCommon + 432
25  HIToolbox                           0x00007fffbbf1dee6 _BlockUntilNextEventMatchingListInModeWithFilter + 71
26  AppKit                              0x00007fffba68d101 _DPSNextEvent + 1093
27  AppKit                              0x00007fffbad92a0c -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 670
28  Safari                              0x00007fffcc2eecaf -[BrowserApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 252
29  AppKit                              0x00007fffba681a3e -[NSApplication run] + 929
30  AppKit                              0x00007fffba64d367 NSApplicationMain + 1237
31  libdyld.dylib                       0x00007fffd0a68285 start + 1
32  ???                                 0x0000000000000002 0x0 + 2

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!