[Bug 1743598] Re: 'go tool trace' doesn't show trace

Michael Hudson-Doyle mwhudsonlp at fastmail.fm
Thu Mar 8 20:51:34 UTC 2018


** Package changed: golang-1.8 (Ubuntu) => golang-1.10 (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to golang-1.10 in Ubuntu.
https://bugs.launchpad.net/bugs/1743598

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

Status in golang-1.10 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.10/+bug/1743598/+subscriptions



More information about the foundations-bugs mailing list