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

gcc segfault in qmetatype

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P1: Critical
    • Resolution: Unresolved
    • Affects Version/s: 6.0.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Ubuntu 18.04
      gcc 7.5

      Description

      Unable to build Controls2 due to a segfault when building qquicktabbutton

       

      In file included from /opt/jenkins/workspace/qmlbench_dev/209/qtbase/include/QtCore/qmetatype.h:1:0,
                       from /opt/jenkins/workspace/qmlbench_dev/209/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:54,
                       from /opt/jenkins/workspace/qmlbench_dev/209/qtbase/include/QtCore/qobject.h:1,
                       from /opt/jenkins/workspace/qmlbench_dev/209/qtbase/include/QtCore/../../src/corelib/animation/qabstractanimation.h:43,
                       from /opt/jenkins/workspace/qmlbench_dev/209/qtbase/include/QtCore/qabstractanimation.h:1,
                       from /opt/jenkins/workspace/qmlbench_dev/209/qtbase/include/QtCore/QtCore:6,
                       from /opt/jenkins/workspace/qmlbench_dev/209/qtbase/include/QtQuickTemplates2/QtQuickTemplates2Depends:3:
      /opt/jenkins/workspace/qmlbench_dev/209/qtbase/include/QtCore/../../src/corelib/kernel/qmetatype.h: In instantiation of ‘static QMetaType QMetaType::fromType() [with T = QPointingDeviceUniqueId*]’:
      /opt/jenkins/workspace/qmlbench_dev/209/qtbase/include/QtCore/../../src/corelib/kernel/qmetatype.h:1724:54:   required from ‘int qRegisterNormalizedMetaType(const QByteArray&, T*, typename QtPrivate::MetaTypeDefinedHelper<T, (QMetaTypeId2<T>::Defined && (! QMetaTypeId2<T>::IsBuiltIn))>::DefinedType) [with T = QPointingDeviceUniqueId*; typename QtPrivate::MetaTypeDefinedHelper<T, (QMetaTypeId2<T>::Defined && (! QMetaTypeId2<T>::IsBuiltIn))>::DefinedType = QtPrivate::MetaTypeDefinedHelper<QPointingDeviceUniqueId*, true>::DefinedType]’
      /opt/jenkins/workspace/qmlbench_dev/209/qtbase/include/QtCore/../../src/corelib/kernel/qmetatype.h:1751:42:   required from ‘int qRegisterMetaType(const char*, T*, typename QtPrivate::MetaTypeDefinedHelper<T, (QMetaTypeId2<T>::Defined && (! QMetaTypeId2<T>::IsBuiltIn))>::DefinedType) [with T = QPointingDeviceUniqueId*; typename QtPrivate::MetaTypeDefinedHelper<T, (QMetaTypeId2<T>::Defined && (! QMetaTypeId2<T>::IsBuiltIn))>::DefinedType = QtPrivate::MetaTypeDefinedHelper<QPointingDeviceUniqueId*, true>::DefinedType]’
      /opt/jenkins/workspace/qmlbench_dev/209/qtbase/include/QtQuick/6.0.0/QtQuick/private/../../../../../../qtdeclarative/src/quick/items/qquickevents_p_p.h:712:1:   required from here
      /opt/jenkins/workspace/qmlbench_dev/209/qtbase/include/QtCore/../../src/corelib/kernel/qmetatype.h:2852:1: internal compiler error: Segmentation fault
       }
       ^
      
      Please submit a full bug report,
      with preprocessed source if appropriate.
      See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
      Makefile:68774: recipe for target '.obj/qquicktabbutton.o' failed
      make[2]: *** [.obj/qquicktabbutton.o] Error 1
      

        Attachments

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

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            daniel.smith Daniel Smith
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes