[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-dev] Re: Still occasional memory corruption...
Am 2013-11-20 12:35, schrieb Jonatan Liljedahl:
I can evaluate the above any number of times, it always prints:
abc is 2
3
I can confirm Miguel's observation. If I uncomment the commented part in
the following piece of code the result becomes
abc is 2
3
before it was
abc is this
3
(
f = { |x,g|
g.()
};
f.(2,{ var abc = "this";
/*f.(2,{*/f.(2,{f.(2,{f.(2,{f.(2,{f.(2,{f.(2,{f.(2,{"abc is
%".format(abc).postln; 3})})})})})})})})/*})*/
)
... it is as Miguel says - more than 8 times calling f.() seems to
corrupt the interpreter.
stefan
_______________________________________________
sc-dev mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/