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

tst_QWebEnginePage crash after getUserMediaRequest(device audio+video)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.11.2
    • Fix Version/s: 5.11.2
    • Component/s: WebEngine
    • Labels:
      None
    • Platform/s:
      Linux/X11

      Description

      https://codereview.qt-project.org/#/c/232758/ Merge remote-tracking branch 'origin/5.11.1' into 5.11

      https://testresults.qt.io/coin/integration/qt/qtwebengine/tasks/1529543355

      https://testresults.qt.io/logs/qt/qtwebengine/86bcb722bf7b9435287ad9dcabbb42fb75b40155/LinuxUbuntu_16_04x86_64LinuxUbuntu_16_04x86_64GCCqtci-linux-Ubuntu-16.04-x86_64-2-0d0c33DeveloperBuild_OutOfSourceBuild_QtLibInfix_QtNamespace_BuildExamples_Documentation/a8582edc6bcca25f03110a85dc573ad357ad335e/test_1529543477/log.txt.gz

      SKIP   : tst_QWebEnginePage::undoActionHaveCustomText() QWEBENGINEPAGE_UNDOACTION
         Loc: [tst_qwebenginepage.cpp(2251)]
      [5219:5419:0620/073616.122472:ERROR:nss_ocsp.cc(614)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
      [5219:5419:0620/073616.122508:ERROR:nss_ocsp.cc(614)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
      [5219:5419:0620/073616.122534:ERROR:nss_ocsp.cc(614)] No URLRequestContext for NSS HTTP handler. host: crl4.digicert.com
      [5219:5419:0620/073616.125856:ERROR:nss_ocsp.cc(614)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
      [5219:5419:0620/073616.136919:ERROR:nss_ocsp.cc(614)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
      [5219:5419:0620/073616.137937:ERROR:nss_ocsp.cc(614)] No URLRequestContext for NSS HTTP handler. host: crl4.digicert.com
      PASS   : tst_QWebEnginePage::renderWidgetHostViewNotShowTopLevel()
      PASS   : tst_QWebEnginePage::getUserMediaRequest(device audio)
      PASS   : tst_QWebEnginePage::getUserMediaRequest(device video)
      PASS   : tst_QWebEnginePage::getUserMediaRequest(device audio+video)
      tst_qwebenginepage: ../../../../qt/qtwebengine/src/3rdparty/chromium/third_party/webrtc/modules/desktop_capture/x11/x_error_trap.cc:45: webrtc::XErrorTrap::XErrorTrap(Display*): Assertion `!g_xserver_error_trap_enabled' failed.
      Received signal 6
      #0 0x7efe26f8529e base::debug::StackTrace::StackTrace()
      #1 0x7efe26f8329b base::debug::StackTrace::StackTrace()
      #2 0x7efe26f83e66 base::debug::(anonymous namespace)::StackDumpSignalHandler()
      #3 0x7efe203634b0 <unknown>
      #4 0x7efe20363428 gsignal
      #5 0x7efe2036502a abort
      #6 0x7efe2035bbd7 <unknown>
      #7 0x7efe2035bc82 __assert_fail
      #8 0x7efe29ba6ef9 webrtc::XErrorTrap::XErrorTrap()
      #9 0x7efe29ba64b5 webrtc::GetWindowRect()
      #10 0x7efe29ba763f webrtc::XServerPixelBuffer::Init()
      #11 0x7efe29b9e874 webrtc::(anonymous namespace)::ScreenCapturerLinux::Init()
      #12 0x7efe29ba008f webrtc::DesktopCapturer::CreateRawScreenCapturer()
      #13 0x7efe29b9a3de webrtc::DesktopCapturer::CreateScreenCapturer()
      #14 0x7efe2339650e QtWebEngineCore::(anonymous namespace)::getDefaultScreenId()
      #15 0x7efe23397f5a QtWebEngineCore::MediaCaptureDevicesDispatcher::handleMediaAccessPermissionResponse()
      #16 0x7efe233d0aac QtWebEngineCore::WebContentsAdapter::grantMediaAccessPermission()
      #17 0x7efe31e812b5 TestNamespace::QWebEnginePage::setFeaturePermission()
      #18 0x00000042e123 tst_QWebEnginePage::getUserMediaRequest()
      #19 0x00000045cccc tst_QWebEnginePage::qt_static_metacall()
      #20 0x7efe20f352ec TestNamespace::QMetaMethod::invoke()
      #21 0x7efe31e1ef6f TestNamespace::QTest::TestMethods::invokeTestOnData()
      #22 0x7efe31e1fd88 TestNamespace::QTest::TestMethods::invokeTest()
      #23 0x7efe31e205b5 TestNamespace::QTest::TestMethods::invokeTests()
      #24 0x7efe31e20bf6 TestNamespace::QTest::qRun()
      #25 0x7efe31e20d8e TestNamespace::QTest::qExec()
      #26 0x00000045d2ae main
      #27 0x7efe2034e830 __libc_start_main
      #28 0x000000413c39 _start
        r8: fefefefefefefeff  r9: 0000000000000001 r10: 0000000000000008 r11: 0000000000000206
       r12: 000000000000002d r13: 00007efe2d9e52c0 r14: 0000000000000000 r15: 0000000000000001
        di: 0000000000001463  si: 0000000000001463  bp: 00007efe2d9e522d  bx: 00007efe0006e000
        dx: 0000000000000006  ax: 0000000000000000  cx: 00007efe20363428  sp: 00007ffe6956f658
        ip: 00007efe20363428 efl: 0000000000000206 cgf: 002b000000000033 erf: 0000000000000000
       trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
      [end of stack trace]
      Calling _exit(1). Core file will not be generated.
      Makefile:425: recipe for target 'check' failed
      make: *** [check] Error 1
      

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              juri.valdmann Jüri Valdmann (Inactive)
              Reporter:
              liaqi Liang Qi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes