-
Notifications
You must be signed in to change notification settings - Fork 511
Start-EditorServices failure loading ps1 files #1474
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
Comments
Just looked up the exit code ( If this is an access violation, the best thing to do is probably get a core dump, which you can do by following the instructions here: https://docs.microsoft.com/en-us/windows/desktop/wer/collecting-user-mode-dumps. Is it a specific ps1 file you're opening when it crashes? Or maybe it's doing something unusual like pInvoking or using COM? This is just the first I've seen an unmanaged crash for not just the extension but even PowerShell. Ideally we can reproduce it, but I imagine that might be tricky. |
The problem usually happens when I do Open Folder on a folder of mixed .net (classic) and powershell code. I captured the dumps, and them along with logs at https://github.com/weloytty/issue1474-vscode-powershell (The dumps were all >100MB, so I had to zip them) |
Problem does not reoccur on 1.26.1 |
Glad to hear it @weloytty! If you ever hit this again, please reach out. Closing for now 👍 |
Issue Type: Bug
Occasionally (not every time), I open a .ps1 file and get the following error:
So I set "powershell.developer.editorServicesLogLevel": "Diagnostic", in my settings, and got this output.
This behavior seems to have started with 1.8.x, I don't recall seeing this before that.
Extension version: 1.8.2
VS Code version: Code 1.25.1 (1dfc5e557209371715f655691b1235b6b26a06be, 2018-07-11T15:43:53.668Z)
OS version: Windows_NT x64 10.0.14393
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: disabled_software
video_decode: enabled
video_encode: enabled
vpx_decode: unavailable_software
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: