Skip to content

runtime: linux/arm builders crash with runtime_pollWait: unblocked by ioready #6103

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

Closed
dvyukov opened this issue Aug 11, 2013 · 4 comments
Closed
Milestone

Comments

@dvyukov
Copy link
Member

dvyukov commented Aug 11, 2013

http://build.golang.org/log/131089a1af9f349727cec6ce76f236145744a49e
http://build.golang.org/log/2086f897676c67aa10d4683bef258f1cdf690fb4
http://build.golang.org/log/c88a005815efda13e9ca03b76f067a0d3e5c3e22
http://build.golang.org/log/46ebd8b48786519935e11b6e46bb1520e4997c14
and more

Happens only on linux/arm builders and always on reading from http persistent connection.

fatal error: runtime_pollWait: unblocked by ioready

goroutine 56 [running]:
runtime.throw(0x469567)
    /usr/local/go/src/pkg/runtime/panic.c:501 +0x5c fp=0xb4adde24
net.runtime_pollWait(0xb6dcf6c8, 0x72, 0x0)
    /usr/local/go/src/pkg/runtime/netpoll.goc:119 +0xac fp=0xb4adde30
net.(*pollDesc).Wait(0x107aa078, 0x72, 0x0, 0x0)
    /usr/local/go/src/pkg/net/fd_poll_runtime.go:81 +0x44 fp=0xb4adde40
net.(*pollDesc).WaitRead(0x107aa078, 0x0, 0x0)
    /usr/local/go/src/pkg/net/fd_poll_runtime.go:86 +0x40 fp=0xb4adde54
net.(*netFD).Read(0x107aa040, 0x107af000, 0x1000, 0x1000, 0x0, ...)
    /usr/local/go/src/pkg/net/fd_unix.go:210 +0x2cc fp=0xb4adde8c
net.(*conn).Read(0x107577f0, 0x107af000, 0x1000, 0x1000, 0x0, ...)
    /usr/local/go/src/pkg/net/net.go:123 +0xd4 fp=0xb4addeac
bufio.(*Reader).fill(0x1071cd50)
    /usr/local/go/src/pkg/bufio/bufio.go:91 +0x15c fp=0xb4addefc
bufio.(*Reader).Peek(0x1071cd50, 0x1, 0x0, 0x0, 0x0, ...)
    /usr/local/go/src/pkg/bufio/bufio.go:119 +0xdc fp=0xb4addf04
net/http.(*persistConn).readLoop(0x107205f0)
    /usr/local/go/src/pkg/net/http/transport.go:687 +0xdc fp=0xb4addfc4
runtime.goexit()
    /usr/local/go/src/pkg/runtime/proc.c:1364 fp=0xb4addfc4
created by net/http.(*Transport).dialConn
    /usr/local/go/src/pkg/net/http/transport.go:528 +0x5fc
@dvyukov
Copy link
Member Author

dvyukov commented Aug 11, 2013

Comment 1:

Most likely started happening on:
net: add special netFD mutex
https://code.google.com/p/go/source/detail?r=7afd81b7fe122e743f0db88f538eb3b4004be650

@dvyukov
Copy link
Member Author

dvyukov commented Aug 11, 2013

Comment 2:

Can there can be codegen issues? E.g. (void*)false != nil?
Issue with memory barriers? All state there is protected with locks, so unclear how it
can be...

@dvyukov
Copy link
Member Author

dvyukov commented Aug 11, 2013

Comment 3:

Status changed to Started.

@dvyukov
Copy link
Member Author

dvyukov commented Aug 13, 2013

Comment 4:

This issue was closed by revision 9707f26.

Status changed to Fixed.

@rsc rsc added this to the Go1.2 milestone Apr 14, 2015
@rsc rsc removed the go1.2 label Apr 14, 2015
@golang golang locked and limited conversation to collaborators Jun 24, 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

3 participants