Asssertion failed when attaching to a process

Nov 9, 2013 at 8:55 PM
Edited Nov 9, 2013 at 9:06 PM
I am using python tools to develop a python plugin interface for blender. When I attach to the process I get an error from the python interpreter embedded in blender.

The error says: Assertion failed: oldstate == PyGILState_UNLOCKED.

I ran this plugin some time ago and it worked with blender.

The project is in c/c++ and python and I have to used mixed mode debugging.
Nov 9, 2013 at 10:37 PM
The debugger itself does not do anything with GIL - not even read it - so it would be quite surprising if merely attaching it would have such an effect.

Can you provide the call stack at the point where assertion happens? Clicking "Retry" in the assert dialog should break into debugger.