Bug 136909

Summary: Occasional unreproducible crashes in MessageReceiverMap::dispatchMessage
Product: WebKit Reporter: Tim Horton <thorton>
Component: WebKit2Assignee: Tim Horton <thorton>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, darin, mitz, sam, simon.fraser
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch andersca: review+

Tim Horton
Reported 2014-09-18 00:04:49 PDT
Occasional unreproducible crashes in MessageReceiverMap::dispatchMessage
Attachments
Patch (1.67 KB, patch)
2014-09-18 00:05 PDT, Tim Horton
andersca: review+
Tim Horton
Comment 1 2014-09-18 00:05:16 PDT
Tim Horton
Comment 2 2014-09-18 00:08:15 PDT
Step 2: Make a API test, if possible. Prerequisites include getting TestWebKitAPI a Modern API bundle and ... causing the issue to reproduce at all. Going to try this now, but I want to keep it separate from the fix for mergability's sake (most likely going to change bundle loading code). Step 3: Fix a few less obviously bad but still confusing cases of message receivers not being removed before the object is destroyed. Step 4: Add some assertions that catch this and the other cases; Anders and I wrote some nice assertions today that catch all of these things.
Darin Adler
Comment 3 2014-09-18 08:40:06 PDT
Tim Horton
Comment 4 2014-09-18 09:26:49 PDT
Note You need to log in before you can comment on or make changes to this bug.