-
Notifications
You must be signed in to change notification settings - Fork 18k
runtime: misc/cgo/test failure #4892
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
Labels
Milestone
Comments
Had another manifestation of what I think is the same bug in a test that was checking that the expected number of goroutines existed at some point: ng := runtime.NumGoroutine() if ng > 5 { panic(fmt.Sprintf("Test ended with %d running goroutines", ng)) } it died with the following. goroutine 0 looks suspect. panic: Test ended with 6 running goroutines goroutine 5 [running]: testing.func·004() /build/go/go/src/pkg/testing/testing.go:341 +0xbc test.TestCleanShutdown(0xc200000240) test_test.go:32 +0x1a1 testing.tRunner(0xc200000240, 0xbd85a0) /build/go/go/src/pkg/testing/testing.go:346 +0x85 created by testing.RunTests /build/go/go/src/pkg/testing/testing.go:426 +0x86b goroutine 1 [chan receive]: testing.RunTests(0x9a0718, 0xbd85a0, 0x1, 0x1, 0x45f801, ...) /build/go/go/src/pkg/testing/testing.go:427 +0x88e testing.Main(0x9a0718, 0xbd85a0, 0x1, 0x1, 0xbe3088, ...) /build/go/go/src/pkg/testing/testing.go:358 +0x8a main.main() test/_test/_testmain.go:43 +0x9a goroutine 0 [syscall]: goroutine 6 [syscall]: syscall.Syscall6() /build/go/go/src/pkg/syscall/asm_linux_amd64.s:40 +0x5 syscall.EpollWait(0x9, 0xc2001980c0, 0xa, 0xa, 0xffffffffffffffff, ...) /build/go/go/src/pkg/syscall/zerrors_linux_amd64.go:1871 +0x95 net.(*pollster).WaitFD(0xc2001980b0, 0xc20015be40, 0x0, 0x0, 0x0, ...) /build/go/go/src/pkg/net/fd_linux.go:151 +0x127 net.(*pollServer).Run(0xc20015be40) /build/go/go/src/pkg/net/fd_unix.go:212 +0x10a created by net.newPollServer /build/go/go/src/pkg/net/newpollserver_unix.go:33 +0x2d5 |
Fixed by https://code.google.com/p/go/source/detail?r=231af8ac63aafe8d5bd8a2c295034f686cb99368 Owner changed to @dvyukov. Status changed to Fixed. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: