[Bug 1743598] [NEW] 'go tool trace' doesn't show trace
Jakub Matys
matys.jakub at gmail.com
Tue Jan 16 16:07:04 UTC 2018
Public bug reported:
DESCRIPTION:
Command 'go tool trace <trace-file>' starts a web server and opens a browser. Web page on path /trace should contain trace graphs but is blank. JS console showed 404 error. I've found that corresponding handler tries open file at $GOROOT/misc/trace/trace_viewer_lean.html (line /usr/lib/go-1.8/src/cmd/trace/trace.go:130). According to comment at https://groups.google.com/d/msg/golang-nuts/B7sZrDhhWfw/_aQ69qJoDQAJ the directory $GOROOT/misc is probably deleted during build of the package. I've fixed the bug by creating /usr/lib/go-1.8/misc/trace by hand and copying appropriate file from Go sources.
PACKAGES:
golang-1.7-go (1.7.4-2ubuntu1)
golang-1.8-go (1.8.3-2ubuntu1)
golang-1.9-go (1.9.1-2ubuntu1)
UBUNTU RELEASE:
17.10
** Affects: golang-1.8 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to golang-1.8 in Ubuntu.
https://bugs.launchpad.net/bugs/1743598
Title:
'go tool trace' doesn't show trace
Status in golang-1.8 package in Ubuntu:
New
Bug description:
DESCRIPTION:
Command 'go tool trace <trace-file>' starts a web server and opens a browser. Web page on path /trace should contain trace graphs but is blank. JS console showed 404 error. I've found that corresponding handler tries open file at $GOROOT/misc/trace/trace_viewer_lean.html (line /usr/lib/go-1.8/src/cmd/trace/trace.go:130). According to comment at https://groups.google.com/d/msg/golang-nuts/B7sZrDhhWfw/_aQ69qJoDQAJ the directory $GOROOT/misc is probably deleted during build of the package. I've fixed the bug by creating /usr/lib/go-1.8/misc/trace by hand and copying appropriate file from Go sources.
PACKAGES:
golang-1.7-go (1.7.4-2ubuntu1)
golang-1.8-go (1.8.3-2ubuntu1)
golang-1.9-go (1.9.1-2ubuntu1)
UBUNTU RELEASE:
17.10
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/golang-1.8/+bug/1743598/+subscriptions
More information about the foundations-bugs
mailing list