This project has moved and is read-only. For the latest updates, please go here.

Asssertion failed when attaching to a process

Nov 9, 2013 at 9:55 PM
Edited Nov 9, 2013 at 10: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 11: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.