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).

Logo

开发云社区提供前沿行业资讯和优质的学习知识,同时提供优质稳定、价格优惠的云主机、数据库、网络、云储存等云服务产品

更多推荐