Bug 197925

Summary: ASSERTION FAILED: m_ptr WebKit::WebProcessProxy, WTF::DumbPtrTraits<WebKit::WebProcessProxy> >::ptr() 79 API Tests are crashing
Product: WebKit Reporter: Shawn Roberts <sroberts>
Component: WebKit APIAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, jlewis3, ryanhaddad, sihui_liu, tsavell, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=197856

Description Shawn Roberts 2019-05-15 14:13:31 PDT
After changes in https://trac.webkit.org/changeset/245339 , seeing 79 API test crashes on several queues. 

https://build.webkit.org/builders/Apple%20Mojave%20Release%20WK1%20%28Tests%29/builds/4988/steps/run-api-tests/logs/stdio

run-api-tests TestWebKitAPI.ProcessSwap.NavigateBackAfterClientSideRedirect --debug

Hits the following Assertion with r245339, passes in prior builds.

ASSERTION FAILED: m_ptr
        /Volumes/Data/worker/liberty-debug-archive/build/OpenSource/WebKitBuild/Debug/usr/local/include/wtf/Ref.h(120) : T *WTF::Ref<WebKit::WebProcessProxy, WTF::DumbPtrTraits<WebKit::WebProcessProxy> >::ptr() const [T = WebKit::WebProcessProxy, PtrTraits = WTF::DumbPtrTraits<WebKit::WebProcessProxy>]
        1   0x1133c4429 WTFCrash
        2   0x118e0ebcb WTFCrashWithInfo(int, char const*, char const*, int)
        3   0x1196b53e8 WTF::Ref<WebKit::WebProcessProxy, WTF::DumbPtrTraits<WebKit::WebProcessProxy> >::ptr() const
        4   0x1199219f1 WebKit::WebProcessCache::CachedProcess::CachedProcess(WTF::Ref<WebKit::WebProcessProxy, WTF::DumbPtrTraits<WebKit::WebProcessProxy> >&&)

Will attach full crash log to Radar.
Comment 1 Chris Dumez 2019-05-15 14:15:16 PDT
<https://trac.webkit.org/changeset/245343>
Comment 2 Radar WebKit Bug Importer 2019-05-15 14:15:38 PDT
<rdar://problem/50825960>