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: GDB tests fail on mips64 #18173

Closed
bradfitz opened this issue Dec 2, 2016 · 5 comments

Comments

Projects
None yet
4 participants
@bradfitz
Copy link
Member

commented Dec 2, 2016

Tracking bug to fix the GDB tests on mips64.

I'm going to skip them for now.

They fail with:

--- FAIL: TestGdbAutotmpTypes (2.30s)
	runtime-gdb_test.go:54: gdb version 7.7
	runtime-gdb_test.go:343: could not find struct []main.astruct; in 'info typrs astruct' output
	runtime-gdb_test.go:344: gdb output:
		Breakpoint 1 at 0x68d30: file /tmp/go-build601728910/main.go, line 9.
		/build/gdb-r6lxrh/gdb-7.7.1+dfsg/gdb/mips-tdep.c:715: internal-error: bad register size
		A problem internal to GDB has been detected,
		further debugging may prove unreliable.
		Quit this debugging session? (y or n) [answered Y; input not from terminal]
		/build/gdb-r6lxrh/gdb-7.7.1+dfsg/gdb/mips-tdep.c:715: internal-error: bad register size
		A problem internal to GDB has been detected,
		further debugging may prove unreliable.
		Create a core file of GDB? (y or n) [answered Y; input not from terminal]
		(0x7c980,0xc420016060) (0x78300,0xc420039f58)
--- FAIL: TestGdbBacktrace (2.42s)
	runtime-gdb_test.go:54: gdb version 7.7
	runtime-gdb_test.go:274: could not find '#0.*main\.eee' in backtrace
	runtime-gdb_test.go:275: gdb output:
		Breakpoint 1 at 0x68e50: file /tmp/go-build533461397/main.go, line 17.
		/build/gdb-r6lxrh/gdb-7.7.1+dfsg/gdb/mips-tdep.c:715: internal-error: bad register size
		A problem internal to GDB has been detected,
		further debugging may prove unreliable.
		Quit this debugging session? (y or n) [answered Y; input not from terminal]
		/build/gdb-r6lxrh/gdb-7.7.1+dfsg/gdb/mips-tdep.c:715: internal-error: bad register size
		A problem internal to GDB has been detected,
		further debugging may prove unreliable.
		Create a core file of GDB? (y or n) [answered Y; input not from terminal]
--- FAIL: TestGdbPython (4.78s)
	runtime-gdb_test.go:54: gdb version 7.7
	runtime-gdb_test.go:167: info goroutines failed: 
FAIL
FAIL	runtime	148.905s

/cc @cherrymui

@bradfitz bradfitz added this to the Go1.9 milestone Dec 2, 2016

@gopherbot

This comment has been minimized.

Copy link

commented Dec 2, 2016

CL https://golang.org/cl/33892 mentions this issue.

@vstefanovic

This comment has been minimized.

Copy link
Member

commented Dec 2, 2016

Like TestLinuxSendfile, this one also passes on a 64bit rootfs. We've setup mips64be Debian Wheezy RFS yesterday for the mips64be buildbot, but it hasn't run since then.

gopherbot pushed a commit that referenced this issue Dec 3, 2016

runtime: skip GDB tests on mips64
Updates #18173

Change-Id: I4c667c89ba3bf16433a4cef7cb01054f1798667d
Reviewed-on: https://go-review.googlesource.com/33892
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
@aclements

This comment has been minimized.

Copy link
Member

commented Jun 6, 2017

@vstefanovic, ping.

@vstefanovic

This comment has been minimized.

Copy link
Member

commented Jun 8, 2017

I forgot these.
They can be enabled, except that then they will be skipped due to too old gdb.
Let me see if we can install 7.9 on the mips64 build machine.

@gopherbot

This comment has been minimized.

Copy link

commented Jun 15, 2017

CL https://golang.org/cl/45874 mentions this issue.

@gopherbot gopherbot closed this in 023593d Jun 15, 2017

@golang golang locked and limited conversation to collaborators Jun 15, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.