Thread termination leads to FATAL Error in catch all blocks
Dynamic Python binding for Qt Applications
Brought to you by:
florianlink,
marcusbarann
Hi!
In PythonQtSlot.cpp there is an catch(...) section. This leads to an FATAL error cause on thread termination the abi::__forced_unwind exception is thrown on linux.
There for you have to
- rethrow the exeception and handle it in the catch expressions
- rethrow the the exception in the catch(...) block.
Attached is a patch to catch the exception in a proper way.
This is very helpful if you have to release the GIL in a proper way on thread termination
I added the patch to the trunk.