Crash in dgBody::GetNextContact

Report any bugs here and we'll post fixes

Moderators: Sascha Willems, Thomas

Crash in dgBody::GetNextContact

Postby Bird » Wed Jan 11, 2017 8:11 am

Hi Julio,

I've updated to the latest GitHub version using vs2015 and am hitting a crash in dgbody.cpp, line 379 in the function GetNextContact().

This happens consistently when I try to paint multiple instances while the newton engine is running. Here's a video:

Do you have any idea what might be causing it?
Posts: 437
Joined: Tue Nov 22, 2011 1:27 am

Re: Crash in dgBody::GetNextContact

Postby Julio Jerez » Wed Jan 11, 2017 7:42 pm

it is possible that wit the change I made to the collision system that this bug just has exposed.

the collision system in 3.13 and before use a garbage collector to reclaim dead joints, and the time stamp was I believe 16 frames.
the new collision system does no need that, so that maybe be an old bog.

anyway don't we have a test demo in the newton SDK that we do for that, maybe is can be recreated there, since is reproducible.
for of all sync to later code, I fixed a bad bug that was overriding, memory. this may case malfunction in complex scenes with many contacts.
Julio Jerez
Posts: 11039
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Return to Bugs and Fixes

Who is online

Users browsing this forum: No registered users and 2 guests