Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1048

qbs install segmentation fault

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 1.7.0
    • General
    • None
    • Fedora rawhide x86_64, qt-creator-4.2.0-0.2.beta1.fc26.x86_64

    Description

      As reported downstream [1], qbs install results in a segmentation fault.

      To reproduce on a Fedora system:

      wget http://pkgs.fedoraproject.org/repo/pkgs/qutim/qutim.git.54a28a4.tar.xz/e39f1763d61ade61c22d3c877046fe4c/qutim.git.54a28a4.tar.xz
      tar xvf qutim.git.54a28a4.tar.xz
      cd qutim.54a28a4
      
      rm -rf src/plugins/integrations/indicator
      sed -i 's#"indicator/indicator.qbs",##g' src/plugins/integrations/integrations.qbs
      sed -i 's#libraryNames: \[ "hunspell" , "hunspell-1.2", "hunspell-1.3" \]#libraryNames: [ "hunspell" , "hunspell-1.2", "hunspell-1.3", "hunspell-1.4" ]#' qbs/modules/hunspell/hunspell.qbs src/plugins/generic/docktile/qtdocktile/qbs/modules/hunspell/hunspell.qbs
      sed -i 's#cpp\.dynamicLibraries: \["hunspell"\]#cpp.dynamicLibraries: ["hunspell-1.4"]#' src/plugins/generic/hunspeller/hunspeller.qbs
      qbs setup-qt /usr/bin/qmake-qt5 qutim-build-qt
      qbs build -d qbs.builddir profile:qutim-build-qt
      
      # This command results in a segmentation fault
      qbs install -d qbs.builddir --no-build --install-root $PWD/dist profile:qutim-build-qt
      

      Attached are gdb stacktrace and valgrind output.

      [1] https://bugzilla.redhat.com/show_bug.cgi?id=1396760

      Attachments

        1. gdb.txt
          8 kB
        2. valgrind.log
          5 kB

        Issue Links

          Activity

            People

              kandeler Christian Kandeler
              smani Sandro Mani
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: