favreau / bullet

Automatically exported from code.google.com/p/bullet
0 stars 0 forks source link

Crash when running btParallelConstraintSolver #524

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Init Bullet with Multithreaded Dispatcher and Solver (same as in the demo 
code)
1. Create static triangle mesh rigid body (ground), in my case a box shaped 
mesh.
2. Create dynamic convex hull rigid body. Mine was simple sphere shape as 
convex hull btCollisionShape
3. drop dynamic RB onto static RB

What is the expected output? What do you see instead?

Expected behaviour is to collide and resolve
Current behaviour is a crash in the brParallelConstraintSolver code.

What version of the product are you using? On what operating system?

Latest Bullet 2.78

Please provide any additional information below.

I posted the problem with more detailed info in the bullet forums here... 
http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=7016

thank you in advance, 
cg

Original issue reported on code.google.com by cgrip...@gmail.com on 11 Jul 2011 at 9:48

GoogleCodeExporter commented 9 years ago
Hey there is problem on line 1172 or thereabouts in 
btParallelConstraintSolver.cpp, it happens because there are no constraints and 
it tries to access the first element, u can do something like this around the 
for loop

            if(numConstraints)
            {
                //only enter if there is numconstraiints

Original comment by ganesh...@gmail.com on 9 Feb 2012 at 4:14

GoogleCodeExporter commented 9 years ago
I cannot reproduce it. Have you tried it with latest trunk?

If so, can you create a reproduction case by modifying the 
Bullet/Demos/MultiThreadedDemo?

Thanks a lot

Original comment by erwin.coumans on 29 Feb 2012 at 2:15

GoogleCodeExporter commented 9 years ago
close the issue, without repro case

Original comment by erwin.coumans on 1 Mar 2012 at 5:16