'go tool trace' doesn't show trace

Bug #1743598 reported by Jakub Matys
This bug affects 1 person
Affects Status Importance Assigned to Milestone
golang-1.10 (Ubuntu)

Bug 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.

golang-1.7-go (1.7.4-2ubuntu1)
golang-1.8-go (1.8.3-2ubuntu1)
golang-1.9-go (1.9.1-2ubuntu1)


Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Hm ok, so we should install a few more files, basically? Makes sense to fix this in Debian first I think.

affects: golang-1.8 (Ubuntu) → golang-1.10 (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

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 <email address hidden> Wed, 19 Sep 2018 10:14:24 +0200

Changed in golang-1.10 (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers