<p dir="auto">by <strong>policehsh</strong>:</p>
<pre class="notranslate">run attachments,you can see each time we call test_handle_leaks_callback , a system
handle is leaked(you can Watch handles in windows task manager)</pre>
<p dir="auto">Attachments:</p>
<ol dir="auto">
<li><a href="https://storage.googleapis.com/go-attachment/8517/0/main.go" rel="nofollow">main.go</a> (286 bytes)</li>
<li><a href="https://storage.googleapis.com/go-attachment/8517/0/test.c" rel="nofollow">test.c</a> (321 bytes)</li>
<li><a href="https://storage.googleapis.com/go-attachment/8517/0/test.h" rel="nofollow">test.h</a> (93 bytes)</li>
</ol>
<pre class="notranslate">What steps will reproduce the problem?
1. compile the following sample program:
package main
//line a.go:2
func main() {
        panic(nil)
}

2. run it.


What is the expected output?
the traceback should mention a.go (or t.go?), and the line number should be 3.

What do you see instead?
panic: nil

goroutine 1 [running]:
main.main()
        /home/minux/go/go.hg/t/t.go:0 +0x27


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

Which operating system are you using?
Linux/ARM and Linux/amd64.

Which revision are you using?  (hg identify)
23995c78329e tip

Please provide any additional information below.</pre>