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
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.