-
Notifications
You must be signed in to change notification settings - Fork 18k
net/http/httputil: all goroutines are asleep - deadlock #20362
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Bisected to:
Alex |
I am seeing a very similar error on a Win7 64Bit machine in a production app. As you can see below, there are only 3 go routines running, and only one of them is directly on the stack of my application. I have a production machine I can reliably reproduce this on, but unfortunately I had no luck in a VM so far. So for now I'm just saying "me too", but hopefully I can provide some more information later on.
|
Edit: The update below does not work reliable, see my comment further down. I found a workaround. I changed my code from: res, err := http.Post(url.String(), "application/json", file) to client := &http.Client{Timeout: 5 * time.Second}
res, err := client.Post(url.String(), "application/json", file) I was planning to add a timeout here anyway, so that's good enough for me right now. Hopefully the above will also point in the right direction for finding the root cause of the deadlock that occurs when no timeout is set. |
I didn't see this when it came in, sorry. If this is still a problem we should think about backporting any fix to the next Go 1.9 point release, so I set the milestone to Go 1.9.3. |
Turns out the workaround I posted above is not working reliably. It does prevent the deadlock panic, but sometimes the requests time out even so there is a response (as confirmed using tcpdump). There seems to be some randomness to it, i.e. some runs the program experiences the timeouts all the times, other runs it seems to be fine. I'll try to boil this down to a stand alone test case and report back any findings early next week. |
I spent some more time debugging this today. I was able to reproduce the deadlock with a minimal test program that basically just executes a http GET request. I ran the command in a loop and got the following results:
Notes:
@rsc Please let me know if I can provide more information or otherwise help with getting this resolved. |
Hi Felix. Thanks for the work on this repro. I have a question, the issue is related to net/http/httputil but your repro, or the example panic you posted mentions that package either.
… On 23 Oct 2017, at 19:53, Felix Geisendörfer ***@***.***> wrote:
I spent some more time debugging this today. I was able to reproduce the deadlock with a minimal test program that basically just executes a http GET request.
I ran the command in a loop and got the following results:
go1.7.5: No deadlocks
go1.8.4: No deadlocks (This means that e4371fb aka go1.8beta2-389-ge4371fb179 is probably not the root cause)
go1.9.1: Lots of deadlocks, see example
Notes:
I was able to consistently reproduce this in Win7 VM with Cygwin. However, it doesn't happen for every run of the program, but 20-50% of the runs trigger the problem.
I was not able to reproduce this in a local Win7 Professional VM (also using Cygwin)
@rsc Please let me know if I can provide more information or otherwise help with getting this resolved.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hi @davecheney . That's correct. I came across this issue in production and searched the issue tracker for similar issues. This one seemed like a perfect match, so I decided to add my information here instead of creating a new issue. If it turns out that there are two separate issues here, I'm happy to create a new issue as well. FWIW I haven't been able to run |
I’d appreciate it if you would create a new issue. Feel free to reference this one for context.
… On 23 Oct 2017, at 21:21, Felix Geisendörfer ***@***.***> wrote:
Hi @davecheney . That's correct. I came across this issue in production and searched the issue tracker for similar issues. This one seemed like a perfect match, so I decided to add my information here instead of creating a new issue.
If it turns out that there are two separate issues here, I'm happy to create a new issue as well.
FWIW I haven't been able to run go test -short net/http/httputil on the production machine, because it doesn't have Go installed. But I might be able to make that happen if it will help with resolving this issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@davecheney I just realized that I can cross-compile the httputil test:
I then executed it on the production machine and got the same results as the original author of this issue above (see below). Please confirm if you still want me to open a separate issue, or if this is enough evidence to confirm that both issues are identical.
|
If the retro you created does not use net/http/httputil please raise a separate bug. It’s easy to address multiple issues with one change if necessary so there’s little cost in keeping potentially unrelated issues separate.
… On 23 Oct 2017, at 22:00, Felix Geisendörfer ***@***.***> wrote:
@davecheney I just realized that I can cross-compile the httputil test:
GOOS=windows GOARCH=amd64 go test -c -o httputil_test.exe net/http/httputil
I then executed it on the production machine and got the same results as the original author of this issue above (see below).
Please confirm if you still want me to open a separate issue, or if this is enough evidence to confirm that both issues are identical.
$ while ./httputil_test.exe -test.short; do :; done
fatal error: all goroutines are asleep - deadlock!
goroutine 1 [chan receive]:
testing.(*T).Run(0xc04211a000, 0x723c71, 0x10, 0x7374c8, 0x482901)
/usr/local/go19/src/testing/testing.go:790 +0x303
testing.runTests.func1(0xc04211a000)
/usr/local/go19/src/testing/testing.go:1004 +0x6b
testing.tRunner(0xc04211a000, 0xc042063de0)
/usr/local/go19/src/testing/testing.go:746 +0xd7
testing.runTests(0xc0420da700, 0x8b1760, 0x11, 0x11, 0x10)
/usr/local/go19/src/testing/testing.go:1002 +0x2df
testing.(*M).Run(0xc042063f18, 0xc042063f70)
/usr/local/go19/src/testing/testing.go:921 +0x118
main.main()
net/http/httputil/_test/_testmain.go:88 +0xe2
goroutine 40 [select]:
net/http.(*persistConn).roundTrip(0xc042095200, 0xc042079aa0, 0x0, 0x0, 0x0)
/usr/local/go19/src/net/http/transport.go:1970 +0x60f
net/http.(*Transport).RoundTrip(0xc04211a960, 0xc0420f5100, 0xc04211a960, 0x0, 0x0)
/usr/local/go19/src/net/http/transport.go:413 +0x999
net/http.send(0xc0420f5100, 0x87bf80, 0xc04211a960, 0x0, 0x0, 0x0, 0xc0420660a0, 0x100, 0xc042183a48, 0x1)
/usr/local/go19/src/net/http/client.go:249 +0x1b0
net/http.(*Client).send(0xc042079920, 0xc0420f5100, 0x0, 0x0, 0x0, 0xc0420660a0, 0x0, 0x1, 0xc18fe0)
/usr/local/go19/src/net/http/client.go:173 +0x104
net/http.(*Client).Do(0xc042079920, 0xc0420f5100, 0x7, 0x720711, 0x3)
/usr/local/go19/src/net/http/client.go:602 +0x294
net/http/httputil.TestReverseProxy(0xc04211a780)
/usr/local/go19/src/net/http/httputil/reverseproxy_test.go:91 +0x3c4
testing.tRunner(0xc04211a780, 0x7374c8)
/usr/local/go19/src/testing/testing.go:746 +0xd7
created by testing.(*T).Run
/usr/local/go19/src/testing/testing.go:789 +0x2e5
goroutine 41 [IO wait]:
internal/poll.runtime_pollWait(0xc1d5f0, 0x72, 0xc042098b58)
/usr/local/go19/src/runtime/netpoll.go:173 +0x5e
internal/poll.(*pollDesc).wait(0xc042098c98, 0x72, 0x87a400, 0x0, 0x0)
/usr/local/go19/src/internal/poll/fd_poll_runtime.go:85 +0xb5
internal/poll.(*ioSrv).ExecIO(0x8b4640, 0xc042098b58, 0xc0420db160, 0x2, 0x1, 0x0)
/usr/local/go19/src/internal/poll/fd_windows.go:195 +0x13a
internal/poll.(*FD).acceptOne(0xc042098b40, 0xd4, 0xc0420dc1c0, 0x2, 0x2, 0xc042098b58, 0xc042028380, 0xc042131d28, 0x41159f, 0x10)
/usr/local/go19/src/internal/poll/fd_windows.go:748 +0xae
internal/poll.(*FD).Accept(0xc042098b40, 0xc04203d420, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/usr/local/go19/src/internal/poll/fd_windows.go:782 +0x171
net.(*netFD).accept(0xc042098b40, 0xc042131ea8, 0x4010ee, 0xc042041020)
/usr/local/go19/src/net/fd_windows.go:192 +0x88
net.(*TCPListener).accept(0xc042066078, 0x64106f, 0x459aa0, 0xc042131ef0)
/usr/local/go19/src/net/tcpsock_posix.go:136 +0x35
net.(*TCPListener).Accept(0xc042066078, 0x7371d0, 0xc042040fa0, 0x880840, 0xc042192090)
/usr/local/go19/src/net/tcpsock.go:247 +0x50
net/http.(*Server).Serve(0xc04207ac30, 0x880100, 0xc042066078, 0x0, 0x0)
/usr/local/go19/src/net/http/server.go:2695 +0x1b9
net/http/httptest.(*Server).goServe.func1(0xc04211c9a0)
/usr/local/go19/src/net/http/httptest/server.go:280 +0x74
created by net/http/httptest.(*Server).goServe
/usr/local/go19/src/net/http/httptest/server.go:278 +0x63
goroutine 4 [select]:
net/http.(*Transport).getConn(0x8b1280, 0xc0421923f0, 0x0, 0xc0420465e0, 0x4, 0xc04200e0e0, 0xf, 0x0, 0x0, 0x150)
/usr/local/go19/src/net/http/transport.go:948 +0x5c6
net/http.(*Transport).RoundTrip(0x8b1280, 0xc0421a0400, 0xf, 0xc04200e070, 0x9)
/usr/local/go19/src/net/http/transport.go:400 +0x6ad
net/http/httputil.(*ReverseProxy).ServeHTTP(0xc042044c40, 0x880280, 0xc0421aa000, 0xc0421a0200)
/usr/local/go19/src/net/http/httputil/reverseproxy.go:201 +0x2e4
net/http.serverHandler.ServeHTTP(0xc04207ad00, 0x880280, 0xc0421aa000, 0xc0421a0200)
/usr/local/go19/src/net/http/server.go:2619 +0xbb
net/http.(*conn).serve(0xc04219c000, 0x880780, 0xc042034180)
/usr/local/go19/src/net/http/server.go:1801 +0x724
created by net/http.(*Server).Serve
/usr/local/go19/src/net/http/server.go:2720 +0x28f
goroutine 47 [IO wait]:
internal/poll.runtime_pollWait(0xc1d230, 0x72, 0x0)
/usr/local/go19/src/runtime/netpoll.go:173 +0x5e
internal/poll.(*pollDesc).wait(0xc042099358, 0x72, 0x87a400, 0x0, 0x0)
/usr/local/go19/src/internal/poll/fd_poll_runtime.go:85 +0xb5
internal/poll.(*ioSrv).ExecIO(0x8b4640, 0xc042099218, 0x736fe8, 0x410e11, 0xc042044e80, 0x40)
/usr/local/go19/src/internal/poll/fd_windows.go:195 +0x13a
internal/poll.(*FD).Read(0xc042099200, 0xc04219f000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go19/src/internal/poll/fd_windows.go:439 +0x266
net.(*netFD).Read(0xc042099200, 0xc04219f000, 0x1000, 0x1000, 0xc04212d8c8, 0x637ed2, 0x6f3440)
/usr/local/go19/src/net/fd_windows.go:151 +0x59
net.(*conn).Read(0xc0420660b8, 0xc04219f000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go19/src/net/net.go:176 +0x74
net/http.(*connReader).Read(0xc042079e30, 0xc04219f000, 0x1000, 0x1000, 0x43760b, 0xc04212d970, 0x64d9ea)
/usr/local/go19/src/net/http/server.go:753 +0x10c
bufio.(*Reader).fill(0xc04207d500)
/usr/local/go19/src/bufio/bufio.go:97 +0x121
bufio.(*Reader).ReadSlice(0xc04207d500, 0xa, 0x5, 0x0, 0x8d5aa8, 0xc042028380, 0xbc06a8)
/usr/local/go19/src/bufio/bufio.go:338 +0x33
bufio.(*Reader).ReadLine(0xc04207d500, 0x100, 0xf8, 0x715f00, 0xc04212da98, 0x220000402319, 0xf8)
/usr/local/go19/src/bufio/bufio.go:367 +0x3b
net/textproto.(*Reader).readLineSlice(0xc0420789f0, 0xc04212db20, 0xc04212db20, 0x41159f, 0x100, 0x715f00)
/usr/local/go19/src/net/textproto/reader.go:55 +0x77
net/textproto.(*Reader).ReadLine(0xc0420789f0, 0xc0420f5200, 0x0, 0xc04212db90, 0x48e0d9)
/usr/local/go19/src/net/textproto/reader.go:36 +0x32
net/http.readRequest(0xc04207d500, 0x0, 0xc0420f5200, 0x0, 0x0)
/usr/local/go19/src/net/http/request.go:925 +0xa0
net/http.(*conn).readRequest(0xc042040fa0, 0x880780, 0xc042044e00, 0x0, 0x0, 0x0)
/usr/local/go19/src/net/http/server.go:933 +0x183
net/http.(*conn).serve(0xc042040fa0, 0x880780, 0xc042044e00)
/usr/local/go19/src/net/http/server.go:1739 +0x515
created by net/http.(*Server).Serve
/usr/local/go19/src/net/http/server.go:2720 +0x28f
goroutine 42 [IO wait]:
internal/poll.runtime_pollWait(0xc1d530, 0x72, 0xc042098d98)
/usr/local/go19/src/runtime/netpoll.go:173 +0x5e
internal/poll.(*pollDesc).wait(0xc042098ed8, 0x72, 0x87a400, 0x0, 0x0)
/usr/local/go19/src/internal/poll/fd_poll_runtime.go:85 +0xb5
internal/poll.(*ioSrv).ExecIO(0x8b4640, 0xc042098d98, 0xc0420020c0, 0x2, 0x1, 0x0)
/usr/local/go19/src/internal/poll/fd_windows.go:195 +0x13a
internal/poll.(*FD).acceptOne(0xc042098d80, 0xc4, 0xc0421980e0, 0x2, 0x2, 0xc042098d98, 0xc042028700, 0xc04212fd28, 0x41159f, 0x10)
/usr/local/go19/src/internal/poll/fd_windows.go:748 +0xae
internal/poll.(*FD).Accept(0xc042098d80, 0xc042032060, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/usr/local/go19/src/internal/poll/fd_windows.go:782 +0x171
net.(*netFD).accept(0xc042098d80, 0xc04212fea8, 0x4010ee, 0xc04219c080)
/usr/local/go19/src/net/fd_windows.go:192 +0x88
net.(*TCPListener).accept(0xc042066080, 0x64106f, 0x459aa0, 0xc04212fef0)
/usr/local/go19/src/net/tcpsock_posix.go:136 +0x35
net.(*TCPListener).Accept(0xc042066080, 0x7371d0, 0xc04219c000, 0x880840, 0xc042079c80)
/usr/local/go19/src/net/tcpsock.go:247 +0x50
net/http.(*Server).Serve(0xc04207ad00, 0x880100, 0xc042066080, 0x0, 0x0)
/usr/local/go19/src/net/http/server.go:2695 +0x1b9
net/http/httptest.(*Server).goServe.func1(0xc04211ca10)
/usr/local/go19/src/net/http/httptest/server.go:280 +0x74
created by net/http/httptest.(*Server).goServe
/usr/local/go19/src/net/http/httptest/server.go:278 +0x63
goroutine 45 [IO wait]:
internal/poll.runtime_pollWait(0xc1d470, 0x72, 0x0)
/usr/local/go19/src/runtime/netpoll.go:173 +0x5e
internal/poll.(*pollDesc).wait(0xc042099118, 0x72, 0x87a400, 0x0, 0x0)
/usr/local/go19/src/internal/poll/fd_poll_runtime.go:85 +0xb5
internal/poll.(*ioSrv).ExecIO(0x8b4640, 0xc042098fd8, 0x736fe8, 0x0, 0x0, 0x0)
/usr/local/go19/src/internal/poll/fd_windows.go:195 +0x13a
internal/poll.(*FD).Read(0xc042098fc0, 0xc04217d000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go19/src/internal/poll/fd_windows.go:439 +0x266
net.(*netFD).Read(0xc042098fc0, 0xc04217d000, 0x1000, 0x1000, 0xc042079401, 0x4656f9, 0x1)
/usr/local/go19/src/net/fd_windows.go:151 +0x59
net.(*conn).Read(0xc0420660b0, 0xc04217d000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go19/src/net/net.go:176 +0x74
net/http.(*persistConn).Read(0xc042095200, 0xc04217d000, 0x1000, 0x1000, 0x0, 0x0, 0xc042133b68)
/usr/local/go19/src/net/http/transport.go:1391 +0x147
bufio.(*Reader).fill(0xc04207d380)
/usr/local/go19/src/bufio/bufio.go:97 +0x121
bufio.(*Reader).Peek(0xc04207d380, 0x1, 0xc04203b740, 0xc042133c80, 0x7378c8, 0xc042133c30, 0x42cf5f)
/usr/local/go19/src/bufio/bufio.go:129 +0x41
net/http.(*persistConn).readLoop(0xc042095200)
/usr/local/go19/src/net/http/transport.go:1539 +0x18c
created by net/http.(*Transport).dialConn
/usr/local/go19/src/net/http/transport.go:1186 +0xa35
goroutine 46 [select]:
net/http.(*persistConn).writeLoop(0xc042095200)
/usr/local/go19/src/net/http/transport.go:1759 +0x16c
created by net/http.(*Transport).dialConn
/usr/local/go19/src/net/http/transport.go:1187 +0xa5a
goroutine 5 [IO wait]:
internal/poll.runtime_pollWait(0xc1d3b0, 0x72, 0x0)
/usr/local/go19/src/runtime/netpoll.go:173 +0x5e
internal/poll.(*pollDesc).wait(0xc04219a158, 0x72, 0x87a400, 0x0, 0x0)
/usr/local/go19/src/internal/poll/fd_poll_runtime.go:85 +0xb5
internal/poll.(*ioSrv).ExecIO(0x8b4640, 0xc04219a018, 0x736fe8, 0x0, 0x0, 0x0)
/usr/local/go19/src/internal/poll/fd_windows.go:195 +0x13a
internal/poll.(*FD).Read(0xc04219a000, 0xc0421921f1, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go19/src/internal/poll/fd_windows.go:439 +0x266
net.(*netFD).Read(0xc04219a000, 0xc0421921f1, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go19/src/net/fd_windows.go:151 +0x59
net.(*conn).Read(0xc042004018, 0xc0421921f1, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go19/src/net/net.go:176 +0x74
net/http.(*connReader).backgroundRead(0xc0421921e0)
/usr/local/go19/src/net/http/server.go:660 +0x69
created by net/http.(*connReader).startBackgroundRead
/usr/local/go19/src/net/http/server.go:656 +0xdf
goroutine 6 [select]:
net/http/httputil.(*ReverseProxy).ServeHTTP.func1(0xc042036070, 0xc042032090, 0x880780, 0xc042034300)
/usr/local/go19/src/net/http/httputil/reverseproxy.go:154 +0xf9
created by net/http/httputil.(*ReverseProxy).ServeHTTP
/usr/local/go19/src/net/http/httputil/reverseproxy.go:153 +0xf23
goroutine 7 [IO wait]:
internal/poll.runtime_pollWaitCanceled(0xc1d2f0, 0x77)
/usr/local/go19/src/runtime/netpoll.go:189 +0x40
internal/poll.(*pollDesc).waitCanceled(0xc04219a398, 0x77)
/usr/local/go19/src/internal/poll/fd_poll_runtime.go:101 +0x4e
internal/poll.(*ioSrv).ExecIO(0x8b4648, 0xc04219a2f8, 0x736fe0, 0xc0421b3200, 0xc0421b3208, 0xc0421b31f8)
/usr/local/go19/src/internal/poll/fd_windows.go:225 +0x238
internal/poll.(*FD).ConnectEx(0xc04219a240, 0x87c7c0, 0xc04200a540, 0xc0420383c0, 0xc04219a240)
/usr/local/go19/src/internal/poll/fd_windows.go:738 +0x80
net.(*netFD).connect(0xc04219a240, 0x880800, 0xc0420383c0, 0x0, 0x0, 0x87c7c0, 0xc04200a540, 0x0, 0x0, 0x0, ...)
/usr/local/go19/src/net/fd_windows.go:116 +0x243
net.(*netFD).dial(0xc04219a240, 0x880800, 0xc0420383c0, 0x881a80, 0x0, 0x881a80, 0xc042192570, 0xc0421b33f8, 0x542925)
/usr/local/go19/src/net/sock_posix.go:142 +0xf3
net.socket(0x880800, 0xc0420383c0, 0x720741, 0x3, 0x2, 0x1, 0x0, 0x0, 0x881a80, 0x0, ...)
/usr/local/go19/src/net/sock_posix.go:93 +0x1c1
net.internetSocket(0x880800, 0xc0420383c0, 0x720741, 0x3, 0x881a80, 0x0, 0x881a80, 0xc042192570, 0x1, 0x0, ...)
/usr/local/go19/src/net/ipsock_posix.go:141 +0x158
net.doDialTCP(0x880800, 0xc0420383c0, 0x720741, 0x3, 0x0, 0xc042192570, 0x8d5aa8, 0x0, 0x0)
/usr/local/go19/src/net/tcpsock_posix.go:62 +0xc0
net.dialTCP(0x880800, 0xc0420383c0, 0x720741, 0x3, 0x0, 0xc042192570, 0xbe739053c662aa9c, 0x6fc23ac00, 0x8b6420)
/usr/local/go19/src/net/tcpsock_posix.go:58 +0xeb
net.dialSingle(0x880800, 0xc0420383c0, 0xc0421a4100, 0x87e740, 0xc042192570, 0x0, 0x0, 0x0, 0x0)
/usr/local/go19/src/net/dial.go:547 +0x3e9
net.dialSerial(0x880800, 0xc0420383c0, 0xc0421a4100, 0xc042032180, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0)
/usr/local/go19/src/net/dial.go:515 +0x24e
net.(*Dialer).DialContext(0xc04207c0c0, 0x880780, 0xc042034300, 0x720741, 0x3, 0xc04200e0e0, 0xf, 0x0, 0x0, 0x0, ...)
/usr/local/go19/src/net/dial.go:397 +0x6f5
net.(*Dialer).DialContext-fm(0x880780, 0xc042034300, 0x720741, 0x3, 0xc04200e0e0, 0xf, 0x0, 0xc042023998, 0x5e38f0, 0xc042034300)
/usr/local/go19/src/net/http/transport.go:46 +0x7a
net/http.(*Transport).dial(0x8b1280, 0x880780, 0xc042034300, 0x720741, 0x3, 0xc04200e0e0, 0xf, 0xc042023a70, 0xc042028700, 0x65f1d0, ...)
/usr/local/go19/src/net/http/transport.go:884 +0x22a
net/http.(*Transport).dialConn(0x8b1280, 0x880780, 0xc042034300, 0x0, 0xc0420465e0, 0x4, 0xc04200e0e0, 0xf, 0x1, 0x0, ...)
/usr/local/go19/src/net/http/transport.go:1060 +0x1d69
net/http.(*Transport).getConn.func4(0x8b1280, 0x880780, 0xc042034300, 0xc042192420, 0xc0421a80c0)
/usr/local/go19/src/net/http/transport.go:943 +0x7f
created by net/http.(*Transport).getConn
/usr/local/go19/src/net/http/transport.go:942 +0x39a
goroutine 9 [chan receive]:
net.(*netFD).connect.func2(0x880800, 0xc0420383c0, 0xc04219a240, 0xc0421a8300)
/usr/local/go19/src/net/fd_windows.go:110 +0x16a
created by net.(*netFD).connect
/usr/local/go19/src/net/fd_windows.go:104 +0x218
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@davecheney ok, np. Just opened #22394 . Happy to provide more information in either issue. Just let me know how I can help : ) |
@felixge, can you reproduce with Go 1.10 beta 2? Do you have any antivirus installed on the machine where this reproduces? |
@bradfitz IMO this issue is a dupe of #22394, so it should have been closed along with #22394. Do you suspect Go 1.10 beta 2 might have regressed? If not I think this issue can simply be closed. To answer your questions: I don't have access to the machine that reproduced the issue, but I could try to get it again and find out about AV as well. Let me know. |
Thanks, closing. |
What version of Go are you using (
go version
)?go version devel +fca6ad45e25 Sun May 14 20:24:34 2017 +0000 windows/amd64
What operating system and processor architecture are you using (
go env
)?set GOARCH=amd64
set GOBIN=
set GOEXE=.exe
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=d:\a
set GORACE=
set GOROOT=d:\a\go
set GOTOOLDIR=d:\a\go\pkg\tool\windows_amd64
set GCCGO=gccgo
set CC=gcc
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\brainman\AppData\Local\Temp\1\go-build025530391=/tmp/go-build -gno-record-gcc-switches
set CXX=g++
set CGO_ENABLED=1
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
What did you do?
I run
command.
What did you expect to see?
I expected test to PASS.
What did you see instead?
Sometimes test passes and sometimes it fails.
Alex
The text was updated successfully, but these errors were encountered: