x/debug/cmd/viewcore: won't find existing executable and won't accept specified executable path #28091
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?1.11.1
Does this issue reproduce with the latest release?
The issue is encountered at revision 547453c34fb121ed0dae9624edc8a7a0c1e4e87d.
What operating system and processor architecture are you using (
go env
)?What did you do?
Compile the following code with
go build -o sleep
:While it executes, capture a core dump with
gcore
, and then feed it toviewcore
, which unfortunately does not find the executable file despite that it exists:By specifying the executable path,
viewcore
does not parse the CLI flags correctly:And it won't help if flags are swapped around:
The text was updated successfully, but these errors were encountered: