On Mon, Jun 15, 2020 at 1:59 PM Chris Hopkins <cbehopk...@gmail.com> wrote:
>
> Hi,
> (Sorry I've not been active in the group for a long time - job change caused 
> other changes!)
> I'm seeing a very strange error on building on one of my machines, in fact 
> I'm seeing it on any attempt to build any go project on that machine e.g.
>
> ~/home/git/src/github.com/cbehopkins/medorg$ go build check_calc/main.go
> check_calc/main.go:8:2: read 
> /home/xxx/home/git/src/github.com/cbehopkins/medorg/checksum_test.go: read 
> /home/xxx/home/git/src/github.com/cbehopkins/medorg/checksum_test.go: 
> interrupted system call
>
> Builds on other machines work fine, so it's something specific to this one.
> Literally a hello world does this. I suspected at first it being linked to 
> how that directory is mounted (it's a samba share), but the same happens on 
> the native file system.
> Go versions I've used:
> The ubuntu default 1.14.4
> https://dl.google.com/go/go1.14.4.src.tar.gz
> 14.4 built on a different machine and then copied locally (tricky to do as it 
> requires cross compliation).
>
> The only unique thing aboout this machine, is it is the only one on my 
> network that is both x86 & Linux, other combinations of x86 and OS work fine. 
> Any hints/ideas on how to debug this would be greatly appriciated. (The OS is
> Ubuntu 20.04 LTS)

I don't know why this is happening, but you can probably make progress
by setting

GODEBUG=asyncpreemptoff=1

That won't fix the general problem, but it will make it happen less frequently.

Ian

-- 
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/CAOyqgcWPb_Taf8T2w8T_C3jrnJys%3DRJpq%2B7%2BPcTLUEPPZPyzGQ%40mail.gmail.com.

Reply via email to