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

Shiboken crashes with invalid signature

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Not Evaluated Not Evaluated
    • 5.15.2
    • 5.15.0
    • Shiboken
    • None

      Calling a function with the wrong arguments, and one of them is a QSharedPointer cause shiboken to crash.

      Looks like the parser py is trying to find a type for the  `MyModule.QSharedPointer ` and that does not exist in python.  

      Some error messages appear on the terminal before the crash. 

      Err: "/tmp/embedded.xygx0445.zip/shibokensupport/signature/parser.py:196: RuntimeWarning: pyside_type_init:
      
      UNRECOGNIZED: 'MyModule.QSharedPointer'
       OFFENDING LINE: 'MyModule.Type.dataSet(pipeline:MyModule.Namespace.QSharedPointer[MyModule.Namespace.MyType],index:int)
         ->MyModule.Namespace.QSharedPointer[MyModule.Namespace.MyType]'
      

        1. qsharedpointer_shiboken.tar.gz
          25 kB
          Alex March
        2. pyside1367.zip
          4 kB
          Friedemann Kleint
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            ctismer Christian Tismer
            renatofilho renato araujo oliveira filho
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes