RESOLVED FIXED 124603
ASSERTION FAILED: isValidAllocation(bytes)
https://bugs.webkit.org/show_bug.cgi?id=124603
Summary ASSERTION FAILED: isValidAllocation(bytes)
Zoltan Horvath
Reported 2013-11-19 14:06:52 PST
I got this assert at r159509 on http://codepen.io Current executable set to '/Users/zhorvath1/WebKit/WebKitBuild/Debug/WebProcess.app' (x86_64). (lldb) r Process 61524 launched: '/Users/zhorvath1/WebKit/WebKitBuild/Debug/WebProcess.app/Contents/MacOS/WebProcess' (x86_64) ASSERTION FAILED: isValidAllocation(bytes) /Users/zhorvath1/WebKit/WebKitBuild/Debug/JavaScriptCore.framework/PrivateHeaders/Heap.h(418) : void *JSC::Heap::allocateWithImmortalStructureDestructor(size_t) 1 0x10065b8d0 WTFCrash 2 0x103532ffb JSC::Heap::allocateWithImmortalStructureDestructor(unsigned long) 3 0x103532f2c void* JSC::allocateCell<JSC::Structure>(JSC::Heap&, unsigned long) 4 0x103532a9f void* JSC::allocateCell<JSC::Structure>(JSC::Heap&) 5 0x10353281f JSC::Structure::create(JSC::VM&, JSC::JSGlobalObject*, JSC::JSValue, JSC::TypeInfo const&, JSC::ClassInfo const*, unsigned char, unsigned int) 6 0x104af8f08 WebCore::JSDOMWindowShell::createStructure(JSC::VM&, JSC::JSValue) 7 0x104af6c3c WebCore::ScriptController::createWindowShell(WebCore::DOMWrapperWorld&) 8 0x104af73c7 WebCore::ScriptController::initScript(WebCore::DOMWrapperWorld&) 9 0x10398cf47 WebCore::ScriptController::windowShell(WebCore::DOMWrapperWorld&) 10 0x104af6da0 WebCore::ScriptController::evaluateInWorld(WebCore::ScriptSourceCode const&, WebCore::DOMWrapperWorld&) 11 0x104af6fb4 WebCore::ScriptController::evaluate(WebCore::ScriptSourceCode const&) 12 0x104b093bb WebCore::ScriptElement::executeScript(WebCore::ScriptSourceCode const&) 13 0x103d8e849 WebCore::HTMLScriptRunner::executePendingScriptAndDispatchEvent(WebCore::PendingScript&) 14 0x103d8e6ac WebCore::HTMLScriptRunner::executeParsingBlockingScript() 15 0x103d8ee71 WebCore::HTMLScriptRunner::executeParsingBlockingScripts() 16 0x103d8efa9 WebCore::HTMLScriptRunner::executeScriptsWaitingForLoad(WebCore::CachedResource*) 17 0x103ceac9e WebCore::HTMLDocumentParser::notifyFinished(WebCore::CachedResource*) 18 0x103cead1f non-virtual thunk to WebCore::HTMLDocumentParser::notifyFinished(WebCore::CachedResource*) 19 0x10356210d WebCore::CachedResource::checkNotify() 20 0x103562224 WebCore::CachedResource::finishLoading(WebCore::ResourceBuffer*) 21 0x10357a509 WebCore::CachedScript::finishLoading(WebCore::ResourceBuffer*) 22 0x104ca5f38 WebCore::SubresourceLoader::didFinishLoading(double) 23 0x104aae5b5 WebCore::ResourceLoader::didFinishLoading(WebCore::ResourceHandle*, double) 24 0x104ec955a -[WebCoreResourceHandleAsDelegate connectionDidFinishLoading:] 25 0x7fff9961071d __65-[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:]_block_invoke 26 0x7fff9961064d -[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:] 27 0x7fff9961053c -[NSURLConnectionInternal _withActiveConnectionAndDelegate:] 28 0x7fff9593f284 invocation function for block in URLConnectionClient_Classic::_delegate_didFinishLoading(void () block_pointer) 29 0x7fff959f5820 invocation function for block in URLConnectionClient_Classic::_withDelegateAsync(char const*, void (_CFURLConnection*, CFURLConnectionClientCurrent_VMax const*) block_pointer) 30 0x7fff959223fc invocation function for block in CoreSchedulingSet::_performAsync(char const*, void () block_pointer) const 31 0x7fff8f51be94 CFArrayApplyFunction
Attachments
Geoffrey Garen
Comment 1 2013-11-19 15:54:04 PST
Do you know which codepen?
Simon Fraser (smfr)
Comment 2 2013-11-19 16:23:38 PST
The front page (the url given in the first comment).
Brady Eidson
Comment 3 2013-11-19 21:37:38 PST
Brady Eidson
Comment 4 2013-11-19 21:55:59 PST
Actually <rdar://problem/15505865> And this was probably fixed in http://trac.webkit.org/changeset/159531
Note You need to log in before you can comment on or make changes to this bug.