WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 230920
228990
Local debug build of WebContent crashes on launch in iOS simulator under performJITMemcpy
https://bugs.webkit.org/show_bug.cgi?id=228990
Summary
Local debug build of WebContent crashes on launch in iOS simulator under perf...
Alex Fioletov
Reported
2021-08-11 03:23:27 PDT
Created
attachment 435331
[details]
Error in Xcode I was trying to debug webkit with IOS simulator, but it crashes on start. I followed instructions from this article.
https://engineering.salesforce.com/debugging-webkit-in-hybrid-mobile-apps-2eee63a4c922
. Xcode attaches to all required processes, but before initial page from bundle is rendered, com.apple.WebKit.WebContnet process fails with EXC_BAD_ACCESS (Code=2). - MacBook Air (M1, 2020) - macOS Big Sur 11.5 - Xcode 12.5.1 - Simulators with iOS 14.5 - WebKit's master branch - Test application:
https://github.com/mmafrar/swift-ios-wkwebview-demo
I execute following commons to get sources and build them: git clone git://git.webkit.org/WebKit.git WebKit cd WebKit sudo Tools/Scripts/configure-xcode-for-embedded-development ./Tools/Scripts/update-webkit Tools/Scripts/build-webkit --ios-simulator Then I selected WebKit scheme, change paths to relative and selected test application to run. Before first page is rendered, process crashes. The same scenario works for others with MacBook on inte
Attachments
Error in Xcode
(863.27 KB, image/png)
2021-08-11 03:23 PDT
,
Alex Fioletov
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Jonathan Bedard
Comment 1
2021-08-12 11:10:10 PDT
It's the M1 part of this that's the problem. You might be able to work-around it by running everything with Rosetta in the mean time, though.
Alexey Proskuryakov
Comment 2
2021-08-12 12:38:22 PDT
rdar://77494871
Yusuke Suzuki
Comment 3
2021-09-28 16:07:23 PDT
Oops! I've opened a new
bug 230920
for uploading the patch, but that will be fixed with that patch soon :) Thanks for your reporting! *** This bug has been marked as a duplicate of
bug 230920
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug