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

net/http: apparent deadlock in TestCancelRequestMidBody_h1 on ios-arm64-corellium #48153

Open
bcmills opened this issue Sep 2, 2021 · 0 comments
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@bcmills
Copy link
Contributor

bcmills commented Sep 2, 2021

greplogs --dashboard -md -l -e '(?m)\[IO wait, .* minutes\]:\n(?:(?:.+)\n)*net/http_test.testCancelRequestMidBody'

2021-09-02T14:02:42-b8420ba/ios-arm64-corellium

goroutine 443 [IO wait, 3 minutes]:
runtime.gopark(0x1044d1540, 0x9, 0x0, 0xa0, 0x1000)
	/tmp/workdir-host-ios-arm64-corellium-ios/go/src/runtime/proc.go:366 +0xe8 fp=0x1301af7d0 sp=0x1301af7b0 pc=0x104493ae8
runtime.netpollblock(0x1301af858, 0x44e9b48, 0x1)
	/tmp/workdir-host-ios-arm64-corellium-ios/go/src/runtime/netpoll.go:445 +0x11c fp=0x1301af810 sp=0x1301af7d0 pc=0x10448cffc
internal/poll.runtime_pollWait(0x105564f30, 0x72)
	/tmp/workdir-host-ios-arm64-corellium-ios/go/src/runtime/netpoll.go:229 +0x9c fp=0x1301af830 sp=0x1301af810 pc=0x1044bcd1c
internal/poll.(*pollDesc).wait(0x130518b00, 0x13055a000, 0x0)
	/tmp/workdir-host-ios-arm64-corellium-ios/go/src/internal/poll/fd_poll_runtime.go:84 +0x2c fp=0x1301af860 sp=0x1301af830 pc=0x1044e8dfc
internal/poll.(*pollDesc).waitRead(...)
	/tmp/workdir-host-ios-arm64-corellium-ios/go/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0x130518b00, {0x13055a000, 0x1000, 0x1000})
	/tmp/workdir-host-ios-arm64-corellium-ios/go/src/internal/poll/fd_unix.go:167 +0x1e4 fp=0x1301af8e0 sp=0x1301af860 pc=0x1044e9b24
net.(*netFD).Read(0x130518b00, {0x13055a000, 0x0, 0x1045dbfe8})
	/tmp/workdir-host-ios-arm64-corellium-ios/go/src/net/fd_posix.go:56 +0x2c fp=0x1301af930 sp=0x1301af8e0 pc=0x1045d31ec
net.(*conn).Read(0x1300180d8, {0x13055a000, 0x1301af9c8, 0x1046ad26c})
	/tmp/workdir-host-ios-arm64-corellium-ios/go/src/net/net.go:183 +0x38 fp=0x1301af980 sp=0x1301af930 pc=0x1045de5e8
net.(*TCPConn).Read(0x1300180d8, {0x13055a000, 0x10496cc48, 0x130477000})
	<autogenerated>:1 +0x34 fp=0x1301af9b0 sp=0x1301af980 pc=0x1045eb1f4
net/http.(*persistConn).Read(0x130528b40, {0x13055a000, 0x104fd5e00, 0x104482f1c})
	/tmp/workdir-host-ios-arm64-corellium-ios/go/src/net/http/transport.go:1926 +0x54 fp=0x1301afa10 sp=0x1301af9b0 pc=0x1046d2ce4
bufio.(*Reader).fill(0x13037d740)
	/tmp/workdir-host-ios-arm64-corellium-ios/go/src/bufio/bufio.go:101 +0x100 fp=0x1301afa50 sp=0x1301afa10 pc=0x10453cf40
bufio.(*Reader).ReadSlice(0x13037d740, 0x68)
	/tmp/workdir-host-ios-arm64-corellium-ios/go/src/bufio/bufio.go:360 +0x34 fp=0x1301afaa0 sp=0x1301afa50 pc=0x10453db74
net/http/internal.readChunkLine(0x2000)
	/tmp/workdir-host-ios-arm64-corellium-ios/go/src/net/http/internal/chunked.go:122 +0x24 fp=0x1301afae0 sp=0x1301afaa0 pc=0x10465f694
net/http/internal.(*chunkedReader).beginChunk(0x1300ac5a0)
	/tmp/workdir-host-ios-arm64-corellium-ios/go/src/net/http/internal/chunked.go:48 +0x2c fp=0x1301afb10 sp=0x1301afae0 pc=0x10465f22c
net/http/internal.(*chunkedReader).Read(0x1300ac5a0, {0x1304bc000, 0x1301afc08, 0x104e29190})
	/tmp/workdir-host-ios-arm64-corellium-ios/go/src/net/http/internal/chunked.go:93 +0x138 fp=0x1301afb80 sp=0x1301afb10 pc=0x10465f4f8
net/http.(*body).readLocked(0x130435000, {0x1304bc000, 0x5, 0x0})
	/tmp/workdir-host-ios-arm64-corellium-ios/go/src/net/http/transfer.go:843 +0x40 fp=0x1301afbd0 sp=0x1301afb80 pc=0x1046c8e60
net/http.(*body).Read(0x1301afc98, {0x1304bc000, 0x104e29190, 0x0})
	/tmp/workdir-host-ios-arm64-corellium-ios/go/src/net/http/transfer.go:835 +0x134 fp=0x1301afc40 sp=0x1301afbd0 pc=0x1046c8d44
net/http.(*bodyEOFSignal).Read(0x130435040, {0x1304bc000, 0x200, 0x200})
	/tmp/workdir-host-ios-arm64-corellium-ios/go/src/net/http/transport.go:2768 +0x184 fp=0x1301afcd0 sp=0x1301afc40 pc=0x1046d6f64
io.ReadAll({0x104972840, 0x130435040})
	/tmp/workdir-host-ios-arm64-corellium-ios/go/src/io/io.go:633 +0xe4 fp=0x1301afd60 sp=0x1301afcd0 pc=0x1044e47c4
net/http_test.testCancelRequestMidBody(0x1301996c0, 0x4c)
	/tmp/workdir-host-ios-arm64-corellium-ios/go/src/net/http/clientserver_test.go:566 +0x330 fp=0x1301aff40 sp=0x1301afd60 pc=0x104726fb0
net/http_test.TestCancelRequestMidBody_h1(0x0)
	/tmp/workdir-host-ios-arm64-corellium-ios/go/src/net/http/clientserver_test.go:528 +0x24 fp=0x1301aff60 sp=0x1301aff40 pc=0x104726c04
testing.tRunner(0x1301996c0, 0x10496ce20)
	/tmp/workdir-host-ios-arm64-corellium-ios/go/src/testing/testing.go:1259 +0x110 fp=0x1301affb0 sp=0x1301aff60 pc=0x104538da0
testing.(*T).Run.func1()
	/tmp/workdir-host-ios-arm64-corellium-ios/go/src/testing/testing.go:1306 +0x30 fp=0x1301affd0 sp=0x1301affb0 pc=0x1045399d0
runtime.goexit()
	/tmp/workdir-host-ios-arm64-corellium-ios/go/src/runtime/asm_arm64.s:1259 +0x4 fp=0x1301affd0 sp=0x1301affd0 pc=0x1044c2684
created by testing.(*T).Run
	/tmp/workdir-host-ios-arm64-corellium-ios/go/src/testing/testing.go:1306 +0x300

CC @neild

@bcmills bcmills added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Sep 2, 2021
@bcmills bcmills added this to the Backlog milestone Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

1 participant