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

IOhannes m zmoelnig zmoelnig at iem.at
Mon Dec 17 21:45:24 CET 2007

ilya .d wrote:
> On Mon, Dec 17, 2007 at 07:42:44PM +0000, Andy Farnell wrote:
>> I know we like to pretend this is "feature", but isn't it time to treat it
>> as a bug?

> but havind a simple C progarmm in for(;;) doesn't cause much trouble,
> SIGINT usualy kills it ..

Pd is _is_ a simple C programm, and [bang(->[until] does something very 
similar to for(;;);

> may be some protection should be considered for [bang(--[until],
> so it doesn't cause the system such a DoS in this way..  i haven't actually tested this thing yet ..
> is it really true , or somehow you can kill pd when it get in such a loop ?

that is what i was trying to say (too): it doesn't hang here.
it might hang the system, if Pd is running with realtime-priorities.
(hey this is what you asked for when turning on rt-priorities)


More information about the Pd-list mailing list