Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.15.7
-
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
For Gerrit Dashboard: PYSIDE-1710 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
381957,3 | WIP: fix error handling when embedding an app | tqtc/lts-5.15 | pyside/tqtc-pyside-setup | Status: ABANDONED | 0 | 0 |
382194,2 | shiboken: fix error handling when embedding an app | dev | pyside/pyside-setup | Status: ABANDONED | 0 | 0 |
382329,3 | signature: improve error handling for embedded applications | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
382330,2 | scriptable: make it work by default on macOS, too | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
382392,2 | scriptable: make it work by default on macOS, too | 6.2 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
382393,2 | scriptable: make it work by default on macOS, too | tqtc/lts-5.15 | pyside/tqtc-pyside-setup | Status: MERGED | +2 | 0 |
382406,2 | signature: improve error handling for embedded applications | 6.2 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
382527,5 | signature: improve error handling for embedded applications | tqtc/lts-5.15 | pyside/tqtc-pyside-setup | Status: MERGED | +2 | 0 |