[webkit-dev] WebKit Cairo port questions

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


Hi,

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 - 

	CFLite.dll!00471789() 	
 	[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++
 	cccccc00()	
 	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
 	kernel32.dll!7c817077() 	
 	icuin40.dll!0066006f() 	
 	icuin40.dll!00620069() 	
 	icuin40.dll!0066006f() 	
 	JavaScriptCore_debug.dll!0075006c() 	
 	icuin40.dll!0066006f() 	
 	JavaScriptCore_debug.dll!0075006c() 	
 	JavaScriptCore_debug.dll!JSC::ProgramExecutable::compileInternal(JSC::ExecState * exec=0xb8000000, JSC::ScopeChainNode * scopeChainNode=0xcccccccc)  Line 151 + 0xe bytes	C++
 	0fb9c47d()	

Thanks.


More information about the webkit-dev mailing list