Bug 249220

Summary: [iOS] Crash in ProcessThrottler::sendPrepareToSuspendIPC
Product: WebKit Reporter: Miguel Salinas <miguel_salinas>
Component: WebKit Process ModelAssignee: Miguel Salinas <miguel_salinas>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: iPhone / iPad   
OS: iOS 16   

Description Miguel Salinas 2022-12-13 06:02:29 PST
ProcessThrottler::updateThrottleStateIfNeeded may call ProcessThrottler::sendPrepareToSuspendIPC before the last pending request to suspend has been invalidated which trips up a release assert.
Comment 1 Miguel Salinas 2022-12-13 06:03:09 PST
rdar://103276264
Comment 2 Miguel Salinas 2022-12-13 06:08:33 PST
Pull request: https://github.com/WebKit/WebKit/pull/7546
Comment 3 EWS 2022-12-14 05:38:54 PST
Committed 257850@main (9bdfab144ce0): <https://commits.webkit.org/257850@main>

Reviewed commits have been landed. Closing PR #7546 and removing active labels.