Ge and Spencer,<br><br>Thanks for the clarification and the fix. Does what it says on the tin.<br><br>Rock on!<br><br>Graham<br><br><div class="gmail_quote">On Thu, Sep 13, 2012 at 11:38 PM, Spencer Salazar <span dir="ltr"><<a href="mailto:spencer@ccrma.stanford.edu" target="_blank">spencer@ccrma.stanford.edu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey Graham,<br>
<br>
Regarding your second issue, what often occurs in <a href="http://test6.ck" target="_blank">test6.ck</a> is that the<br>
OSC message is sent and received before the listenEvent() shred is<br>
able to execute. Thus, it is processed by the OscRecv, but since an<br>
OscEvent matching that address ("/twoStrings,ss") has not yet been<br>
created, it silently ignores the message.<br>
<br>
You can resolve this by putting a me.yield(); after sporking<br>
listenerEvent(). In that case, the message should be received every<br>
time. But in my experience the scenario in which that is necessary is<br>
rare.<br>
<span class="HOEnZb"><font color="#888888"><br>
spencer<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
On Thu, Sep 13, 2012 at 4:17 PM, Graham Coleman <<a href="mailto:ravelite@gmail.com">ravelite@gmail.com</a>> wrote:<br>
> Hello Ge,<br>
><br>
> 1. Seems to work! Nicely done and thanks for the fix.<br>
><br>
> 2. On this machine <a href="http://test6.ck" target="_blank">test6.ck</a> never seems to receive the message, but <a href="http://r.ck" target="_blank">r.ck</a> and<br>
> <a href="http://s.ck" target="_blank">s.ck</a> seem to work when run separately on the command line (from different<br>
> VMs). Do you think there would be a problem in particular from sending and<br>
> receiving OSC from the same VM? Is there a problem with the usage in<br>
> <a href="http://test6.ck" target="_blank">test6.ck</a>?<br>
><br>
> But it doesn't crash.<br>
><br>
> also rock on!<br>
><br>
> Graham<br>
><br>
> On Thu, Sep 13, 2012 at 3:00 PM, Ge Wang <<a href="mailto:ge@ccrma.stanford.edu">ge@ccrma.stanford.edu</a>> wrote:<br>
>><br>
>> Hi Graham!<br>
>><br>
>> Thanks for your contribution and insight -- we have hopefully addressed<br>
>> both of the issues you outlined in the latest release.<br>
>> Let us know if something still doesn't seem right?<br>
>><br>
>> Thanks and rock on!<br>
>><br>
>> Ge!<br>
>><br>
>><br>
>> On Wed, 12 Sep 2012, Ge Wang wrote:<br>
>><br>
>>> Hi Graham!<br>
>>><br>
>>> Greetings old friend!  Thanks for the excellent tests and yummy<br>
>>> breadcrumbs! There is definitely something funky with OSC since 1.3, on<br>
>>> 64-bit and 32-bit command chuck on OSX (1.3.1.0), I don't get the same crash<br>
>>> as you did on windows 7, but getting memory errors on cleanup.<br>
>>><br>
>>> Looking into it now!<br>
>>><br>
>>> Ge!<br>
>>><br>
>>> On Tue, 11 Sep 2012, Graham Coleman wrote:<br>
>>><br>
>>>> Greetings,<br>
>>>><br>
>>>> First, congratulations to chuck team and all responsible for the recent<br>
>>>> releases.<br>
>>>><br>
>>>> I found a few bugs, these were tested in the latest ChucK and<br>
>>>> miniAudicle<br>
>>>> builds (win32) on 64-bit Windows 7 machines.<br>
>>>><br>
>>>> 1. Machine.add doesn't seem to support drive specifications in paths.<br>
>>>> (<a href="http://test1.ck" target="_blank">test1.ck</a>)<br>
>>>><br>
>>>> <<< Machine.add( "C:/Users/Public/<a href="http://test2.ck" target="_blank">test2.ck</a>" ) >>>; //doesn't work<br>
>>>><br>
>>>> <<< Machine.add( "/Users/Public/<a href="http://test2.ck" target="_blank">test2.ck</a>" ) >>>; //works<br>
>>>><br>
>>>> 2. A crashing bug when dealing with string non-literals. (<a href="http://test6.ck" target="_blank">test6.ck</a>)<br>
>>>><br>
>>>> I was unable to reproduce it outside of an OSC context, I don't know if<br>
>>>> it<br>
>>>> affects non-Windows systems.<br>
>>>><br>
>>>> Basically, I was capturing string arguments from received OSC messages,<br>
>>>> and<br>
>>>> I found that one usage worked fine:<br>
>>>><br>
>>>> <<< tsEvent.getString() >>>; //this should work<br>
>>>><br>
>>>> but that trying to store it into a string object was crashing:<br>
>>>><br>
>>>> tsEvent.getString() => string str2; //this should crash<br>
>>>>         <<< str2 >>>;<br>
>>>><br>
>>>> regards,<br>
>>>><br>
>>>> Graham<br>
>>>><br>
>><br>
>> _______________________________________________<br>
>> chuck-users mailing list<br>
>> <a href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu</a><br>
>> <a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
>><br>
><br>
><br>
> _______________________________________________<br>
> chuck-users mailing list<br>
> <a href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu</a><br>
> <a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
><br>
_______________________________________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu</a><br>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
</div></div></blockquote></div><br>