[Webkit-unassigned] [Bug 236829] New: Can't run Webkit (local build & nightly build) with Safari on M1 Max
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Feb 18 00:22:52 PST 2022
https://bugs.webkit.org/show_bug.cgi?id=236829
Bug ID: 236829
Summary: Can't run Webkit (local build & nightly build) with
Safari on M1 Max
Product: WebKit
Version: WebKit Nightly Build
Hardware: Mac (Apple Silicon)
OS: macOS 12
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit Misc.
Assignee: webkit-unassigned at lists.webkit.org
Reporter: clyun2002 at 126.com
On my M1 Max MacBook Pro, I tried to build and run Webkit from source using the scripts tool:
$ build-webkit --debug
$ run-safari --debug
Safari was launched, but it used the frameworks installed in /System/Library/Frameworks rather than from my build directory.
- My logs and breakpoints were not working.
- I can't see an additional version info '613+' shown in 'About Safari' version row.
- I can see from Activity Monitor that the cwd for 'SafariForWebkitDevelopment Web Content' process was '/System/Library/Frameworks/Webkit.Framework/....'.
I also tried to build using Xcode and run with Safari.app, it still didn't load the frameworks/libraries from my build directory. However, built and ran with MiniBrowser.app worked.
Besides, I tried the latest Webkit Build Archive (r290089) and ran with run-webkit-archive script, it also didn't load the frameworks/libraries in the specified 'Release' directory as well. The log from run-webkit-archive script was shown as below, but I don't think this 'SandboxBroker' related error could be the root cause as on my MBP M1 the same log shown while Webkit Build Archive was running successfully with Safari.
Setting DYLD FRAMEWORK and LIBRARY paths to /Users/xxx/Downloads/290089/Release
2022-02-18 15:49:01.062 SafariForWebKitDevelopment[90714:301002] +[NSXPCSharedListener endpointForReply:withListenerName:]: an error occurred while attempting to obtain endpoint for listener 'SandboxBroker': Connection invalid
2022-02-18 15:49:01.111 SafariForWebKitDevelopment[90714:301021] +[NSXPCSharedListener endpointForReply:withListenerName:]: an error occurred while attempting to obtain endpoint for listener 'SandboxBroker': Connection invalid
2022-02-18 15:49:01.122 SafariForWebKitDevelopment[90714:301044] +[NSXPCSharedListener endpointForReply:withListenerName:]: an error occurred while attempting to obtain endpoint for listener 'SandboxBroker': Connection invalid
BTW, I've enabled 'full disk access' in System Preferences for SafariForWebkitDevelopment/Safari/Terminal/Xcode but seems to have no effect.
Below are the device configurations I'm using:
MBP M1 Max
Hardware
- Model: Macbook Pro18, 2
- Chip: Apple M1 Max
- System Firmware Version: 7429.81.3
Software
- System Version: 12.2.1 (21D62)
- Kernel Version: Darwin 21.3.0
- Safari: 15.3
- Xcode: 13.1 (13A1030d)
MBP M1
Hardware
- Model: Macbook Pro17, 1
- Chip: Apple M1
- System Firmware Version: 7429.61.2
Software
- System Version: 12.1 (21C52)
- Kernel Version: Darwin 21.2.0
- Safari: 15.1
Note that when MBP M1 Max was with the same SW versions as M1, it still failed to run Webkit with Safari. Not sure if there was anything I missed in configuring the system.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220218/17c608c9/attachment-0001.htm>
More information about the webkit-unassigned
mailing list