<p dir="auto">by <strong>namegduf</strong>:</p>
<pre class="notranslate">What steps will reproduce the problem?
1. Copy the following into a file:

package main

import "fmt"

func main() {
        wait := make(chan bool)
        go func() {
                &lt;-wait
                fmt.Printf("Test!")
        }()
        fmt.Println("Hello World!")
}

2. Build the file with 6g file.go; 6l file.go
2. Run 6prof on the output executable

What is the expected output?

The program's own output, follwed by a sample count and profiling output. Absence of
errors.

What do you see instead?

"ptrace waitpid: unexpected new tid &lt;some tid&gt; status 0x137f", followed
by the program's output, followed by the program hanging. No output from 6prof.

What is your $GOOS?  $GOARCH?

GOOS=linux
GOARCH=amd64

Which revision are you using?  (hg identify)

58cc2828bfd2 tip


It seems to work sometimes with even an empty goroutine, but removing the channel seems
to make things inconsistent.</pre>
<p dir="auto">by <strong>montsamu</strong>:</p>
<pre class="notranslate">Before filing a bug, please check whether it has been fixed since
the latest release: run "hg pull -u" and retry what you did to
reproduce the problem.  Thanks.

What steps will reproduce the problem?
1. need to make an http.Get request but specify a head (e.g. 
"Authorization" "OAuth")
2. see that http.Get doesn't allow this
3. see how ugly it would be to write an additional stack just to do this 
outside http.Get (http.send is 'private')

Please provide any additional information below.

Apologies if there is a simple way to do this which I am missing.</pre>