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

VideoOutput crash with opacity animation

    XMLWordPrintable

Details

    • eb0b4d69b (dev), 844e906ba (6.9), f7e4b3579 (tqtc/lts-6.8)
    • Multimedia, weeks 15-16, Multimedia, weeks 18-19

    Description

      VideoOutput as the source component of a Loader with an opacity animation results shortly in a crash when rapidly loading / unloading the source component.

      This can be reproduced with the declarative-camera example with attached changes.

      I tested with both MinGW and MSVC but on MinGW this crash doesn't seem to happen as easily (if at all).

      Steps to reproduce the crash:

      • Apply the changes to declarative-camera sample
      • run the sample and wait (=> should crash in a moment)

      Backtrace:

       

                                                                                                                                                                                               
                                                                                                                            
      1  qt_message_fatal<QString &>                                                                                                             qlogging.cpp              2140 0x7ff8ea532034 
      2  qt_message                                                                                                                              qlogging.cpp              381  0x7ff8ea531f08 
      3  QMessageLogger::fatal                                                                                                                   qlogging.cpp              884  0x7ff8ea52f2d3 
      4  qt_assert_x                                                                                                                             qassert.cpp               113  0x7ff8ea4e7c9e 
      5  QtPrivate::assertObjectType<QQuickVideoOutput>                                                                                          qobjectdefs_impl.h        107  0x7ff9072d2adf 
      6  QtPrivate::FunctorCall<std::integer_sequence<unsigned __int64>,QtPrivate::List<>,void,void (__cdecl QQuickVideoOutput:: *)(void)>::call qobjectdefs_impl.h        126  0x7ff9072d63fe 
      7  QtPrivate::FunctionPointer<void (__cdecl QQuickVideoOutput:: *)(void)>::call<QtPrivate::List<>,void>                                    qobjectdefs_impl.h        175  0x7ff9072d2cbd 
      8  QtPrivate::QCallableObject<void (__cdecl QQuickVideoOutput:: *)(void),QtPrivate::List<>,void>::impl                                     qobjectdefs_impl.h        548  0x7ff9072d6d6e 
      9  QtPrivate::QSlotObjectBase::call                                                                                                        qobjectdefs_impl.h        461  0x7ff8ea664d73 
      10 doActivate<0>                                                                                                                           qobject.cpp               4138 0x7ff8ea724f80 
      11 QMetaObject::activate                                                                                                                   qobject.cpp               4199 0x7ff8ea70bc18 
      12 QQuickWindow::afterFrameEnd                                                                                                             moc_qquickwindow.cpp      494  0x7ff8ebc0f0f5 
      13 QSGRenderThread::syncAndRender                                                                                                          qsgthreadedrenderloop.cpp 808  0x7ff8ec183cde 
      14 QSGRenderThread::run                                                                                                                    qsgthreadedrenderloop.cpp 979  0x7ff8ec182621 
      15 QThreadPrivate::start                                                                                                                   qthread_win.cpp           174  0x7ff8eaacde0c 
      16 BaseThreadInitThunk                                                                                                                     KERNEL32                       0x7ff9e096e8d7 
      17 RtlUserThreadStart                                                                                                                      ntdll                          0x7ff9e2b514fc 
       

       

       

       

      Attachments

        For Gerrit Dashboard: QTBUG-136052
        # Subject Branch Project Status CR V

        Activity

          People

            timblechmann tim blechmann
            miikapernu Miika Pernu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: