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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1743598

Title:
  'go tool trace' doesn't show trace

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/golang-1.8/+bug/1743598/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to