Bug 208648

Summary: REGRESSION: (r257760?) [ Mac wk2 Debug ] ASSERTION FAILED: child->parentObject() == this in WebCore::AccessibilityObject::insertChild
Product: WebKit Reporter: Jason Lawrence <Lawrence.j>
Component: AccessibilityAssignee: Andres Gonzalez <andresg_22>
Status: RESOLVED FIXED    
Severity: Normal CC: aboxhall, andresg_22, apinheiro, cfleizach, commit-queue, dmazzoni, ews-watchlist, jcraig, jdiggs, samuel_white, webkit-bot-watchers-bugzilla, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Mac   
OS: macOS 10.15   
Attachments:
Description Flags
append-node-under-document-crash-log
none
Patch none

Jason Lawrence
Reported 2020-03-05 09:36:23 PST
Created attachment 392587 [details] append-node-under-document-crash-log editing/execCommand/append-node-under-document.html Description: This test is flaky crashing on Mac wk2 Debug. It appears to have a regression point of r257760. History: https://results.webkit.org/?suite=layout-tests&test=editing%2FexecCommand%2Fappend-node-under-document.html&style=debug&flavor=wk2&flavor=gpuprocess&platform=mac&limit=50000 Crash log attached; ASSERTION FAILED: child->parentObject() == this ./accessibility/AccessibilityObject.cpp(496) : virtual void WebCore::AccessibilityObject::insertChild(WebCore::AXCoreObject *, unsigned int) 1 0x23188db29 WTFCrash 2 0x214d7bdeb WTFCrashWithInfo(int, char const*, char const*, int) 3 0x216f7e1a5 WebCore::AccessibilityObject::insertChild(WebCore::AXCoreObject*, unsigned int)
Attachments
append-node-under-document-crash-log (85.51 KB, text/plain)
2020-03-05 09:36 PST, Jason Lawrence
no flags
Patch (1.77 KB, patch)
2020-03-07 17:35 PST, Andres Gonzalez
no flags
Radar WebKit Bug Importer
Comment 1 2020-03-05 09:36:53 PST
Jason Lawrence
Comment 2 2020-03-05 10:09:14 PST
I can reproduce this issue on r257778, but cannot reproduce it on r257745. Command: run-webkit-tests --iterations 1000 --exit-after-n-failures 3 --force -f --no-retry --debug editing/execCommand/append-node-under-document.html r25778: [6/1000] editing/execCommand/append-node-under-document.html failed unexpectedly (com.apple.WebKit.Networking.Development crashed [pid=1766]) [6/1000] editing/execCommand/append-node-under-document.html failed unexpectedly (com.apple.WebKit.Networking.Development crashed [pid=1768]) [6/1000] editing/execCommand/append-node-under-document.html failed unexpectedly (com.apple.WebKit.Networking.Development crashed [pid=1774]) Exiting early after 3 failures. 3 tests run. 0 tests ran as expected, 3 didn't (997 didn't run): r257745: All 1000 tests ran as expected.
Jason Lawrence
Comment 3 2020-03-05 11:45:58 PST
I have marked this test as failing while this issue is investigated. https://trac.webkit.org/changeset/257937/webkit
Jason Lawrence
Comment 4 2020-03-06 12:50:33 PST
I have removed the test expectations here: https://trac.webkit.org/changeset/258023/webkit
Andres Gonzalez
Comment 5 2020-03-07 17:35:24 PST
Reopening to attach new patch.
Andres Gonzalez
Comment 6 2020-03-07 17:35:25 PST
WebKit Commit Bot
Comment 7 2020-03-07 19:59:02 PST
Comment on attachment 392919 [details] Patch Clearing flags on attachment: 392919 Committed r258094: <https://trac.webkit.org/changeset/258094>
WebKit Commit Bot
Comment 8 2020-03-07 19:59:04 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.