Bug 39992 - [Qt] [Symbian] Crash during Interpreter construction
Summary: [Qt] [Symbian] Crash during Interpreter construction
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 417.x
Hardware: S60 Emulator Windows XP
: P4 Normal
Assignee: Nobody
URL:
Keywords: Qt, QtTriaged
Depends on:
Blocks:
 
Reported: 2010-06-01 06:24 PDT by Jack Wootton
Modified: 2011-07-20 13:10 PDT (History)
4 users (show)

See Also:


Attachments
Stacktrace from Carbide when S60 emulator crashes (3.36 KB, text/plain)
2010-06-01 06:24 PDT, Jack Wootton
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jack Wootton 2010-06-01 06:24:09 PDT
Created attachment 57534 [details]
Stacktrace from Carbide when S60 emulator crashes

My environment is: Windows XP SP2, 3GB RAM, Qt 4.7 for Symbian, Nokia N97 SDK.

QML document contains a WebView component. When the WebView has either the URL or HTML attributes set, the application crashes. If the WebView component does NOT have either its URL or HTML attributes set, then no crash occurs. Running the application on the Symbian emulator (N97 SDK) the last entry on the callstack was WTF::fastMalloc(). fastMalloc is used by the JavaScriptCore (full stack trace attached). It looks as though there is no memory left and so fastmalloc fails.

I have tried increasing the amount of memory the emulator is launched with but this did not help.Is it anything to do with this webkit bug? http://code.google.com/p/chromium/issues/detail?id=2861

By setting WebView.settings.javascriptEnabled to false, the JavaScriptCore is not used in WebKit, and as a result WebView will load plain html specified in the Webview.html attribute. So it seems it is definitly the use of JavaScriptCore which is causing the problem.

I don't know which version of WebKit is packaged in Qt4.7 binary for Symbian, so cannot provide this information.
Comment 1 Benjamin Poulain 2011-01-30 04:28:21 PST
Please follow http://trac.webkit.org/wiki/QtWebKitBugs when reporing bug here.

I do not know much about Symbian but I remember the max stack size defined for the application has been a problem for some people.
Comment 2 Siddharth Mathur 2011-03-26 14:12:44 PDT
Please check if the following bug fix solved your problem. 
http://bugreports.qt.nokia.com/browse/QTBUG-14293

Qt 4.7.2 may be obtained from here: 
http://labs.qt.nokia.com/2011/03/01/qt-sdk-1-1-beta-released/
Comment 3 Siddharth Mathur 2011-07-20 13:10:31 PDT
Resolving old bug with no follow up.