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

qdoc segfaults on x86_64 builds

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.3.0
    • 5.2.0
    • Build tools: qdoc
    • None

    Description

      Since 5.2.0 qdoc segfaults on 64bit Intel architectures; output (with debugging on):
      ...
      DEBUG: "Writing: ../html/qmlmodule.html"
      String
      qdoc: warning: No documentation for 'global'
      Segmentation fault

      gdb:
      Program terminated with signal 11, Segmentation fault.
      #0 0x000000000047f544 in generateInnerNode (node=0x2283fa8, this=0x7fffc4362390) at generator.cpp:1018
      (gdb) info loc
      marker = <optimized out>
      c = {i = 0x22ce408}
      (gdb) bt
      #0 0x000000000047f544 in generateInnerNode (node=0x2283fa8, this=0x7fffc4362390) at generator.cpp:1018
      #1 Generator::generateInnerNode (this=0x7fffc4362390, node=0x2283fa8) at generator.cpp:966
      #2 0x00000000004b3d74 in HtmlGenerator::generateTree (this=0x7fffc4362390) at htmlgenerator.cpp:276
      #3 0x00000000004be686 in processQdocconfFile (fileName=...) at main.cpp:515
      #4 0x0000000000411a5f in main (argc=2, argv=<optimized out>) at main.cpp:669

      Segfaults on attempt to access memory pointed by (*c):
      https://qt.gitorious.org/qt/qtbase/source/b4c28856f16c164a5a774722a379bbe34a45527c:src/tools/qdoc/generator.cpp#L1018

      The line:
      qdoc: warning: No documentation for 'global'
      is not present in pre 5.2.0 versions.

      (that line is present also in x86_32 5.2.0 builds, but no segfault happens)

      Attachments

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

        Activity

          People

            gbk Martin Smith (Qt)
            sledge Simonas Leleiva
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes