[ODE] Segfaulting ODE with too many objects -- ALLOC vs MALLOC

Tanguy Fautre tanguy.fautre at spaceapplications.com
Thu Sep 28 06:50:42 MST 2006


Jason Perkins wrote:
> On 9/28/06, Kyle Hubert <khubert at gmail.com> wrote:
>> Why is everything on the stack?
> 
> This has come up before, check the list archives for the details.
> There is even a patch for it, see
> http://sf.net/tracker/index.php?func=detail&aid=1335207&group_id=24884&atid=382801.
> 
> What do folks think of this? It comes up often enough that it is
> probably worth dealing with.

Already implemented a long time ago (was already there in 0.5). See 
dUSE_MALLOC_FOR_ALLOCA compilation flag.


PS: another try to raise the debate:

http://sourceforge.net/tracker/index.php?func=detail&aid=1502340&group_id=24884&atid=382801

http://users.telenet.be/tfautre/stack_allocator.tar.bz2


Tanguy


More information about the ODE mailing list