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/cgi: TestBeChildCGIProcess hangs on plan9/amd64 #21599

Closed
0intro opened this issue Aug 24, 2017 · 3 comments
Closed

net/http/cgi: TestBeChildCGIProcess hangs on plan9/amd64 #21599

0intro opened this issue Aug 24, 2017 · 3 comments

Comments

@0intro
Copy link
Member

0intro commented Aug 24, 2017

Since CL 54410, the net/http/cgi tests time out on plan9/amd64, because the TestBeChildCGIProcess program hangs.

djc            4333    0:00   0:00     2904K Broken   /tmp/go-build239252177/net/http/cgi/_test/cgi.test -test.run=TestBeChildCGIProcess
djc            4334    0:00   0:00     2904K Tsemacqu cgi.test
djc            4335    0:00   0:00     2904K Semacqui cgi.test
term% acid 4333
/proc/4333/text:amd64 plan 9 executable
/sys/lib/acid/port
/sys/lib/acid/amd64
no symbol information
acid: asm(*PC)
0x226eef 0x0000000000226eef	XORPS	X0,X0
0x226ef2 0x0000000000226ef2	MOVUPS	X0,0x28(SP)
0x226ef7 0x0000000000226ef7	MOVQ	0x60572a,AX
0x226efe 0x0000000000226efe	MOVQ	0x60571b,CX
0x226f05 0x0000000000226f05	TESTQ	AX,AX
0x226f08 0x0000000000226f08	JLS	0x226fba
0x226f0e 0x0000000000226f0e	MOVQ	CX,0x0(SP)
0x226f12 0x0000000000226f12	MOVQ	$0x0,0x8(SP)
0x226f1b 0x0000000000226f1b	CALL	0x255670
0x226f20 0x0000000000226f20	MOVL	0x10(SP),AX
0x226f24 0x0000000000226f24	TESTL	AX,AX
0x226f26 0x0000000000226f26	JGE	0x226f84
0x226f28 0x0000000000226f28	MOVL	$0x14,AX
0x226f2d 0x0000000000226f2d	LEAQ	0x24(SP),CX
0x226f32 0x0000000000226f32	JMP	0x226f4b
0x226f34 0x0000000000226f34	DECQ	AX
0x226f37 0x0000000000226f37	MOVQ	AX,DX
0x226f3a 0x0000000000226f3a	NEGQ	AX
0x226f3d 0x0000000000226f3d	SARQ	$0x3f,AX
0x226f41 0x0000000000226f41	ANDQ	$0x1,AX
0x226f45 0x0000000000226f45	ADDQ	AX,CX
0x226f48 0x0000000000226f48	MOVQ	DX,AX
0x226f4b 0x0000000000226f4b	TESTQ	AX,AX
0x226f4e 0x0000000000226f4e	JLS	0x226fb3
0x226f50 0x0000000000226f50	MOVBZX	0x0(CX),DX
0x226f53 0x0000000000226f53	CMPB	DL,$0x20
0x226f56 0x0000000000226f56	JEQ	0x226f34
0x226f58 0x0000000000226f58	CMPB	DL,$0x9
0x226f5b 0x0000000000226f5b	JEQ	0x226f34
0x226f5d 0x0000000000226f5d	MOVQ	CX,0x0(SP)
acid: regs()
AX    0x000000042086696b
BX    0x0000000000000004
CX    0x000000042085c000
DX    0x0000000000000077
DI    0x000000042086dcf1
SI    0x00000004209957f0
BP    0x000000042086dca0
R8    0x0000000000000004
R9    0x0000000000000002
R10   0x0000000000000004
R11   0x0000000000000000
R12   0x000000042089f5e0
R13   0x0000000000000018
R14   0x0000000000000018
R15   0x00000004208fa6e0
DS  0xa6e0  ES  0x208f  FS  0x0004  GS  0x0000
TYPE  0x0000000000000007
ERROR 0xffffffff8011072b
PC    0x0000000000226eef
CS    0x000000000000002b
FLAGS 0x0000000000010202
SP    0x000000042086dc68
SS    0x0000000000000023
acid: 

See https://build.golang.org/log/b09b1821207da7631d4a615a1b3d49ee8a416f01

@0intro 0intro added this to the Go1.10 milestone Aug 24, 2017
@0intro 0intro self-assigned this Aug 24, 2017
@0intro
Copy link
Member Author

0intro commented Aug 24, 2017

I think TestBeChildCGIProcess is failing because we use floating point in the signal handler, which is not allowed on Plan 9.

@0intro
Copy link
Member Author

0intro commented Aug 24, 2017

The recent CL 56250 also use MOVOstore pseudo-instructions. We should disable use of MOVOstore on plan9/amd64.

@gopherbot
Copy link

Change https://golang.org/cl/58850 mentions this issue: cmd/compile: don't use MOVOstore instruction on plan9/amd64

@golang golang locked and limited conversation to collaborators Aug 25, 2018
@rsc rsc unassigned 0intro Jun 23, 2022
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

2 participants