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

QCamera hangs in starting when K-lite Codec is installed

    XMLWordPrintable

Details

    • Windows

    Description

      QCamera randomly hangs at QCamera::StartingStatus and never enter QCamera::ActiveStatus. This seems to be caused by incompatibility with K-lite Codec. 

      How to reproduce the problem:

      Use this example: https://doc.qt.io/qt-5/qtmultimedia-multimedia-declarative-camera-declarative-camera-qml.html

       

      Here's stack trace when it hangs

      1  NtWaitForSingleObject                 ntdll                       0x7ffba2c7aa24 
      2  WaitForSingleObjectEx                 KERNELBASE                  0x7ffb9fe29252 
      3  csri_renderer_default                 vsfilter                    0x7ffb5b383248 
      4  csri_renderer_default                 vsfilter                    0x7ffb5b382fd4 
      5  AvisynthPluginInit3                   vsfilter                    0x7ffb5b3a5d56 
      6  AMGetErrorTextW                       quartz                      0x7ffb6b1ef83c 
      7  AMGetErrorTextW                       quartz                      0x7ffb6b1ee3ff 
      8  AMGetErrorTextW                       quartz                      0x7ffb6b1ee07b 
      9  AMGetErrorTextW                       quartz                      0x7ffb6b1edf1b 
      10 AMGetErrorTextW                       quartz                      0x7ffb6b1edb91 
      11 DllCanUnloadNow                       qcap                        0x7ffb93760652 
      12 DSCameraSession::connectGraph         dscamerasession.cpp    1027 0x7ffb9355dadd 
      13 DSCameraSession::startPreview         dscamerasession.cpp    475  0x7ffb9355ae90 
      14 DSCameraControl::setState             dscameracontrol.cpp    82   0x7ffb93556dff 
      15 QCameraPrivate::setState              qcamera.cpp            126  0x7ffb6d7853f4 
      16 QCamera::start                        qcamera.cpp            833  0x7ffb6d784517 
      17 QDeclarativeCamera::setCameraState    qdeclarativecamera.cpp 593  0x7ffb9383f5e6 
      18 QDeclarativeCamera::componentComplete qdeclarativecamera.cpp 240  0x7ffb9384020b 
      19 QQmlObjectCreator::finalize           qqmlobjectcreator.cpp  1367 0x7ffb5605482c 
      20 QQmlComponentPrivate::complete        qqmlcomponent.cpp      925  0x7ffb55f7b5b3 
      21 QQmlComponentPrivate::completeCreate  qqmlcomponent.cpp      960  0x7ffb55f7aa48 
      22 QQmlComponent::completeCreate         qqmlcomponent.cpp      952  0x7ffb55f78ec2 
      23 QQmlComponent::create                 qqmlcomponent.cpp      786  0x7ffb55f78e04 
      24 QQuickView::continueExecute           qquickview.cpp         477  0x7ffb5889d15f 
      25 QQuickViewPrivate::execute            qquickview.cpp         108  0x7ffb5889d9ac 
      26 QQuickView::setSource                 qquickview.cpp         243  0x7ffb5889cc70 
      27 main                                  qmlcamera.cpp          64   0x7ff79e0f2465 
      28 WinMain                               qtmain_win.cpp         104  0x7ff79e0f539d 
      29 invoke_main                           exe_common.inl         99   0x7ff79e0f383d 
      30 __scrt_common_main_seh                exe_common.inl         253  0x7ff79e0f3707 
      31 __scrt_common_main                    exe_common.inl         296  0x7ff79e0f35ce 
      32 WinMainCRTStartup                     exe_winmain.cpp        17   0x7ff79e0f3859 
      33 BaseThreadInitThunk                   KERNEL32                    0x7ffba27b3dc4 
      34 RtlUserThreadStart                    ntdll                       0x7ffba2c53691 
      

       

      Attachments

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

        Activity

          People

            valentyn.doroshchuk Valentyn Doroshchuk
            nagrohn Nahomi Gröhn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes