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

segfault caused by QXcbGlxWindow::createVisual() (qxcbglxwindow.cpp:66)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.11.1
    • Core: Other, QPA: X11/XCB
    • None
    • Ubuntu 18.04.1 LTS 64 bit, VMWare player 14.1.3 build-9474260 under windows 10 64 bit
      Valgrind 1:3.13.0-2ubuntu2
    • Linux/X11

    Description

      If I run my program directly (either from qt-creator or the command-line), then all is fine.

      If I run it instead in valgrind, it segfaults.

      #0  0x0000000016f50162 in ?? () from /usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so
       # 
      #1  0x0000000016f5d496 in ?? () from /usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so
       # 
      #2  0x0000000016f5d947 in ?? () from /usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so
       # 
      #3  0x0000000016885c83 in ?? () from /usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so
       # 
      #4  0x0000000016d20791 in ?? () from /usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so
       # 
      #5  0x0000000016bef522 in ?? () from /usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so
       # 
      #6  0x0000000016bea914 in ?? () from /usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so
       # 
      #7  0x000000001537a565 in ?? () from /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0
       # 
      #8  0x00000000153525e4 in ?? () from /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0
       # 
      #9  0x000000001534dda4 in ?? () from /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0
       # 
      #10 0x000000001534e78d in ?? () from /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0
       # 
      #11 0x000000001295f776 in QXcbGlxWindow::createVisual (this=0x14ac5c00) at qxcbglxwindow.cpp:66
       # 
      #12 0x000000000ef4eecc in QXcbWindow::create (this=0x14ac5c00) at qxcbwindow.cpp:389
       # 
      #13 0x000000000ef39bde in QXcbIntegration::createPlatformWindow (this=<optimized out>, window=0x14ac5200) at qxcbintegration.cpp:248
       # 
      #14 0x00000000066a2ee6 in QWindowPrivate::create (this=0x14ac52a0, recursive=recursive@entry=false, nativeHandle=nativeHandle@entry=0) at kernel/qwindow.cpp:516
       # 
      #15 0x00000000066a316d in QWindow::create (this=this@entry=0x14ac5200) at kernel/qwindow.cpp:635
       # 
      #16 0x0000000005eac039 in QWidgetPrivate::create_sys (this=this@entry=0xd2971f0, window=window@entry=0, initializeWindow=initializeWindow@entry=true, destroyOldWindow=destroyOldWindow@entry=true)
       # 
          at kernel/qwidget.cpp:1483
       # 
      #17 0x0000000005eac659 in QWidget::create (this=this@entry=0x1fff000090, window=window@entry=0, initializeWindow=initializeWindow@entry=true, destroyOldWindow=destroyOldWindow@entry=true)
       # 
          at kernel/qwidget.cpp:1337
       # 
      #18 0x0000000005eb388d in QWidget::setWindowState (this=0x1fff000090, newstate=...) at kernel/qwidget.cpp:3059
       

       

      qt.qpa.gl: Requested format before FBConfig/Visual selection: QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DefaultSwapBehavior), swapInterval 1, colorSpace QSurfaceFormat::ColorSpace(DefaultColorSpace), profile QSurfaceFormat::OpenGLContextProfile(NoProfile))
       

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            flok flok
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes