Bug 278678
| Summary: | REGRESSION (281812@main) : [ macOS debug ] 8x TestWebKitAPI is a flaky assertion crash | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Anfernee Viduya <aviduya> |
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | achristensen, ap, timothy, webkit-bot-watchers-bugzilla, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Anfernee Viduya
TestWebKitAPI.WebKit.MenuAndButtonForShiftRightClick
TestWebKitAPI.WebKit.MenuAndButtonForNormalRightClick
TestWebKitAPI.WebKit.MenuAndButtonForControlRightClick
TestWebKitAPI.WebKit.MenuAndButtonForControlLeftClick
TestWebKitAPI.WebKit.MenuAndButtonForCommandRightClick
TestWebKitAPI.WebKit.MenuAndButtonForAltRightClick
TestWebKitAPI.PageVisibilityStateWithWindowChanges.WebKit2
TestWebKitAPI.WebKit.RestoreStateAfterTermination
HISTORY:
https://results.webkit.org/?suite=api-tests&suite=api-tests&suite=api-tests&suite=api-tests&suite=api-tests&suite=api-tests&suite=api-tests&suite=api-tests&test=TestWebKitAPI.PageVisibilityStateWithWindowChanges.WebKit2&test=TestWebKitAPI.WebKit.MenuAndButtonForAltRightClick&test=TestWebKitAPI.WebKit.MenuAndButtonForCommandRightClick&test=TestWebKitAPI.WebKit.MenuAndButtonForControlLeftClick&test=TestWebKitAPI.WebKit.MenuAndButtonForControlRightClick&test=TestWebKitAPI.WebKit.MenuAndButtonForNormalRightClick&test=TestWebKitAPI.WebKit.MenuAndButtonForShiftRightClick&test=TestWebKitAPI.WebKit.RestoreStateAfterTermination
LOG:
ASSERTION FAILED: buffer[utf8Length] == '\0'
/Volumes/Data/worker/Apple-Sonoma-Debug-Build/build/Source/WebKit/Shared/API/APISerializedScriptValue.cpp(100) : auto API::valueToWKObject(JSContextRef, JSValueRef)::(anonymous class)::operator()(JSStringRef) const
1 0x3442affc4 API::valueToWKObject(OpaqueJSContext const*, OpaqueJSValue const*)::$_6::operator()(OpaqueJSString*) const
2 0x3442ae570 API::valueToWKObject(OpaqueJSContext const*, OpaqueJSValue const*)
3 0x3442ae2c0 API::SerializedScriptValue::deserializeWK(WebCore::SerializedScriptValue&)
BUILDBOT LINK:
https://build.webkit.org/#/builders/934/builds/3856
REPRODUCIBILITY:
I was able to bisect the regression using command
run-api-tests <any_mentioned_test> --debug --iterations=5
DESCRIPTION:
All mentioned test produce the same ASSERTION FAILED: buffer[utf8Length] == '\0', but only occurring in macOS debug.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/134731526>
Alexey Proskuryakov
Looks like this got fixed through bug 278682.
*** This bug has been marked as a duplicate of bug 278682 ***
Anfernee Viduya
Fix is at 282769@main.