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

Applications crash at startup when running with -graphicssystem opengl

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • 4.7.0
    • GUI: OpenGL
    • None
    • 939fdb8f03b998996e532cb89c8e522565c1aecc

    Description

      Starting program: /home/tcooksey/Projects/Builds/qt-4.7-x11/examples/widgets/styles/styles -graphicssystem opengl
      [Thread debugging using libthread_db enabled]
      Qt: gdb: -nograb added to command-line options.
      Use the -dograb option to enforce grabbing.
      using visual class 4, id 2b

      Program received signal SIGSEGV, Segmentation fault.
      0x00007ffff2a85bba in QGLEngineShaderManager::setDirty (this=0x0)
      at /home/tcooksey/Projects/Qt/4.7/src/opengl/gl2paintengineex/qglengineshadermanager.cpp:465
      465 shaderProgNeedsChanging = true;
      (gdb) bt
      #0 0x00007ffff2a85bba in QGLEngineShaderManager::setDirty (this=0x0)
      at /home/tcooksey/Projects/Qt/4.7/src/opengl/gl2paintengineex/qglengineshadermanager.cpp:465
      #1 0x00007ffff2a92918 in QGL2PaintEngineEx::ensureActive (this=0x8f7b50)
      at /home/tcooksey/Projects/Qt/4.7/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp:1908
      #2 0x00007ffff2a8fb5f in QGL2PaintEngineEx::drawTexture (this=0x8f7b50, dest=..., textureId=1, size=..., src=...)
      at /home/tcooksey/Projects/Qt/4.7/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp:1343
      #3 0x00007ffff2a1ecf8 in QGLContext::drawTexture (this=0x913650, target=..., textureId=1, textureTarget=3553)
      at /home/tcooksey/Projects/Qt/4.7/src/opengl/qgl.cpp:2777
      #4 0x00007ffff2a7ca7a in QGLPixmapGLPaintDevice::beginPaint (this=0x886078) at /home/tcooksey/Projects/Qt/4.7/src/opengl/qpixmapdata_gl.cpp:208
      #5 0x00007ffff2a9254c in QGL2PaintEngineEx::begin (this=0x8f7b50, pdev=0x7fffffffd910)
      at /home/tcooksey/Projects/Qt/4.7/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp:1813
      #6 0x00007ffff71a2dec in QPainter::begin (this=0x7fffffffda10, pd=0x7fffffffd910) at /home/tcooksey/Projects/Qt/4.7/src/gui/painting/qpainter.cpp:1857
      #7 0x00000000004079ba in NorwegianWoodStyle::polish (this=0x86f760, palette=...)
      at /home/tcooksey/Projects/Qt/4.7/examples/widgets/styles/norwegianwoodstyle.cpp:58
      #8 0x00007ffff6fdf2ef in QApplicationPrivate::setPalette_helper (palette=..., className=0x0, clearWidgetPaletteHash=false)
      at /home/tcooksey/Projects/Qt/4.7/src/gui/kernel/qapplication.cpp:1730
      #9 0x00007ffff6fde9d8 in QApplication::setStyle (style=0x86f760) at /home/tcooksey/Projects/Qt/4.7/src/gui/kernel/qapplication.cpp:1467
      #10 0x000000000040b96d in WidgetGallery::changeStyle (this=0x7fffffffde50, styleName=...)
      at /home/tcooksey/Projects/Qt/4.7/examples/widgets/styles/widgetgallery.cpp:120
      #11 0x000000000040b8a4 in WidgetGallery (this=0x7fffffffde50, parent=0x0) at /home/tcooksey/Projects/Qt/4.7/examples/widgets/styles/widgetgallery.cpp:111
      #12 0x00000000004076ea in main (argc=1, argv=0x7fffffffe058) at /home/tcooksey/Projects/Qt/4.7/examples/widgets/styles/main.cpp:51

      Attachments

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

        Activity

          People

            tcooksey Tom Cooksey
            tcooksey Tom Cooksey
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes