The futex facility returned an unexpected error code on VS Code with WSL
Answer a question
I'm working on a project using Visual Studio Code in Windows and WSL (Ubuntu 18.04). It compiles and runs fine but when I try to debug the application and step over/into it just aborts with the message The futex facility returned an unexpected error code a bunch of times in the terminal. I ruled out an implementation issue because if I run the project in a Ubuntu VM (no cross compile, everything in Linux) I can debug the program as expected.
Can someone point me to where to start investigating this issue? I rather use VS Code in Windows and avoid the VM because of it just lags terribly.
Answers
I suspect you hit a known bug in the futex syscall implementation in WSL. It was fixed in the Windows 10 November 2019 Update (builds 18277 and higher).
更多推荐
所有评论(0)