Hi kas and mike,

I run mike's chuck patch and didn't get a bus error... but did get it with kassen's code. However I could get rid of the error if the shred is declared but not "initilised", thus using a reference when declaring it. I think that's been always the case..., can't remember though.
So adding Shred @ foo; to kassen's code let's assign to shred later.
The resulting code would be:

fun void dummy()
{
    while(1)
    {
        second => now;
    }
}

Shred @ foo;

spork ~ dummy() @=> foo;
<<< foo.id()>>>;

hour => now;

eduard

On Oct 12, 2008, at 11:25 PM, Kassen wrote:



Mike,

I'm glad it's the same bug cross platforms, I just think it's a weird
bug, that's all.

Yeah, it's probably the garbage/reference stuff. I had no idea the problem was quite that bad.
 

Do I add to the bottom of the bugs page or the top?

I'd take the "hopefully fixed for the next release" page and somewhere in the "open" section? I think it's a pretty bad one, it must've been broken by the latest version.


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