Report any bugs here and we'll post fixes
Moderators: Sascha Willems, Thomas
by misho » Fri Oct 19, 2018 5:44 pm
I am getting a crash in dgBroadPhaseMixed.cpp, line 381:
- Code: Select all
dgBroadPhaseNode* const broadPhaseNode = bodyArray[i].m_body->GetBroadPhase();
dgAssert(broadPhaseNode->IsLeafNode());
In some instances it appears that broadPhaseNode is coming back as NULL, and it fails on the next line. I "patched" it by inserting
- Code: Select all
dgBroadPhaseNode* const broadPhaseNode = bodyArray[i].m_body->GetBroadPhase();
if (!broadPhaseNode)
continue;
dgAssert(broadPhaseNode->IsLeafNode());
I know this is kludgy and this is a temporary fix, but it makes my code run fine. I have a Newton build from 10 days ago, and this started happening just a few days ago. I'm not sure if it is something I did since then, or I'm using my code in a way that would manifest this problem.
Any ideas what this may be?
-
misho
-
- Posts: 673
- Joined: Tue May 04, 2010 10:13 am
by Julio Jerez » Fri Oct 19, 2018 6:28 pm
the check will not fix it, some how you have a null body that should not be on that list.
I believe this was fixed few days ago, sync and it should be fine.
-
Julio Jerez
- Moderator
-
- Posts: 12249
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by misho » Fri Oct 19, 2018 6:37 pm
Julio Jerez wrote:the check will not fix it, some how you have a null body that should not be on that list.
I believe this was fixed few days ago, sync and it should be fine.
Perfect, will do!!
-
misho
-
- Posts: 673
- Joined: Tue May 04, 2010 10:13 am
by misho » Sat Oct 20, 2018 3:07 pm
Confirmed, all back to normal!
-
misho
-
- Posts: 673
- Joined: Tue May 04, 2010 10:13 am
Return to Bugs and Fixes
Who is online
Users browsing this forum: No registered users and 17 guests