Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-3144

When specifying typedef-type in bindings.xml segmentation fault occurs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 6.9.1
    • Shiboken
    • None
    • Linux/X11
    • 37b011fce (dev), fa6828700 (6.9), d33782136 (tqtc/lts-6.8)
    • All

    Description

      I am trying to specify more advanced bindings.

      <?xml version="1.0" encoding="UTF-8"?>
      <typesystem package="pyqmaplibre">
          <load-typesystem name="typesystem_openglwidgets.xml" generate="no"/>
          <typedef-type name="Coordinate" source="QPair&lt;double,double&gt;"/>
      </typesystem>
      

      Any variant having a typedef causes a segmentation fault.

      Thread 1 "shiboken6" received signal SIGSEGV, Segmentation fault.
      AbstractMetaBuilderPrivate::traverseTypesystemTypedefs (this=this@entry=0x555555977420) at /home/skinkie/Sources/pyside-pyside-setup/sources/shiboken6/ApiExtractor/abstractmetabuilder.cpp:1077
      1077	            sourceType.setTypeEntry(metaClass->templateBaseClass()->typeEntry());
      
      (gdb) p metaClass->templateBaseClass()
      $2 = std::shared_ptr<const AbstractMetaClass> (empty) = {get() = 0x0}
      

      Attachments

        For Gerrit Dashboard: PYSIDE-3144
        # Subject Branch Project Status CR V

        Activity

          People

            kleint Friedemann Kleint
            skinkie Stefan de Konink
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: