What steps will reproduce the problem?
1. Create a btSoftBody and let it initialize. Run it to see that it behaves
well.
2. Trigger a loop that runs from btSoftBody.m_nodes.size() to
btSoftBody.m_nodes.capacity()+1 and calls btSoftBody.cutLink at each iteration.
3. Wait for crash when clusters update since converting from pointers to
indices, resize, and then convert from indices to pointers may invalidate the
m_x member of a node (or maybe other problems)
What is the expected output? What do you see instead?
No crash.
It crashes.
What version of the product are you using? On what operating system?
revision 2411 of public trunk (http://bullet.googlecode.com/svn/trunk)
Please provide any additional information below.
I supplied a patch to fix this issue.
Original issue reported on code.google.com by israelss...@gmail.com on 19 Aug 2011 at 8:24
Original issue reported on code.google.com by
israelss...@gmail.com
on 19 Aug 2011 at 8:24Attachments: