<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div><span>I don't see anything in the code that would keep [dsp(--[osc~] from triggering this "dsp" message to the signal object.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;"><span>Indeed, when I specify A_CANT as the "dsp" arg type for [osc~] and recompile it still crashes.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande',
 sans-serif; font-style: normal; background-color: transparent;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;"><span>So that may be the policy, but the design doesn't keep the message from being dispatched.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;">-Jonathan</div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, 'Helvetica
 Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> On Monday, May 26, 2014 1:32 PM, Miller Puckette <msp@ucsd.edu> wrote:<br> </font> </div>  <br><br> <div class="y_msg_container">No, the A_CANT will ensure that the message never gets sent to the<br clear="none">object (because typechecking fails)<br clear="none"><br clear="none">You can of course send the message from C, but anyone's allowed to crash<br clear="none">Pd by introducing faulty C code :)<br clear="none"><br clear="none">M<br clear="none"><div class="yqt8698776524" id="yqtfd28880"><br clear="none">On Mon, May 26, 2014 at 10:23:36AM -0700, Jonathan Wilkes wrote:<br clear="none">> Is that by policy or design?<br clear="none">> <br clear="none">> In other words, if I send a msd [dsp
 crash_my_pd( to a signal object that defines its dsp method args using A_CANT, will it still crash?  (Not at a machine with Pd or I'd try it myself.)<br clear="none">> <br clear="none">> -Jonathan<br clear="none">> <br clear="none">> <br clear="none">> On Monday, May 26, 2014 1:06 PM, Miller Puckette <<a shape="rect" ymailto="mailto:msp@ucsd.edu" class="removed-link" href="">msp@ucsd.edu</a>> wrote:<br clear="none">>  <br clear="none">> <br clear="none">> <br clear="none">> Just to answer one sprcific question here...<br clear="none">> > <br clear="none">> > Lyon's book explaing what A_GIMME does, but not A_CANT. I checked m_pd.h a<br clear="none">> > bit but didn't make much out of it. It is there where the problem lies?<br clear="none">> > <br clear="none">> <br clear="none">> A_CANT is used when an object receives a message but the arguments can't be<br clear="none">> safely
 typechecked by Pd - so these messages are refued if sent by the patch,<br clear="none">> but friendly C code can call them using a lower-level mechanism.<br clear="none">> <br clear="none">> cheers<br clear="none">> Miller<br clear="none"></div><br><br></div>  </div> </div>  </div> </div></body></html>