Open dxyzx0 opened 1 year ago
You might take a look at #105 . I spent a good amount of time trying to run this down. The bug was introduced when trying to fix a memory leak and undoing that fix makes this bug go away, but that is not a long-term fix. It's not clear to me what the right fix is, but you can have a look at the situation. I assume this is what you're running into.
Thanks. Comment this line in the generated cpp file fixs the problem.
result = PyEval_EvalFrameEx(f,0);
++tstate->recursion_depth;
// Py_DECREF(f);
--tstate->recursion_depth;
Yes, just be aware that this introduces a memory leak, which may or may not affect your use case.
I'm trying to run the example
But it gives the log
However, if I comment the code which changes pivoting rules, the result is fine. I have tried to change my python version in
3.7-3.9
and Cylp0.91.4-0.91.5
and all other pivoting rules, but all of them gives the same result.Here is my environment:
My OS is:
Ubuntu 22.04.2 LTS