Running on macOS Catalina version 10.15.2

When I attempt to run programs in the go tour on my local machine, most of 
the time the output in the browser is:
Program exited: signal: killed

The first program in the tour, hello.go, runs to completion some times, but 
most of the time it exits with this message.
This happens running in both Chrome and Firefox. 

I tried reinstalling go (which said it uninstalled the previous version), 
and deleted (then recreated) my $GOPATH folder. This had no effect
I also attempted what was suggested here 
<https://github.com/golang/tour/blob/master/CONTRIBUTING.md> (substituting 
gotour with tour), and ran:
$  go install golang.org/x/tour/tour
$ $GOPATH/bin/tour
to the same effect.

It seems that when I run dmesg the following message seems to appear when 
the program exits:
build_userspace_exit_reason: illegal flags passed from userspace (some 
masked off) 0x141, ns: 9, code 0x8
Waking up reference: 1156Thread waiting on reference 1156 woke upSleep 
interrupted, signal 0x100
Security policy would not allow process: 61324, 
/private/tmp/present-782206805/prog

Building and running the exact same program works fine when I do so outside 
of the browser. 

I am stumped, and cannot find mention of this problem elsewhere.
Though I have a feeling it is due to some setting on my system (and not a 
bug in the tour itself), I would appreciate any insight into what might be 
going on and how to solve it.

I am running:
go version go1.13.6 darwin/amd64
macOS Catalina version 10.15.2

Thanks in advance for your help!

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/e48586b7-96ed-4ee5-976a-963bf569a94e%40googlegroups.com.

Reply via email to