Thanks Michael, we'll look in to this! Nothing stands out to me as canonically likely to crash ChucK, so there might be a new issue here. 

spencer



On Wed, Feb 13, 2013 at 3:10 PM, Michael Heuer <heuermh@gmail.com> wrote:
Hello,

The following reliably seg faults chuck (I'm using git master)

$ chuck --help

chuck version: 1.3.2.0-beta-1 (chimera)
   mac os x : intel : 64-bit
   http://chuck.cs.princeton.edu/
   http://chuck.stanford.edu/

$ chuck examples/swirl.ck
Segmentation fault: 11

swirl.ck:

class Swirl extends Chubgraph
{
    Gain _cv;
    inlet => Pan2 pan => outlet;

    {
        _cv => blackhole;
        spork ~ _tickAtSampleRate();
    }

    fun void _tickAtSampleRate()
    {
        while (true)
        {
            1::samp => now;
            tick(_cv.last());
        }
    }

    fun float tick(float cv)
    {
        cv => pan.pan;
    }
}

SqrOsc lfo => blackhole;
0.1 => lfo.freq;
1.0 => lfo.gain;

Swirl swirl;
lfo => swirl._cv;

SinOsc osc;
220.0 => osc.freq;
1.0 => osc.gain;

osc => swirl => dac;

10::second => now;

<<<"done">>>;

---

   michael
_______________________________________________
chuck-dev mailing list
chuck-dev@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-dev