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

"make docs" segfaults in current 4.7 git branch

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.7.0
    • 4.7.0
    • Documentation
    • None
    • Linux 2.6.33, eglibc 2.11.1, gcc 4.4.3
    • f471b125c04a559c6e76bb69b2875bddf01ed2f6 9c44d272a924f4458a3f18ac13fd2e480042d481

    Description

      After building current 4.7 branch, running make doc results in

      [...]
      /usr/src/ark/BUILD/qt/src/declarative/graphicsitems/qdeclarativeitem.cpp:621: Cannot link to 'Qt::Key' in Keys
      QmlClassNode::subclasses(): 36 "Item" subs: 36
      Generator::appendSortedQmlNames(): "Item" is inherited by...
           "FocusPanel"
           "Flickable"
           "Image"
           "Rectangle"
           "BorderImage"
           "MouseArea"
           "Text"
           "Flow"
           "Grid"
           "Row"
           "Column"
           "PathView"
           "Loader"
           "FocusScope"
           "Particles"
           "Repeater"
           "Flipable"
      /bin/sh: line 1: 25059 Segmentation fault      QT_BUILD_TREE=/usr/src/ark/BUILD/qt QT_SOURCE_TREE=/usr/src/ark/BUILD/qt /usr/src/ark/BUILD/qt/bin/qdoc3 qt-api-only.qdocconf assistant.qdocconf designer.qdocconf linguist.qdocconf qmake.qdocconf qdeclarative.qdocconf
      make: *** [qch_docs] Error 139
      

      gdb says:

      Program received signal SIGSEGV, Segmentation fault.
      QString (this=0xd0b1980, string=...)
          at ../../include/QtCore/../../src/corelib/tools/qstring.h:727
      727     { Q_ASSERT(&other != this); d->ref.ref(); }
      (gdb) bt
      #0  QString (this=0xd0b1980, string=...)
          at ../../include/QtCore/../../src/corelib/tools/qstring.h:727
      #1  QTextStreamPrivate::putString (this=0xd0b1980, string=...)
          at io/qtextstream.cpp:964
      #2  QTextStream::operator<< (this=0xd0b1980, string=...)
          at io/qtextstream.cpp:2524
      #3  0x00000000004751ab in QDebug::operator<< (this=<value optimized out>,
          text=<value optimized out>, base=<value optimized out>, subs=...,
          marker=<value optimized out>)
          at ../../include/QtCore/../../src/corelib/io/qdebug.h:112
      #4  Generator::appendSortedQmlNames (this=<value optimized out>,
          text=<value optimized out>, base=<value optimized out>, subs=...,
          marker=<value optimized out>) at generator.cpp:1199
      #5  0x00000000004926f4 in HtmlGenerator::generateQmlInheritedBy (
          this=0x7fffffffd4f0, cn=0x2041e70, marker=0x7fffffffdd70)
          at htmlgenerator.cpp:4353
      #6  0x00000000004a0b8f in HtmlGenerator::generateFakeNode (this=0x7fffffffd4f0,
          fake=0x2041e70, marker=<value optimized out>) at htmlgenerator.cpp:1539
      #7  0x00000000004d30db in PageGenerator::generateInnerNode (
          this=0x7fffffffd4f0, node=0x2041e70, marker=0x7fffffffdd70)
          at pagegenerator.cpp:224
      #8  0x00000000004d3094 in PageGenerator::generateInnerNode (
          this=0x7fffffffd4f0, node=0x3ca7700, marker=0x7fffffffdd70)
          at pagegenerator.cpp:232
      #9  0x00000000004add43 in HtmlGenerator::generateTree (this=0x7fffffffd4f0,
          tree=<value optimized out>, marker=<value optimized out>)
          at htmlgenerator.cpp:365
      #10 0x00000000004c4c53 in processQdocconfFile (fileName=<value optimized out>)
          at main.cpp:340
      #11 0x00000000004c70bc in main (argc=7, argv=<value optimized out>)
          at main.cpp:470
      

      Attachments

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

        Activity

          People

            gbk Martin Smith (Qt)
            bero Bernhard Rosenkränzer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes