Multithreading and crashes

Vince
Posts: 11
Joined: Fri Oct 01, 2010 11:40 am

Multithreading and crashes

Post by Vince »

Hi,

I am trying to use PosixThreadSupport and SpuGatheringCollisionDispatcher (like in the Multithreaded Demo) to solve collision detection in multithreading. Unfortunately it crashes my application when there are more than one thread.

Code: Select all

startThreads creating 4 threads.
starting thread 0
started thread 0 
starting thread 1
started thread 1 
starting thread 2
started thread 2 
starting thread 3
started thread 3 
sizeof SpuGatherAndProcessWorkUnitInput: 16
Segmentation fault
I have seen another post reporting this issue http://bulletphysics.org/Bullet/phpBB3/ ... php?t=5922
How can I make bullet work in multithreading ?

Thanks
Vincen
Vince
Posts: 11
Joined: Fri Oct 01, 2010 11:40 am

Re: Multithreading and crashes

Post by Vince »

Hi,

I have explored a bit more the problem and it seems the problem is only on 64 bits machine.

See previous post related to this problem
http://www.bulletphysics.org/Bullet/php ... f=9&t=1894
http://www.bulletphysics.org/Bullet/php ... &view=next


What the status of this problem ? Does someone can run multithreading bullet on a 64bits machine ?
Thanks