Bug 198646 - WebProcessProxy didFinishLaunching - invalid connection identifier (web process failed to launch)
Summary: WebProcessProxy didFinishLaunching - invalid connection identifier (web proce...
Status: RESOLVED DUPLICATE of bug 198904
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: 2019-06-06 23:42 PDT by Frédéric Wang (:fredw)
Modified: 2019-07-11 09:36 PDT (History)
7 users (show)

See Also:


Attachments
DiagnosticReports (67.18 KB, application/zip)
2019-06-07 00:09 PDT, Frédéric Wang (:fredw)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frédéric Wang (:fredw) 2019-06-06 23:42:31 PDT
See https://lists.webkit.org/pipermail/webkit-dev/2019-June/030655.html.

This is what I get when greping MobileSafari from the log:

default	08:18:09.663776 +0200	assertiond	     _FGJetsamPriorityBand is 10 for MobileSafari:4073
error	08:18:09.663914 +0200	assertiond	     SyscallError: MEMORYSTATUS_CMD_SET_PROCESS_IS_MANAGED failed for MobileSafari:4073
default	08:18:09.664117 +0200	assertiond	     [MobileSafari:4073] Adding client: <BKProcessInfoServerClient: 0x7fb601608540; pid: 3990>
default	08:18:09.664209 +0200	assertiond	     [MobileSafari:4073] Setting jetsam priority to 10 [0x10000]
default	08:18:09.664628 +0200	assertiond	     [MobileSafari:4073] setpriority(PRIO_DARWIN_ROLE, 4073, 1): ok
default	08:18:09.667068 +0200	SpringBoard	     Adding: <FBApplicationProcess: 0x7ff584f934b0; MobileSafari (com.apple.mobilesafari); pid: 4073>
default	08:18:09.665310 +0200	assertiond	     Now tracking process <BKProcess: 0x7fb60141c280; MobileSafari; com.apple.mobilesafari; pid: 4073; agency: SystemApp; visibility: none; task: running; hostpid: 3990> with host <BKProcess: 0x7fb60170c210; SpringBoard; com.apple.springboard; pid: 3990; agency: SystemShell; visibility: foreground; task: running>
default	08:18:09.669984 +0200	CoreSimulatorBridge	     [FBSSystemService][0x9d4f] Request successful: <BSProcessHandle: 0x7fc520d1be40; MobileSafari:4073; valid: YES>
default	08:18:09.668507 +0200	assertiond	     [SpringBoard:3990] Attempting to acquire assertion for MobileSafari:4073: <BKProcessAssertion: 0x7fb601703470; "UIApplicationLaunch" (activation:inf); id:…D303F8739EE0>
default	08:18:09.668771 +0200	assertiond	     [MobileSafari:4073] Add assertion: <BKProcessAssertion: 0x7fb601703470; id: 3990-7B222A6B-A24D-4F08-A108-D303F8739EE0; name: UIApplicationLaunch; state: active; reason: activation; duration: infs> {
default	08:18:09.668840 +0200	assertiond	  [MobileSafari:4073] Activate assertion: <BKProcessAssertion: 0x7fb601703470; "UIApplicationLaunch" (activation:inf); id:…D303F8739EE0>
default	08:18:09.668919 +0200	assertiond	  [MobileSafari:4073] New process assertion state; preventSuspend, preventThrottleDownUI, preventThrottleDownCPU, wantsForegroundResourcePriority, preventSuspendOnSleep (assertion 0x7fb601703470 added: preventSuspend, preventThrottleDownUI, preventThrottleDownCPU, wantsForegroundResourcePriority, preventSuspendOnSleep; removed: (none))
default	08:18:09.668972 +0200	assertiond	  [MobileSafari:4073] Setting jetsam priority to 10 [0x10100]
default   08:18:09.722021 +0200	SpringBoard	Looking up unclipped icon for app <LSApplicationProxy: 0x7ff584e6fc60> com.apple.mobilesafari file:///Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Applications/MobileSafari.app <com.apple.mobilesafari <installed >:0>
default	08:18:10.466017 +0200	MobileGestaltHelper	  platform fast path elided: caller = MobileSafari.4073, question = oBbtJ8x+s1q0OkaiocPuog
default	08:18:10.470863 +0200	backboardd	  Connection added: IOHIDEventSystemConnection uuid:4FEBAF0C-B98B-497E-9378-D2A6181ACC28 pid:4073 process:MobileSafari type:Passive entitlements:0x0 caller:BackBoardServices: ___getHIDEventSystemClient_block_invoke + 349 attributes:<CFBasicHash 0x7f9b942035b0 [0x7f9b94000010]>{type = immutable dict, count = 3,
default	08:18:10.475022 +0200	SpringBoard	[FBServiceFacilityServer] Client MobileSafari:4073 connected to service com.apple.frontboardservices.system-app-proxy
default	08:18:10.476079 +0200	SpringBoard	[FBServiceFacilityServer] Client MobileSafari:4073 connected to service com.apple.uikitservices.applicationStateService
default	08:18:10.477027 +0200	assertiond	[MobileSafari:4073] workspaceConnectedWithTaskPortRight: received task port
default	08:18:10.479918 +0200	MobileGestaltHelper	    platform fast path elided: caller = MobileSafari.4073, question = eQd5mlz0BN0amTp/2ccMoA
default	08:18:10.480727 +0200	MobileSafari	    libMobileGestalt MobileGestalt.c:890: MGIsDeviceOneOfType is not supported on this platform.
default	08:18:10.480821 +0200	MobileSafari	    MGIsDeviceOneOfType is not supported on this platform.
default	08:18:10.482061 +0200	MobileSafari	    Retrieving resting unlock: 0
default	08:18:10.488437 +0200	assertiond	    [SpringBoard:3990] Attempting to acquire assertion for MobileSafari:4073: <BKProcessAssertion: 0x7fb60141e630; "Resume" (activation:inf); id:…8B85A3EF9BD6>
default	08:18:10.488673 +0200	assertiond	    [MobileSafari:4073] Add assertion: <BKProcessAssertion: 0x7fb60141e630; id: 3990-BA219D10-F25C-472E-AD6F-8B85A3EF9BD6; name: Resume; state: active; reason: activation; duration: infs> {
default	08:18:10.488730 +0200	assertiond	[MobileSafari:4073] Activate assertion: <BKProcessAssertion: 0x7fb60141e630; "Resume" (activation:inf); id:…8B85A3EF9BD6>
default	08:18:10.489620 +0200	assertiond	[SpringBoard:3990] Attempting to acquire assertion for MobileSafari:4073: <BKProcessAssertion: 0x7fb601607c80; "Deliver Message" (suspend:10s); id:…5727C6086734>
default	08:18:10.489833 +0200	assertiond	[MobileSafari:4073] Add assertion: <BKProcessAssertion: 0x7fb601607c80; id: 3990-618D94F1-6B26-4B16-9999-5727C6086734; name: "Deliver Message"; state: active; reason: suspend; duration: 10.0s> {
default	08:18:10.489889 +0200	assertiond	[MobileSafari:4073] Activate assertion: <BKProcessAssertion: 0x7fb601607c80; "Deliver Message" (suspend:10s); id:…5727C6086734>
default	08:18:10.489947 +0200	assertiond	[MobileSafari:4073] Setting jetsam priority to 10 [0x10300]
default	08:18:10.542608 +0200	MobileSafari	   Faulting in NSHTTPCookieStorage singleton
default	08:18:10.542704 +0200	MobileSafari	   Faulting in CFHTTPCookieStorage singleton
default	08:18:10.542793 +0200	MobileSafari	   Creating default cookie storage with default identifier
default	08:18:10.546862 +0200	assertiond	   client <BSProcessHandle: 0x7fb601606ad0; MobileSafari:4073; valid: YES> HWM increased to 1 because of <BKProcessAssertion: 0x7fb60141e710; "Shared Background Assertion 0 for com.apple.mobilesafari" (finishTask:180s); id:…65652FF12296>
default	08:18:10.546928 +0200	assertiond	   [MobileSafari:4073] Attempting to acquire assertion for MobileSafari:4073: <BKProcessAssertion: 0x7fb60141e710; "Shared Background Assertion 0 for com.apple.mobilesafari" (finishTask:180s); id:…65652FF12296>
default	08:18:10.547162 +0200	assertiond	   [MobileSafari:4073] Add assertion: <BKProcessAssertion: 0x7fb60141e710; id: 4073-741AED40-7CF1-4573-A877-65652FF12296; name: "Shared Background Assertion 0 for com.apple.mobilesafari"; state: active; reason: finishTask; duration: 180.0s> {
    owner = <BSProcessHandle: 0x7fb601606ad0; MobileSafari:4073; valid: YES>;
default	08:18:10.547223 +0200	assertiond	[MobileSafari:4073] Activate assertion: <BKProcessAssertion: 0x7fb60141e710; "Shared Background Assertion 0 for com.apple.mobilesafari" (finishTask:180s); id:…65652FF12296>
default	08:18:10.547297 +0200	assertiond	[MobileSafari:4073] New process assertion state; preventSuspend, preventThrottleDownUI, preventThrottleDownCPU, preventIdleSleep, wantsForegroundResourcePriority, preventSuspendOnSleep (assertion 0x7fb60141e710 added: preventIdleSleep; removed: (none))
default	08:18:10.547344 +0200	assertiond	[MobileSafari:4073] Setting jetsam priority to 10 [0x10308]
default	08:18:10.547391 +0200	assertiond	Creating PowerAssertion on MobileSafari:4073
default	08:18:10.547791 +0200	assertiond	Created PowerAssertion on MobileSafari:4073, sleep reverted
default	08:18:10.551295 +0200	assertiond	[MobileSafari:4073] Deactivate assertion: <BKProcessAssertion: 0x7fb60141e710; "Shared Background Assertion 0 for com.apple.mobilesafari" (finishTask:180s); id:…65652FF12296>
default	08:18:10.551411 +0200	assertiond	[MobileSafari:4073] dump assertions count:3 HWM:4 (deactivateAssertion): {
default	08:18:10.551481 +0200	assertiond	[MobileSafari:4073] New process assertion state; preventSuspend, preventThrottleDownUI, preventThrottleDownCPU, wantsForegroundResourcePriority, preventSuspendOnSleep (assertion 0x7fb60141e710 added: (none); removed: preventIdleSleep)
default	08:18:10.551528 +0200	assertiond	[MobileSafari:4073] Setting jetsam priority to 10 [0x10300]
default	08:18:10.551567 +0200	assertiond	Releasing PowerAssertion on MobileSafari:4073 from update
default	08:18:10.551917 +0200	assertiond	[MobileSafari:4073] Remove assertion: <BKProcessAssertion: 0x7fb60141e710; "Shared Background Assertion 0 for com.apple.mobilesafari" (finishTask:180s); id:…65652FF12296>
default	08:18:10.562557 +0200	assertiond	[MobileSafari:4073] Attempting to acquire assertion for MobileSafari:4073: <BKProcessAssertion: 0x7fb60141e710; "Shared Background Assertion 1 for com.apple.mobilesafari" (finishTask:180s); id:…2B9ACE5B778F>
default	08:18:10.562837 +0200	assertiond	[MobileSafari:4073] Add assertion: <BKProcessAssertion: 0x7fb60141e710; id: 4073-2F91BAE6-73EE-46AF-BE82-2B9ACE5B778F; name: "Shared Background Assertion 1 for com.apple.mobilesafari"; state: active; reason: finishTask; duration: 180.0s> {
    owner = <BSProcessHandle: 0x7fb601606ad0; MobileSafari:4073; valid: YES>;
default	08:18:10.562901 +0200	assertiond	[MobileSafari:4073] Activate assertion: <BKProcessAssertion: 0x7fb60141e710; "Shared Background Assertion 1 for com.apple.mobilesafari" (finishTask:180s); id:…2B9ACE5B778F>
default	08:18:10.562975 +0200	assertiond	[MobileSafari:4073] New process assertion state; preventSuspend, preventThrottleDownUI, preventThrottleDownCPU, preventIdleSleep, wantsForegroundResourcePriority, preventSuspendOnSleep (assertion 0x7fb60141e710 added: preventIdleSleep; removed: (none))
default	08:18:10.563021 +0200	assertiond	[MobileSafari:4073] Setting jetsam priority to 10 [0x10308]
default	08:18:10.563064 +0200	assertiond	Creating PowerAssertion on MobileSafari:4073
default	08:18:10.563535 +0200	assertiond	Created PowerAssertion on MobileSafari:4073, sleep reverted
default	08:18:10.567418 +0200	MobileGestaltHelper	     platform fast path elided: caller = MobileSafari.4073, question = oBbtJ8x+s1q0OkaiocPuog
default	08:18:10.569570 +0200	assertiond	     [MobileSafari:4073] Deactivate assertion: <BKProcessAssertion: 0x7fb60141e710; "Shared Background Assertion 1 for com.apple.mobilesafari" (finishTask:180s); id:…2B9ACE5B778F>
default	08:18:10.569656 +0200	assertiond	     [MobileSafari:4073] New process assertion state; preventSuspend, preventThrottleDownUI, preventThrottleDownCPU, wantsForegroundResourcePriority, preventSuspendOnSleep (assertion 0x7fb60141e710 added: (none); removed: preventIdleSleep)
default	08:18:10.569708 +0200	assertiond	     [MobileSafari:4073] Setting jetsam priority to 10 [0x10300]
default	08:18:10.569750 +0200	assertiond	     Releasing PowerAssertion on MobileSafari:4073 from update
default	08:18:10.570132 +0200	assertiond	     [MobileSafari:4073] Remove assertion: <BKProcessAssertion: 0x7fb60141e710; "Shared Background Assertion 1 for com.apple.mobilesafari" (finishTask:180s); id:…2B9ACE5B778F>
default	08:18:10.571479 +0200	accountsd	     "<NSXPCConnection: 0x7fd7c0424be0> connection from pid 4073 (MobileSafari) received"
default	08:18:10.583599 +0200	accountsd	"<NSXPCConnection: 0x7fd7c0525d20> connection from pid 4073 (MobileSafari) received"
default	08:18:10.584005 +0200	MobileSafari	Establishing xpc connection to lsd
default	08:18:10.585557 +0200	MobileSafari	"The connection to ACDAccountStore was invalidated."
default	08:18:10.585910 +0200	MobileSafari	Received LSWorkspaceObserverPing, xpc connection established
default	08:18:10.590020 +0200	MobileSafari	Simulator user has requested new graphics quality: 10
default	08:18:10.594465 +0200	assertiond	[MobileSafari:4073] Deactivate assertion: <BKProcessAssertion: 0x7fb601703470; "UIApplicationLaunch" (activation:inf); id:…D303F8739EE0>
default	08:18:10.594539 +0200	assertiond	[MobileSafari:4073] Scheduling allow-idle-sleep timer with interval: 180.0
default	08:18:10.594617 +0200	assertiond	[MobileSafari:4073] New process assertion state; preventSuspend, preventThrottleDownUI, preventThrottleDownCPU, preventSuspendOnSleep (assertion 0x7fb601703470 added: (none); removed: wantsForegroundResourcePriority)
default	08:18:10.594691 +0200	assertiond	[MobileSafari:4073] Remove assertion: <BKProcessAssertion: 0x7fb601703470; "UIApplicationLaunch" (activation:inf); id:…D303F8739EE0>
default	08:18:10.644258 +0200	SpringBoard	[FBServiceFacilityServer] Client MobileSafari:4073 connected to service com.apple.uikit.applicationSupportService
default	08:18:10.658200 +0200	MobileSafari	Process com.apple.mobilesafari did lock bookmarks database
error	08:18:10.666127 +0200	MobileSafari	Error reading bookmarks metadata file with code: 260
default	08:18:10.666490 +0200	MobileSafari	Device identifier is empty
default	08:18:10.666574 +0200	MobileSafari	Setting sync notification type: 0
default	08:18:10.667293 +0200	MobileSafari	Process com.apple.mobilesafari did unlock bookmarks database
default	08:18:10.670781 +0200	MobileSafari	Connection has been invalidated
default	08:18:10.671119 +0200	MobileSafari	Sending selectors to server: (null)
default	08:18:10.671974 +0200	MobileSafari	Connection has been invalidated
error	08:18:10.672243 +0200	MobileSafari	Remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.}
error	08:18:10.672386 +0200	MobileSafari	Remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.}
error	08:18:10.672728 +0200	MobileSafari	Sending selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.}
default	08:18:10.674953 +0200	assertiond	[MobileSafari:4073] Attempting to acquire assertion for MobileSafari:4073: <BKProcessAssertion: 0x7fb601703470; "Shared Background Assertion 2 for com.apple.mobilesafari" (finishTask:180s); id:…DA3D55538095>
default	08:18:10.675202 +0200	assertiond	[MobileSafari:4073] Add assertion: <BKProcessAssertion: 0x7fb601703470; id: 4073-4B0B09DE-22F9-4AFB-954D-DA3D55538095; name: "Shared Background Assertion 2 for com.apple.mobilesafari"; state: active; reason: finishTask; duration: 180.0s> {
    owner = <BSProcessHandle: 0x7fb601606ad0; MobileSafari:4073; valid: YES>;
default	08:18:10.675254 +0200	assertiond	[MobileSafari:4073] Activate assertion: <BKProcessAssertion: 0x7fb601703470; "Shared Background Assertion 2 for com.apple.mobilesafari" (finishTask:180s); id:…DA3D55538095>
default	08:18:10.675319 +0200	assertiond	[MobileSafari:4073] New process assertion state; preventSuspend, preventThrottleDownUI, preventThrottleDownCPU, preventIdleSleep, preventSuspendOnSleep (assertion 0x7fb601703470 added: preventIdleSleep; removed: (none))
default	08:18:10.675361 +0200	assertiond	[MobileSafari:4073] Setting jetsam priority to 10 [0x10308]
default	08:18:10.675405 +0200	assertiond	Creating PowerAssertion on MobileSafari:4073
default	08:18:10.675816 +0200	assertiond	Created PowerAssertion on MobileSafari:4073, sleep reverted
error	08:18:10.677151 +0200	MobileSafari	Failed to retrieve carrier subscription info: Error Domain=NSCocoaErrorDomain Code=4099 "Couldn’t communicate with a helper application."
default	08:18:10.687089 +0200	assertiond	[MobileSafari:4073] Deactivate assertion: <BKProcessAssertion: 0x7fb601703470; "Shared Background Assertion 2 for com.apple.mobilesafari" (finishTask:180s); id:…DA3D55538095>
default	08:18:10.687166 +0200	assertiond	[MobileSafari:4073] New process assertion state; preventSuspend, preventThrottleDownUI, preventThrottleDownCPU, preventSuspendOnSleep (assertion 0x7fb601703470 added: (none); removed: preventIdleSleep)
default	08:18:10.687214 +0200	assertiond	[MobileSafari:4073] Setting jetsam priority to 10 [0x10300]
default	08:18:10.687254 +0200	assertiond	Releasing PowerAssertion on MobileSafari:4073 from update
default	08:18:10.687628 +0200	assertiond	[MobileSafari:4073] Remove assertion: <BKProcessAssertion: 0x7fb601703470; "Shared Background Assertion 2 for com.apple.mobilesafari" (finishTask:180s); id:…DA3D55538095>
default	08:18:10.689724 +0200	MobileSafari	0x1500f8088 - WebProcessCache::updateCapacity: Cache is disabled because process swap on navigation is disabled
default	08:18:10.855850 +0200	MobileSafari	       0x7fd8ac071c18 - WebPageProxy::constructor: webPID = 0, pageID = 6
default	08:18:10.856826 +0200	MobileSafari	       0x1500f8088 - WebProcessCache::updateCapacity: Cache is disabled by client
default	08:18:10.864644 +0200	MobileSafari	AggregateDictionary is not supported on this platform
default	08:18:10.871522 +0200	MobileSafari	0x7fd8ac071c18 - WebPageProxy::updateThrottleState: UIProcess is taking a foreground assertion because the view is visible
default	08:18:10.897140 +0200	MobileSafari	    libMobileGestalt MobileGestalt.c:1645: Could not retrieve region info
default	08:18:10.897201 +0200	MobileSafari	    Could not retrieve region info
default	08:18:10.899643 +0200	MobileSafari	    0x7fd8ac071c18 - WebPageProxy::restoreFromSessionState: webPID = 0, pageID = 6
default	08:18:10.905459 +0200	MobileSafari	    -[LAContext initWithExternalizedContext:] 0 on <LAContext: 0x7fd8adc9cf30>
default	08:18:10.906651 +0200	MobileSafari	    -[LAContext canEvaluatePolicy:error:]_block_invoke 1 on <LAContext: 0x7fd8adc9cf30>
default	08:18:10.906814 +0200	MobileSafari	    -[LAClient evaluatePolicy:options:uiDelegate:reply:] 1, {
default	  08:18:10.908889 +0200	MobileSafari	Successfully added registration dmf.policy.monitor.web
default	08:18:10.919524 +0200	MobileSafari	-[LAClient evaluatePolicy:options:uiDelegate:reply:]_block_invoke -> (null), Error Domain=com.apple.LocalAuthentication Code=-7 "No identities are enrolled." UserInfo={BiometryType=1, NSLocalizedDescription=No identities are enrolled.} on <LAClient: 0x7fd8adc9d300>
default	08:18:10.919721 +0200	MobileSafari	-[LAContext canEvaluatePolicy:error:]_block_invoke -> Error Domain=com.apple.LocalAuthentication Code=-7 "No identities are enrolled." UserInfo={NSLocalizedDescription=No identities are enrolled.} on <LAContext: 0x7fd8adc9cf30>
default	08:18:10.923761 +0200	MobileSafari	Starting migration coordination
default	08:18:10.923921 +0200	MobileSafari	Requesting local migration state from data provider
default	08:18:10.927681 +0200	MobileSafari	client:#E Failed to xpc create connection.
default	08:18:10.929615 +0200	MobileSafari	client:#E xpc conenction NULL while registering as component 0x32
default	08:18:10.954246 +0200	MobileSafari	      Process com.apple.mobilesafari did lock bookmarks database
default	08:18:10.954472 +0200	MobileSafari	      Process com.apple.mobilesafari did unlock bookmarks database
default	08:18:10.957051 +0200	accountsd	      "<NSXPCConnection: 0x7fd7c070c290> connection from pid 4073 (MobileSafari) received"
default	08:18:10.963865 +0200	MobileSafari	      "The connection to ACDAccountStore was invalidated."
default	08:18:10.964494 +0200	accountsd	      "<NSXPCConnection: 0x7fd7c0429200> connection from pid 4073 (MobileSafari) received"
default	08:18:10.968326 +0200	MobileSafari	"The connection to ACDAccountStore was invalidated."
default	08:18:10.968791 +0200	MobileSafari	Device identifier is empty
default	08:18:10.968882 +0200	MobileSafari	Sync agent is idle; consulting remote migration state to determine what to do
default	08:18:10.968976 +0200	MobileSafari	Requesting remote migration state from sync agent
default	08:18:10.969134 +0200	MobileSafari	Notifying the agent to periodically check the remote migration state
error	08:18:10.970211 +0200	MobileSafari	Error fetching remote migration state: Error Domain=com.apple.SafariBookmarksSync.CloudBookmarksErrorDomain Code=0 "(null)"
default	08:18:11.999697 +0200	assertiond	      [MobileSafari:4073] Deactivate assertion: <BKProcessAssertion: 0x7fb601607c80; "Deliver Message" (suspend:10s); id:…5727C6086734>
default	08:18:11.999752 +0200	assertiond	       [MobileSafari:4073] Setting jetsam priority to 10 [0x10100]
default	08:18:11.999813 +0200	assertiond	       [MobileSafari:4073] Remove assertion: <BKProcessAssertion: 0x7fb601607c80; "Deliver Message" (suspend:10s); id:…5727C6086734>
default	  08:18:11.346849 +0200	      MobileSafari	_MobileAssetSendCopyMatchingAssetsCommand: [MobileAssetError:29] Unable to copy asset information from https://mesu.apple.com/assets/ for asset type com.apple.MobileAsset.TextInput.SpellChecker
default	  08:18:11.369611 +0200	      MobileSafari	0x1506fa000 - WebProcessProxy didFinishLaunching - invalid connection identifier (web process failed to launch)
default	  08:18:11.369954 +0200	      MobileSafari	0x7fd8ac071c18 - WebPageProxy::processDidTerminate: (pid 0), reason 3
default	  08:18:11.371746 +0200	      MobileSafari	0x7fd8ac03a400 -[WKWebView _processDidExit]
default	  08:18:11.372837 +0200	      MobileSafari	0x7fd8ac071c18 - WebPageProxy::dispatchProcessDidTerminate: webPID = 0, reason = 3
default	  08:18:11.812992 +0200	      assertiond	[SpringBoard:3990] Attempting to acquire assertion for MobileSafari:4073: <BKProcessAssertion: 0x7fb601606680; "com.apple.UIKit.KeyboardManagement.message" (finishTask:180s); id:…191008FCC49D>
default	  08:18:11.813526 +0200	      assertiond	[MobileSafari:4073] Add assertion: <BKProcessAssertion: 0x7fb601606680; id: 3990-EE472013-E0E9-4EE5-BC5F-191008FCC49D; name: com.apple.UIKit.KeyboardManagement.message; state: active; reason: finishTask; duration: 180.0s> {
default	08:18:11.813638 +0200	assertiond	[MobileSafari:4073] Activate assertion: <BKProcessAssertion: 0x7fb601606680; "com.apple.UIKit.KeyboardManagement.message" (finishTask:180s); id:…191008FCC49D>
default	08:18:11.813707 +0200	assertiond	[MobileSafari:4073] Setting jetsam priority to 10 [0x10108]
default	08:18:11.815071 +0200	assertiond	[MobileSafari:4073] Deactivate assertion: <BKProcessAssertion: 0x7fb601606680; "com.apple.UIKit.KeyboardManagement.message" (finishTask:180s); id:…191008FCC49D>
default	08:18:11.815130 +0200	assertiond	[MobileSafari:4073] Setting jetsam priority to 10 [0x10100]
default	08:18:11.815220 +0200	assertiond	[MobileSafari:4073] Remove assertion: <BKProcessAssertion: 0x7fb601606680; "com.apple.UIKit.KeyboardManagement.message" (finishTask:180s); id:…191008FCC49D>
default	08:18:11.943058 +0200	MobileSafari	requesting bag
default	08:18:11.973725 +0200	MobileSafari	In CATransaction preCommitHandler, WKWebView 0x7fd8ac03a400 is invalid
default	08:18:11.984348 +0200	MobileSafari	Device identifier is empty
default	08:18:11.984424 +0200	MobileSafari	Setting sync notification type: 0
default	08:18:12.044836 +0200	assertiond	[MobileSafari:4073] Attempting to acquire assertion for MobileSafari:4073: <BKProcessAssertion: 0x7fb60141e710; "systemAnimationFence" (finishTask:180s); id:…0D9FB9809C30>
default	08:18:12.045068 +0200	assertiond	[MobileSafari:4073] Add assertion: <BKProcessAssertion: 0x7fb60141e710; id: 4073-B90DBBA3-8105-456C-8293-0D9FB9809C30; name: systemAnimationFence; state: active; reason: finishTask; duration: 180.0s> {
    owner = <BSProcessHandle: 0x7fb601606ad0; MobileSafari:4073; valid: YES>;
default	08:18:12.045126 +0200	assertiond	[MobileSafari:4073] Activate assertion: <BKProcessAssertion: 0x7fb60141e710; "systemAnimationFence" (finishTask:180s); id:…0D9FB9809C30>
default	08:18:12.045183 +0200	assertiond	[MobileSafari:4073] Setting jetsam priority to 10 [0x10108]
default	08:18:12.049548 +0200	assertiond	[SpringBoard:3990] Attempting to acquire assertion for MobileSafari:4073: <BKProcessAssertion: 0x7fb601606680; "com.apple.UIKit.KeyboardManagement.message" (finishTask:180s); id:…D87AE7435177>
default	08:18:12.049788 +0200	assertiond	[MobileSafari:4073] Add assertion: <BKProcessAssertion: 0x7fb601606680; id: 3990-02E486F5-DFC2-4BE0-BA2A-D87AE7435177; name: com.apple.UIKit.KeyboardManagement.message; state: active; reason: finishTask; duration: 180.0s> {
default	08:18:12.049845 +0200	assertiond	[MobileSafari:4073] Activate assertion: <BKProcessAssertion: 0x7fb601606680; "com.apple.UIKit.KeyboardManagement.message" (finishTask:180s); id:…D87AE7435177>
default	08:18:12.121086 +0200	assertiond	      [MobileSafari:4073] Deactivate assertion: <BKProcessAssertion: 0x7fb601606680; "com.apple.UIKit.KeyboardManagement.message" (finishTask:180s); id:…D87AE7435177>
default	08:18:12.121299 +0200	assertiond	      [MobileSafari:4073] Remove assertion: <BKProcessAssertion: 0x7fb601606680; "com.apple.UIKit.KeyboardManagement.message" (finishTask:180s); id:…D87AE7435177>
default	08:18:12.146923 +0200	assertiond	      [MobileSafari:4073] Deactivate assertion: <BKProcessAssertion: 0x7fb60141e710; "systemAnimationFence" (finishTask:180s); id:…0D9FB9809C30>
default	08:18:12.146984 +0200	assertiond	      [MobileSafari:4073] Setting jetsam priority to 10 [0x10100]
default	08:18:12.147047 +0200	assertiond	      [MobileSafari:4073] Remove assertion: <BKProcessAssertion: 0x7fb60141e710; "systemAnimationFence" (finishTask:180s); id:…0D9FB9809C30>
default	08:18:12.326674 +0200	MobileSafari	      Call host has no calls
default	08:18:12.702155 +0200	assertiond	[SpringBoard:3990] Attempting to acquire assertion for MobileSafari:4073: <BKProcessAssertion: 0x7fb601508820; "com.apple.UIKit.KeyboardManagement.message" (finishTask:180s); id:…C63B4390ABD5>
default	08:18:12.702386 +0200	assertiond	[MobileSafari:4073] Add assertion: <BKProcessAssertion: 0x7fb601508820; id: 3990-FCA4D77C-9334-492A-BBBF-C63B4390ABD5; name: com.apple.UIKit.KeyboardManagement.message; state: active; reason: finishTask; duration: 180.0s> {
default	08:18:12.702442 +0200	assertiond	[MobileSafari:4073] Activate assertion: <BKProcessAssertion: 0x7fb601508820; "com.apple.UIKit.KeyboardManagement.message" (finishTask:180s); id:…C63B4390ABD5>
default	08:18:12.702496 +0200	assertiond	[MobileSafari:4073] Setting jetsam priority to 10 [0x10108]
default	08:18:12.704048 +0200	assertiond	[MobileSafari:4073] Deactivate assertion: <BKProcessAssertion: 0x7fb601508820; "com.apple.UIKit.KeyboardManagement.message" (finishTask:180s); id:…C63B4390ABD5>
default	08:18:12.704156 +0200	assertiond	[MobileSafari:4073] Setting jetsam priority to 10 [0x10100]
default	08:18:12.704219 +0200	assertiond	[MobileSafari:4073] Remove assertion: <BKProcessAssertion: 0x7fb601508820; "com.apple.UIKit.KeyboardManagement.message" (finishTask:180s); id:…C63B4390ABD5>
default	08:18:12.723372 +0200	parsecd	new connection from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Applications/MobileSafari.app/MobileSafari (4073)
default	08:18:12.814051 +0200	MobileSafari	       0x7fd8ac071c18 - WebPageProxy::loadRequest: webPID = 0, pageID = 6
default	08:18:12.816069 +0200	MobileSafari	       0x7fd8ac071c18 - WebPageProxy::launchProcess: webPID = 0, pageID = 6
default	08:18:12.823100 +0200	MobileSafari	       0x7fd8ac071c18 - WebPageProxy::updateThrottleState: UIProcess is taking a foreground assertion because the view is visible
default	08:18:12.826679 +0200	MobileSafari	       0x7fd8ac03a400 -[WKWebView _didRelaunchProcess]
default	08:18:12.826853 +0200	MobileSafari	       0x7fd8ac071c18 - WebPageProxy::loadRequestWithNavigation: webPID = 0, pageID = 6
default	08:18:12.829199 +0200	MobileSafari	       0x1500ec2d8 - NavigationState is taking a process network assertion because a page load started
default	08:18:13.051490 +0200	MobileSafari	       ENCODE: Caching encoded userInfo to use until we are marked dirty again, returning encoded result $4d50030581b9636f6d2e6170706c652e5361666172692e436c6f756454616281.. 93 ..3f636c69656e743d736166617269266368616e6e656c3d6970686f6e655f626d opts={ LSUserActivityContainsFileProviderURL = 0; LSUserActivityContainsUnsynchronizedCloudDocs = 0; UAUserActivityContainsCloudDocsKey = 0;}
default	08:18:13.158465 +0200	MobileSafari	       Successfully fetched policies websites,applications,categories
default	08:18:13.162017 +0200	MobileSafari	       Error in executeWithReply: Error Domain=com.apple.siri.context Code=7 "Feature is disabled or unavailable" UserInfo={NSLocalizedFailureReason=Feature is disabled or unavailable}
error	08:18:13.162513 +0200	MobileSafari	       Failed fetching categories for domain URLs with error: Error Domain=com.apple.siri.context Code=7 "Feature is disabled or unavailable" UserInfo={NSLocalizedFailureReason=Feature is disabled or unavailable}
default	08:18:13.348851 +0200	assertiond	       [MobileSafari:4073] Attempting to acquire assertion for MobileSafari:4073: <BKProcessAssertion: 0x7fb601506d80; "systemAnimationFence" (finishTask:180s); id:…D4A9DF00A93B>
default	08:18:13.349128 +0200	assertiond	       [MobileSafari:4073] Add assertion: <BKProcessAssertion: 0x7fb601506d80; id: 4073-DC1D011E-AD95-4CB3-B7AF-D4A9DF00A93B; name: systemAnimationFence; state: active; reason: finishTask; duration: 180.0s> {
    owner = <BSProcessHandle: 0x7fb601606ad0; MobileSafari:4073; valid: YES>;
default	08:18:13.349192 +0200	assertiond	[MobileSafari:4073] Activate assertion: <BKProcessAssertion: 0x7fb601506d80; "systemAnimationFence" (finishTask:180s); id:…D4A9DF00A93B>
default	08:18:13.349248 +0200	assertiond	[MobileSafari:4073] Setting jetsam priority to 10 [0x10108]
default	08:18:13.352633 +0200	assertiond	[SpringBoard:3990] Attempting to acquire assertion for MobileSafari:4073: <BKProcessAssertion: 0x7fb60141e140; "com.apple.UIKit.KeyboardManagement.message" (finishTask:180s); id:…A3B2700519DA>
default	08:18:13.354155 +0200	assertiond	[MobileSafari:4073] Add assertion: <BKProcessAssertion: 0x7fb60141e140; id: 3990-492CB69E-0828-4D28-B566-A3B2700519DA; name: com.apple.UIKit.KeyboardManagement.message; state: active; reason: finishTask; duration: 180.0s> {
default	08:18:13.354964 +0200	assertiond	[MobileSafari:4073] Activate assertion: <BKProcessAssertion: 0x7fb60141e140; "com.apple.UIKit.KeyboardManagement.message" (finishTask:180s); id:…A3B2700519DA>
default	08:18:13.358869 +0200	assertiond	[MobileSafari:4073] Deactivate assertion: <BKProcessAssertion: 0x7fb60141e140; "com.apple.UIKit.KeyboardManagement.message" (finishTask:180s); id:…A3B2700519DA>
default	08:18:13.359584 +0200	assertiond	[MobileSafari:4073] Remove assertion: <BKProcessAssertion: 0x7fb60141e140; "com.apple.UIKit.KeyboardManagement.message" (finishTask:180s); id:…A3B2700519DA>
default	08:18:13.364252 +0200	assertiond	[MobileSafari:4073] Deactivate assertion: <BKProcessAssertion: 0x7fb601506d80; "systemAnimationFence" (finishTask:180s); id:…D4A9DF00A93B>
default	08:18:13.364921 +0200	assertiond	[MobileSafari:4073] Setting jetsam priority to 10 [0x10100]
default	08:18:13.365264 +0200	assertiond	[MobileSafari:4073] Remove assertion: <BKProcessAssertion: 0x7fb601506d80; "systemAnimationFence" (finishTask:180s); id:…D4A9DF00A93B>
default	   08:18:14.105130 +0200	MobileSafari	0x1506fad80 - WebProcessProxy didFinishLaunching - invalid connection identifier (web process failed to launch)
default	   08:18:14.105483 +0200	MobileSafari	0x7fd8ac071c18 - WebPageProxy::processDidTerminate: (pid 0), reason 3
default	   08:18:14.106592 +0200	MobileSafari	0x7fd8ac03a400 -[WKWebView _processDidExit]
default	   08:18:14.106983 +0200	MobileSafari	0x7fd8ac071c18 - WebPageProxy::dispatchProcessDidTerminate: webPID = 0, reason = 3
default	   08:18:14.108027 +0200	MobileSafari	0x7fd8ac071c18 - WebPageProxy::loadAlternateHTML: webPID = 0, pageID = 6
default	   08:18:14.108094 +0200	MobileSafari	0x7fd8ac071c18 - WebPageProxy::launchProcess: webPID = 0, pageID = 6
default	   08:18:14.112407 +0200	MobileSafari	0x7fd8ac071c18 - WebPageProxy::updateThrottleState: UIProcess is taking a foreground assertion because the view is visible
default	   08:18:14.114680 +0200	MobileSafari	0x7fd8ac03a400 -[WKWebView _didRelaunchProcess]
default	   08:18:14.426381 +0200	MobileSafari	0x1506fb200 - WebProcessProxy didFinishLaunching - invalid connection identifier (web process failed to launch)
default	   08:18:14.426736 +0200	MobileSafari	0x7fd8ac071c18 - WebPageProxy::processDidTerminate: (pid 0), reason 3
default	   08:18:14.427528 +0200	MobileSafari	0x7fd8ac03a400 -[WKWebView _processDidExit]
default	   08:18:14.427752 +0200	MobileSafari	0x7fd8ac071c18 - WebPageProxy::dispatchProcessDidTerminate: webPID = 0, reason = 3
default	   08:18:14.432054 +0200	MobileSafari	0x7fd8ac071c18 - WebPageProxy::reload: webPID = 0, pageID = 6
default	   08:18:14.432174 +0200	MobileSafari	0x7fd8ac071c18 - WebPageProxy::launchProcessForReload: webPID = 0, pageID = 6
default	   08:18:14.432207 +0200	MobileSafari	0x7fd8ac071c18 - WebPageProxy::launchProcess: webPID = 0, pageID = 6
default	   08:18:14.436488 +0200	MobileSafari	0x7fd8ac071c18 - WebPageProxy::updateThrottleState: UIProcess is taking a foreground assertion because the view is visible
default	   08:18:14.438170 +0200	MobileSafari	0x7fd8ac03a400 -[WKWebView _didRelaunchProcess]
default	   08:18:14.438251 +0200	MobileSafari	0x7fd8ac071c18 - WebPageProxy::launchProcessForReload: no current item to reload: webPID = 0, pageID = 6
default	   08:18:14.757817 +0200	MobileSafari	0x1506fb680 - WebProcessProxy didFinishLaunching - invalid connection identifier (web process failed to launch)
default	   08:18:14.758138 +0200	MobileSafari	0x7fd8ac071c18 - WebPageProxy::processDidTerminate: (pid 0), reason 3
default	   08:18:14.758921 +0200	MobileSafari	0x7fd8ac03a400 -[WKWebView _processDidExit]
default	   08:18:14.759913 +0200	MobileSafari	0x7fd8ac071c18 - WebPageProxy::dispatchProcessDidTerminate: webPID = 0, reason = 3
default	   08:18:14.761650 +0200	MobileSafari	0x7fd8ac071c18 - WebPageProxy::loadAlternateHTML: webPID = 0, pageID = 6
default	   08:18:14.761790 +0200	MobileSafari	0x7fd8ac071c18 - WebPageProxy::launchProcess: webPID = 0, pageID = 6
default	   08:18:14.763598 +0200	MobileSafari	0x7fd8ac071c18 - WebPageProxy::updateThrottleState: UIProcess is taking a foreground assertion because the view is visible
default	   08:18:14.765542 +0200	MobileSafari	0x7fd8ac03a400 -[WKWebView _didRelaunchProcess]
default	08:18:14.997114 +0200	MobileSafari	0x1506fbb00 - WebProcessProxy didFinishLaunching - invalid connection identifier (web process failed to launch)
default	08:18:14.997401 +0200	MobileSafari	0x7fd8ac071c18 - WebPageProxy::processDidTerminate: (pid 0), reason 3
default	08:18:14.998172 +0200	MobileSafari	0x7fd8ac03a400 -[WKWebView _processDidExit]
default	08:18:14.998461 +0200	MobileSafari	0x7fd8ac071c18 - WebPageProxy::dispatchProcessDidTerminate: webPID = 0, reason = 3
default	08:18:15.003078 +0200	MobileSafari	0x7fd8ac071c18 - WebPageProxy::reload: webPID = 0, pageID = 6
default	08:18:15.003221 +0200	MobileSafari	0x7fd8ac071c18 - WebPageProxy::launchProcessForReload: webPID = 0, pageID = 6
default	08:18:15.003261 +0200	MobileSafari	0x7fd8ac071c18 - WebPageProxy::launchProcess: webPID = 0, pageID = 6
default	08:18:15.009389 +0200	MobileSafari	0x7fd8ac071c18 - WebPageProxy::updateThrottleState: UIProcess is taking a foreground assertion because the view is visible
default	08:18:15.011258 +0200	MobileSafari	0x7fd8ac03a400 -[WKWebView _didRelaunchProcess]
default	08:18:15.011341 +0200	MobileSafari	0x7fd8ac071c18 - WebPageProxy::launchProcessForReload: no current item to reload: webPID = 0, pageID = 6
default	08:18:15.354289 +0200	SpringBoard	     Processing app:<LSApplicationProxy: 0x7ff584d88b10> com.apple.mobilesafari file:///Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Applications/MobileSafari.app <com.apple.mobilesafari <installed >:0>, bundleType:System
default	08:18:15.416659 +0200	MobileSafari	     0x1506fa000 - WebProcessProxy didFinishLaunching - invalid connection identifier (web process failed to launch)
default	08:18:15.416968 +0200	MobileSafari	     0x7fd8ac071c18 - WebPageProxy::processDidTerminate: (pid 0), reason 3
default	08:18:15.417799 +0200	MobileSafari	     0x7fd8ac03a400 -[WKWebView _processDidExit]
default	08:18:15.418776 +0200	MobileSafari	     0x7fd8ac071c18 - WebPageProxy::dispatchProcessDidTerminate: webPID = 0, reason = 3
default	08:18:15.419531 +0200	MobileSafari	     0x7fd8ac071c18 - WebPageProxy::loadAlternateHTML: webPID = 0, pageID = 6
default	08:18:15.419618 +0200	MobileSafari	     0x7fd8ac071c18 - WebPageProxy::launchProcess: webPID = 0, pageID = 6
default	08:18:15.425652 +0200	MobileSafari	     0x7fd8ac071c18 - WebPageProxy::updateThrottleState: UIProcess is taking a foreground assertion because the view is visible
default	08:18:15.428796 +0200	MobileSafari	     0x7fd8ac03a400 -[WKWebView _didRelaunchProcess]
default	08:18:15.775245 +0200	MobileSafari	     0x1506fa480 - WebProcessProxy didFinishLaunching - invalid connection identifier (web process failed to launch)
default	08:18:15.775560 +0200	MobileSafari	     0x7fd8ac071c18 - WebPageProxy::processDidTerminate: (pid 0), reason 3
default	08:18:15.776358 +0200	MobileSafari	     0x7fd8ac03a400 -[WKWebView _processDidExit]
default	08:18:15.776729 +0200	MobileSafari	     0x7fd8ac071c18 - WebPageProxy::dispatchProcessDidTerminate: webPID = 0, reason = 3
default	08:18:15.781740 +0200	MobileSafari	     0x7fd8ac071c18 - WebPageProxy::reload: webPID = 0, pageID = 6
default	08:18:15.781850 +0200	MobileSafari	     0x7fd8ac071c18 - WebPageProxy::launchProcessForReload: webPID = 0, pageID = 6
default	08:18:15.781883 +0200	MobileSafari	     0x7fd8ac071c18 - WebPageProxy::launchProcess: webPID = 0, pageID = 6
default	08:18:15.786739 +0200	MobileSafari	     0x7fd8ac071c18 - WebPageProxy::updateThrottleState: UIProcess is taking a foreground assertion because the view is visible
default	08:18:15.788490 +0200	MobileSafari	     0x7fd8ac03a400 -[WKWebView _didRelaunchProcess]
default	08:18:15.788569 +0200	MobileSafari	     0x7fd8ac071c18 - WebPageProxy::launchProcessForReload: no current item to reload: webPID = 0, pageID = 6
Comment 1 mitz 2019-06-06 23:48:40 PDT
Are there any relevant crash logs in ~/Library/Logs/DiagnosticReports?
Comment 2 Frédéric Wang (:fredw) 2019-06-07 00:09:22 PDT
(In reply to mitz from comment #1)
> Are there any relevant crash logs in ~/Library/Logs/DiagnosticReports?

Yes, basically what I reported on webkit-dev:

0   dyld                          	0x0000000115c3438e __abort_with_payload + 10
1   dyld                          	0x0000000115c33b80 abort_with_payload_wrapper_internal + 82
2   dyld                          	0x0000000115c33bb2 abort_with_payload + 9
3   dyld_sim                      	0x000000010c1c78c1 abort_with_payload + 34
4   dyld_sim                      	0x000000010c1befe0 dyld::halt(char const*) + 343
5   dyld_sim                      	0x000000010c1bf10a dyld::fastBindLazySymbol(ImageLoader**, unsigned long) + 167
6   libdyld.dylib                 	0x000000010f5b6122 dyld_stub_binder + 282
7   ???                           	0x000000010c1b5008 0 + 4498083848
8   libdyld.dylib                 	0x000000010f5b4541 start + 1

But I couldn't find any relevant info related to dyld in the logs...
Comment 3 Frédéric Wang (:fredw) 2019-06-07 00:09:41 PDT
Created attachment 371570 [details]
DiagnosticReports
Comment 4 mitz 2019-06-07 06:48:49 PDT
(In reply to Frédéric Wang (:fredw) from comment #3)
> Created attachment 371570 [details]
> DiagnosticReports

Thank you. Right there near the top:

Dyld Error Message:
  Symbol not found: _WKXPCServiceMain
  Referenced from: /Users/USER/Desktop/*/com.apple.WebKit.Networking.Development
  Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/WebKit.framework/WebKit

The built Networking service is linking against the preinstalled WebKit framework rather than against the built framework.

To help diagnose this, you can try changing setupIOSWebKitEnvironment() in webkitdirs.pm to also set the __XPC_-prefixed environment variables (like setupMacWebKitEnvironment() does). Also, check the LC_DYLD_ENVIRONMENT commands in the output of "otool -lv com.apple.WebKit.Networking.Development" and see if the one that’s relative to @executable_path would lead to where the built framework is.
Comment 5 Frédéric Wang (:fredw) 2019-06-07 08:34:46 PDT
(In reply to mitz from comment #4)
> (In reply to Frédéric Wang (:fredw) from comment #3)
> > Created attachment 371570 [details]
> > DiagnosticReports
> 
> Thank you. Right there near the top:

Ah, yes :-)

> The built Networking service is linking against the preinstalled WebKit
> framework rather than against the built framework.
> 
> To help diagnose this, you can try changing setupIOSWebKitEnvironment() in
> webkitdirs.pm to also set the __XPC_-prefixed environment variables (like
> setupMacWebKitEnvironment() does).

Right, setting them fixes the crash:

diff --git a/Tools/Scripts/webkitdirs.pm b/Tools/Scripts/webkitdirs.pm
index 67cc17a6b1..b8b083c9bd 100755
--- a/Tools/Scripts/webkitdirs.pm
+++ b/Tools/Scripts/webkitdirs.pm
@@ -2468,7 +2468,9 @@ sub setupIOSWebKitEnvironment($)
     $dyldFrameworkPath = File::Spec->rel2abs($dyldFrameworkPath);
 
     prependToEnvironmentVariableList("DYLD_FRAMEWORK_PATH", $dyldFrameworkPath);
+    prependToEnvironmentVariableList("__XPC_DYLD_FRAMEWORK_PATH", $dyldFrameworkPath);
     prependToEnvironmentVariableList("DYLD_LIBRARY_PATH", $dyldFrameworkPath);
+    prependToEnvironmentVariableList("__XPC_DYLD_LIBRARY_PATH", $dyldFrameworkPath);
 
     setUpGuardMallocIfNeeded();
 }

>  Also, check the LC_DYLD_ENVIRONMENT
> commands in the output of "otool -lv
> com.apple.WebKit.Networking.Development" and see if the one that’s relative
> to @executable_path would lead to where the built framework is.

I'm not sure I understand that one, but the command in WebKitBuild/Debug-iphonesimulator/com.apple.WebKit.Networking.xpc gives:

Load command 19
          cmd LC_DYLD_ENVIRONMENT
      cmdsize 64
         name DYLD_FRAMEWORK_PATH=@executable_path/../../.. (offset 12)
Load command 20
          cmd LC_DYLD_ENVIRONMENT
      cmdsize 64
         name DYLD_LIBRARY_PATH=@executable_path/../../Frameworks (offset 12)
Comment 6 mitz 2019-06-07 09:09:29 PDT
I wonder if this is (more) fallout from <https://trac.webkit.org/r242686>. In your built WebKit.framework’s XPCServices subdirectory, I am guessing there are symlinks rather than .xpc bundles. If you replace the symlinks with copies of the built bundles, does it fix things (even without the webkitdirs.pm change)?
Comment 7 Alexey Proskuryakov 2019-06-07 09:21:58 PDT
I suspect <http://trac.webkit.org/r240956>. See recent attempts to roll that back, re-land, and eventually to add __XPC_ prefixed variants to run-safari.
Comment 8 Frédéric Wang (:fredw) 2019-06-07 09:27:28 PDT
(In reply to mitz from comment #6)
> I wonder if this is (more) fallout from <https://trac.webkit.org/r242686>.
> In your built WebKit.framework’s XPCServices subdirectory, I am guessing
> there are symlinks rather than .xpc bundles.

That's correct.

> If you replace the symlinks
> with copies of the built bundles, does it fix things (even without the
> webkitdirs.pm change)?

No it does not. Also for some reason, I don't have any built xpc for Storage so the symlink is dead.
Comment 9 mitz 2019-06-07 09:28:00 PDT
(In reply to Alexey Proskuryakov from comment #7)
> I suspect <http://trac.webkit.org/r240956>. See recent attempts to roll that
> back, re-land, and eventually to add __XPC_ prefixed variants to run-safari.

I’m skeptical. Anything that requires __XPC_-prefixed environment variables in run-safari would break relocatable production builds (such as Apple’s Safari Technology Preview).
Comment 10 mitz 2019-06-16 08:41:54 PDT
(In reply to Frédéric Wang (:fredw) from comment #8)
> (In reply to mitz from comment #6)
> > I wonder if this is (more) fallout from <https://trac.webkit.org/r242686>.
> > In your built WebKit.framework’s XPCServices subdirectory, I am guessing
> > there are symlinks rather than .xpc bundles.
> 
> That's correct.
> 
> > If you replace the symlinks
> > with copies of the built bundles, does it fix things (even without the
> > webkitdirs.pm change)?
> 
> No it does not. Also for some reason, I don't have any built xpc for Storage
> so the symlink is dead.

At least on macOS Mojave (with the macOS build, not the iOS Simulator build), I have confirmed that an issue exists due to <https://trac.webkit.org/r242686>, so I am going to try to fix that.
Comment 11 mitz 2019-06-16 09:06:50 PDT
(In reply to mitz from comment #10)
> (In reply to Frédéric Wang (:fredw) from comment #8)
> > (In reply to mitz from comment #6)
> > > I wonder if this is (more) fallout from <https://trac.webkit.org/r242686>.
> > > In your built WebKit.framework’s XPCServices subdirectory, I am guessing
> > > there are symlinks rather than .xpc bundles.
> > 
> > That's correct.
> > 
> > > If you replace the symlinks
> > > with copies of the built bundles, does it fix things (even without the
> > > webkitdirs.pm change)?
> > 
> > No it does not. Also for some reason, I don't have any built xpc for Storage
> > so the symlink is dead.
> 
> At least on macOS Mojave (with the macOS build, not the iOS Simulator
> build), I have confirmed that an issue exists due to
> <https://trac.webkit.org/r242686>, so I am going to try to fix that.

In bug 198904.
Comment 12 Darin Adler 2019-06-30 12:28:54 PDT
So, now that bug 198904 has been fixed, is there a problem here any more, or is this completely resolved?
Comment 13 Frédéric Wang (:fredw) 2019-07-11 08:10:57 PDT
(In reply to Darin Adler from comment #12)
> So, now that bug 198904 has been fixed, is there a problem here any more, or
> is this completely resolved?

Yes, seems to work now. Thanks!
Comment 14 Radar WebKit Bug Importer 2019-07-11 08:13:58 PDT
<rdar://problem/52952159>
Comment 15 Darin Adler 2019-07-11 09:36:59 PDT

*** This bug has been marked as a duplicate of bug 198904 ***