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

Crash with wrong argument type in embedded application

    XMLWordPrintable

Details

    • 2149a45fddeedea317dccbfe5e5b14e13888e5c9 (pyside/pyside-setup/dev) f83bd5cb4c9f2075b9e7a9dcf9046a9c6c489d7a (pyside/pyside-setup/6.2) a0ef585ef7 (pyside/tqtc-pyside-setup/5.15)

    Description

      Attached is modified scriptableapplication with a function taking a QSharedPointer. If None is passed to the function, the application crashes in:

      #0  0x00007ffff734ae70 in SetError_Argument () from /home/user/local/lib/python3.5/site-packages/shiboken2/libshiboken2.abi3.so.5.15
      #1  0x0000000000422940 in Sbk_MainWindowFunc_setPointer (self=0x7fffb0026c88, pyArg=0x7ffff7047300 <_Py_NoneStruct>)
          at /scriptableapplication/build/AppLib/mainwindow_wrapper.cpp:1817
      #2  0x00007ffff6c0c0d5 in PyEval_EvalFrameEx () from /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0
      #3  0x00007ffff6c9cc6c in ?? () from /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0
      

      Attachments

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

        Activity

          People

            ctismer Christian Tismer
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: