While investigating #12 I found a number of probably reference leaks, both direct and by exception unsafe code. A partial fix is https://github.com/mdavidsaver/masarService/commits/master. Unfortunately this exposed some subtle issue resulting in corruption of the internal free list used by PyObject_Malloc() when called from PyCapsule_New() which I don't yet understand I think this is a use-after-free involving the unsafe use of PyCapsule in "cpp/src/python/*Py.cpp".
While investigating #12 I found a number of probably reference leaks, both direct and by exception unsafe code. A partial fix is https://github.com/mdavidsaver/masarService/commits/master. Unfortunately this exposed some subtle issue resulting in corruption of the internal free list used by PyObject_Malloc() when called from PyCapsule_New() which I don't yet understand I think this is a use-after-free involving the unsafe use of PyCapsule in "cpp/src/python/*Py.cpp".