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

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.2.1
    • Component/s: Multimedia
    • Labels:
      None
    • Environment:
      Mac Mini, Mac OS X 10.6.7
      Binary Qt SDK 1.1.1
      Qt Mobility 1.2 built from sources myself
    • Commits:
      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
        2. qml_v_crash.txt
          36 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes