Issue 1:
by sebi.koch:

What steps will reproduce the problem?
1. cd test/bench
2. ./run

What is the expected output? What do you see instead?

expected: to run and print information about the tests

what I see:

Runs without output, using about 50% of both cores

running "killall 8.out" several times it finally prints the following output:

>
> == ./
>
> =========== ./cmp2.go
> comparing uncomparable type []int
> throw: interface compare
>
> panic PC=xxx
>
> =========== ./cmp3.go
> comparing uncomparable type []int
> throw: interface compare
>
> panic PC=xxx
>
> =========== ./cmp4.go
> hash of unhashable type []int
> throw: interface hash
>
> panic PC=xxx
>
> =========== ./cmp5.go
> hash of unhashable type []int
> throw: interface hash
>
> panic PC=xxx
>
> =========== ./helloworld.go
> hello, world
>
> =========== ./peano.go
> 0! = 1
> 1! = 1
> 2! = 2
> 3! = 6
> 4! = 24
> 5! = 120
> 6! = 720
> 7! = 5040
> 8! = 40320
> 9! = 362880
>
> =========== ./printbig.go
> -9223372036854775808
> 9223372036854775807
>
> =========== ./sigchld.go
> survived SIGCHLD
>
> =========== ./turing.go
> Hello World!
>
> == ken/
>
> =========== ken/intervar.go
> print 1 bio 2 file 3 -- abc
>
> =========== ken/label.go
> 100
>
> =========== ken/rob1.go
> 9876543210
>
> =========== ken/rob2.go
> (defn foo (add 12 34))
>
> =========== ken/simpprint.go
> hello world
>
> =========== ken/simpswitch.go
> 0out01out12out2aout34out4fiveout56out6aout78out89out9
>
> =========== ken/string.go
> abcxyz-abcxyz-abcxyz-abcxyz-abcxyz-abcxyz-abcxyz
>
> == chan/
>
> =========== chan/nonblock.go
> PASS
>
> == interface/
>
> =========== interface/fail.go
> *main.S is not main.I: missing method Foo
> throw: interface conversion
>
> panic PC=xxx
>
> =========== interface/returntype.go
> *main.S is not main.I2: missing method Name
> throw: interface conversion
>
> panic PC=xxx
>
> == nilptr/
>
> == fixedbugs/
>
> =========== fixedbugs/bug016.go
> fixedbugs/bug016.go:11: constant -3 overflows uint
>
> =========== fixedbugs/bug027.go
> hi
> 0 44444
> 1 3333
> 2 222
> 3 11
> 4 0
> 0 44444
> 1 3333
> 2 222
> 3 11
> 4 0
>
> =========== fixedbugs/bug067.go
> ok
>
> =========== fixedbugs/bug070.go
> outer loop top k 0
> inner loop top i 0
> do break
> broke
>
> =========== fixedbugs/bug081.go
> fixedbugs/bug081.go:9: fatal error: typecheck loop
>
> =========== fixedbugs/bug093.go
> M
>
> =========== fixedbugs/bug113.go
> interface is int, not int32
> throw: interface conversion
>
> panic PC=xxx
>
> =========== fixedbugs/bug148.go
> 2 3
> interface is main.T, not main.T·1
> throw: interface conversion
>
> panic PC=xxx
>
> == bugs/
>
> =========== bugs/bug218.go
> <epoch>: fatal error: dowidth: unknown type: blank
> BUG: bug218
0 known bugs; 0 unexpected bugs; test output differs

What is your $GOOS? $GOARCH?
$GOOS darwin
$GOARCH 386

Which revision are you sync'ed to? (hg log -l 1)

changeset: 4148:b56be100e580
tag: tip
user: Rob Pike <r@golang.org>
date: Wed Nov 18 19:58:32 2009 -0800
summary: replace custom findByte with bytes.IndexByte

Please provide any additional information below.

1st gen MacBook (32bit) with MacOS.

Issue 2:
What steps will reproduce the problem?
1. run attached timefor with flags -l and -s
Usage of ./timefor:
-l=false: run long-term sleeper
-s=false: use time.Sleep instead of time.After

What is the expected output?
all time.Sleep sleeper goroutines work well

What do you see instead?
all time.Sleep sleeper gorutines stalled

Attachments:

timefor.go (908 bytes)