Hi all,

I have written a simple Qt app which loads a QML document.  The QML document
uses a WebView.  I build and run the app for the symbian emulator target
using the N97 SDK.

The app runs on the emulator if WebView does NOT attempt to load a url or
set html directly using the url and html webview attributes respectively.
If html is loaded or a url is provided the app crashes.
I have found some webkit bugs related to fastMalloc:
http://code.google.com/p/chromium/issues/detail?id=28617

It seems the bug was still in webkit around Decmeber 2009 time.  Some of the
comments refer to the cause being websites that push the boundaries of
memory a webpage should ever require.  However I have this crash when
attempting to load www.google.com using a QML webview. The crash is reliable
and not intermittent.

The trace is starts in the QWebFrame object, as you would expect, and ends
in the JavaScriptCore where fastMalloc is called.

52 WTF::fastMalloc()  0x5dafbcb3
51 JSC::RegisterFile::RegisterFile()  0x5db2def9
50 JSC::Interpreter::Interpreter()  0x5db2de26
49 JSC::JSGlobalData::JSGlobalData()  0x5db24df8
48 JSC::JSGlobalData::create()  0x5db26790
47 JSC::JSGlobalData::createLeaked()  0x5db268b9
46 WebCore::JSDOMWindowBase::commonJSGlobalData()
V:\Qt\4.7.0-beta1\src\3rdparty\webkit\WebCore\bindings\js\JSDOMWindowBase.cpp:159
0x5d15524d
45 WebCore::ScriptController::getAllWorlds()
V:\Qt\4.7.0-beta1\src\3rdparty\webkit\WebCore\bindings\js\ScriptController.cpp:178
0x5d19543b
44 WebCore::FrameLoader::dispatchDidClearWindowObjectsInAllWorlds()
0x5d719e13
43 WebCore::FrameLoader::receivedFirstData()  0x5d70bd78
42 WebCore::FrameLoader::setEncoding()  0x5d70fb0b
41 WebCore::FrameLoaderClientQt::committedLoad()  0x5daf50b0
40 WebCore::FrameLoader::committedLoad()  0x5d716f0f
39 WebCore::DocumentLoader::commitLoad()  0x5d6fff1e
38 WebCore::DocumentLoader::receivedData()  0x5d6ffff4
37 WebCore::FrameLoader::receivedData()  0x5d712926
36 WebCore::MainResourceLoader::addData()  0x5d72f7a9
35 WebCore::ResourceLoader::didReceiveData()  0x5d73a117
34 WebCore::MainResourceLoader::didReceiveData()  0x5d730660
33 WebCore::MainResourceLoader::continueAfterContentPolicy()  0x5d72fdfb
32 WebCore::MainResourceLoader::continueAfterContentPolicy()  0x5d72ffed
31 WebCore::MainResourceLoader::callContinueAfterContentPolicy()
0x5d72ff9e
30 WebCore::MainResourceLoader::didReceiveResponse()  0x5d730434
29 WebCore::MainResourceLoader::handleDataLoadNow()  0x5d730b2c
28 WebCore::MainResourceLoader::handleDataLoadSoon()  0x5d730c6c
27 WebCore::MainResourceLoader::loadNow()  0x5d730de7
26 WebCore::MainResourceLoader::load()  0x5d7310f3
25 WebCore::DocumentLoader::startLoadingMainResource()  0x5d702757
24 WebCore::FrameLoader::continueLoadAfterWillSubmitForm()  0x5d715cfb
23 WebCore::FrameLoader::continueLoadAfterNavigationPolicy()  0x5d717e93
22 WebCore::FrameLoader::callContinueLoadAfterNavigationPolicy()
0x5d717b87
21 WebCore::PolicyChecker::checkNavigationPolicy()  0x5d734506
20 WebCore::FrameLoader::loadWithDocumentLoader()  0x5d71269e
19 WebCore::FrameLoader::load()  0x5d7122b7
18 WebCore::FrameLoader::load()  0x5d711c1e
17 QWebFrame::setHtml()  0x5dac39f6



-- 
Regards
Jack
_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to