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

Errors and crash with 4dm document in Resources folder #25

Open
Ganbin opened this issue May 1, 2024 · 1 comment
Open

Errors and crash with 4dm document in Resources folder #25

Ganbin opened this issue May 1, 2024 · 1 comment

Comments

@Ganbin
Copy link

Ganbin commented May 1, 2024

Since the update today (v0.2.0), I always got a crash of 4D-LSP.

I have tried with the Automatic download and use of tool4d: true and false. When false I have used 4D v20 R5 server

Crash with 4D v20 R5 Server :

[Error - 17:22:18] Stopping server failed
  Message: Cannot call write after a stream was destroyed
  Code: -32099 
[Error - 17:22:18] Stopping server failed
  Message: Cannot call write after a stream was destroyed
  Code: -32099 
[Error - 17:22:18] Stopping server failed
  Message: Cannot call write after a stream was destroyed
  Code: -32099 
Language server exited from signal SIGSEGV
2024-05-01_17-22-42

Crash with Automatic download and use of tool4d: true

The 4D-LSP logs are much more verbose so I will not show all but here are some and the errors

A lot of (7000 lines of logs in 2 minutes)

[Trace - 17:27:21] Sending notification 'textDocument/didChange'.
Params: {...

[Trace - 17:27:21] Sending request 'textDocument/semanticTokens/full - (7)'.
Params: {...

[Trace - 17:27:21] Received response 'textDocument/semanticTokens/full - (7)' in 15ms.
Result: {
    "data": [
        0,
        0,
        7,
        ...
    ]
[Trace - 17:27:21] Sending notification 'textDocument/willSave'.
Params: { ...

[Trace - 17:27:21] Sending request 'textDocument/formatting - (8)'.
Params: { ...

5 times

[Info  - 17:27:21] Connection to server got closed. Server will restart.
true
Language server exited from signal SIGSEGV

Then

[Error - 17:28:11] The 4D-LSP server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
Language server exited from signal SIGSEGV
2024-05-01_17-11-20
@Ganbin Ganbin changed the title Errors and crash with version 0.2.0 Errors and crash with 4dm document in Resources folder May 1, 2024
@Ganbin
Copy link
Author

Ganbin commented May 1, 2024

I have updated the issue as it seems not to be related to the latest 0.2.0 but rather related to a method saved in Resources folder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant