Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running on ubuntu 12.04 #229

Closed
jstys opened this issue Sep 15, 2016 · 5 comments
Closed

Running on ubuntu 12.04 #229

jstys opened this issue Sep 15, 2016 · 5 comments
Labels
fixed Check the Milestone for the release in which the fix is or will be available. Language Service

Comments

@jstys
Copy link

jstys commented Sep 15, 2016

On startup of vscode 1.5.2 in ubuntu 12.04 x64 with cpptools 1.5.2, I am receiving an error that seems to be indicating that the language server is failing for c++. Below is the error message in the developer console that is coming from the cpptools extension

"{"0":"TypeError: Cannot read property 'forEach' of null\n at LanguageClient.cleanUp (/home/jim.stys/.vscode/extensions/ms-vscode.cpptools-0.9.1/node_modules/vscode-languageclient/lib/main.js:471:24)\n at LanguageClient.stop (/home/jim.stys/.vscode/extensions/ms-vscode.cpptools-0.9.1/node_modules/vscode-languageclient/lib/main.js:454:14)\n at LanguageClient.handleConnectionError (/home/jim.stys/.vscode/extensions/ms-vscode.cpptools-0.9.1/node_modules/vscode-languageclient/lib/main.js:684:18)\n at errorHandler (/home/jim.stys/.vscode/extensions/ms-vscode.cpptools-0.9.1/node_modules/vscode-languageclient/lib/main.js:559:19)\n at /home/jim.stys/.vscode/extensions/ms-vscode.cpptools-0.9.1/node_modules/vscode-languageclient/lib/main.js:45:42\n at CallbackList.invoke (/home/jim.stys/.vscode/extensions/ms-vscode.cpptools-0.9.1/node_modules/vscode-languageclient/node_modules/vscode-jsonrpc/lib/events.js:103:39)\n at Emitter.fire (/home/jim.stys/.vscode/extensions/ms-vscode.cpptools-0.9.1/node_modules/vscode-languageclient/node_modules/vscode-jsonrpc/lib/events.js:167:36)\n at writeErrorHandler (/home/jim.stys/.vscode/extensions/ms-vscode.cpptools-0.9.1/node_modules/vscode-languageclient/node_modules/vscode-jsonrpc/lib/main.js:92:22)\n at CallbackList.invoke (/home/jim.stys/.vscode/extensions/ms-vscode.cpptools-0.9.1/node_modules/vscode-languageclient/node_modules/vscode-jsonrpc/lib/events.js:103:39)\n at Emitter.fire (/home/jim.stys/.vscode/extensions/ms-vscode.cpptools-0.9.1/node_modules/vscode-languageclient/node_modules/vscode-jsonrpc/lib/events.js:167:36)"}"

Additionally, I'm not sure if this is any indication of the problem, but running ~/.vscode/extensions/ms-vscode.cpptools-0.9.1/bin/Microsoft.VSCode.CPP.Extension.linux returns the following errors on my console.

./Microsoft.VSCode.CPP.Extension.linux: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.18' not found (required by ./Microsoft.VSCode.CPP.Extension.linux) ./Microsoft.VSCode.CPP.Extension.linux: /lib/x86_64-linux-gnu/libc.so.6: versionGLIBC_2.17' not found (required by ./Microsoft.VSCode.CPP.Extension.linux)

@pieandcakes
Copy link
Contributor

This is probably because the language service is compiled with glibc version 2.18. @sridmad is there a workaround for this?

@delmyers
Copy link
Contributor

Looks like it si probably a duplicate of #19. @sridmad, @greazer, you might want to take a closer look at these issues as they are hitting more customers.

@sridmad
Copy link
Member

sridmad commented Sep 16, 2016

At this point we support Ubuntu 14.04 and later. Something we can look into for Oct update of the extension

@bobbrow
Copy link
Member

bobbrow commented Apr 24, 2017

This is being tracked by issue #19.

@bobbrow bobbrow closed this as completed Apr 24, 2017
@sean-mcmanus
Copy link
Collaborator

Should be fixed with 0.14.4.

@sean-mcmanus sean-mcmanus added the fixed Check the Milestone for the release in which the fix is or will be available. label Dec 12, 2017
@github-actions github-actions bot locked and limited conversation to collaborators Oct 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
fixed Check the Milestone for the release in which the fix is or will be available. Language Service
Projects
None yet
Development

No branches or pull requests

6 participants