Bug 168904 - [iOS] Crash when tapping a link in a UIWebView using a Public SDK build of WebKit
Summary: [iOS] Crash when tapping a link in a UIWebView using a Public SDK build of We...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-26 23:09 PST by Andy Estes
Modified: 2017-02-26 23:14 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Estes 2017-02-26 23:09:26 PST
This is a spin-off from https://bugs.webkit.org/show_bug.cgi?id=141906. It's caused because -[WebView _touchEventRegions] is only defined when ENABLE(TOUCH_EVENTS) is true.

2015-02-24 17:57:19.024 Browser-iPhone[65135:4334718] -[WebView _touchEventRegions]: unrecognized selector sent to instance 0x7f8322cd5ed0

with the following backtrace:

    frame #0: 0x000000011046bb8a libobjc.A.dylib`objc_exception_throw
    frame #1: 0x00000001097e004d CoreFoundation`-[NSObject(NSObject) doesNotRecognizeSelector:] + 205
    frame #2: 0x000000010973827c CoreFoundation`___forwarding___ + 988
    frame #3: 0x0000000109737e18 CoreFoundation`__forwarding_prep_0___ + 120
    frame #4: 0x000000010b771000 UIKit`-[UIWebBrowserView(UIWebTouchEventsGestureRecognizerDelegateImplementation) isAnyTouchOverActiveArea:] + 70
    frame #5: 0x000000010b4e7d0c UIKit`-[UIWebTouchEventsGestureRecognizer touchesBegan:withEvent:] + 105
    frame #6: 0x000000010b2d0d70 UIKit`-[UIWindow _sendGesturesForEvent:] + 395
    frame #7: 0x000000010b2d1c23 UIKit`-[UIWindow sendEvent:] + 667
    frame #8: 0x000000010b29e9b1 UIKit`-[UIApplication sendEvent:] + 246
    frame #9: 0x000000010b2aba7d UIKit`_UIApplicationHandleEventFromQueueEvent + 17370
    frame #10: 0x000000010b287103 UIKit`_UIApplicationHandleEventQueue + 1961
    frame #11: 0x000000010970e551 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
    frame #12: 0x000000010970441d CoreFoundation`__CFRunLoopDoSources0 + 269
    frame #13: 0x0000000109703a54 CoreFoundation`__CFRunLoopRun + 868
    frame #14: 0x0000000109703486 CoreFoundation`CFRunLoopRunSpecific + 470
    frame #15: 0x00000001110689f0 GraphicsServices`GSEventRunModal + 161
    frame #16: 0x000000010b28a420 UIKit`UIApplicationMain + 1282
  * frame #17: 0x0000000100c710c1 Browser-iPhone`main(argc=2, argv=0x00007fff5f5be1e0) + 129 at main.m:10
    frame #18: 0x00000001108b9145 libdyld.dylib`start + 1