[Webkit-unassigned] [Bug 210794] WebKit.WebContent process crashes when web developer tools are opened in Safari

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 22 23:08:17 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=210794

--- Comment #5 from pmikolajczak at rtclaboratory.com ---
Here are logs from Console.app:

default 07:23:53.429732+0200    com.apple.WebKit.WebContent     AudioContext::willBeginPlayback(703282DBC9760CC7) returning false, not processing user gesture or capturing
default 07:23:53.674473+0200    hidd    [HID] [MT] dispatchEvent Dispatching event with 2 children, _eventMask=0x63 _childEventMask=0x62 Cancel=0 Touching=1 inRange=1
default 07:23:53.680335+0200    com.apple.WebKit.WebContent     AudioContext::willBeginPlayback(703282DBC9760CC7) returning false, not processing user gesture or capturing
default 07:23:53.894153+0200    hidd    [HID] [MT] dispatchEvent Dispatching event with 2 children, _eventMask=0x2 _childEventMask=0x2 Cancel=0 Touching=0 inRange=1
default 07:23:53.930664+0200    com.apple.WebKit.WebContent     AudioContext::willBeginPlayback(703282DBC9760CC7) returning false, not processing user gesture or capturing
default 07:23:54.123543+0200    com.apple.WebKit.WebContent     0x1101f5000 - [resourceLoader=0x110280900, frameLoader=0x1101dc780, frame=0x110772200, webPageID=33, frameID=25, resourceID=165] WebLoaderStrategy::scheduleLoad: URL will be scheduled with the NetworkProcess
default 07:23:54.123599+0200    com.apple.WebKit.WebContent     0x1101f5000 - [resourceLoader=0x110280900, frameLoader=0x1101dc780, frame=0x110772200, webPageID=33, frameID=25, resourceID=165] WebLoaderStrategy::scheduleLoad: Resource is being scheduled with the NetworkProcess (priority=2)
default 07:23:54.123677+0200    com.apple.WebKit.WebContent     Error when creating injected script: JavaScript execution terminated. (0:0)
default 07:23:54.123765+0200    com.apple.WebKit.Networking     0x10f6ff680 - [pageProxyID=32, webPageID=33, frameID=25, resourceID=165, isMainResource=0, isSynchronous=0] NetworkResourceLoader::startWithServiceWorker:
default 07:23:54.123792+0200    com.apple.WebKit.WebContent     //# sourceURL=__InjectedScript_InjectedScriptSource.js
(function(InjectedScriptHost,inspectedGlobalObject,injectedScriptId){var Object={}.constructor;function toString(obj)
{return String(obj);}
function toStringDescription(obj)
{if(obj===0&&1/obj<0)
return"-0";if(isBigInt(obj))
return toString(obj)+"n";return toString(obj);}
function isUInt32(obj)
{if(typeof obj==="number")
return obj>>>0===obj&&(obj>0||1/obj>0);return""+(obj>>>0)===obj;}
function isSymbol(value)
{return typeof value==="symbol";}
function isBigInt(value)
{return typeof value==="bigint";}
function isEmptyObject(object)
{for(let key in object)
return false;return true;}
function isDefined(value)
{return!!value||InjectedScriptHost.isHTMLAllCollection(value);}
function isPrimitiveValue(value)
{switch(typeof value){case"boolean":case"number":case"string":return true;case"undefined":return!InjectedScriptHost.isHTMLAllCollection(value);default:return false;}}
let InjectedScript=class InjectedScript
{constructor()
{this._lastBoundObjectId=1<…>
default 07:23:54.123893+0200    kernel  AMFI: SIP is off, allowing core dump for pid 62598
default 07:23:54.123816+0200    com.apple.WebKit.Networking     0x10f6ff680 - [pageProxyID=32, webPageID=33, frameID=25, resourceID=165, isMainResource=0, isSynchronous=0] NetworkResourceLoader::serviceWorkerDidNotHandle: (fetchIdentifier=0)
default 07:23:54.123845+0200    com.apple.WebKit.Networking     0x10f6ff680 - [pageProxyID=32, webPageID=33, frameID=25, resourceID=165, isMainResource=0, isSynchronous=0] NetworkResourceLoader::start: parentPID=62556, hasNetworkLoadChecker=1
default 07:23:54.123893+0200    com.apple.WebKit.Networking     0x10f6ff680 - [pageProxyID=32, webPageID=33, frameID=25, resourceID=165, isMainResource=0, isSynchronous=0] NetworkResourceLoader::start: NetworkLoadChecker::check is done
default 07:23:54.123927+0200    com.apple.WebKit.Networking     0x10f6ff680 - [pageProxyID=32, webPageID=33, frameID=25, resourceID=165, isMainResource=0, isSynchronous=0] NetworkResourceLoader::startNetworkLoad: (isFirstLoad=1, timeout=2147483647.000000)
default 07:23:54.124330+0200    Safari  0x113aa7300 - WebProcessProxy didClose (web process crash)
default 07:23:54.123969+0200    com.apple.WebKit.Networking     0x10f6ff680 - [pageProxyID=32, webPageID=33, frameID=25, resourceID=165, isMainResource=0, isSynchronous=0] NetworkResourceLoader::startNetworkLoad: Going to the network (description=)
default 07:23:54.124473+0200    Safari  0x7faf77822220 - [pageProxyID=32, webPageID=33, PID=62598] WebPageProxy::processDidTerminate: (pid 62598), reason 3
default 07:23:54.124209+0200    com.apple.WebKit.Networking     0x10f6ff680 - [pageProxyID=32, webPageID=33, frameID=25, resourceID=165, isMainResource=0, isSynchronous=0] NetworkResourceLoader::didReceiveResponse: (httpStatusCode=200, MIMEType=text/javascript, expectedContentLength=212, hasCachedEntryForValidation=0, hasNetworkLoadChecker=1)
default 07:23:54.124263+0200    com.apple.WebKit.Networking     0x10f6ff680 - [pageProxyID=32, webPageID=33, frameID=25, resourceID=165, isMainResource=0, isSynchronous=0] NetworkResourceLoader::didReceiveResponse: Sending WebResourceLoader::DidReceiveResponse IPC (willWaitForContinueDidReceiveResponse=0)
default 07:23:54.124368+0200    com.apple.WebKit.Networking     0x10f6ff680 - [pageProxyID=32, webPageID=33, frameID=25, resourceID=165, isMainResource=0, isSynchronous=0] NetworkResourceLoader::didReceiveResponse: Using response
default 07:23:54.124563+0200    com.apple.WebKit.Networking     0x10f6ff680 - [pageProxyID=32, webPageID=33, frameID=25, resourceID=165, isMainResource=0, isSynchronous=0] NetworkResourceLoader::didReceiveBuffer: Started receiving data (reportedEncodedDataLength=212)
default 07:23:54.124614+0200    com.apple.WebKit.Networking     0x10f6ff680 - [pageProxyID=32, webPageID=33, frameID=25, resourceID=165, isMainResource=0, isSynchronous=0] NetworkResourceLoader::didFinishLoading: (numBytesReceived=212, hasCacheEntryForValidation=0)
default 07:23:54.124752+0200    com.apple.WebKit.Networking     0x10f6ff680 - [pageProxyID=32, webPageID=33, frameID=25, resourceID=165, isMainResource=0, isSynchronous=0] NetworkResourceLoader::tryStoreAsCacheEntry: Not storing cache entry because request is not eligible
default 07:23:54.124895+0200    com.apple.WebKit.Networking     0x10f6ff680 - [pageProxyID=32, webPageID=33, frameID=25, resourceID=165, isMainResource=0, isSynchronous=0] NetworkResourceLoader::cleanup: (result=1)
default 07:23:54.125696+0200    com.apple.WebKit.Networking     TCP Conn 0x7f8076b3f340 canceled
default 07:23:54.126729+0200    Safari  WebMediaSessionManager::removeAllPlaybackTargetPickerClients 29 { IsNotPlaying }
default 07:23:54.126756+0200    Safari  WebMediaSessionManager::removeAllPlaybackTargetPickerClients 28 { HasAudioOrVideo }
default 07:23:54.125741+0200    com.apple.WebKit.Networking     [C35 6F79B883-6EB6-4BBC-9909-589959C4325D Hostname#17663dc7:443 tcp, pid: 62556, legacy-socket] cancel
default 07:23:54.126776+0200    Safari  WebMediaSessionManager::removeAllPlaybackTargetPickerClients 27 { HasAudioOrVideo }
default 07:23:54.126791+0200    Safari  WebMediaSessionManager::removeAllPlaybackTargetPickerClients 26 { HasAudioOrVideo }
default 07:23:54.126804+0200    Safari  WebMediaSessionManager::removeAllPlaybackTargetPickerClients 25 { HasAudioOrVideo }
default 07:23:54.126816+0200    Safari  WebMediaSessionManager::removeAllPlaybackTargetPickerClients 24 { IsNotPlaying }
default 07:23:54.126049+0200    com.apple.WebKit.Networking     [C35 6F79B883-6EB6-4BBC-9909-589959C4325D Hostname#17663dc7:443 tcp, pid: 62556, legacy-socket] cancelled
        [C35.1 C190731D-6400-4CD3-88FC-5A9D09231AF5 192.168.0.52:62280<->IPv4#290e7320:443]
        Connected Path: satisfied (Path is satisfied), interface: en0, ipv4, ipv6, dns
        Duration: 30.930s, DNS @0.000s took 0.047s, TCP @0.048s took 0.136s
        bytes in/out: 29454/11156, packets in/out: 67/34, rtt: 0.142s, retransmitted packets: 0, out-of-order packets: 0
default 07:23:54.126832+0200    Safari  WebMediaSessionManager::removeAllPlaybackTargetPickerClients 23 { HasAudioOrVideo }
default 07:23:54.126162+0200    com.apple.WebKit.Networking     0.000s [C35 6BEFCF24-1273-4BB1-AC88-D6BC21C26B96 Hostname#17663dc7:443 resolver path=satisfied (Path is satisfied), interface: en0, ipv4, ipv6, dns] path:start
default 07:23:54.126900+0200    Safari  WebMediaSessionManager::removeAllPlaybackTargetPickerClients 22 { HasAudioOrVideo }
default 07:23:54.126324+0200    com.apple.WebKit.Networking     0.000s [C35 6BEFCF24-1273-4BB1-AC88-D6BC21C26B96 Hostname#17663dc7:443 resolver path=satisfied (Path is satisfied), interface: en0, ipv4, ipv6, dns] path:satisfied
default 07:23:54.127008+0200    Safari  WebMediaSessionManager::removeAllPlaybackTargetPickerClients 21 { HasAudioOrVideo }
default 07:23:54.127055+0200    Safari  WebMediaSessionManager::removeAllPlaybackTargetPickerClients 20 { HasAudioOrVideo }
default 07:23:54.127136+0200    Safari  WebMediaSessionManager::removeAllPlaybackTargetPickerClients 19 { IsNotPlaying }
default 07:23:54.126491+0200    com.apple.WebKit.Networking     0.000s [C35 6BEFCF24-1273-4BB1-AC88-D6BC21C26B96 Hostname#17663dc7:443 resolver path=satisfied (Path is satisfied), interface: en0, ipv4, ipv6, dns] resolver:start_dns
default 07:23:54.127191+0200    Safari  WebMediaSessionManager::removeAllPlaybackTargetPickerClients 18 { HasAudioOrVideo }
default 07:23:54.126626+0200    com.apple.WebKit.Networking     0.047s [C35 6BEFCF24-1273-4BB1-AC88-D6BC21C26B96 Hostname#17663dc7:443 resolver path=satisfied (Path is satisfied), interface: en0, ipv4, ipv6, dns] resolver:receive_dns
default 07:23:54.127262+0200    Safari  WebMediaSessionManager::removeAllPlaybackTargetPickerClients 17 { HasAudioOrVideo }
default 07:23:54.126750+0200    com.apple.WebKit.Networking     0.047s [C35.1 C190731D-6400-4CD3-88FC-5A9D09231AF5 192.168.0.52:62280<->IPv4#290e7320:443 socket-flow path=satisfied (Path is satisfied), interface: en0, ipv4, ipv6, dns] path:start
default 07:23:54.127311+0200    Safari  WebMediaSessionManager::removeAllPlaybackTargetPickerClients 16 { HasAudioOrVideo }
default 07:23:54.126974+0200    com.apple.WebKit.Networking     0.047s [C35.1 C190731D-6400-4CD3-88FC-5A9D09231AF5 192.168.0.52:62280<->IPv4#290e7320:443 socket-flow path=satisfied (Path is satisfied), interface: en0, ipv4, ipv6, dns] path:satisfied
default 07:23:54.127422+0200    Safari  WebMediaSessionManager::removeAllPlaybackTargetPickerClients 15 { HasAudioOrVideo }
default 07:23:54.127538+0200    Safari  WebMediaSessionManager::removeAllPlaybackTargetPickerClients 12 { HasAudioOrVideo }
default 07:23:54.127693+0200    runningboardd   [xpcservice<com.apple.WebKit.WebContent(501)>:62598] Death sentinel fired!
default 07:23:54.127211+0200    com.apple.WebKit.Networking     0.048s [C35.1 C190731D-6400-4CD3-88FC-5A9D09231AF5 192.168.0.52:62280<->IPv4#290e7320:443 socket-flow path=satisfied (Path is satisfied), interface: en0, ipv4, ipv6, dns] flow:start_connect
default 07:23:54.127656+0200    Safari  WebMediaSessionManager::removeAllPlaybackTargetPickerClients 11 { HasAudioOrVideo }
default 07:23:54.127419+0200    com.apple.WebKit.Networking     0.184s [C35.1 C190731D-6400-4CD3-88FC-5A9D09231AF5 192.168.0.52:62280<->IPv4#290e7320:443 socket-flow path=satisfied (Path is satisfied), interface: en0, ipv4, ipv6, dns] flow:finish_connect
default 07:23:54.127708+0200    Safari  WebMediaSessionManager::removeAllPlaybackTargetPickerClients 10 { HasAudioOrVideo }
default 07:23:54.127558+0200    com.apple.WebKit.Networking     0.184s [C35 6BEFCF24-1273-4BB1-AC88-D6BC21C26B96 Hostname#17663dc7:443 resolver path=satisfied (Path is satisfied), interface: en0, ipv4, ipv6, dns] flow:finish_connect
default 07:23:54.127767+0200    Safari  WebMediaSessionManager::removeAllPlaybackTargetPickerClients 9 { IsNotPlaying }
default 07:23:54.127685+0200    com.apple.WebKit.Networking     0.184s [C35.1 C190731D-6400-4CD3-88FC-5A9D09231AF5 192.168.0.52:62280<->IPv4#290e7320:443 socket-flow path=satisfied (Path is satisfied), interface: en0, ipv4, ipv6, dns] flow:changed_viability
default 07:23:54.127882+0200    Safari  WebMediaSessionManager::removeAllPlaybackTargetPickerClients 8 { HasAudioOrVideo }
default 07:23:54.127877+0200    com.apple.WebKit.Networking     0.184s [C35 6BEFCF24-1273-4BB1-AC88-D6BC21C26B96 Hostname#17663dc7:443 resolver path=satisfied (Path is satisfied), interface: en0, ipv4, ipv6, dns] flow:changed_viability
default 07:23:54.128014+0200    com.apple.WebKit.Networking     30.930s [C35] path:cancel
default 07:23:54.128045+0200    Safari  WebMediaSessionManager::removeAllPlaybackTargetPickerClients 7 { HasAudioOrVideo }
error   07:23:54.129301+0200    dprivacyd       <private>: Disabled by D&U switch
default 07:23:54.128213+0200    Safari  WebMediaSessionManager::removeAllPlaybackTargetPickerClients 6 { HasAudioOrVideo }
default 07:23:54.128921+0200    powerd  Process coreaudiod.196 Released PreventUserIdleDisplaySleep "com.apple.audio.context3398.preventuseridledisplaysleep" age:00:02:51  id:21474879257 [System: PrevIdle DeclUser kDisp]
default 07:23:54.128369+0200    Safari  WebMediaSessionManager::removeAllPlaybackTargetPickerClients 5 { HasAudioOrVideo }
default 07:23:54.129153+0200    powerd  Process coreaudiod.196 Released PreventUserIdleSystemSleep "com.apple.audio.context3398.preventuseridlesleep" age:00:02:51  id:4295010072 [System: PrevIdle DeclUser kDisp]
default 07:23:54.128437+0200    Safari  WebMediaSessionManager::removeAllPlaybackTargetPickerClients 4 { IsNotPlaying }
default 07:23:54.128703+0200    Safari  WebMediaSessionManager::removeAllPlaybackTargetPickerClients 3 { HasAudioOrVideo }
default 07:23:54.128972+0200    com.apple.WebKit.Networking     nw_flow_disconnected [C35.1 IPv4#290e7320:443 cancelled socket-flow ((null))] Output protocol disconnected
default 07:23:54.128849+0200    Safari  WebMediaSessionManager::removeAllPlaybackTargetPickerClients 2 { IsNotPlaying }
default 07:23:54.129100+0200    Safari  0x7faf77822220 - [pageProxyID=32, webPageID=33, PID=62598] WebPageProxy::dispatchProcessDidTerminate: reason = 3
default 07:23:54.129219+0200    com.apple.WebKit.Networking     nw_connection_report_state_with_handler_on_nw_queue [C35] reporting state cancelled
error   07:23:54.129189+0200    Safari  Process (pid: 0) for committed URL did exit
default 07:23:54.129699+0200    Safari  0x7faf77822220 - [pageProxyID=32, webPageID=33, PID=62598] WebPageProxy::reload:
default 07:23:54.129806+0200    Safari  0x7faf77822220 - [pageProxyID=32, webPageID=33, PID=62598] WebPageProxy::launchProcessForReload:
default 07:23:54.129887+0200    Safari  0x7faf77822220 - [pageProxyID=32, webPageID=33, PID=62598] WebPageProxy::launchProcess:llu
default 07:23:54.130265+0200    Safari  0x7faf75024c08 - WebProcessPool::processForRegistrableDomain: Using prewarmed process (process=0x10c6dc300, PID=62604)
default 07:23:54.131325+0200    ReportCrash     Parsing corpse data for pid 62598
default 07:23:54.131465+0200    ReportCrash     Parsing corpse data for process com.apple.WebKit [pid 62598]
error   07:23:54.131654+0200    webinspectord   XPC Connection Failed for Application: 62598 - PID:62598 - <private>
default 07:23:54.131709+0200    webinspectord   Application Disconnected: 62598 - PID:62598 - <private>
default 07:23:54.145370+0200    Safari  0x113aa7498 - [PID=0] ProcessThrottler::invalidateAllActivities: BEGIN
default 07:23:54.145386+0200    Safari  0x113aa7498 - [PID=0] ProcessThrottler::invalidateAllActivities: END
default 07:23:54.145634+0200    Safari  Target (CURRENTMACHINE) Application (PID:62598) Removed Debuggable (3557DDF9-72B5-4DA3-934A-87CE8AD1E742)
default 07:23:54.145661+0200    Safari  Target (CURRENTMACHINE) Application (PID:62556) Removed Debuggable (3557DDF9-72B5-4DA3-934A-87CE8AD1E742)
default 07:23:54.145683+0200    Safari  Target (CURRENTMACHINE) Removed Application (PID:62598)
default 07:23:54.157562+0200    mediaremoted    Client <MRDMediaRemoteClient 0x7f9cc3e28040, bundleIdentifier = com.apple.WebKit.WebContent, pid = 62598> invalidated.
default 07:23:54.157608+0200    launchservicesd QUITTING: pid=62598 asn=0x-0xb12b12 foreground=0 wasFront=0
default 07:23:54.157623+0200    mediaremoted    [MRDAgentServer] Clearing agent <private>
default 07:23:54.158148+0200    mediaremoted    [MRDNowPlayingOriginClient] Removing nowPlayingClient <_MRNowPlayingClientProtobuf: 0x7f9cc3c095a0> {
    bundleIdentifier = "com.apple.WebKit.WebContent";
    nowPlayingVisibility = NeverVisible;
    processIdentifier = 62598;
    processUserIdentifier = 501;
} for origin-pmikolajczak.local-1280262988/client--0/player-(null)
error   07:23:54.158320+0200    ReportCrash     Invalid receipt [0 bytes]
default 07:23:54.158518+0200    kernel  Sandbox: 8 duplicate reports for com.apple.WebKit deny(1) mach-lookup com.apple.CoreDisplay.Notification
default 07:23:54.158528+0200    kernel  Sandbox: com.apple.WebKit(62604) allow iokit-open RootDomainUserClient
default 07:23:54.159637+0200    loginwindow     -[PersistentAppsSupport applicationQuit:] | for app:com.apple.WebKit.WebContent, _appTrackingState = 2



How do I test atm:
* I open Safari and visit https://app.livewebinar.com/safari-crash-test
* I enter some nickname
* I open web developer tools (alt+cmd+i), interact with page, for example type something in chat box.
* I might take a bit, but after some time Safari tab crashes

I have attached movie recording of this issue.

Also I am not sure what part of the code is responsible for this crash so at the moment it is hard to provide simple test sample to reproduce it.

-- 
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/20200423/7aa37684/attachment-0001.htm>


More information about the webkit-unassigned mailing list