Bug 173950

Summary: REGRESSION (r218842): com.apple.WebKit crash in WebKit::ProcessLauncher::launchProcess
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: WebKit2Assignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, cdumez, koivisto, sam
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Fixes the bug
none
Fixes the bug none

Description Ryosuke Niwa 2017-06-28 18:35:48 PDT
I'm missing a null check.
Comment 1 Ryosuke Niwa 2017-06-28 18:36:08 PDT
<rdar://problem/33043010>
Comment 2 Ryosuke Niwa 2017-06-28 18:41:06 PDT
Created attachment 314083 [details]
Fixes the bug
Comment 3 Chris Dumez 2017-06-28 18:42:30 PDT
Comment on attachment 314083 [details]
Fixes the bug

View in context: https://bugs.webkit.org/attachment.cgi?id=314083&action=review

> Source/WebKit2/UIProcess/Launcher/mac/ProcessLauncherMac.mm:204
> +        if (m_xpcConnection)

Should this be processLauncher->m_xpcConnection ?
Comment 4 Ryosuke Niwa 2017-06-28 18:47:14 PDT
Created attachment 314084 [details]
Fixes the bug
Comment 5 Ryosuke Niwa 2017-06-28 18:47:50 PDT
(In reply to Chris Dumez from comment #3)
> Comment on attachment 314083 [details]
> Fixes the bug
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=314083&action=review
> 
> > Source/WebKit2/UIProcess/Launcher/mac/ProcessLauncherMac.mm:204
> > +        if (m_xpcConnection)
> 
> Should this be processLauncher->m_xpcConnection ?

Yup. Fixed.
Comment 6 Ryosuke Niwa 2017-06-28 19:56:24 PDT
Comment on attachment 314084 [details]
Fixes the bug

Clearing flags on attachment: 314084

Committed r218911: <http://trac.webkit.org/changeset/218911>
Comment 7 Ryosuke Niwa 2017-06-28 19:56:25 PDT
All reviewed patches have been landed.  Closing bug.