-
Notifications
You must be signed in to change notification settings - Fork 17.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/trace: trace shows blank page on chrome #25151
Comments
This error typically comes from the incompatible browser; only Chrome is supported. Can you confirm this issue with the latest stable version of Chrome? What version do you use? |
The fact that firefox doesn't work is explicitly documented:
Chrome, on the other hand, should work. |
runtime/trace
on browser
We could check if tracing tool is available in the browser, and give an explicit error message to the user if it is not. That blank page was very confusing for me too the first time I tried to use it. |
It works for me. Can you please provide a small self-contained example demonstrating the problem? |
Are you sure the |
i recently run a windows 10 vm and setup golang,google chrome and the file works well , |
CC: @hyangah @heschik |
@tarekbadrshalaan $ ls |
@hyangah |
@tarekbadrshalaan I don't see how that's possible... please post here the output of |
~$go env |
What does Did you install Go from your OS package manager? |
output of here how i installed go on Ubuntu |
Please try installing the official distribution per the instructions at https://golang.org/doc/install and see if you can still reproduce the problem. |
fedora 29 has a separate rpm for "misc": |
I got this problem recently. Does this issue reproduce with the latest release? What operating system and processor architecture are you using (go env)? What did you do? What did you expect to see? What did you see instead? output of 'ls $GOROOT/misc/trace' is: |
Hello. I also got this problem. What version of Go are you using (go version)?
Does this issue reproduce with the latest release? What operating system and processor architecture are you using (go env)? What did you do? What did you expect to see? What did you see instead?
It seems I am also missing the misc folder:
I removed the golang package
However, this doesn't fix the problem with an empty page in Firefox. When I launch the trace I get the same empty page with the same error message in the console. I see from #34374 and @hyangah in #34374 (comment) that it is not yet fixed in any stable download. Updated |
I get this too with: Ubuntu 16.04 LTS (64-bit) |
The fix is in the tip and waiting for feedback so it can be included in the patch release of go1.14. Please try the version (the easiest is https://godoc.org/golang.org/dl/gotip and |
Tested |
I'm using |
|
go version devel +b8f54e5 Fri Feb 28 09:29:22 2020 +0000 linux/amd64 |
Thank you very much. It complains:
Do you hava any suggestion? |
I tried
Do you have any solution about how to fix this? |
Please file a separate bug to track the If I think the minor version release will be available soon and include the fix. But I don't know the concrete timeline yet cc @andybons |
It is OK on Macos: |
Marking as resolved based on #25151 (comment) |
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?1.10
Does this issue reproduce with the latest release?
no
What operating system and processor architecture are you using (
go env
)?ubuntu / amd64
What did you do?
run 'go tool trace m.trace'
What did you expect to see?
full view on the browser of trace
What did you see instead?
empty page on google chrome and firefox and got this error in the console
Uncaught ReferenceError: tr is not defined
The text was updated successfully, but these errors were encountered: