-
Notifications
You must be signed in to change notification settings - Fork 6
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 crashing in WSL #329
Comments
And why issue with just one file, affects the whole extension. If it caught something that it can't process just die, and does not work anymore, until reload |
Managed to get minimal reproducible class, the issue in /// ©
Class User.crash
{
} |
Hi @daimor, if you roll back to version 2.4.4 does the issue persist? I couldn't reproduce this on my Mac or PC, but I don't have WSL set up. |
Installed 2.4.4, no difference also crashed |
Looks like it's happening on any unicode symbol anywhere in the code |
|
|
locale is UTF8, no idea which locale to change, I used russian language as an example, I see no reason that it should crash on whatever locale is set |
@daimor I upgraded my WSL2 distribution to 22.04 and node to 20 and then tried to reproduce this issue but I couldn't. Here's my terminal output. I used the current version of
|
Is that container running in Docker on WSL or Docker Desktop on windows? Also, what's the base OS of that image, Alpine or some other Linux? |
Docker on WSL |
I was able to reproduce this with the node:20 container image on WSL and using Docker Desktop on my mac. Looks like the image uses Debian and not Ubuntu. I think our Linux binaries are built on Ubuntu. I wonder if that could be a cause. |
@daimor Quick update on this: I was able to get an environment set up to debug this issue. I identified the location of the error, but am still working on the cause. |
@daimor I determined that this is a character encoding issue. The parsers tried to use an locale that wasn't present, so they fell back to the default locale which doesn't support Unicode. I will have this fixed shortly. |
What it's going on, how to make it working?
IRIS for UNIX (Ubuntu Server LTS for x86-64 Containers) 2022.1.1 (Build 374U) Tue Oct 18 2022 17:51:36 EDT
Switched on trace, but nothing useful there
Looks like it happening not for every class, only one particular
[Error - 2:39:06 PM] The InterSystems Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
The text was updated successfully, but these errors were encountered: