[ODE] Allocation problem?

Jon Watte (ODE) hplus-ode at mindcontrol.org
Tue Jun 6 15:03:53 MST 2006


What platform are you using (Windows, Linux, MacOSX, etc)?
What compiler are you using?
What stepping function are you using? (dWorldStep(), dWorldQuickStep(), etc)

My guess is you're on Windows, and using plain dWorldStep(). In that 
case, you're running out of stack. This issue is mentioned more 
thoroughly in the ODE documentation. Simple solution: switch to 
dWorldQuickStep().

Cheers,

/ h+


Andrew Arcilla wrote:
>
> Hello,
>
> I am using ODE version 0.6 rc3 right now, and I am getting a crash / 
> unknown exception in the dSolveLCP function, approximately line 1346 
> in lcp.cpp. The line of code is: “ALLOCA 
> (dReal,L,n*nskip*sizeof(dReal));” which I assume is an attempt to 
> allocate memory (correct me if I’m wrong). So, does anybody know why 
> this line might crash? Why ODE might experience problems trying to 
> allocate memory? I don’t think I have reached any memory limits, 
> because my program isn’t taking up a large amount of memory at the 
> point of the crash. Any suggestions would be appreciated, because I 
> have no clue.
>
> Thanks,
>
> Andrew
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode
>   


More information about the ODE mailing list