Bug 205254 - -[WKWebView _detectDataWithTypes:completionHandler:] crashes when there is no running process
Summary: -[WKWebView _detectDataWithTypes:completionHandler:] crashes when there is no...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Wenson Hsieh
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-12-15 16:57 PST by Wenson Hsieh
Modified: 2019-12-15 18:25 PST (History)
6 users (show)

See Also:


Attachments
Patch (3.83 KB, patch)
2019-12-15 17:02 PST, Wenson Hsieh
no flags Details | Formatted Diff | Diff
Fix GTK/WPE (3.82 KB, patch)
2019-12-15 17:05 PST, Wenson Hsieh
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wenson Hsieh 2019-12-15 16:57:57 PST
This should be safe to call if there is no running web content process. Instead, it currently crashes due to m_process->connection() being null.
Comment 1 Wenson Hsieh 2019-12-15 17:02:53 PST Comment hidden (obsolete)
Comment 2 Wenson Hsieh 2019-12-15 17:03:47 PST
Speculative fix for <rdar://problem/57463469>, since I'm unable to reproduce it :/
Comment 3 Wenson Hsieh 2019-12-15 17:05:45 PST
Created attachment 385728 [details]
Fix GTK/WPE
Comment 4 WebKit Commit Bot 2019-12-15 18:25:49 PST
Comment on attachment 385728 [details]
Fix GTK/WPE

Clearing flags on attachment: 385728

Committed r253543: <https://trac.webkit.org/changeset/253543>
Comment 5 WebKit Commit Bot 2019-12-15 18:25:51 PST
All reviewed patches have been landed.  Closing bug.