Bug 160227

Summary: ASSERTION FAILED: currentGCOwnedGenerallyInBmalloc < data.categories[MemoryCategory::bmalloc].dirtySize
Product: WebKit Reporter: Ryan Haddad <ryanhaddad>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: inspector-bugzilla-changes, joepeck, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Ryan Haddad 2016-07-26 17:41:19 PDT
ASSERTION FAILED: currentGCOwnedGenerallyInBmalloc < data.categories[MemoryCategory::bmalloc].dirtySize
/Volumes/Data/slave/gala-debug-archive/build/OpenSource/Source/WebCore/page/cocoa/ResourceUsageThreadCocoa.mm(233) : void WebCore::ResourceUsageThread::platformThreadBody(JSC::VM *, WebCore::ResourceUsageData &)
1   0x10c2a5360 WTFCrash
2   0x1132a1b65 WebCore::ResourceUsageThread::platformThreadBody(JSC::VM*, WebCore::ResourceUsageData&)
3   0x11329bc95 WebCore::ResourceUsageThread::threadBody()
4   0x11329bc25 WebCore::ResourceUsageThread::threadCallback(void*)
5   0x10c318289 WTF::createThread(void (*)(void*), void*, char const*)::$_0::operator()() const
6   0x10c31825d void std::__1::__invoke_void_return_wrapper<void>::__call<WTF::createThread(void (*)(void*), void*, char const*)::$_0&>(WTF::createThread(void (*)(void*), void*, char const*)::$_0&&&)
7   0x10c3181fc std::__1::__function::__func<WTF::createThread(void (*)(void*), void*, char const*)::$_0, std::__1::allocator<WTF::createThread(void (*)(void*), void*, char const*)::$_0>, void ()>::operator()()
8   0x10b92c89a std::__1::function<void ()>::operator()() const
9   0x10c316e5e WTF::threadEntryPoint(void*)
10  0x10c318901 WTF::wtfThreadEntryPoint(void*)
11  0x7fff9660999d _pthread_body
12  0x7fff9660991a _pthread_body
13  0x7fff96607351 thread_start

Intermittently encountered with inspector/memory/tracking.html on WK1
Comment 1 Ryan Haddad 2016-07-26 17:42:42 PDT
<rdar://problem/27433904>
Comment 2 Radar WebKit Bug Importer 2016-07-26 17:43:05 PDT
<rdar://problem/27559026>
Comment 3 Ryan Haddad 2016-07-26 17:47:23 PDT
Marked as flaky in http://trac.webkit.org/projects/webkit/changeset/203757
Comment 4 Joseph Pecoraro 2018-08-09 16:25:02 PDT
I believe this was addressed by:
https://webkit.org/b/160534

The specific assertion was removed, and code changed to better handle this area.

Note the expectations are only for El Capitan, all future releases should be running the test just fine.