Bug 240423 - MiniBrowser can't launch web content process
Summary: MiniBrowser can't launch web content process
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Local Build
Hardware: Mac (Apple Silicon) macOS 12
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-05-14 16:35 PDT by Jeff Johnson
Modified: 2022-05-21 16:36 PDT (History)
7 users (show)

See Also:


Attachments
Screenshot of MiniBrowser (720.71 KB, image/png)
2022-05-14 16:35 PDT, Jeff Johnson
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Johnson 2022-05-14 16:35:37 PDT
Created attachment 459368 [details]
Screenshot of MiniBrowser

Canonical link: https://commits.webkit.org/250564@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@294198 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Steps to reproduce:
1) Build WebKit from source.
2) Run MiniBrowser in Xcode.

These messages are in the console:

[Loading] 0x13008b818 - [pageProxyID=6, webPageID=7, PID=0] WebPageProxy::loadRequest:
[Loading] 0x13008b818 - [pageProxyID=6, webPageID=7, PID=0] WebPageProxy::launchProcess:
[Process] 0x11703cfe0 - [PID=0] WebProcessProxy::removeWebPage: webPage=0x13008b818, pageProxyID=6, webPageID=7
[Process] 0x11703d4b0 - [PID=0] WebProcessProxy::constructor:
[ProcessSuspension] 0x117009110 - [PID=0, throttler=0x11703d6d8] ProcessThrottler::Activity::Activity: Starting background activity / 'WebProcess initialization'
[Process] 0x11703cfe0 - [PID=0] WebProcessProxy::destructor:
[ProcessSuspension] 0x11703d208 - [PID=0] ProcessThrottler::invalidateAllActivities: BEGIN (foregroundActivityCount: 0, backgroundActivityCount: 0)
[ProcessSuspension] 0x11703d208 - [PID=0] ProcessThrottler::invalidateAllActivities: END
[Process] 0x11703d4b0 - [PID=0] WebProcessProxy::addExistingWebPage: webPage=0x13008b818, pageProxyID=6, webPageID=7
[Loading] 0x13008b818 - [pageProxyID=6, webPageID=7, PID=0] WebPageProxy::loadRequestWithNavigationShared:
[Process] 0x117058400 - NetworkProcessProxy::NetworkProcessProxy
ERROR: Error while launching com.apple.WebKit.WebContent: Connection invalid
Comment 1 Sam Sneddon [:gsnedders] 2022-05-16 08:24:50 PDT
I'd guess it's trying to start the correct MiniBrowser but with the system (i.e., wrong) WebKit?
Comment 2 Alexey Proskuryakov 2022-05-16 08:53:32 PDT
Does the run-minibrowser script work?
Comment 3 Jeff Johnson 2022-05-16 12:30:44 PDT
(In reply to Alexey Proskuryakov from comment #2)
> Does the run-minibrowser script work?

No.
Comment 4 Chris Dumez 2022-05-16 16:32:38 PDT
Would help to have a sysdiagnose to investigate. My bet is that we've broken Minibrowser launching when using the Open Source SDK somehow?

I think someone from Sony reported the same thing a few days ago.
Comment 5 Radar WebKit Bug Importer 2022-05-21 16:36:25 PDT
<rdar://problem/93712296>