macOS Sierra: Safari enumerateMatchesInString:options:range:usingBlock crash

Originator:manuel
Number:rdar://26981430 Date Originated:2016-06-23
Status:Duplicate/26890086 (Closed) Resolved:2016-06-29
Product:macOS Product Version:10.12 Beta (16A201w)
Classification:Crash/Hang/Data Loss Reproducible:Always
 
Exception Name: NSInvalidArgumentException
Description: *** -[NSRegularExpression enumerateMatchesInString:options:range:usingBlock:]: nil argument
User Info: (null)

0   CoreFoundation                      0x00007fff776485db __exceptionPreprocess + 171
1   libobjc.A.dylib                     0x00007fff8ae03a2d objc_exception_throw + 48
2   CoreFoundation                      0x00007fff776c110d +[NSException raise:format:] + 205
3   Foundation                          0x00007fff78f9751c -[NSRegularExpression(NSMatching) enumerateMatchesInString:options:range:usingBlock:] + 234
4   Foundation                          0x00007fff78fe52e6 -[NSRegularExpression(NSMatching) firstMatchInString:options:range:] + 156
5   Safari                              0x00007fff87232ee2 +[PlugInDownloadLinkDetector plugInDownloadLinkTypeForURL:] + 311
6   Safari                              0x00007fff87232fd5 +[PlugInDownloadLinkDetector plugInBundleIdentifierForURL:] + 17
7   Safari                              0x00007fff86fadf22 -[BrowserContentViewControllerObjCAdapter _showPromptToManagePlugInInPrefsIfNeeded] + 95
8   Safari                              0x00007fff86f92cc3 -[BrowserContentViewControllerObjCAdapter setMainDocumentDidFirstVisuallyNonEmptyLayout:] + 222
9   Safari                              0x00007fff86fde750 _ZN6Safari27BrowserPageNavigationClient26renderingProgressDidChangeERKNS_2WK4PageEjRKNS1_4TypeE + 150
10  Safari                              0x00007fff8720800f _ZN6Safari2WKL26renderingProgressDidChangeEPK12OpaqueWKPagejPKvS5_ + 76
11  WebKit                              0x00007fff7f27555d _ZN6WebKit12WebPageProxy9didLayoutEj + 53
12  WebKit                              0x00007fff7f287d0e _ZN6WebKit12WebPageProxy17didReceiveMessageERN3IPC10ConnectionERNS1_14MessageDecoderE + 5626
13  WebKit                              0x00007fff7f14661d _ZN3IPC18MessageReceiverMap15dispatchMessageERNS_10ConnectionERNS_14MessageDecoderE + 129
14  WebKit                              0x00007fff7f2c6c60 _ZN6WebKit15WebProcessProxy17didReceiveMessageERN3IPC10ConnectionERNS1_14MessageDecoderE + 24
15  WebKit                              0x00007fff7f10ed1d _ZN3IPC10Connection15dispatchMessageENSt3__110unique_ptrINS_14MessageDecoderENS1_14default_deleteIS3_EEEE + 119
16  WebKit                              0x00007fff7f111ab4 _ZN3IPC10Connection18dispatchOneMessageEv + 126
17  JavaScriptCore                      0x00007fff7a350765 _ZN3WTF7RunLoop11performWorkEv + 437
18  JavaScriptCore                      0x00007fff7a350b12 _ZN3WTF7RunLoop11performWorkEPv + 34
19  CoreFoundation                      0x00007fff775df5d1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
20  CoreFoundation                      0x00007fff775bf9dd __CFRunLoopDoSources0 + 557
21  CoreFoundation                      0x00007fff775beed6 __CFRunLoopRun + 934
22  CoreFoundation                      0x00007fff775be8cd CFRunLoopRunSpecific + 285
23  HIToolbox                           0x00007fff76b9327c RunCurrentEventLoopInMode + 240
24  HIToolbox                           0x00007fff76b930b1 ReceiveNextEventCommon + 432
25  HIToolbox                           0x00007fff76b92ee6 _BlockUntilNextEventMatchingListInModeWithFilter + 71
26  AppKit                              0x00007fff75302101 _DPSNextEvent + 1093
27  AppKit                              0x00007fff75a07a0c -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 670
28  Safari                              0x00007fff86f63caf -[BrowserApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 252
29  AppKit                              0x00007fff752f6a3e -[NSApplication run] + 929
30  AppKit                              0x00007fff752c2367 NSApplicationMain + 1237
31  libdyld.dylib                       0x00007fff8b6dd285 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!