logo       

Re: n_free crash: msg#00157

audio.supercollider.devel

Subject: Re: n_free crash

On Aug 18, 2004, at 5:04 PM, Dave Watson wrote:

If you do this, with 1001 being a non-existent node;
s.sendMsg("/n_free", 1001);

the server responds with;
FAILURE /n_free Node not found

But if you do;
s.sendMsg("/n_free", a);

when;
a == nil
true

nil gets converted to zero. removing node zero will definitely cause the server to crash.
But the server does not check for it. there are a lot of ways you could cause the server to crash that cannot be cheaply checked (i.e. doing a graph analysis at each operation), so none are checked for. Perhaps this is reckless but that is the way it is.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise