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

Crash in QWindowsOpenGLTester::testDesktopGL even when ANGLE is forced via AA_UseOpenGLES

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.6.1
    • 5.6.0
    • GUI: OpenGL, QPA: Windows
    • None
    • Windows Qt5.6
    • 9442b3a1c3655ffc2fe0b80541259ff72b6192c9 (qtbase/5.6. 22.4.2016, 5.6.1)

    Description

      Our app selectively sets AA_UseOpenGLES or AA_UseSoftwareOpenGL on startup based on the current graphics card vendor and id (like the graphicsblacklist in qwindows, expect that we never want direct OpenGL as we have found it to be too unstable in practice).

      When AA_UseOpenGLES is set, we are still seeing crashes within QWindowsOpenGLTester with the following traces:

      WARNING: Stack unwind information not available. Following frames may be wrong.
      0018ec98 697531b1 nvoglv32+0x8941c5
      0018ecb8 695fde82 nvoglv32+0x8931b1
      0018eccc 695ff760 nvoglv32+0x73de82
      0018ecf0 6975f1b6 nvoglv32+0x73f760
      0018ecfc 6974f742 nvoglv32+0x89f1b6
      0018ed14 7495fed6 nvoglv32+0x88f742
      0018ed4c 749b9588 user32!DispatchHookA+0x76
      0018ed80 7494ee11 user32!fnHkINLPCWPSTRUCTA+0x68
      0018edc8 77a48e56 user32!__fnNCDESTROY+0x41
      0018ee00 749692cc ntdll!KiUserCallbackDispatcher+0x36
      0018ee04 59124c84 user32!NtUserDestroyWindow+0xc
      0018eedc 591235ee qwindows!QWindowsOpenGLTester::testDesktopGL+0x414
      0018ef58 59124751 qwindows!QWindowsOpenGLTester::detectSupportedRenderers+0xbe
      0018efb4 590fb61d qwindows!QWindowsOpenGLTester::supportedRenderers+0x21
      0018f008 590faf81 qwindows!QWindowsStaticOpenGLContext::doCreate+0xd
      0018f040 5b3a1cce qwindows!QWindowsIntegration::createPlatformOpenGLContext+0xb1
      0018f050 5bb2300e Qt5Gui!QOpenGLContext::create+0x1e
      0018f074 5ab01f70 Qt5Widgets!QWidgetPrivate::shareContext+0xae
      0018f0a0 5ab0373d Qt5QuickWidgets!QQuickWidgetPrivate::createContext+0xb0
      0018f0dc 5bb13d7e Qt5QuickWidgets!QQuickWidget::resizeEvent+0xfd
      0018f280 5bbd9356 Qt5Widgets!QWidget::event+0x55e
      0018f294 5baf2b7e Qt5Widgets!QFrame::event+0x26
      0018f2ac 5baf1b0d Qt5Widgets!QApplicationPrivate::notify_helper+0xde
      0018f590 5bb2310d Qt5Widgets!QApplication::notify+0xfad
      0018f670 5bb231cb Qt5Widgets!QWidget::show+0x6d
      0018f694 5bb2333b Qt5Widgets!QWidgetPrivate::showChildren+0xbb
      0018f6c4 5bb220d0 Qt5Widgets!QWidgetPrivate::show_helper+0x3b
      0018f6e4 5bb2310d Qt5Widgets!QWidget::setVisible+0x230
      0018f6f0 0108e2cc Qt5Widgets!QWidget::show+0x6d
      

      This above trace is from the following:
      vendor: 8086 (intel)
      device: 126 (Can't find this card on http://pcidatabase.com/)

      I have seen identical traces from a device id of '116'.

      002ff034 10519d14 ig4icd32+0x51975c
      002ff0a0 77b3ef87 ig4icd32+0x519d14
      002ff0bc 03360026 ntdll!LdrpUpdateLoadCount2+0xff
      002ff14c 5d6c4ed2 0x3360026
      002ff160 5d6c4faa opengl32!pwndGetFromHWND+0x45
      002ff16c 07341150 opengl32!pwndGetFromID+0x31
      002ff18c 5d6bb6cd 0x7341150
      002ff1b0 5d6bb83c opengl32!CreateAnyContext+0x116
      002ff2f4 5d6bb8ef opengl32!wglCreateLayerContext+0x98
      002ff304 58894a22 opengl32!wglCreateContext+0xf
      002ff3dc 588935ee qwindows!QWindowsOpenGLTester::testDesktopGL+0x1b2
      002ff458 58894751 qwindows!QWindowsOpenGLTester::detectSupportedRenderers+0xbe
      002ff4b4 5886b61d qwindows!QWindowsOpenGLTester::supportedRenderers+0x21
      002ff508 5886af81 qwindows!QWindowsStaticOpenGLContext::doCreate+0xd
      002ff540 0f3b1cce qwindows!QWindowsIntegration::createPlatformOpenGLContext+0xb1
      002ff550 582c300e Qt5Gui!QOpenGLContext::create+0x1e
      

      This above trace is from the following:
      vendor: 8086 (intel)
      device: 2A42

      Attachments

        Issue Links

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

          Activity

            People

              kleint Friedemann Kleint
              neil Neil Williams
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes