Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-11173

Crashes when using through X11 forwarding

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: Qt Creator 3.0.0
    • Fix Version/s: None
    • Component/s: All Other Issues
    • Labels:
      None
    • Environment:
      Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux
      X.Org 7.7

      Description

      Qt Creator 3.0.0 binary build for Linux 64 bit does not work through standard X11 forwarding, as old versions used to.

      Qt 4.x supported options like "-graphicssystem native" which provided UI performance compared to local program execution, but these options together with native and fast renderer were removed from Qt 5.0

      I could expect that program would just lag and freeze as usual on some software rendering, but it just crashes with multiple lines like

      QOpenGLShader: could not create shader
      QOpenGLShaderProgram: could not create shader program
      QOpenGLShader: could not create shader
      QOpenGLShaderProgram::uniformLocation( imageTexture ): shader program is not linked
      QOpenGLShader: could not create shader

      Backtrace:
      /home/fireballdark/bin/qtcreator/lib/qtcreator/plugins/QtProject/../../libQt5Quick.so.5(_ZN16QSGBatchRenderer8Renderer17renderMergedBatchEPKNS_5BatchE+0x1d5)[0x7fc6318485b5]
      /home/fireballdark/bin/qtcreator/lib/qtcreator/plugins/QtProject/../../libQt5Quick.so.5(_ZN16QSGBatchRenderer8Renderer13renderBatchesEv+0x2b5)[0x7fc63184a075]
      /home/fireballdark/bin/qtcreator/lib/qtcreator/plugins/QtProject/../../libQt5Quick.so.5(_ZN16QSGBatchRenderer8Renderer6renderEv+0x31a)[0x7fc63184f23a]
      /home/fireballdark/bin/qtcreator/lib/qtcreator/plugins/QtProject/../../libQt5Quick.so.5(_ZN11QSGRenderer11renderSceneERK11QSGBindable+0x179)[0x7fc631858b09]
      /home/fireballdark/bin/qtcreator/lib/qtcreator/plugins/QtProject/../../libQt5Quick.so.5(_ZN11QSGRenderer11renderSceneEv+0x17)[0x7fc631858c27]
      /home/fireballdark/bin/qtcreator/lib/qtcreator/plugins/QtProject/../../libQt5Quick.so.5(_ZN16QSGRenderContext15renderNextFrameEP11QSGRendererj+0x68)[0x7fc631867a98]
      /home/fireballdark/bin/qtcreator/lib/qtcreator/plugins/QtProject/../../libQt5Quick.so.5(_ZN19QQuickWindowPrivate16renderSceneGraphERK5QSize+0x1da)[0x7fc6318a315a]
      /home/fireballdark/bin/qtcreator/lib/qtcreator/plugins/QtProject/../../libQt5Quick.so.5(+0x15d2bc)[0x7fc6318832bc]
      /home/fireballdark/bin/qtcreator/lib/qtcreator/plugins/QtProject/../../libQt5Quick.so.5(+0x15da68)[0x7fc631883a68]
      /home/fireballdark/bin/qtcreator/bin/../lib/qtcreator/libQt5Core.so.5(+0x99f38)[0x7fc643dd7f38]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x6b50)[0x7fc643b28b50]
      /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7fc643355a7d]

      It tries to show main window, though, I can see buttons like "run program" and menu bar before the crash.
      Is it OK for non-gaming software to depend on some OpenGL shaders and not use native way of rendering?

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              lagocs Laszlo Agocs
              Reporter:
              fireballdark Vasyl Diakonov
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes