Changeset 256666 in webkit
- Timestamp:
- Feb 14, 2020 7:01:16 PM (4 years ago)
- Location:
- branches/safari-609-branch/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-609-branch/Source/WebKit/ChangeLog
r256574 r256666 1 2020-02-14 Russell Epstein <repstein@apple.com> 2 3 Cherry-pick r256187. rdar://problem/59446994 4 5 Crash under WebProcessProxy::shouldSendPendingMessage() 6 https://bugs.webkit.org/show_bug.cgi?id=207464 7 <rdar://problem/59293825> 8 9 Reviewed by Alex Christensen. 10 11 I suspect the WebProcessProxy object is getting destroyed as we are iterating over the 12 pending messages in AuxiliaryProcessProxy::didFinishLaunching(), thus crashing when 13 calling WebProcessProxy::shouldSendPendingMessage() inside the loop. As a speculative 14 fix, protect |this| at the beginning of WebProcessProxy::didFinishLaunching(). 15 16 * UIProcess/WebProcessProxy.cpp: 17 (WebKit::WebProcessProxy::didFinishLaunching): 18 19 20 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@256187 268f45cc-cd09-0410-ab3c-d52691b4dbfc 21 22 2020-02-10 Chris Dumez <cdumez@apple.com> 23 24 Crash under WebProcessProxy::shouldSendPendingMessage() 25 https://bugs.webkit.org/show_bug.cgi?id=207464 26 <rdar://problem/59293825> 27 28 Reviewed by Alex Christensen. 29 30 I suspect the WebProcessProxy object is getting destroyed as we are iterating over the 31 pending messages in AuxiliaryProcessProxy::didFinishLaunching(), thus crashing when 32 calling WebProcessProxy::shouldSendPendingMessage() inside the loop. As a speculative 33 fix, protect |this| at the beginning of WebProcessProxy::didFinishLaunching(). 34 35 * UIProcess/WebProcessProxy.cpp: 36 (WebKit::WebProcessProxy::didFinishLaunching): 37 1 38 2020-02-13 Russell Epstein <repstein@apple.com> 2 39 -
branches/safari-609-branch/Source/WebKit/UIProcess/WebProcessProxy.cpp
r256388 r256666 885 885 RELEASE_ASSERT(isMainThreadOrCheckDisabled()); 886 886 887 auto protectedThis = makeRef(*this); 887 888 AuxiliaryProcessProxy::didFinishLaunching(launcher, connectionIdentifier); 888 889
Note: See TracChangeset
for help on using the changeset viewer.