Open
Description
What version of Go are you using (go version
)?
This is with tip.
What operating system and processor architecture are you using (go env
)?
linux/amd64 on the linux-amd64-alpine builder
What did you do?
go test -test.v -test.run=TestGdbBacktrace runtime
What did you expect to see?
pass
What did you see instead?
--- FAIL: TestGdbBacktrace (0.93s)
runtime-gdb_test.go:76: gdb version 11.2
testenv.go:473: [gdb -nx -batch -iex add-auto-load-safe-path /workdir/go/src/runtime -ex set startup-with-shell off -ex break main.eee -ex run -ex backtrace -ex continue /workdir/tmp/TestGdbBacktrace1177699378/001/a.exe] exit status: exit status 1
runtime-gdb_test.go:428: gdb output:
Loading Go Runtime support.
Breakpoint 1 at 0x456f40: file /workdir/tmp/TestGdbBacktrace1177699378/001/main.go, line 17.
Warning:
Cannot insert breakpoint 1.
Cannot access memory at address 0x456f40
Command aborted.
#0 _rt0_amd64_linux () at /workdir/go/src/runtime/rt0_linux_amd64.s:8
Warning:
Cannot insert breakpoint 1.
Cannot access memory at address 0x456f40
Command aborted.
runtime-gdb_test.go:443: gdb exited with error: exit status 1
This needs to be looked into -- I am not sure what the issue might be. I did try:
echo 0 > /proc/sys/kernel/yama/ptrace_scope
on the builder, but I am still seeing the failure.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Todo