Page 2 of 2

Re: Hello World example crashes

Posted: Sat Feb 11, 2017 4:29 pm
by ed_welch
Sorry, to re-animate a dead thread.
I've just come across the deadly "Access violation reading location" when calling addRigidBody. In my case it's because I'm using a debug version of my app linked to a release version of bullet. Using a debug app with a debug dll might seem to be the solution, except that the release build of Bullet is already too slow. The debug build of Bullet is even slower, to the point that it seriously slows down development of my game.

Re: Hello World example crashes

Posted: Mon Feb 13, 2017 12:34 pm
by ed_welch
Finally, I figured out what it was. If you use "Visual Leak Detector" (https://vld.codeplex.com/) in conjunction with bullet physics you will get "Access violation reading location" messages.