[Solved] NewtonUpdate crash

Report any bugs here and we'll post fixes

Moderators: Sascha Willems, Thomas

[Solved] NewtonUpdate crash

Postby AntonSynytsia » Sat Dec 28, 2013 6:43 pm

The following pseudo code causes newton 3.10 to crash:
  1. Add body
  2. Call NewtonUpdate // works fine so far...
  3. NewtonDestroyBody // still works
  4. Call NewtonUpdate // causes newton to crash!

To avoid crashing I check for the newton body count. If body count is > 0 then allow calling NewtonUpdate; otherwise skip it.

Can anyone reproduce the same effect?
Last edited by AntonSynytsia on Sun Dec 29, 2013 5:19 pm, edited 1 time in total.
AntonSynytsia
 
Posts: 193
Joined: Sat Dec 28, 2013 6:36 pm

Re: NewtonUpdate crash

Postby Julio Jerez » Sat Dec 28, 2013 8:23 pm

I just pasted that in this tutorial: ../newton-dynamics\applications\tutorialsSDK300\NewtonTutorials
and it did not crash.

Please get the late update from SVN, google does not allow more stable upload anymore.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: NewtonUpdate crash

Postby AntonSynytsia » Sat Dec 28, 2013 11:47 pm

I upgraded to Newton 3.12, and no longer able to reproduce the crash!

I noticed newton 3.12 is much smoother than 3.10 :twisted:

Thank you!
AntonSynytsia
 
Posts: 193
Joined: Sat Dec 28, 2013 6:36 pm


Return to Bugs and Fixes

Who is online

Users browsing this forum: No registered users and 5 guests

cron