[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-dev] Re: Still occasional memory corruption...
2013/11/20 Dan Stowell <danstowell+sc3@xxxxxxxxx>:
> 2013/11/20 Stefan Nussbaumer <stefanus@xxxxxxxxx>:
>> 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.
>
> Same for me too (ubuntu 13.04, master, commit b48b979 - and to be
> minimal I used commandline sclang).
[EDIT] Sorry, I just noticed it wasn't master I was testing, it was 3.6.6
> We have a reproducer :)))
>
> Dan
--
http://www.mcld.co.uk
_______________________________________________
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/