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

qsb crashes when building Qt in specific conditions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.4.0 Beta4
    • Qt Shader Tools
    • None

    Description

      I build Qt and at times I run reprotest with which build crashes sometimes. I know that there is no plan to achieve reproducible build in Qt but this crash is still a bit annoying and may reveal a problem somewhere.

      FYI reprotest applies various changes to the build environment before starting the build. So the build environment could be unusual.

      Unfortunately, sometimes it crashes with a segmentation fault and while not always on the same command, it is always on the first call to qsb (or one of the first calls).

      How can I provide you more info on that crash given that it happens during build on server. Any additional flag to add to track that segfault and report you the log? I already know the commands that are implied, but have no idea on how to get more info.

      I face this since since the beginning of Qt6, so this is not new.

       

      Extract of build log:

      [1890/4822] cd /tmp/reprotest.sSYgHN/build-experiment-1/build-experiment-1/debian/build-host/qtdeclarative/src/quick && /tmp/reprotest.sSYgHN/build-experiment-1/build-experiment-1/debian/build-host/qtbase/lib/qt-android-6.4-host/bin/qsb --glsl 100es,120,150 --hlsl 50 --msl 12 -b -O -s -o /tmp/reprotest.sSYgHN/build-experiment-1/build-experiment-1/debian/build-host/qtdeclarative/src/quick/.qsb/scenegraph/shaders_ng/8bittextmask.frag.qsb /tmp/reprotest.sSYgHN/build-experiment-1/build-experiment-1/qtdeclarative/src/quick/scenegraph/shaders_ng/8bittextmask.frag
      FAILED: qtdeclarative/src/quick/.qsb/scenegraph/shaders_ng/8bittextmask.frag.qsb /tmp/reprotest.sSYgHN/build-experiment-1/build-experiment-1/debian/build-host/qtdeclarative/src/quick/.qsb/scenegraph/shaders_ng/8bittextmask.frag.qsb 
      cd /tmp/reprotest.sSYgHN/build-experiment-1/build-experiment-1/debian/build-host/qtdeclarative/src/quick && /tmp/reprotest.sSYgHN/build-experiment-1/build-experiment-1/debian/build-host/qtbase/lib/qt-android-6.4-host/bin/qsb --glsl 100es,120,150 --hlsl 50 --msl 12 -b -O -s -o /tmp/reprotest.sSYgHN/build-experiment-1/build-experiment-1/debian/build-host/qtdeclarative/src/quick/.qsb/scenegraph/shaders_ng/8bittextmask.frag.qsb /tmp/reprotest.sSYgHN/build-experiment-1/build-experiment-1/qtdeclarative/src/quick/scenegraph/shaders_ng/8bittextmask.frag
      Segmentation fault (core dumped)
       

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            ban F S
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes