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

xml validation crashes

    XMLWordPrintable

Details

    • Linux/X11, Windows
    • 089bdc0fcc1d87c6f5fe0835a4f723a6677e9a01

    Description

      Please check the attached application, XML validator crashes when checking key-constraints to attribute values of type union with the following segfault crash log:

      1   QPatternist::XsdSchemaHelper::constructAndCompare                                                                                                                qxsdschemahelper.cpp             521  0x7ffff7c01a82 
      2   QPatternist::FieldNode::isEqualTo                                                                                                                                qxsdidchelper.cpp                73   0x7ffff7bbae0f 
      3   QPatternist::TargetNode::fieldsAreEqual                                                                                                                          qxsdidchelper.cpp                118  0x7ffff7bbb00f 
      4   QPatternist::XsdValidatingInstanceReader::validateUniqueIdentityConstraint                                                                                       qxsdvalidatinginstancereader.cpp 971  0x7ffff7c7f134 
      5   QPatternist::XsdValidatingInstanceReader::validateKeyIdentityConstraint                                                                                          qxsdvalidatinginstancereader.cpp 997  0x7ffff7c7f48d 
      6   QPatternist::XsdValidatingInstanceReader::validateIdentityConstraint                                                                                             qxsdvalidatinginstancereader.cpp 942  0x7ffff7c890ea 
      7   QPatternist::XsdValidatingInstanceReader::read                                                                                                                   qxsdvalidatinginstancereader.cpp 153  0x7ffff7c89523 
      8   QXmlSchemaValidator::validate                                                                                                                                    qxmlschemavalidator.cpp          215  0x7ffff7a5b655 
      9   QXmlSchemaValidator::validate                                                                                                                                    qxmlschemavalidator.cpp          161  0x7ffff7a5bc25 
      10  <lambda()>::operator()(void) const                                                                                                                               main.cpp                         18   0x4012b1       
      11  QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, main(int, char * *)::<lambda()>>::call(<lambda()> &, void * *)                         qobjectdefs_impl.h               146  0x40162b       
      12  QtPrivate::Functor<main(int, char * *)::<lambda()>, 0>::call<QtPrivate::List<>, void>(<lambda()> &, void *, void * *)                                            qobjectdefs_impl.h               256  0x4015fd       
      13  QtPrivate::QFunctorSlotObject<main(int, char * *)::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void * *, bool *) qobjectdefs_impl.h               439  0x4015cb       
      14  QtPrivate::QSlotObjectBase::call                                                                                                                                 qobjectdefs_impl.h               394  0x7ffff7673220 
      15  QSingleShotTimer::timerEvent                                                                                                                                     qtimer.cpp                       318  0x7ffff7673220 
      16  QObject::event                                                                                                                                                   qobject.cpp                      1241 0x7ffff7666975 
      17  QCoreApplicationPrivate::notify_helper                                                                                                                           qcoreapplication.cpp             1220 0x7ffff76341e5 
      18  doNotify                                                                                                                                                         qcoreapplication.cpp             1150 0x7ffff7634273 
      19  QCoreApplication::notify                                                                                                                                         qcoreapplication.cpp             1136 0x7ffff76343e7 
      20  QCoreApplication::notifyInternal2                                                                                                                                qcoreapplication.cpp             1060 0x7ffff763433c 
      ... <More>                                                                                                                                                                                                                
      

      Same happens with: /opt/qt5.12.3/5.12.3/gcc_64/bin/xmlpatternsvalidator Qt application.

      Attachments

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

        Activity

          People

            ulherman Ulf Hermann
            karimpinter Karim Pinter (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes