<p dir="auto">The file <a href="https://github.com/golang/example/blob/master/template/index.tmpl#L27">example/template/index.tmpl</a> has 2 distinct HTML elements with same ID "sidebar".</p>
<p dir="auto">Afaiu this is not a good idea in HTML; one of them should be renamed.</p>
<p dir="auto">by <strong>TEgan256</strong>:</p>
<pre class="notranslate">Before filing a bug, please check whether it has been fixed since the
latest release. Search the issue tracker and check that you're running the
latest version of Go:

Run "go version" and compare against
<a href="http://golang.org/doc/devel/release.html" rel="nofollow">http://golang.org/doc/devel/release.html</a>  If a newer version of Go exists,
install it and retry what you did to reproduce the problem.

Thanks.

What steps will reproduce the problem?
If possible, include a link to a program on play.golang.org.
1.
run this on windows x86_64 and it will crash
i am using mingw64 and i compiled sdl 1.2.15 and glew using the mingw compiler. I
followed this guide 
<a href="http://www.gaia-gis.it/spatialite-3.0.0-BETA/mingw64_how_to.html" rel="nofollow">http://www.gaia-gis.it/spatialite-3.0.0-BETA/mingw64_how_to.html</a>
to setup mingw

What is the expected output?
it should display a line that runs infinite loop 

What do you see instead?


Which compiler are you using (5g, 6g, 8g, gccgo)?
6g

Which operating system are you using?
windows 7 x86_64

Which version are you using?  (run 'go version')
go 1.0.1

Please provide any additional information below.

the function f() made from the c side works for some reason. If it call the function
C.f() from go everything works fine. But if i do it on separate lines such as 

C.glBegin(...)
C.glEnd() and call those from go like in the example, it crashes, I stepped through it
and it seems to crash at the call of gl.Vertex2i call.

For some reason this works fine on another windows computer i tested out. This also
works on linux, but for some reason this computer crashes when doing this sort of thing. 

some specific windows spec: amd a6-3420M APU with radeon hd graphics 1.5 ghz</pre>
<p dir="auto">Attachments:</p>
<ol dir="auto">
<li><a href="https://storage.googleapis.com/go-attachment/3662/0/test.go" rel="nofollow">test.go</a> (1109 bytes)</li>
</ol>