aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts/platforms/unix.py
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2020-04-08 14:46:03 +0200
committerChristian Tismer <tismer@stackless.com>2020-04-08 17:07:43 +0200
commit52299827c64cccc1456f9050fdf3dd8596df3e6f (patch)
tree314bc40d5eaf3a792fa2a2bb10be1e2e60631e68 /build_scripts/platforms/unix.py
parent4fc3a3ac713cdde1453619ecf1116604c36d82b5 (diff)
shiboken: Fix race condition with unprotected Py_INCREFs
The signalmanager module contains a PyObjectWrapper object into which PySide::SignalManager::qt_metacall calls via many hard-to-track indirections. Finding this problem was quite tricky. It was done by modifying the Py_INCREF and Py_DECREF macros of a debug Python interpreter and using the new PyGILState_Check function to provoke a crash if the GIL was not held. See the online documentation for details. Change-Id: Ida8246c97dcf6443ff057d206a42d22e462f1913 Fixes: PYSIDE-813 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'build_scripts/platforms/unix.py')
0 files changed, 0 insertions, 0 deletions