Bug 196864 - [macOS WK1] ASSERTION FAILED: formData in WebCore::ResourceRequest::doUpdateResourceHTTPBody()
Summary: [macOS WK1] ASSERTION FAILED: formData in WebCore::ResourceRequest::doUpdateR...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-04-12 10:03 PDT by Ryan Haddad
Modified: 2019-04-12 10:50 PDT (History)
4 users (show)

See Also:


Attachments
Crash log (117.44 KB, text/plain)
2019-04-12 10:03 PDT, Ryan Haddad
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Haddad 2019-04-12 10:03:09 PDT
Created attachment 367327 [details]
Crash log

The following assertion failure is seen on macOS Debug WK1 with layout test imported/w3c/web-platform-tests/xhr/event-upload-progress.htm:

ASSERTION FAILED: formData
./platform/network/cocoa/ResourceRequestCocoa.mm(134) : void WebCore::ResourceRequest::doUpdateResourceHTTPBody()
1   0x10ce1ce79 WTFCrash
2   0x11bb1047b WTFCrashWithInfo(int, char const*, char const*, int)
3   0x11c68cf0b WebCore::ResourceRequest::doUpdateResourceHTTPBody()
4   0x11f2ef734 WebCore::ResourceRequestBase::updateResourceRequest(WebCore::HTTPBodyUpdatePolicy) const
5   0x11f2f064e WebCore::ResourceRequestBase::httpBody() const
6   0x11ebc7606 WebCore::CachedRawResource::canReuse(WebCore::ResourceRequest const&) const
7   0x11ebd239e WebCore::CachedResourceLoader::determineRevalidationPolicy(WebCore::CachedResource::Type, WebCore::CachedResourceRequest&, WebCore::CachedResource*, WebCore::CachedResourceLoader::ForPreload, WebCore::CachedResourceLoader::DeferOption) const
8   0x11ebcd8ea WebCore::CachedResourceLoader::requestResource(WebCore::CachedResource::Type, WebCore::CachedResourceRequest&&, WebCore::CachedResourceLoader::ForPreload, WebCore::CachedResourceLoader::DeferOption)
9   0x11ebcf620 WebCore::CachedResourceLoader::requestRawResource(WebCore::CachedResourceRequest&&)
10  0x11ea74efc WebCore::DocumentThreadableLoader::loadRequest(WebCore::ResourceRequest&&, WebCore::SecurityCheckPolicy)
11  0x11ea7609d WebCore::DocumentThreadableLoader::preflightSuccess(WebCore::ResourceRequest&&)
12  0x11ea51550 WebCore::CrossOriginPreflightChecker::validatePreflightResponse(WebCore::DocumentThreadableLoader&, WebCore::ResourceRequest&&, unsigned long, WebCore::ResourceResponse const&)
13  0x11ea518c9 WebCore::CrossOriginPreflightChecker::notifyFinished(WebCore::CachedResource&)
14  0x11ebc8d6f WebCore::CachedResource::checkNotify()
15  0x11ebc4c21 WebCore::CachedResource::finishLoading(WebCore::SharedBuffer*)
16  0x11ebc5f09 WebCore::CachedRawResource::finishLoading(WebCore::SharedBuffer*)
17  0x11eb52461 WebCore::SubresourceLoader::didFinishLoading(WebCore::NetworkLoadMetrics const&)
18  0x11eb3ac32 WebCore::ResourceLoader::didFinishLoading(WebCore::ResourceHandle*)
19  0x11fe7e941 -[WebCoreResourceHandleAsOperationQueueDelegate connectionDidFinishLoading:]::$_7::operator()()
20  0x11fe7e829 WTF::Function<void ()>::CallableWrapper<-[WebCoreResourceHandleAsOperationQueueDelegate connectionDidFinishLoading:]::$_7>::call()
21  0x10ce49e4a WTF::Function<void ()>::operator()() const
22  0x10ce8113b WTF::dispatchFunctionsFromMainThread()
23  0x10ce85085 -[JSWTFMainThreadCaller call]
24  0x7fff4c347972 __NSThreadPerformPerform
25  0x7fff4a05c31b __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
26  0x7fff4a05c2c1 __CFRunLoopDoSource0
27  0x7fff4a0401bb __CFRunLoopDoSources0
28  0x7fff4a03f783 __CFRunLoopRun
29  0x7fff4a03f085 CFRunLoopRunSpecific
30  0x107f42e70 runTest(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)
31  0x107f420da runTestingServerLoop()

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=imported%2Fw3c%2Fweb-platform-tests%2Fxhr%2Fevent-upload-progress.htm
Comment 1 Radar WebKit Bug Importer 2019-04-12 10:04:29 PDT
<rdar://problem/49854497>
Comment 2 Ryan Haddad 2019-04-12 10:05:17 PDT
This test was marked as a flaky crash as part of https://trac.webkit.org/changeset/235354/webkit
Comment 3 Ryan Haddad 2019-04-12 10:20:32 PDT
Skipped test and updated bug number in https://trac.webkit.org/changeset/244219/webkit