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

glxGetProcAddress not found - Q_UNREACHABLE in gl_surface_qt.cpp

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.11.0 RC 1
    • 5.11.0 Beta 4, 5.11.0
    • WebEngine
    • None
    • Archlinux, Intel graphics: Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2)
    • 2370f8f6afb6d477123de85be3a988993d4b351e

    Description

      When trying to run this simple PyQt application:

      import sys
      
      from PyQt5.QtCore import QUrl
      from PyQt5.QtWidgets import QApplication
      from PyQt5.QtWebEngineWidgets import QWebEngineView
      
      app = QApplication(sys.argv)
      wv = QWebEngineView()
      
      wv.load(QUrl('https://www.qutebrowser.org/'))
      wv.show()
      
      app.exec_()
      

      I get:

      [18977:19027:0423/202959.647419:ERROR:gl_surface_qt.cpp(199)] glxGetProcAddress not found.
      [18977:19027:0423/203000.255247:ERROR:gl_surface_qt.cpp(294)] Requested OpenGL implementation is not supported. Implementation: 0
      ASSERT failure in Q_UNREACHABLE(): "Q_UNREACHABLE was reached", file ../gl_surface_qt.cpp, line 295
      Received signal 6
      #0 0x7f2cc5b010d0 base::debug::StackTrace::StackTrace()
      #1 0x7f2cc5aff139 base::debug::StackTrace::StackTrace()
      #2 0x7f2cc5affd04 base::debug::(anonymous namespace)::StackDumpSignalHandler()
      #3 0x7f2cd9985dd0 <unknown>
      #4 0x7f2cd95f1860 __GI_raise
      #5 0x7f2cd95f2ec9 __GI_abort
      #6 0x7f2cd7d2dfdc qt_message_fatal()
      #7 0x7f2cd7d2ed65 QMessageLogger::fatal()
      #8 0x7f2cd7d28cee qt_assert_x()
      #9 0x7f2cc202c604 gl::init::CreateOffscreenGLSurfaceWithFormat()
      #10 0x7f2cc7346090 gl::init::CreateOffscreenGLSurface()
      #11 0x7f2cca755505 gpu::GpuChannelManager::GetDefaultOffscreenSurface()
      #12 0x7f2cca7608d6 gpu::GLES2CommandBufferStub::Initialize()
      #13 0x7f2cca748bb9 gpu::GpuChannel::OnCreateCommandBuffer()
      #14 0x7f2cca74e860 _ZN4base20DispatchToMethodImplIPN3gpu10GpuChannelEMS2_FvRK28GPUCreateCommandBufferConfigiNS_18SharedMemoryHandleEPNS1_13ContextResultEPNS1_12CapabilitiesEESt5tupleIJS4_iS7_EESE_IJS8_SA_EEJLm0ELm1ELm2EEJLm0ELm1EEEEvRKT_T0_OT1_PT2_St16integer_sequenceImJXspT3_EEESP_ImJXspT4_EEE
      #15 0x7f2cca74c96f _ZN4base16DispatchToMethodIPN3gpu10GpuChannelEMS2_FvRK28GPUCreateCommandBufferConfigiNS_18SharedMemoryHandleEPNS1_13ContextResultEPNS1_12CapabilitiesEESt5tupleIJS4_iS7_EESE_IJS8_SA_EEEEvRKT_T0_OT1_PT2_
      #16 0x7f2cca74ad51 _ZN3IPC8MessageTI38GpuChannelMsg_CreateCommandBuffer_MetaSt5tupleIJ28GPUCreateCommandBufferConfigiN4base18SharedMemoryHandleEEES2_IJN3gpu13ContextResultENS7_12CapabilitiesEEEE8DispatchINS7_10GpuChannelESD_vMSD_FvRKS3_iS5_PS8_PS9_EEEbPKNS_7MessageEPT_PT0_PT1_T2_
      #17 0x7f2cca747e10 gpu::GpuChannel::OnControlMessageReceived()
      #18 0x7f2cca7482a3 gpu::GpuChannel::HandleMessageHelper()
      #19 0x7f2cca74838b gpu::GpuChannel::HandleOutOfOrderMessage()
      #20 0x7f2cca752b40 _ZN4base8internal13FunctorTraitsIMN3gpu10GpuChannelEFvRKN3IPC7MessageEEvE6InvokeIRKNS_7WeakPtrIS3_EEJS7_EEEvS9_OT_DpOT0_
      #21 0x7f2cca75182f _ZN4base8internal12InvokeHelperILb1EvE8MakeItSoIRKMN3gpu10GpuChannelEFvRKN3IPC7MessageEERKNS_7WeakPtrIS5_EEJS9_EEEvOT_OT0_DpOT1_
      #22 0x7f2cca74fef7 _ZN4base8internal7InvokerINS0_9BindStateIMN3gpu10GpuChannelEFvRKN3IPC7MessageEEJNS_7WeakPtrIS4_EES6_EEEFvvEE7RunImplIRKSA_RKSt5tupleIJSC_S6_EEJLm0ELm1EEEEvOT_OT0_St16integer_sequenceImJXspT1_EEE
      #23 0x7f2cca74e04a _ZN4base8internal7InvokerINS0_9BindStateIMN3gpu10GpuChannelEFvRKN3IPC7MessageEEJNS_7WeakPtrIS4_EES6_EEEFvvEE3RunEPNS0_13BindStateBaseE
      #24 0x7f2cc20ba230 _ZNO4base12OnceCallbackIFvvEE3RunEv
      #25 0x7f2cc5b01777 base::debug::TaskAnnotator::RunTask()
      #26 0x7f2cc5b5af8c base::internal::IncomingTaskQueue::RunTask()
      #27 0x7f2cc5b5f282 base::MessageLoop::RunTask()
      #28 0x7f2cc5b5f408 base::MessageLoop::DeferOrRunPendingTask()
      #29 0x7f2cc5b5f737 base::MessageLoop::DoWork()
      #30 0x7f2cc5b6022b base::MessagePumpDefault::Run()
      #31 0x7f2cc5b5ea48 base::MessageLoop::Run()
      #32 0x7f2cc5bd0720 base::RunLoop::Run()
      #33 0x7f2cc5c58f51 base::Thread::Run()
      #34 0x7f2cc5c59770 base::Thread::ThreadMain()
      #35 0x7f2cc5c4dd6f base::(anonymous namespace)::ThreadFunc()
      #36 0x7f2cd997b08c start_thread
      #37 0x7f2cd96b2e7f __GI___clone
        r8: 0000000000000000  r9: 00007f2c86550a30 r10: 0000000000000008 r11: 0000000000000246
       r12: 00007f2c86550e28 r13: 0000000000000000 r14: 00007f2c86551068 r15: 00007f2c3c008618
        di: 0000000000000002  si: 00007f2c86550a30  bp: 00007f2c86550c98  bx: 0000000000000006
        dx: 0000000000000000  ax: 0000000000000000  cx: 00007f2cd95f1860  sp: 00007f2c86550a30
        ip: 00007f2cd95f1860 efl: 0000000000000246 cgf: 002b000000000033 erf: 0000000000000000
       trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
      [end of stack trace]
      Calling _exit(1). Core file will not be generated.
      

      This seems similar to QTBUG-66668, but happens on the current 5.11.0 branch on Linux (i.e. with that fix in, and not on Windows).

      I can't reproduce it with a C++ example for some reason, but I don't see how this could be a PyQt issue either...

      It does not happen with whatever MaintainanceTool calls 5.11.0-201804081744 (I think that was beta 3?), but does happen with 5.11.0-201804181845 (beta 4) and the current 5.11.0 head.

      It also does not happen in my more complex PyQt application for some reason...

      Attachments

        Issue Links

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

          Activity

            People

              michal Michal Klocek
              the compiler Florian Bruhin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes