Changeset 256187 in webkit
- Timestamp:
- Feb 10, 2020 9:57:30 AM (4 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r256185 r256187 1 2020-02-10 Chris Dumez <cdumez@apple.com> 2 3 Crash under WebProcessProxy::shouldSendPendingMessage() 4 https://bugs.webkit.org/show_bug.cgi?id=207464 5 <rdar://problem/59293825> 6 7 Reviewed by Alex Christensen. 8 9 I suspect the WebProcessProxy object is getting destroyed as we are iterating over the 10 pending messages in AuxiliaryProcessProxy::didFinishLaunching(), thus crashing when 11 calling WebProcessProxy::shouldSendPendingMessage() inside the loop. As a speculative 12 fix, protect |this| at the beginning of WebProcessProxy::didFinishLaunching(). 13 14 * UIProcess/WebProcessProxy.cpp: 15 (WebKit::WebProcessProxy::didFinishLaunching): 16 1 17 2020-02-10 youenn fablet <youenn@apple.com> 2 18 -
trunk/Source/WebKit/UIProcess/WebProcessProxy.cpp
r256084 r256187 892 892 RELEASE_ASSERT(isMainThreadOrCheckDisabled()); 893 893 894 auto protectedThis = makeRef(*this); 894 895 AuxiliaryProcessProxy::didFinishLaunching(launcher, connectionIdentifier); 895 896
Note: See TracChangeset
for help on using the changeset viewer.