Ge Wang
Hi Michael!
I was able to create an example of this issue that doesn't require LiCK, see attached.
It still seg faults on 1.3.1.1 unfortunately.
This example was very helpful - we tracked it down to a bug with sporking member functions using local Objects that goes out of scope before the child shred finished (in your case, the Play object). We have added the proper fix to reference count the parent object on the new shred itself.
Would be great if you can test the latest on your system. What's a good way for you to do that?
As you may have seen from another thread, we've posted a candidate for you and others to test:
http://chuck.stanford.edu/stuff/chuck-1.3.1.2-rc1.zip
It includes a win32 build and an osx64 build, as well as source for all supported platforms.
If you would, please let us know if this seems any better!
Hello Ge, Both segfault.ck and the original LiCK examples/multivoiceChordsExample.ck work for me with 1.3.1.2-rc1 on OSX 10.7.x. I can check 64-bit linux-alsa and linux-jack later. Thanks, michael