JDK-8149045 : Debug build is not working after new WebKit upgrade
Type:Bug
Component:javafx
Sub-Component:web
Affected Version:9
Priority:P2
Status:Resolved
Resolution:Fixed
Submitted:2016-02-04
Updated:2020-01-31
Resolved:2016-05-26
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
changeset: 9824:75630bd28230
user: arajkumar
date: Thu May 26 13:53:53 2016 +0530
description:
8149045: Debug build is not working after new WebKit upgrade
Reviewed-by: ghb, kcr
URL: http://hg.openjdk.java.net/openjfx/9-dev/rt/rev/75630bd28230
26-05-2016
Missing adoptRef is not a problem, just assertion checks were made.
JS Promises related code seems to be an invalid access to uninitialized context.
25-05-2016
+1
25-05-2016
The fix looks fine to me, too. Why does this only fail in debug mode? Are we just getting lucky in release mode?
+1
Crashes in the below callstack,
KernelBase.dll!000007fefd9033b2() Unknown
jvm.dll!0000000007b2d634() Unknown
jvm.dll!0000000007afbd41() Unknown
jvm.dll!0000000007afbbf5() Unknown
jvm.dll!0000000007afc5bb() Unknown
jvm.dll!0000000007b2b3c5() Unknown
jvm.dll!0000000007bc8d58() Unknown
[External Code]
jfxwebkit.dll!JSC::JSCell::isGetterSetter() Line 170 C++
> jfxwebkit.dll!JSC::JSValue::isGetterSetter() Line 566 C++
jfxwebkit.dll!JSC::JSObject::putDirectWithoutTransition(JSC::VM & vm, JSC::PropertyName propertyName, JSC::JSValue value, unsigned int attributes) Line 1364 C++
jfxwebkit.dll!JSC::JSGlobalObject::init(JSC::VM & vm) Line 408 C++
jfxwebkit.dll!JSC::JSGlobalObject::finishCreation(JSC::VM & vm, JSC::JSObject * thisValue) Line 343 C++
jfxwebkit.dll!WebCore::JSDOMGlobalObject::finishCreation(JSC::VM & vm, JSC::JSObject * thisValue) Line 65 C++
jfxwebkit.dll!WebCore::JSDOMWindowBase::finishCreation(JSC::VM & vm, WebCore::JSDOMWindowShell * shell) Line 72 C++
jfxwebkit.dll!WebCore::JSDOMWindow::create(JSC::VM & vm, JSC::Structure * structure, WTF::Ref<WebCore::DOMWindow> && impl, WebCore::JSDOMWindowShell * windowShell) Line 40 C++
jfxwebkit.dll!WebCore::JSDOMWindowShell::setWindow(WTF::PassRefPtr<WebCore::DOMWindow> domWindow) Line 86 C++
jfxwebkit.dll!WebCore::JSDOMWindowShell::finishCreation(JSC::VM & vm, WTF::PassRefPtr<WebCore::DOMWindow> window) Line 57 C++
jfxwebkit.dll!WebCore::JSDOMWindowShell::create(JSC::VM & vm, WTF::PassRefPtr<WebCore::DOMWindow> window, JSC::Structure * structure, WebCore::DOMWrapperWorld & world) Line 57 C++
jfxwebkit.dll!WebCore::ScriptController::createWindowShell(WebCore::DOMWrapperWorld & world) Line 133 C++
jfxwebkit.dll!WebCore::ScriptController::initScript(WebCore::DOMWrapperWorld & world) Line 252 C++
jfxwebkit.dll!WebCore::ScriptController::windowShell(WebCore::DOMWrapperWorld & world) Line 90 C++
jfxwebkit.dll!WebCore::ScriptController::evaluateInWorld(const WebCore::ScriptSourceCode & sourceCode, WebCore::DOMWrapperWorld & world) Line 154 C++
jfxwebkit.dll!WebCore::ScriptController::evaluate(const WebCore::ScriptSourceCode & sourceCode) Line 180 C++
jfxwebkit.dll!WebCore::ScriptElement::executeScript(const WebCore::ScriptSourceCode & sourceCode) Line 309 C++
jfxwebkit.dll!WebCore::ScriptElement::prepareScript(const WTF::TextPosition & scriptStartPosition, WebCore::ScriptElement::LegacyTypeSupport supportLegacyTypes) Line 242 C++
jfxwebkit.dll!WebCore::HTMLScriptRunner::runScript(WebCore::Element * script, const WTF::TextPosition & scriptStartPosition) Line 310 C++
jfxwebkit.dll!WebCore::HTMLScriptRunner::execute(WTF::PassRefPtr<WebCore::Element> scriptElement, const WTF::TextPosition & scriptStartPosition) Line 179 C++
jfxwebkit.dll!WebCore::HTMLDocumentParser::runScriptsForPausedTreeBuilder() Line 197 C++
jfxwebkit.dll!WebCore::HTMLDocumentParser::canTakeNextToken(WebCore::HTMLDocumentParser::SynchronousMode mode, WebCore::PumpSession & session) Line 214 C++
jfxwebkit.dll!WebCore::HTMLDocumentParser::pumpTokenizer(WebCore::HTMLDocumentParser::SynchronousMode mode) Line 259 C++
jfxwebkit.dll!WebCore::HTMLDocumentParser::pumpTokenizerIfPossible(WebCore::HTMLDocumentParser::SynchronousMode mode) Line 167 C++
jfxwebkit.dll!WebCore::HTMLDocumentParser::append(WTF::PassRefPtr<WTF::StringImpl> inputSource) Line 393 C++
jfxwebkit.dll!WebCore::DecodedDataDocumentParser::appendBytes(WebCore::DocumentWriter & writer, const char * data, unsigned __int64 length) Line 51 C++
jfxwebkit.dll!WebCore::DocumentWriter::addData(const char * bytes, unsigned __int64 length) Line 225 C++
jfxwebkit.dll!WebCore::DocumentLoader::commitData(const char * bytes, unsigned __int64 length) Line 857 C++
jfxwebkit.dll!WebCore::FrameLoaderClientJava::committedLoad(WebCore::DocumentLoader * loader, const char * data, int length) Line 321 C++
jfxwebkit.dll!WebCore::DocumentLoader::commitLoad(const char * data, int length) Line 774 C++
jfxwebkit.dll!WebCore::DocumentLoader::dataReceived(WebCore::CachedResource * resource, const char * data, int length) Line 880 C++
jfxwebkit.dll!WebCore::CachedRawResource::notifyClientsDataWasReceived(const char * data, unsigned int length) Line 119 C++
jfxwebkit.dll!WebCore::CachedRawResource::addDataBuffer(WebCore::SharedBuffer & data) Line 70 C++
jfxwebkit.dll!WebCore::SubresourceLoader::didReceiveDataOrBuffer(const char * data, int length, WTF::PassRefPtr<WebCore::SharedBuffer> prpBuffer, __int64 encodedDataLength, WebCore::DataPayloadType dataPayloadType) Line 292 C++
jfxwebkit.dll!WebCore::SubresourceLoader::didReceiveData(const char * data, unsigned int length, __int64 encodedDataLength, WebCore::DataPayloadType dataPayloadType) Line 268 C++
jfxwebkit.dll!WebCore::ResourceLoader::didReceiveData(WebCore::ResourceHandle * __formal, const char * data, unsigned int length, int encodedDataLength) Line 581 C++
jfxwebkit.dll!WebCore::URLLoader::AsynchronousTarget::didReceiveData(const char * data, int length) Line 274 C++
jfxwebkit.dll!Java_com_sun_webkit_network_URLLoader_twkDidReceiveData(JNIEnv_ * env, _jclass * __formal, _jobject * byteBuffer, long position, long remaining, __int64 data) Line 487 C++
[External Code]