Short description of error
When the BGE yields control to a python script, and KX_Scene.addObject() is called, Blender/Blenderplayer crashes due to an access violation.
Exact steps for others to reproduce the error
Open the attached .blend and start the game engine. Blender will immediately crash.
This blend makes use the BGE's ability to give python control of the main loop (see scene properties), and this crash only occurs when this is the case. Calling KX_Scene.addObject from a python controller node works as expected.