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: Go 1.6.1 TestGDBPython is failing on linux amd64 #15354
Comments
If you put a trivial "hello, world" in program in hello.go, what is the output of
|
On Mon, Apr 18, 2016 at 03:23:00PM -0700, Ian Lance Taylor wrote:
william@linux1 hello $ cat hello.go import "fmt" Thread 1 "hello" hit Temporary breakpoint 1, main.main ()
Quit anyway? (y or n) y |
Well, that didn't work, because of this:
Try the same thing, but this time run
|
william@linux1 hello $ gdb -iex 'add-auto-load-safe-path /usr/lib64/go/src/runti me' hello Thread 1 "hello" hit Temporary breakpoint 1, main.main ()
Quit anyway? (y or n) y |
Thanks. Unfortunately I have no idea why the test is failing. Someone with access to the failing system is going to have to debug this. |
Hi, Now there is more information about what is going on in the Gentoo bug, see |
I experienced the same issue on my amd64 Ubuntu 14.04 machine. I was able to get around it using the following patch:
I must admit I don't understand why "startup-with-shell" is set to "on" by default on my machine. |
Actually, I had to add the same line twice to pass all the tests:
|
Submitted the patch for review: https://go-review.googlesource.com/#/c/23142/ |
CL https://golang.org/cl/23142 mentions this issue. |
Please answer these questions before submitting your issue. Thanks!
go version
)?go env
)?If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
I am the maintainer of Go on Gentoo Linux, and I have gotten a couple of reports of this test failing. I checked on my system, and it fails like this:
--- FAIL: TestGdbPython (0.65s)
runtime-gdb_test.go:42: gdb version 7.10
runtime-gdb_test.go:148: info goroutines failed: END
BEGIN print mapvar
No symbol "mapvar" in current context.
FAIL
FAIL runtime 13.576s
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: