v-analyzer
v-analyzer copied to clipboard
v-analyzer vscode extension crashes systematically
Describe the bug
the extension spins up a new instance of v on each save that never exits, the result is that the extension stops working / crashes every minute or so. this looks like a regression ( might be that vscode update has caused this bug, or the newer version of v has changed behaviour )
Expected Behavior
v-analyzer shouldn't crash (at least not so soon )
Current Behavior
the extension spins up a new instance of v on each save that never exits, the result is that the extension stops working / crashes every minute or so. this looks like a regression ( might be that vscode update has caused this bug, or the newer version of v has changed behaviour )
workaround: kill v-analyzer ( that in turn kills all the spawned v subprocesses ) restart v-analyzer from vscode.
- problematic because saving is a routine operation and you'll have to reapeat the procedure above every minute or so.
Reproduction Steps
open any v project, start editing. save edited files fairly soon v-analyzer crashes
Possible Solution
workaround: kill v-analyzer ( that in turn kills all the spawned v subprocesses ) restart v-analyzer from vscode.
- problematic because saving is a routine operation and you'll have to reapeat the procedure above every minute or so.
Additional Information/Context
No response
Environment details (v doctor
output)
vscode version
Version: 1.85.1
Commit: 0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2
Date: 2023-12-13T09:47:11.635Z
Electron: 25.9.7
ElectronBuildId: 25551756
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Linux x64 6.2.0-37-generic
v info
>v doctor
V full version: V 0.4.4 afd74ad
OS: linux, Ubuntu 22.04.3 LTS
Processor: 16 cpus, 64bit, little endian, Intel(R) Xeon(R) W-11955M CPU @ 2.60GHz
getwd: /home/*****/Development/v-analyzer
vexe: /home/******/Development/v/v
vexe mtime: 2024-01-17 00:05:59
vroot: OK, value: /home/******/Development/v
VMODULES: OK, value: /home/******/.vmodules
VTMP: OK, value: /tmp/v_1001
Git version: git version 2.34.1
Git vroot status: weekly.2023.40.1-800-gafd74ad6
.git/config present: true
CC version: cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
thirdparty/tcc status: thirdparty-linux-amd64 12f392c3
Editor name
vscode
v-analyzer Version
v-analyzer version 0.0.1-beta.1
VS Code Extension Version
v0.0.2