You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ go1.10 version
go version go1.10.4 darwin/amd64
$ (cd $(go list -f '{{.Dir}}' golang.org/x/debug/cmd/viewcore) && git rev-parse HEAD)
1ff449a1b670fb60da59e170803373318549b845
Does this issue reproduce with the latest release?
This is the latest revision of golang.org/x/debug/cmd/viewcore, golang/debug@1ff449a. It fails with go1.10.4 and also with go1.11.
What operating system and processor architecture are you using (go env)?
As in #27322, I'm using a darwin/amd64 machine to load a linux/amd64 core dump. The core dump is the same as in that report. I'm not able to share the core dump or the executable; they're for a closed-source program. The program that crashed was built with go1.10.3 (with minor patches).
I ran viewcore with a core file. I specified an executable, although it's at a different path on my darwin/amd64 laptop than it was on the linux/amd64 server that dumped core.
What did you expect to see?
I hoped to see a view of the core file if I'd provided appropriate arguments. Otherwise, I expected an error message explaining how the arguments I provided were inappropriate.
I've provided the same core file and executable to Delve, which has been able to show me goroutines and stack traces as I'd expect.
This was during an investigation of (a variant of?) #24925. So the problem should be basically the same: it's gone off the rails trying to backtrace the nanotime call. We still shouldn't crash.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
This is the latest revision of golang.org/x/debug/cmd/viewcore, golang/debug@1ff449a. It fails with go1.10.4 and also with go1.11.
What operating system and processor architecture are you using (
go env
)?As in #27322, I'm using a darwin/amd64 machine to load a linux/amd64 core dump. The core dump is the same as in that report. I'm not able to share the core dump or the executable; they're for a closed-source program. The program that crashed was built with go1.10.3 (with minor patches).
What did you do?
I ran
viewcore
with a core file. I specified an executable, although it's at a different path on my darwin/amd64 laptop than it was on the linux/amd64 server that dumped core.What did you expect to see?
I hoped to see a view of the core file if I'd provided appropriate arguments. Otherwise, I expected an error message explaining how the arguments I provided were inappropriate.
I've provided the same core file and executable to Delve, which has been able to show me goroutines and stack traces as I'd expect.
What did you see instead?
CC @heschik
The text was updated successfully, but these errors were encountered: