-
Notifications
You must be signed in to change notification settings - Fork 511
Powershell extension crashing randomly #1704
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
@wrsbrewerton thanks for reporting this and including the logs. I was just giving them a look and noticed that your file was called "Untitled-7" I am wondering if this was a file name you had saved or if the file you were working on had not yet been saved when you started crashing? |
Hi, I found the attached exception in the log. //Anders |
@kongsted Do you have files on a network share? Cause the error I'm seeing is:
|
I am also having regular crashes of the Powershell extension, many times without any interaction with the window. Extension version: 1.10.2 I've enabled Verbose logging, where do I find the log files to be able to send in any errors. |
Yes, it's correct it's on a network-share. But I don't have any problems with that share in any other cases (there's is 1000+ users connected to the share, so I believe I would have heard if it didn't work ;) ). |
@brianmccarty you can finde the log-files here |
I just had a new crash very soon after opening VScode and starting a new file |
here's how to get logs |
I get the impression that most in this thread are seeing #1683 (#1695 seems to be the same issue as well). In @kongsted's case, it looks like there's a crash occurring when we try to enumerate files on a network share. There's not much specific to go on there, but I'm guessing that when we eagerly recursively enumerate the filesystem we hit funny bits that users aren't. Either way, that should be easily defended against by catching an |
While we are working to merge in #862 to fix this it would also be helpful if you all updated to the latest version of the extension to test if the updates so far have helped! |
So I've been running 1.11.0 since it became available and I have not had any repeat behaviour so far, has been solid HTH |
An update - have been running with 1.11.0 for a couple of days now.
Cheers |
Still crashing on a regular basis. |
@rkeithhill I have attached the log-files here: 1548919315-1523c686-6beb-46f3-9218-94f8cb3a64351548919311947.zip This crash happened just after I changed workspace in VS Code. |
OK, the error happens when we recursivley iterate over the workspace files and is caused by a network error:
@rjmholt I thought we added a catch handler for IOException for this case? |
We should be catching all catch-able exceptions (I recall going to add an |
Issue Type: Performance Issue
Hello
Apolgies, I cannot really say how to reproduce, but while working in VSCode using the PoweShell extension, the integrated terminal will show and error saying PowerShell has terminated and do I wish to restart it
Sometimes it seems to happen even without my changing or running anything, simply highlighting content in an unsaved file can sometimes trigger it
I did turn diagnostic level logging on to try and capture useful information
I can see the error at the end of the 'EditorServices.log' but I cannot comprehend thae cause behind it
My setup is
Windows 10 Enterprise 1803
VSCode 1.30.2 (user setup)
PowerShell extension version 1.10.2
If I can provide anything further please let me know
Many thanks
Extension version: 1.10.2
VS Code version: Code 1.30.2 (61122f88f0bf01e2ac16bdb9e1bc4571755f5bd8, 2019-01-07T22:54:13.295Z)
OS version: Windows_NT x64 10.0.17134
System Info
checker_imaging: disabled_off
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: enabled
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Process Info
Workspace Info
VScode-ps-logs.zip
The text was updated successfully, but these errors were encountered: