Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-1746

QML video applicaiton crashes with "segmentation fault" on exit under Mac OS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 1.2.1
    • 1.2.0
    • Multimedia
    • None
    • Mac Mini, Mac OS X 10.6.7
      Binary Qt SDK 1.1.1
      Qt Mobility 1.2 built from sources myself
    • b5d9964aab96ef1a02ca1af411178f05c42c2bf8

    Description

      I have a simple QML application built using Qt SDK 1.1.1 and Qt Mobility 1.2:

      import QtQuick 1.0
      import QtMultimediaKit 1.2
      
      Video {
              id: video
              width: 1280
              height: 720
              source: "/Users/max/proj/video.mp4"
              playing: true
      }
      

      And I'm running it under Mac OS using the following C++ code:

      #include <QtGui>
      #include <QApplication>
      #include <QtDeclarative>
      #include <QGLWidget>
      
      int main(int argc, char **argv)
      {
          QApplication app(argc, argv);
      
          QApplication::setGraphicsSystem("raster");
      
          QGLFormat format = QGLFormat(QGL::DirectRendering);
          format.setSampleBuffers(false);
          QGLWidget *glWidget = new QGLWidget(format);
          glWidget->setAutoFillBackground(false);
      
          QDeclarativeView view;
          view.setViewport(glWidget);
          view.setSource(QUrl("main.qml"));
          view.show();
      
          return app.exec();
      }
      

      On exit the application crashes. The report is attached: macsegfault.txt

      Attachments

        1. macsegfault.txt
          34 kB
          Maxim Vuets
        2. qml_v_crash.txt
          36 kB
          Yury

        Activity

          People

            jorabbe Jonas Rabbe (closed Nokia identity) (Inactive)
            mvuets Maxim Vuets
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: