lib++abi unexpectedly quits on Mac OS13.1

I am running a complex robot platform built with Python3.9 on a Mac OS Ventura13.1. So far this has been working fine but due to Ventura I had to update Xcode to version 14.2 and now it crashes on lib++abi, which I believe comes with Xcode14.2:

libc++abi: terminating

I read that this library may raise exceptions that are not caught. Since it is complex code with many layers and dependencies I do not know where it is called and how to fix it.

lib++abi unexpectedly quits on Mac OS13.1
 
 
Q