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

moc segmentation fault - due to QList changes?

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P0: Blocker
    • 4.7.0
    • 4.7.0
    • Build tools: moc
    • None
    • Qt 4.7, 82991e40afd46f91de42dec048df705441b6b0cf

      gcc 4.3.1, OpenSuSE 11.0 (32 bit)
    • 9bf056e3f759ef87aca9c1f481ac3fb28e6599b9, 3813e236a8f48babaa850123e3a2a04e80713219

    Description

      When attempting to compile with this command:

      ./configure -platform linux-g++-32 -opensource -confirm-license -nomake demos -nomake examples -no-webkit -no-pch -prefix $PWD/_install -silent && make -s -j25 && make -s install

      moc segfaults when processing some headers, e.g. src/corelib/animation/qabstractanimation.h .

      Valgrind log is attached.

      Two things which give some clue as to what code causes the problem:

      • Checking out qlist from a month ago fixes the problem, e.g. git checkout 7134f8b25a7a69960767280f9c23981b08d8e68b – src/corelib/tools/qlist*
      • The problem also goes away if Qt is configured with -nokia-developer (note: this seems to be how it is getting past the quality gate)

      Attachments

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

        Activity

          People

            buddenha Oswald Buddenhagen
            rmcgover Rohan McGovern (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes