You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
go build command-line-arguments: read |0: interrupted system call #349
Stephen Hufnagel (@stehufntdev) the repo readme says "This repo is for the reporting of issues found within and when using Bash on Ubuntu on Windows", and you are asking us to go to UserVoice? Then what is the point of reporting it here?
Reacted by Florin Pățan, daronwolff, voidrakh and Andrew Spiers
Adarsha (@mvadu) -- Github is good at capturing and discussing technical information about a bug or feature request. But there are many (I'm guessing at least hundreds if not thousands?) of people reporting bugs or requesting features or (etc) against WSL. I've seen bug trackers where bugs for popular issues get tons of "me too!"'s, and it's a real pain to read through all of those comments to figure out what the actual bug is, find the latest updates from the people who are actually debugging it, etc. So the important bugs actually become more annoying to fix.
I think Microsoft is trying to differentiate between technical issues and use cases. Your report is both -- "go build is an important command for developing Go software" is a use case; "go build doesn't work because of lack of SA_RESTART support" is a technical issue. So it's useful to have it in both places.
Stephen Hufnagel (@stehufntdev) Sorry, deleted my comment before I saw there was a reply . . . I realized I was on the Anniversary update. I am working on getting my hands on the latest available build and I will test there. Thank you for your reply.
Not sure if it's been noted, but I get the same issue when trying to run go run test.go
if however I run go run ./*
or even go up a directory and run go run test_dir/*
The file runs.
$ go run reading-files.go
go build command-line-arguments: /home/kanonji/local/stock/go1.8.3.linux-amd64/pkg/tool/linux_amd64/compile: read |0: interrupted system call
$ cat go-run-reading-files-go.sh
#!/bin/sh
go run reading-files.go
$ strace -ff -o straced/go-run-reading-files-go ./go-run-reading-files-go.sh
go build command-line-arguments: /home/kanonji/local/stock/go1.8.3.linux-amd64/pkg/tool/linux_amd64/link: read |0: interrupted system call
strace generates 20 files. Do you need all files or maybe only last one?
Activity
stehufntdev commentedon May 12, 2016
Thanks for reporting the issue. We investigated this locally and it is caused by missing support for restartable system calls (i.e. SA_RESTART flag).
Please give us feedback on the uservoice page so we can prioritize.
mvadu commentedon May 22, 2016
Stephen Hufnagel (@stehufntdev) the repo readme says "This repo is for the reporting of issues found within and when using Bash on Ubuntu on Windows", and you are asking us to go to UserVoice? Then what is the point of reporting it here?
aseering commentedon May 22, 2016
Adarsha (@mvadu) -- Github is good at capturing and discussing technical information about a bug or feature request. But there are many (I'm guessing at least hundreds if not thousands?) of people reporting bugs or requesting features or (etc) against WSL. I've seen bug trackers where bugs for popular issues get tons of "me too!"'s, and it's a real pain to read through all of those comments to figure out what the actual bug is, find the latest updates from the people who are actually debugging it, etc. So the important bugs actually become more annoying to fix.
I think Microsoft is trying to differentiate between technical issues and use cases. Your report is both -- "
go buildis an important command for developing Go software" is a use case; "go builddoesn't work because of lack ofSA_RESTARTsupport" is a technical issue. So it's useful to have it in both places.mvadu commentedon May 23, 2016
Adam Seering (@aseering) I did create a new user voice topic for this as well.
simonbuchan commentedon Jun 1, 2016
Also happens with github's hub command (written in go). Since that's recommended to be aliased to git, this can hit pretty often!
RobWC commentedon Aug 2, 2016
+1
technowar commentedon Oct 11, 2016
Simon Buchan (@simonbuchan), if it annoys you, use brew or Ruby's version. The latter isn't recommended.
Anyways, any updates on this?
tg123 commentedon Oct 11, 2016
fixed in 14905
https://msdn.microsoft.com/en-us/commandline/wsl/release_notes
works fine now
retorquere commentedon Oct 19, 2016
How do I get 14905 on my system?
stehufntdev commentedon Oct 20, 2016
14905 is a Windows insider build, to get that on your system you need to enroll the machine in the Windows insider program.
sleaze commentedon Oct 24, 2016
What if we don't want to opt into full telemetry? :s
MikeCook9994 commentedon Nov 23, 2016
You don't get windows insider. Windows insider isn't for you to get builds and fixes early. It's to get information about their new builds.
aseering commentedon Nov 23, 2016
Michael Cook (@MikeCook9994) -- could you provide a reference for that statement? I install Insider builds from here on a regular basis: https://insider.windows.com/
8 remaining items
mrbeskin commentedon Mar 11, 2017
Stephen Hufnagel (@stehufntdev) Sorry, deleted my comment before I saw there was a reply . . . I realized I was on the Anniversary update. I am working on getting my hands on the latest available build and I will test there. Thank you for your reply.
stehufntdev commentedon Mar 11, 2017
No worries, thanks for the confirmation! Please let us know if you see any issues for insider builds.
cweeks12 commentedon Mar 16, 2017
Is there any indication of when this build is going to be available generally? I just ran into this issue in my Go development
benhillis commentedon Mar 16, 2017
Connor Weeks (@cweeks12) - Creator's update is due soon. I don't have an exact date but I think April or early May.
fraklo commentedon Mar 22, 2017
Not sure if it's been noted, but I get the same issue when trying to run
go run test.goif however I run
go run ./*or even go up a directory and run
go run test_dir/*The file runs.
JamieSinn commentedon May 30, 2017
This issue is still persisting.
sunilmut commentedon Jun 12, 2017
Frak Lopez (@fraklo) and Jamie Sinn (@JamieSinn) - I tried this simple example https://gobyexample.com/reading-files and it worked fine for me. I was able to run the file using the command
go run test.go. I am running go version 1.6.2. This was on Insiders build 16215. If the issue persists for you, please include the Windows build that you are running (output of thevercommand) and an stracestrace -o <strace_file> -ff <failing_cmd>JamieSinn commentedon Jun 13, 2017
I am using go 1.8, I have not used an insider's build.
Will grab stack traces soon.
sunilmut commentedon Jun 13, 2017
Jamie Sinn (@JamieSinn) - Ok, thanks. Please also post your Windows version (using the
verCMD) and full repro steps.kanonji commentedon Aug 21, 2017
I tried https://gobyexample.com/reading-files and not worked.
stracegenerates 20 files. Do you need all files or maybe only last one?therealkenc commentedon Mar 24, 2018
The OP here was related to restartable system calls and was addressed in 14905 and by extension Creators Update 15063.