Description
USER PANIC 42 This panic is raised by a number of RHeap member functions, AllocLen(), Free(), FreeZ(), ReAlloc(), ReAllocL(), Adjust() and AdjustL() when a pointer passed to these functions does not point to a valid cell.
See below address for more info
http://library.forum.nokia.com/topic/S60_5th_Edition_Cpp_Developers_Library/GUID-35228542-8C95-4849-A73F-2B4F082F0C44/sdk/doc_source/reference/reference-cpp/Kernel_Architecture_2/RHeapClass.html
Commented out QDeclarativeViewer, replaced it with QScriptEngine, the same crash still happens in QScriptEngine destruction during application exit. Moving to QtScript for further evaluation. See attached stack traces for more info about the panic.
int main(int argc, char ** argv) { ... QApplication app(argc, argv); ... - QDeclarativeViewer *viewer = new QDeclarativeViewer(0, wflags); + QScriptEngine *scriptEngine = new QScriptEngine(); ... int rv = app.exec(); - delete viewer; + delete scriptEngine; exit(rv); }