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
runtime: issues on linux/386 #5007
Labels
Milestone
Comments
Okay, so far I've seen the following: linux/386: issue #5005, net/http tests failing, never seen this on amd64 linux/386: issue #5007, time tests failing if GC is enabled, works if GC is disabled, tried to reproduce on amd64 but it seems fine there linux/386 and linux/amd64: go test -v -cpu 1,2,4 -timeout=30m runtime tests timing out. so far I've seen TestGoexitDeadlock and TestInitDeadlock on 386 and TestLockedDeadlock2 on amd64 time out linux/386: I can reproduce the problem in issue #4869 linux/386 and linux/amd64: issue #4987: os/signal.TestSignal failures on both architectures. I've only been able to reproduce this on one machine though, so I don't know if it's the machine or the kernel maybe. strace looks sane though. Here's a stacktrace for the runtime test deadlock on amd64: go version devel +80a76d7f37a1 Fri Mar 08 16:39:54 2013 -0800 linux/amd64 === RUN TestLockedDeadlock2 panic: test timed out goroutine 77 [running]: testing.alarm() /build/go.tip/go/src/pkg/testing/testing.go:526 +0x53 created by time.goFunc /build/go.tip/go/src/pkg/time/sleep.go:122 +0x48 goroutine 1 [chan receive]: testing.RunTests(0x6359e0, 0x74bac0, 0x22, 0x22, 0x1, ...) /build/go.tip/go/src/pkg/testing/testing.go:427 +0x88e testing.Main(0x6359e0, 0x74bac0, 0x22, 0x22, 0x74d540, ...) /build/go.tip/go/src/pkg/testing/testing.go:358 +0x8a main.main() runtime/_test/_testmain.go:251 +0x9a goroutine 58 [syscall]: syscall.Syscall6() /build/go.tip/go/src/pkg/syscall/asm_linux_amd64.s:41 +0x5 syscall.wait4(0x431f, 0xc200000b40, 0x0, 0xc200123e10, 0x100000001, ...) /build/go.tip/go/src/pkg/syscall/zerrors_linux_amd64.go:1640 +0x7b syscall.Wait4(0x431f, 0x7f650072ab44, 0x0, 0xc200123e10, 0xc20012be70, ...) /build/go.tip/go/src/pkg/syscall/syscall_linux.go:222 +0x6c os.(*Process).wait(0xc20012fee0, 0x0, 0x0, 0x0) /build/go.tip/go/src/pkg/os/exec_unix.go:22 +0xea os.(*Process).Wait(0xc20012fee0, 0xc200000ab8, 0x0, 0x0) /build/go.tip/go/src/pkg/os/doc.go:43 +0x25 os/exec.(*Cmd).Wait(0xc200134140, 0x0, 0x0) /build/go.tip/go/src/pkg/os/exec/exec.go:308 +0x197 os/exec.(*Cmd).Run(0xc200134140, 0xc20012a540, 0xc20012be70) /build/go.tip/go/src/pkg/os/exec/exec.go:232 +0x52 os/exec.(*Cmd).CombinedOutput(0xc200134140, 0x2, 0x7f650072adc0, 0x2, 0x2, ...) /build/go.tip/go/src/pkg/os/exec/exec.go:352 +0x20d runtime_test.executeTest(0xc200123b40, 0x63b130, 0x9c, 0x0, 0x0, ...) /build/go.tip/go/src/pkg/runtime/crash_test.go:40 +0x61f runtime_test.testDeadlock(0xc200123b40, 0x63b130, 0x9c) /build/go.tip/go/src/pkg/runtime/crash_test.go:71 +0x56 runtime_test.TestLockedDeadlock2(0xc200123b40) /build/go.tip/go/src/pkg/runtime/crash_test.go:91 +0x39 testing.tRunner(0xc200123b40, 0x74bbc8) /build/go.tip/go/src/pkg/testing/testing.go:346 +0x8a created by testing.RunTests /build/go.tip/go/src/pkg/testing/testing.go:426 +0x86b goroutine 63 [finalizer wait]: goroutine 61 [syscall]: syscall.Syscall() /build/go.tip/go/src/pkg/syscall/asm_linux_amd64.s:16 +0x5 syscall.read(0x4, 0xc200130600, 0x200, 0x200, 0x8, ...) /build/go.tip/go/src/pkg/syscall/zerrors_linux_amd64.go:2337 +0x70 syscall.Read(0x4, 0xc200130600, 0x200, 0x200, 0x413b44, ...) /build/go.tip/go/src/pkg/syscall/syscall_unix.go:132 +0x5a os.(*File).read(0xc200000ae8, 0xc200130600, 0x200, 0x200, 0x55ab40, ...) /build/go.tip/go/src/pkg/os/file_unix.go:174 +0x60 os.(*File).Read(0xc200000ae8, 0xc200130600, 0x200, 0x200, 0x0, ...) /build/go.tip/go/src/pkg/os/file.go:95 +0x96 bytes.(*Buffer).ReadFrom(0xc20012a540, 0xc2000c9d80, 0xc200000ae8, 0x0, 0x0, ...) /build/go.tip/go/src/pkg/bytes/buffer.go:166 +0x203 io.Copy(0xc2000c9ab0, 0xc20012a540, 0xc2000c9d80, 0xc200000ae8, 0x0, ...) /build/go.tip/go/src/pkg/io/io.go:328 +0xa3 os/exec.func·003(0x63b1cc, 0xc20012a3f0) /build/go.tip/go/src/pkg/os/exec/exec.go:207 +0x60 os/exec.func·004(0xc20012fc20) /build/go.tip/go/src/pkg/os/exec/exec.go:274 +0x2a created by os/exec.(*Cmd).Start /build/go.tip/go/src/pkg/os/exec/exec.go:275 +0x6ac FAIL runtime 1800.050s |
mailed https://golang.org/cl/7534044/ Owner changed to @dvyukov. Status changed to Accepted. |
This issue was closed by revision 433824d. 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: