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

QDeclarativeView/QDeclarativeEngine/QScriptEngine segmentation fault

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P4: Low
    • None
    • 4.7.2
    • Qt Script
    • None
    • Qt Creator 2.1.0
      Development on Windows 7 64bit
      Tested on Nokia C7

    Description

      If you try to create QDeclaretiveView object, this
      sample stop to 10th or 12th object.

      Then you receive segmentation fault or app freezes.

      I need to create some QDeclarativeView contemporarely
      in my app and i receive always segmentation fault when i
      create over 10th QDeclarativeView object.

      Same happens if you use QDeclarativeEngine object.

      Obviously i've tryed to add more EPOCHEAP memory and
      i've verified that crash is indipendent from memory available
      (i've checked also with Nokia Performance Tool).

      #include "mainwindow.h"

      #include <QtGui/QApplication>
      #include <QDeclarativeView>
      #include <QDebug>

      int main(int argc, char *argv[])

      { QApplication app(argc, argv); QDeclarativeView *view = NULL; for (int k=0;k<100;k++) { qDebug() << k; view = new QDeclarativeView(); }

      return app.exec();
      }

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            negus Fabrizio Caldarelli
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes