Crash "EXC_BAD_ACCESS" in NewtonBodyGetMatrix when using Mac

Report any bugs here and we'll post fixes

Moderators: Sascha Willems, Thomas

Crash "EXC_BAD_ACCESS" in NewtonBodyGetMatrix when using Mac

Postby Adversus » Wed Dec 21, 2011 6:26 pm

Whenever it's called from CustomKinematicController::SubmitConstraints

The actual line that crashes is

matrix = body->GetMatrix();

If I simply assign it to a proper local variable matrix then it works, it just crashes once I try to assign it to the reference. I've tried to include the dMath and dJointLibrary as both a static lib and including the files directly but both crash.

Has anyone had this and/or knows how to fix it?

btw - Everything works fine in Windows (and the non source version).
Adversus
 
Posts: 29
Joined: Tue Oct 12, 2010 8:39 am

Re: Crash "EXC_BAD_ACCESS" in NewtonBodyGetMatrix when using

Postby Adversus » Thu Dec 22, 2011 11:37 am

The plot thickens.

The iPhone build breaks in the simulator however works on the device.
Adversus
 
Posts: 29
Joined: Tue Oct 12, 2010 8:39 am


Return to Bugs and Fixes

Who is online

Users browsing this forum: No registered users and 5 guests

cron