stack overflow exception calling stepSimulation

Misterblue
Posts: 14
Joined: Wed Apr 28, 2010 3:09 pm

stack overflow exception calling stepSimulation

Post by Misterblue »

I'm using Bullet 2.74 under Windows 7 and I periodically get stack overflow exceptions when calling stepSimulation.

After loading my objects into Bullet, I don't move or change anything and let the world just sit there (there is no physics going on in the world) calling stepSimulation about 11 times a second with the parameters (1/11, 10, 1/60). After a while (5 minutes) the cpu time will shoot up and I get a stack overflow exception out of stepSimulation.

Does this ring a bell with anyone? What could be accumulating between calls to stepSimulation?

-- mb