microsoft / microsoft/vscode-cpptools
SQLite crash/corruption when database is on a remote filesystem
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 1.7k
- Avg merge
- 14h 46m
- Merged PRs (30d)
- 61
Description
I've just updated to 1.20.1 / 0.15.0 and foolishly deleted the previously working versions whose numbers I do not recall (late December updates). The auto update of the cpptools extension failed to be able to download its bits and so I installed it from the (self-contained) VSIX file. Unfortunately, the extension seems possessed to make a JSON RPC call which fails. The result being no Intellisense information and no compilation capability.
OS: Windows 7
cpptools 0.15.0
Version 1.20.1
Commit f88bbf9137d24d36d968ea6b2911786bfe103002
Date 2018-02-13T15:34:36.336Z
Shell 1.7.9
Renderer 58.0.3029.110
Node 7.9.0
Architecture x64
steps:
open C file
[Error - 1:28:13 PM] Request textDocument/codeAction failed.
Error: Connection got disposed.
at Object.dispose (C:\Users\wilson.vscode\extensions\ms-vscode.cpptools-0.15.0\node_modules\vscode-jsonrpc\lib\main.js:825:25)
at Object.dispose (C:\Users\wilson.vscode\extensions\ms-vscode.cpptools-0.15.0\node_modules\vscode-languageclient\lib\client.js:57:35)
at LanguageClient.handleConnectionClosed (C:\Users\wilson.vscode\extensions\ms-vscode.cpptools-0.15.0\node_modules\vscode-languageclient\lib\client.js:1864:38)
at LanguageClient.handleConnectionClosed (C:\Users\wilson.vscode\extensions\ms-vscode.cpptools-0.15.0\node_modules\vscode-languageclient\lib\main.js:78:15)
at closeHandler (C:\Users\wilson.vscode\extensions\ms-vscode.cpptools-0.15.0\node_modules\vscode-languageclient\lib\client.js:1852:18)
at CallbackList.invoke (C:\Users\wilson.vscode\extensions\ms-vscode.cpptools-0.15.0\node_modules\vscode-jsonrpc\lib\events.js:71:39)
at Emitter.fire (C:\Users\wilson.vscode\extensions\ms-vscode.cpptools-0.15.0\node_modules\vscode-jsonrpc\lib\events.js:135:36)
at closeHandler (C:\Users\wilson.vscode\extensions\ms-vscode.cpptools-0.15.0\node_modules\vscode-jsonrpc\lib\main.js:221:26)
at CallbackList.invoke (C:\Users\wilson.vscode\extensions\ms-vscode.cpptools-0.15.0\node_modules\vscode-jsonrpc\lib\events.js:71:39)
at Emitter.fire (C:\Users\wilson.vscode\extensions\ms-vscode.cpptools-0.15.0\node_modules\vscode-jsonrpc\lib\events.js:135:36)
[Error - 1:28:13 PM] Connection to server got closed. Server will not be restarted.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The title describes SQLite corruption on a remote filesystem, but the body reports a VS Code cpptools JSON-RPC connection failure and names only the generated node_modules paths for vscode-jsonrpc and vscode-languageclient. First reconcile which failure is being reported, then reproduce the issue with the stated Windows, VS Code, and cpptools versions; completion would require a confirmed cause and a regression test or documented fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, sqlite, typescript, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100