Error in running MultiThreadedDemo

Post Reply
Hyunjoon
Posts: 1
Joined: Thu Dec 22, 2011 12:28 am

Error in running MultiThreadedDemo

Post by Hyunjoon »

Hello,
I am running Demos/MultiThreadedDemo/AppMultiThreadedDemo with VC++ 2008 in the windows 7.
It shows an error of assertion failure in LinearMath. The detailed message is captured below.
Could you help me on this, what may cause this problem?

Also, the main reason I am trying this demo is to get familiar with multithreaded implementation in bullet.
Could you also give me some advices how I should implement it with bullet engine?

Thank you in advance.
Best Regards,
Hyunjoon

[MultiThreadedDemo error message in console]
====================================================================
starting thread 0
started thread 0 with threadHandle 000000B4
starting thread 1
started thread 1 with threadHandle 000000C0
starting thread 2
started thread 2 with threadHandle 000000CC
starting thread 3
started thread 3 with threadHandle 000000D8
starting thread 0
started thread 0 with threadHandle 000000E4
starting thread 1
started thread 1 with threadHandle 000000F0
starting thread 2
started thread 2 with threadHandle 000000FC
starting thread 3
started thread 3 with threadHandle 00000108
sizeof SpuGatherAndProcessWorkUnitInput: 16
Assertion failed: n<size(), file C:\develop\bullet-2.79\src\LinearMath/btAligned
ObjectArray.h, line 165

====================================================================

[MultithreadedDemo popup error message]
====================================================================

Debug Error!

Program:
...tBuild\Demos\MultiThreadedDemo\Debug\AppMultiThreadedDemo.exe

This application has requested the Runtime to terminate it in an
unusual way.
Please contact the applications' support team for more information.

(Press Retry to debug the application)
Post Reply