Bug 247823 - macOS Ventura: SafariForWebKitDevelopment will launch but nothing works (network,history,etc)
Summary: macOS Ventura: SafariForWebKitDevelopment will launch but nothing works (netw...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-11-11 13:21 PST by @TimGMichaud
Modified: 2022-11-17 14:43 PST (History)
5 users (show)

See Also:


Attachments
A screenshot of the Safari start page, with google.com typed into the address bar, but the site is not loading (598.97 KB, image/png)
2022-11-11 13:21 PST, @TimGMichaud
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description @TimGMichaud 2022-11-11 13:21:15 PST
Created attachment 463495 [details]
A screenshot of the Safari start page, with google.com typed into the address bar, but the site is not loading

Current HEAD is 10178633f995c1b1d12184d2b73592838f0d18d7 (From Webkit's github clone)

I have tried building and running Webkit after building with --release, --release --asan, and --debug via the ./Tools/Scripts/build-webkit script. When I run, I also use the ./Tools/Scripts/run-safari script

The main browser will open, and will look like the attached screenshot. 

I suspect this is a permissions issue, but my Console app isn't showing much beyond being denied access to the accountsd daemon, bookmarks sync agent is missing and entitlement, and what I think might be a pointer to the root cause: "Could not enable Mach bootstrap, errno = 1" (This is spammed 5-6 times when I try to go to google.com)
Comment 1 Sam Sneddon [:gsnedders] 2022-11-12 10:28:43 PST
What hardware are you running this on? This could be a duplicate of bug 236829.
Comment 2 @TimGMichaud 2022-11-12 10:42:35 PST
MBP w/ an intel i7 chip 

* OS version: Ventura 13.1 beta (22c5033e)
* Kernel version: 22.2.0
System firmware version: 1916.40.8.0.0
Comment 3 Alexey Proskuryakov 2022-11-13 21:50:43 PST
Hmm, I don't even get this far. 

- With SIP enabled, SafariForWebKitDevelopment uses system frameworks (known issue).
- With SIP disabled, it crashes when creating the first WebContent process (need to look into why).

I used an archive uploaded from CI, but those should not be any different from locally built ones. This is on Apple Silicon with macOX Ventura 13.0.1.
Comment 4 Alexey Proskuryakov 2022-11-13 22:01:44 PST
Looks like the crash is happening with minified archives, full archives have the same problem as originally reported here.
Comment 5 Alexey Proskuryakov 2022-11-14 14:44:46 PST
I have a local build on a customer OS now, and tried to figure out what's wrong.

Basic process infrastructure appears to work fine - processes are launched, something is happening in them, judging by the amount of seemingly unimportant `log stream` output. Haven't been able to pinpoint where is breaks apart yet.
Comment 6 Alexey Proskuryakov 2022-11-14 14:50:25 PST
FWIW, *history* appears to work for me. Loading pages doesn't, whether from address bar of from start page, or from history.
Comment 7 Radar WebKit Bug Importer 2022-11-14 14:50:44 PST
<rdar://problem/102339404>
Comment 8 Alex Christensen 2022-11-17 09:26:00 PST
*** Bug 247995 has been marked as a duplicate of this bug. ***
Comment 9 Alex Christensen 2022-11-17 09:26:17 PST
This was fixed in https://bugs.webkit.org/show_bug.cgi?id=247995
Comment 10 @TimGMichaud 2022-11-17 10:54:31 PST
Thanks ya'll :)! 

Confirming it works on my end too
Comment 11 Alex Christensen 2022-11-17 14:43:12 PST
Good to hear! Thanks for confirming!