[webkit-dev] WebKit Cairo port questions

Baldeva, Arpit abaldeva at ea.com
Tue Nov 16 14:20:07 PST 2010


I am trying to build the WebKit Cairo port but running into some issues. I fixed my local compiler errors(mostly by tweaking code to avoid the errors) but now running into a crash that looks like something inside CFLite.dll.

I built as per instructions here - http://trac.webkit.org/wiki/BuildingCairoOnWindows . I downloaded the support packages from the pre bundled copies on that page. I built the debug_cairo config. After that, I ran the WinLauncher which complained about the missing CFLite.dll/CFLite_Debug.dll/libcurl.dll. I copied them from the pre built package to the \WebKit\WebKitBuild\bin directory. Then, I get a crash that looks as follows(at the end of the email).

Am I doing something wrong here? Is there a last known good version of WinCairo port?

For the compile issues, I had to (I am sure the correct solution would need to take into account the WinCairo/Curl stuff but following worked for quick compilation)

1) Modify the PlatformCertificateInfo constructor to not create CFURLResponseRef object.
2) Modify CFURLRequestRef STDMETHODCALLTYPE WebMutableURLRequest::cfRequest() to return 0. 

Crash - 

 	[Frames below may be incorrect and/or missing, no symbols loaded for CFLite.dll]	
>	WebKit_debug.dll!WTF::RefPtr<WebCore::ResourceRawHeaders>::operator=(const WTF::RefPtr<WebCore::ResourceRawHeaders> & o={...})  Line 113 + 0x9 bytes	C++
 	WebKit_debug.dll!WebCore::ResourceResponseBase::operator=(const WebCore::ResourceResponseBase & __that={...})  + 0x13c bytes	C++
 	WebKit_debug.dll!WTF::RetainPtr<_CFURLResponse *>::~RetainPtr<_CFURLResponse *>()  Line 69 + 0x32 bytes	C++
 	WebKit_debug.dll!WebCore::ResourceResponse::~ResourceResponse()  + 0x1c bytes	C++
 	WebKit_debug.dll!WebCore::FrameLoader::init()  Line 236 + 0x6b bytes	C++
 	WebKit_debug.dll!WebCore::Frame::init()  Line 254	C++
 	WebKit_debug.dll!WebView::initWithFrame(tagRECT frame={...}, wchar_t * frameName=0x00000000, wchar_t * groupName=0x00000000)  Line 2622	C++
 	WinLauncher_debug.exe!wWinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ * hPrevInstance=0x00000000, wchar_t * lpCmdLine=0x00020b7a, int nCmdShow=1)  Line 207 + 0x36 bytes	C++
 	WinLauncher_debug.exe!__tmainCRTStartup()  Line 589 + 0x1c bytes	C
 	JavaScriptCore_debug.dll!JSC::ProgramExecutable::compileInternal(JSC::ExecState * exec=0xb8000000, JSC::ScopeChainNode * scopeChainNode=0xcccccccc)  Line 151 + 0xe bytes	C++


More information about the webkit-dev mailing list