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

Extension Host terminated unexpectedlly #91

Closed
safie opened this issue Oct 4, 2022 · 4 comments
Closed

Extension Host terminated unexpectedlly #91

safie opened this issue Oct 4, 2022 · 4 comments

Comments

@safie
Copy link

safie commented Oct 4, 2022

Type: Bug

using Extension Bisect to detect

Extension version: 0.2.29
VS Code version: Code 1.71.2 (74b1f979648cc44d385a2286793c226e611f59e7, 2022-09-14T21:03:37.738Z)
OS version: Windows_NT x64 10.0.22622
Modes:
Sandboxed: No

System Info
Item Value
CPUs 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz (8 x 2803)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Load (avg) undefined
Memory (System) 15.69GB (8.18GB free)
Process Argv --crash-reporter-id 041e2c60-4f8f-4a07-8800-1e8ab13845e5
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411cf:30557515
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
azure-dev_surveyone:30548225
2144e591:30553903
pyindex848:30577860
40g7c324:30573242

@fictitious
Copy link

it looks like node crashed when running vitest.

possibly related: nodejs/node#6899 (comment), nodejs/node#43304 (comment)

also can happen when there's a test file which does not have any tests - I had node crashed after this vitest error

FAIL src/t2.test.ts [ src/t2.test.ts ]
Error: No test suite found in file /src/t2.test.ts

seems like it's node or vitest issue, not caused by this extension directly - could you try to see if the crash happens when you run tests from command line, not in vs code ?

@zxch3n
Copy link
Member

zxch3n commented Feb 8, 2023

Is this still happening?

@sabithakuppusamy
Copy link

sabithakuppusamy commented Feb 13, 2023

Yes, I was facing this issue with Vitest 0.25.8 and node v18.0.0 in NX.

I managed to fix this issue by cleaning the npm cache and downgrading to node version 16,

npm cache clean --force
nvm use 16

@MilanKovacic
Copy link
Collaborator

New version of extension has been released on https://marketplace.visualstudio.com/items?itemName=vitest.explorer. Please try it out, and if the issue still persists, feel free to open a new one.

@github-actions github-actions bot locked and limited conversation to collaborators Mar 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants