[PD] What exactly is a "stack overflow" ?

Jamie Bullock jamie at postlude.co.uk
Mon Dec 17 22:05:13 CET 2007


On Mon, 2007-12-17 at 19:44 +0000, Martin Peach wrote:

> In pd it usually means you have a loop somewhere, so that the output of an 
> object is feeding its own input: each time a new output is calculated a new 
> input is generated, so the process never ends and eventually the stack 
> overflows.

AFAICT in most cases the stack doesn't actually overflow. If the message
"stack overflow" gets posted to the Pd console it means that pd has
prevented a stack overflow by monitoring the recursion depth, and
stopping the message graph at a given outlet. 

Jamie

-- 
www.postlude.co.uk





More information about the Pd-list mailing list