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

Product inside a Product causes segfault

    XMLWordPrintable

Details

    Description

      import qbs.base 1.0
      
      Project {
          Product {
              Product {
              }
          }
      }
      #0  0x080d0f21 in QList<QWeakPointer<qbs::Scope> >::QList (this=0xbfffd69c, l=...) at /usr/include/qt4/QtCore/qlist.h:122
      #1  0x080c7d35 in QForeachContainer<QList<QWeakPointer<qbs::Scope> > const>::QForeachContainer (this=0xbfffd69c, t=...)
          at /usr/include/qt4/QtCore/qglobal.h:2346
      #2  0x080a0f64 in qbs::ScopeChain::find (this=0x0, name=...) at language/loader.cpp:215
      #3  0x080a6c13 in qbs::Loader::resolveInheritance (this=0xbfffe9bc, object=0x8230f48, evaluationObject=0x82ab168, moduleScope=..., 
          userProperties=...) at language/loader.cpp:820
      #4  0x080ab8b4 in qbs::Loader::fillEvaluationObject (this=0xbfffe9bc, scope=..., object=0x82310d0, ids=..., evaluationObject=0x81f45f0, 
          userProperties=...) at language/loader.cpp:1175
      #5  0x080c2614 in qbs::Loader::resolveTopLevel (this=0xbfffe9bc, rproject=..., object=0x82310d0, projectFileName=..., projectData=0xbfffe5e8, 
          globalRules=0xbfffe5f0, globalFileTaggers=0xbfffe5ec, userProperties=..., scope=..., dummyModule=...) at language/loader.cpp:3089
      #6  0x080c1efe in qbs::Loader::resolveTopLevel (this=0xbfffe9bc, rproject=..., object=0x81f5e18, projectFileName=..., projectData=0xbfffe5e8, 
          globalRules=0xbfffe5f0, globalFileTaggers=0xbfffe5ec, userProperties=..., scope=..., dummyModule=...) at language/loader.cpp:3042
      #7  0x080b4831 in qbs::Loader::resolveProject (this=0xbfffe9bc, projectFile=..., buildDirectoryRoot=..., userProperties=..., 
          resolveProductDependencies=true) at language/loader.cpp:1885
      #8  0x080911be in Qbs::SourceProject::loadProjectCommandLine (this=0xbffff084, projectFileName=..., buildConfigs=...) at Qbs/sourceproject.cpp:367
      #9  0x0805c833 in main (argc=2, argv=0xbffff3e4) at main.cpp:165

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            orgads Orgad Shaneh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes