Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-13040

Apps panics with USER 42 panic on app exit on Symbian^3 emulator

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P4: Low
    • 4.7.2, 4.8.x
    • 4.7.1
    • Qt Script

    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);
      }
      

      Attachments

        1. panic42_qmlcalculator_exit.log
          8 kB
          Joona Petrell
        2. panic42_qmlviewer_exit.log
          7 kB
          Joona Petrell
        3. panic42_qscriptengine_only_exit.log
          5 kB
          Joona Petrell
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kenthans Kent Hansen (Inactive)
            jpetrell Joona Petrell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes