Skip to content
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: windows TestBreakpoint timed out #8796

Closed
alexbrainman opened this issue Sep 23, 2014 · 2 comments
Closed

runtime: windows TestBreakpoint timed out #8796

alexbrainman opened this issue Sep 23, 2014 · 2 comments
Milestone

Comments

@alexbrainman
Copy link
Member

building

changeset:   21267:c312f5855b33
user:        Brad Fitzpatrick <bradfitz@golang.org>
date:        Tue Sep 23 14:55:19 2014 -0700
summary:     os: add a comment inside RemoveAll

on our windows-amd64 builder
http://build.golang.org/log/be7ba156626f7004cccfc3cae83c78b2fa99df0e

we see this

# GOMAXPROCS=2 runtime -cpu=1,2,4
panic: test timed out after 5m0s

goroutine 83214 [running]:
testing.func·008()
    c:/go/src/testing/testing.go:680 +0x12d
created by time.goFunc
    c:/go/src/time/sleep.go:122 +0x52

goroutine 1 [chan receive, 2 minutes]:
testing.RunTests(0x6a4a20, 0x765320, 0x85, 0x85, 0xb3852a81ef419001)
    c:/go/src/testing/testing.go:556 +0xacd
testing.(*M).Run(0xc08200a2d0, 0x773500)
    c:/go/src/testing/testing.go:485 +0x73
main.main()
    runtime/_test/_testmain.go:710 +0x221

goroutine 83213 [syscall, 2 minutes, locked to thread]:
syscall.ReadFile(0x1a8, 0xc082227a32, 0x3ce, 0x3ce, 0xc08203fcfc, 0x0, 0x0, 0x0)
    c:/go/src/syscall/zsyscall_windows.go:276 +0xcf
syscall.Read(0x1a8, 0xc082227a32, 0x3ce, 0x3ce, 0x34, 0x0, 0x0)
    c:/go/src/syscall/syscall_windows.go:284 +0x89
os.(*File).read(0xc08202a8a8, 0xc082227a32, 0x3ce, 0x3ce, 0x0, 0x0, 0x0)
    c:/go/src/os/file_windows.go:298 +0x140
os.(*File).Read(0xc08202a8a8, 0xc082227a32, 0x3ce, 0x3ce, 0x34, 0x0, 0x0)
    c:/go/src/os/file.go:95 +0x9e
bytes.(*Buffer).ReadFrom(0xc0820e2310, 0x346730, 0xc08202a8a8, 0xa32, 0x0, 0x0)
    c:/go/src/bytes/buffer.go:169 +0x26c
io.Copy(0x3466e0, 0xc0820e2310, 0x346730, 0xc08202a8a8, 0x0, 0x0, 0x0)
    c:/go/src/io/io.go:358 +0x144
os/exec.func·003(0x0, 0x0)
    c:/go/src/os/exec/exec.go:214 +0x84
os/exec.func·004(0xc0820dca00)
    c:/go/src/os/exec/exec.go:321 +0x34
created by os/exec.(*Cmd).Start
    c:/go/src/os/exec/exec.go:322 +0xcd0

goroutine 83210 [syscall, 2 minutes, locked to thread]:
syscall.WaitForSingleObject(0x1a4, 0xc0ffffffff, 0x405288, 0x0, 0x0)
    c:/go/src/syscall/zsyscall_windows.go:683 +0x76
os.(*Process).wait(0xc0820dcd20, 0x0, 0x0, 0x0)
    c:/go/src/os/exec_windows.go:16 +0x92
os.(*Process).Wait(0xc0820dcd20, 0xc0820de5c0, 0x0, 0x0)
    c:/go/src/os/doc.go:45 +0x41
os/exec.(*Cmd).Wait(0xc0823cea00, 0x0, 0x0)
    c:/go/src/os/exec/exec.go:357 +0x267
os/exec.(*Cmd).Run(0xc0823cea00, 0x0, 0x0)
    c:/go/src/os/exec/exec.go:239 +0x78
os/exec.(*Cmd).CombinedOutput(0xc0823cea00, 0x0, 0x0, 0x0, 0x0, 0x0)
    c:/go/src/os/exec/exec.go:401 +0x37b
runtime_test.executeTest(0xc082effb00, 0x68d530, 0x45, 0x0, 0x0, 0x0, 0x0)
    c:/gobuilder/windows-amd64-c312f5855b33/go/src/runtime/crash_test.go:64 +0x96e
runtime_test.TestBreakpoint(0xc082effb00)
    c:/gobuilder/windows-amd64-c312f5855b33/go/src/runtime/crash_test.go:195 +0x58
testing.tRunner(0xc082effb00, 0x765590)
    c:/go/src/testing/testing.go:447 +0xc7
created by testing.RunTests
    c:/go/src/testing/testing.go:555 +0xa82
FAIL    runtime 300.106s

It is impossible to say what is wrong without error output. Perhaps we don't see the
output for the same reason as in issue #8006.

I cannot reproduce that error here.

Alex
@ianlancetaylor
Copy link
Member

Comment 1:

Labels changed: added repo-main, release-go1.4, os-windows.

@alexbrainman
Copy link
Member Author

Comment 2:

I suspect this is fixed by revision aede4cf79f18:
runtime: handle all windows exception (second attempt)
includes undo of 22318cd31d7d and also:
- always use SetUnhandledExceptionFilter on windows-386;
- crash when receive EXCEPTION_BREAKPOINT in exception handler.
Fixes  issue #8006 .
LGTM=rsc
R=golang-codereviews, rsc
CC=golang-codereviews
https://golang.org/cl/155360043
We can always reopen if we discover it is still broken.
Alex

Status changed to Fixed.

@rsc rsc added this to the Go1.4 milestone Apr 14, 2015
@rsc rsc removed the release-go1.4 label Apr 14, 2015
@golang golang locked and limited conversation to collaborators Jun 25, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants