Search found 3 matches

by mrrolf
Mon Jul 15, 2019 4:37 pm
Forum: General Bullet Physics Support and Feedback
Topic: Heap Corruption?
Replies: 4
Views: 721

Re: Heap Corruption?

Hopefully this will save someone else some time.

I was solely debugging in Visual Studio.
by mrrolf
Mon Jul 15, 2019 3:28 am
Forum: General Bullet Physics Support and Feedback
Topic: Heap Corruption?
Replies: 4
Views: 721

Re: Heap Corruption?

Ok, I was finally able to get to the bottom of the issue. In the BulletCollision, BulletDynamics and LinearMath .vcproj files it defines 'BT_USE_DOUBLE_PRECISION'. This causes scalars to use doubles instead of floats. In the solution, I have a custom allocator. The outside projects didn't define BT_...
by mrrolf
Mon Jul 08, 2019 2:05 am
Forum: General Bullet Physics Support and Feedback
Topic: Heap Corruption?
Replies: 4
Views: 721

Heap Corruption?

I think I'm seeing heap corruption with v2.88 when creating the Dynmaics world. I first observed heap corruption when initializing the btDbvtBroadphase class when creating the dynamic world. After some debugging, I think it's the m_rayTestStacks member variable in the btDbvtBroadphase class that is ...