Menu

Thread termination leads to FATAL Error in catch all blocks

2018-06-22
2018-06-25
  • Joerg Kreuzberger

    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.

     
  • Joerg Kreuzberger

    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

     
  • Florian Link

    Florian Link - 2018-06-25

    I added the patch to the trunk.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.