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

Launchpad Bug Tracker 1743598 at bugs.launchpad.net
Sat Sep 22 22:23:57 UTC 2018


This bug was fixed in the package golang-1.10 - 1.10.4-2ubuntu1

---------------
golang-1.10 (1.10.4-2ubuntu1) cosmic; urgency=medium

  * Merge from Debian unstable. Remaining change:
    - Do not distribute un-built from source race detector runtime files and
      recommend golang-race-detector-runtime instead (see Debian bug #807455).
  * d/patches/disable-cmd-go-tests.patch: disable cmd/go tests which
    consistently time out on the amd64 Launchpad builders (but pass on my
    machine and other architectures)

 -- Michael Hudson-Doyle <michael.hudson at ubuntu.com>  Wed, 19 Sep 2018
10:14:24 +0200

** Changed in: golang-1.10 (Ubuntu)
       Status: New => Fix Released

-- 
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:
  Fix Released

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