[ODE] Allocation problem?

Andrew Arcilla andrew at lookaheaddecisions.com
Tue Jun 6 17:46:21 MST 2006

Yes, I am using Windows and I am using dWorldStep().  I will definitely try
the switch over to dWorldQuickStep().


-----Original Message-----
From: Jon Watte (ODE) [mailto:hplus-ode at mindcontrol.org] 
Sent: Tuesday, June 06, 2006 3:04 PM
To: Andrew Arcilla
Cc: ode at q12.org
Subject: Re: [ODE] Allocation problem?

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 


/ 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