Seg. Fault in AppSoftBodyDemo

Rommel
Posts: 4
Joined: Sat Jan 22, 2011 8:27 am

Seg. Fault in AppSoftBodyDemo

Post by Rommel »

After using the AllBulletDemos, and getting segmentation faults very easily during SoftBody demos, I ran the program by itself, it lasted much longer; however if I started clicking around (moving objects with the cursor), I got segmentation faults again. And reproducible.

As I'm not entirely sure how to debug these, it doesn't give me much to go on in terms of stability for the library itself; I can only hope its a bug missed in the demo?

Code: Select all

daniel@daniel-OEM:~/Downloads/bullet-2.77/Demos/SoftDemo$ ./AppSoftBodyDemo 
generating font at resolution 1024,768
pickPos=-0.422238,5.250363,-1.256804
pickPos=-0.138257,7.352696,-1.000000
pickPos=-0.232720,20.934341,-0.531017
pickPos=-0.957984,20.288679,-0.073721
pickPos=-1.154509,20.209290,0.260941
pickPos=0.136829,8.154196,-1.000000
pickPos=0.000000,16.442860,-1.328833
pickPos=1.443398,18.294647,0.378441
pickPos=-1.258584,17.677330,-3.129858
pickPos=1.483730,12.839151,-2.999561
pickPos=2.490938,5.013675,6.253323
pickPos=5.708109,0.542545,4.158081
pickPos=-0.947696,1.150011,0.765776
pickPos=-0.491164,6.188177,-1.000004
pickPos=-3.754424,22.401093,0.200239
pickPos=-4.088688,21.802525,4.817358
pickPos=0.213261,1.325129,-2.393696
Segmentation fault
regards

--- edit

I also noticed in a lot of the demos, using the mouse you could 'push' objects through other objects... increasing the 'slop' value increased this behaviour, but overall doesn't sound like a good idea? More information needed ;)