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

[REG 5.13.1-5.13.2] Application crashes when closing a window with Video element using gst-pipeline

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.14.0 RC1
    • 5.13.2
    • Multimedia
    • None
    • Windows
    • 4d251f072c6f97b4cf4618103e4e857e499c5ed7 (qt/qtmultimedia/5.13)

    Description

      When closing a window with an active Video QML element which uses a gst-pipeline, the application will crash with the following stack trace:

      1  g_signal_new                                                                                                                                                                gobject_2_0_0                          0x7ffe82874a45 
      2  g_signal_new                                                                                                                                                                gobject_2_0_0                          0x7ffe8285cb8a 
      3  QGstreamerPlayerSession::showPrerollFrames                                                                                                                                  qgstreamerplayersession.cpp       1877 0x7ffe815918c6 
      4  QGstreamerPlayerControl::updateSessionState                                                                                                                                 qgstreamerplayercontrol.cpp       436  0x7ffe815a0b28 
      5  QtPrivate::FunctorCall<QtPrivate::IndexesList<0>,QtPrivate::List<enum QMediaPlayer::State>,void,void (__cdecl QGstreamerPlayerControl:: *)(enum QMediaPlayer::State)>::call qobjectdefs_impl.h                152  0x7ffe815a3dca 
      6  QtPrivate::FunctionPointer<void (__cdecl QGstreamerPlayerControl:: *)(enum QMediaPlayer::State)>::call<QtPrivate::List<enum QMediaPlayer::State>,void>                      qobjectdefs_impl.h                186  0x7ffe815a1cf7 
      7  QtPrivate::QSlotObject<void (__cdecl QGstreamerPlayerControl:: *)(enum QMediaPlayer::State),QtPrivate::List<enum QMediaPlayer::State>,void>::impl                           qobjectdefs_impl.h                415  0x7ffe815a480e 
      8  QtPrivate::QSlotObjectBase::call                                                                                                                                            qobjectdefs_impl.h                394  0x7ffe42bc61f2 
      9  QMetaObject::activate                                                                                                                                                       qobject.cpp                       3795 0x7ffe42c0c248 
      10 QMetaObject::activate                                                                                                                                                       qobject.cpp                       3661 0x7ffe42c0bb68 
      11 QGstreamerPlayerSession::stateChanged                                                                                                                                       moc_qgstreamerplayersession_p.cpp 461  0x7ffe815b3a82 
      12 QGstreamerPlayerSession::stop                                                                                                                                               qgstreamerplayersession.cpp       1057 0x7ffe815915ea 
      13 QGstreamerPlayerSession::~QGstreamerPlayerSession                                                                                                                           qgstreamerplayersession.cpp       226  0x7ffe8158e9a2 
      14 qt_plugin_instance                                                                                                                                                          gstmediaplayerd                        0x7ffe83e14968 
      15 QObjectPrivate::deleteChildren                                                                                                                                              qobject.cpp                       2019 0x7ffe42c14289 
      16 QObject::~QObject                                                                                                                                                           qobject.cpp                       1032 0x7ffe42c0dda8 
      17 QMediaService::~QMediaService                                                                                                                                               qmediaservice.cpp                 113  0x7ffe826851a1 
      18 qt_plugin_instance                                                                                                                                                          gstmediaplayerd                        0x7ffe83e13d53 
      19 qt_plugin_instance                                                                                                                                                          gstmediaplayerd                        0x7ffe83e14917 
      20 qt_plugin_instance                                                                                                                                                          gstmediaplayerd                        0x7ffe83e1a459 
      21 QPluginServiceProvider::releaseService                                                                                                                                      qmediaserviceprovider.cpp         450  0x7ffe8268c2ae 
      22 QMediaPlayer::~QMediaPlayer                                                                                                                                                 qmediaplayer.cpp                  665  0x7ffe827021d5 
      23 QMediaPlayer::`scalar deleting destructor'                                                                                                                                  declarative_multimediad                0x7ffe84496b68 
      24 QDeclarativeAudio::~QDeclarativeAudio                                                                                                                                       qdeclarativeaudio.cpp             129  0x7ffe84492156 
      25 QQmlPrivate::QQmlElement<QDeclarativeAudio>::~QQmlElement<QDeclarativeAudio>                                                                                                qqmlprivate.h                     108  0x7ffe8448858d 
      26 QQmlPrivate::QQmlElement<QDeclarativeAudio>::`scalar deleting destructor'                                                                                                   declarative_multimediad                0x7ffe844890a7 
      27 QObjectPrivate::deleteChildren                                                                                                                                              qobject.cpp                       2019 0x7ffe42c14289 
      28 QObject::~QObject                                                                                                                                                           qobject.cpp                       1032 0x7ffe42c0dda8 
      29 QQuickItem::~QQuickItem                                                                                                                                                     qquickitem.cpp                    2444 0x7ffe41ef79d5 
      30 QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement<QQuickItem>                                                                                                              qqmlprivate.h                     108  0x7ffe41fadc2d 
      31 QQmlPrivate::QQmlElement<QQuickItem>::`scalar deleting destructor'                                                                                                          Qt5Quickd                              0x7ffe41fb19d7 
      32 QObjectPrivate::deleteChildren                                                                                                                                              qobject.cpp                       2019 0x7ffe42c14289 
      33 QObject::~QObject                                                                                                                                                           qobject.cpp                       1032 0x7ffe42c0dda8 
      34 QWindow::~QWindow                                                                                                                                                           qwindow.cpp                       227  0x7ffe0ff13ba2 
      35 QQuickWindow::~QQuickWindow                                                                                                                                                 qquickwindow.cpp                  1377 0x7ffe41f3c74d 
      36 QQuickWindowQmlImpl::~QQuickWindowQmlImpl                                                                                                                                   Qt5Quickd                              0x7ffe420ca365 
      37 QQmlPrivate::QQmlElement<QQuickWindowQmlImpl>::~QQmlElement<QQuickWindowQmlImpl>                                                                                            qqmlprivate.h                     108  0x7ffe420ca25d 
      38 QQmlPrivate::QQmlElement<QQuickWindowQmlImpl>::`scalar deleting destructor'                                                                                                 Qt5Quickd                              0x7ffe420caad7 
      39 qDeleteAll<QList<QObject *>::const_iterator>                                                                                                                                qalgorithms.h                     320  0x7ffe438c38b7 
      40 qDeleteAll<QList<QObject *>>                                                                                                                                                qalgorithms.h                     329  0x7ffe438c37c0 
      41 QQmlApplicationEnginePrivate::cleanUp                                                                                                                                       qqmlapplicationengine.cpp         66   0x7ffe438c20ea 
      42 QQmlApplicationEngine::~QQmlApplicationEngine                                                                                                                               qqmlapplicationengine.cpp         251  0x7ffe438c192b 
      43 main                                                                                                                                                                        main.cpp                          20   0x7ff729732975 
      44 WinMain                                                                                                                                                                     qtmain_win.cpp                    97   0x7ff729736845 
      45 invoke_main                                                                                                                                                                 exe_common.inl                    107  0x7ff729734bad 
      46 __scrt_common_main_seh                                                                                                                                                      exe_common.inl                    288  0x7ff729734a9e 
      47 __scrt_common_main                                                                                                                                                          exe_common.inl                    331  0x7ff72973495e 
      48 WinMainCRTStartup                                                                                                                                                           exe_winmain.cpp                   17   0x7ff729734c39 
      49 BaseThreadInitThunk                                                                                                                                                         KERNEL32                               0x7ffe9a4b7bd4 
      50 RtlUserThreadStart                                                                                                                                                          ntdll                                  0x7ffe9b6aced1 
      

      See attached sample project which doesn't exhibit this behavior when running with 5.13.1. My guess is that this is caused by the changes committed for https://bugreports.qt.io/browse/QTBUG-78079

      Attachments

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

        Activity

          People

            valentyn.doroshchuk Valentyn Doroshchuk
            aamann aamann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes