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

crash with long dependency name

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 2.1.0, 2.0.2
    • General
    • None
    • Windows

    Description

      Hello,

       

      we use since many years qbs.

      i found a crash (ACCESS_VIOLATION) since version 2.x .

       


      command is:

      D:\home2\psw-61\dbplus\Db: D:\home2\psw-61\parity-devenv\qtcreator-11.0.2\bin\qbs.exe build -p rpcgen --settings-dir D:\home2\psw-61 --build-directory D:\home2\psw-61\builds\qtdevenv_652_windows_x64_release\Db --log-level info --command-echo-mode summary profile:qtdevenv_652_windows_x64_release buildVariant:release config:release failed with exit code: 3221225477

      (3221225477 == 0xC0000005  ->  ACCESS_VIOLATION)


      qbs-source-code for this command is:

      Product {
        type: 'dbplus_application' // siehe Auslieferung.qbs

        Depends

      {     name: 'cpp'   }

        Depends

      {     name: 'dbplus'   }

        Depends {
          name: 'auslieferung'
        }

        consoleApplication: true
      }


      so i tested for the reason of crash, after some analyzing i have a result.

      the length of name of the dependency crashes the qbs-build-process.

      because, following qbs-source-code works fine:

      Product {
        type: 'dbplus_application' // siehe Auslieferung.qbs

        Depends

      {     name: 'cpp'   }

        Depends

      {     name: 'dbplus'   }

        Depends {
          name: 'auslief'
        }

        consoleApplication: true
      }


      the content of dependent module doesn't matter. i tried source-code and an empty file and some other test cases. it doesn't matter if the file exists too.

      Only the change i showed you here, changed the result of the build.

       

       

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            guido Guido Heintz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes