G++ 4.4.4-6 optimisation causes bullet crash

hiker
Posts: 83
Joined: Tue Oct 24, 2006 11:52 pm
Location: Australia

G++ 4.4.4-6 optimisation causes bullet crash

Post by hiker »

Hi,

we recently discovered a crash in bullet caused by a compiler optimisation. While we are still using bullet 2.68, the file in question hasn't changed much in recent bullet versions, so chances are that someone else might have the same problems:

It happens with Debian g++, release 4.4.4-6. If the file btVoronoiSimplexSolver is compiled with -O2, we see a crash (later on in a different part of bullet). The fix we found is to compile this file with -O2 -fno-elide-constructors. Details in our bug tracker: https://sourceforge.net/tracker/index.p ... tid=981038

Cheers,
Joerg