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

Crash in OpenGlVideoBuffer destructor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 6.2.5, 6.3.0 Beta3, 6.4.0 Beta1
    • 6.2.3
    • Multimedia
    • None
    • Windows 10, OpenGL RHI
    • Windows
    • 3893a5b883 (qt/qtmultimedia/dev) e7142bab89 (qt/qtmultimedia/6.3) ecb0aa5f11 (qt/qtmultimedia/6.2) ecb0aa5f11 (qt/qtmultimedia/6.2.4) ecb0aa5f11 (qt/tqtc-qtmultimedia/6.2)

    Description

      Happens in my app sporadically when OpenGL RHI is used, most probably on MediaPlayer/VideoOutput destruction. Unfortunately I don't managed yet to find exact steps or provide some minimal example. Will update with more info as soon as I will have it.

       	ig75icd64.dll!00007ffc01f0910a()	Unknown
       	Qt6Multimedia.dll!OpenGlVideoBuffer::~OpenGlVideoBuffer() Line 202	C++
       	[External Code]	
       	[Inline Frame] Qt6Multimedia.dll!QExplicitlySharedDataPointer<QVideoFramePrivate>::reset(QVideoFramePrivate * ptr) Line 204	C++
       	[Inline Frame] Qt6Multimedia.dll!QExplicitlySharedDataPointer<QVideoFramePrivate>::operator=(const QExplicitlySharedDataPointer<QVideoFramePrivate> &) Line 210	C++
       	Qt6Multimedia.dll!QVideoFrame::operator=(const QVideoFrame & __that) Line 236	C++
       	Qt6Multimedia.dll!QPlatformVideoSink::setVideoFrame(const QVideoFrame & frame) Line 106	C++
      >	Qt6Multimedia.dll!EVRCustomPresenter::presentSample(IMFSample * sample) Line 1926	C++
       	Qt6Multimedia.dll!EVRCustomPresenter::event(QEvent * e) Line 1874	C++
       	Qt6Widgets.dll!QApplicationPrivate::notify_helper(QObject * receiver, QEvent * e) Line 3411	C++
       	Qt6Widgets.dll!QApplication::notify(QObject * receiver, QEvent * e) Line 3363	C++
       	Qt6Core.dll!QCoreApplication::notifyInternal2(QObject * receiver, QEvent * event) Line 1067	C++
       	[Inline Frame] Qt6Core.dll!QCoreApplication::sendEvent(QObject *) Line 1475	C++
       	Qt6Core.dll!QCoreApplicationPrivate::sendPostedEvents(QObject * receiver, int event_type, QThreadData * data) Line 1834	C++
       	Qt6Gui.dll!QWindowsGuiEventDispatcher::sendPostedEvents() Line 80	C++
       	Qt6Core.dll!QEventDispatcherWin32::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag> flags) Line 474	C++
       	Qt6Gui.dll!QWindowsGuiEventDispatcher::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag> flags) Line 73	C++
       	[Inline Frame] Qt6Core.dll!QEventLoop::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag>) Line 139	C++
       	Qt6Core.dll!QEventLoop::exec(QFlags<enum QEventLoop::ProcessEventsFlag> flags) Line 230	C++
       	Qt6Core.dll!QCoreApplication::exec() Line 1382	C++
      

      I see the next in debugger:

        Name Value Type
        m_glHandle 0x0000000000000000 void *
        m_d3dglHandle 0x0000000000000001 void *
      m_wgl {wglDXOpenDeviceNV=ig75icd64.dll!0x00007ffc01f094f0 wglDXCloseDeviceNV=ig75icd64.dll!0x00007ffc01f09090 ...} WglNvDxInterop

       

      Attachments

        Issue Links

          Activity

            People

              piotr Piotr Srebrny (Inactive)
              studiosus Vladimir Belyavsky
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: