codefori / vscode-rpgle

RPGLE language tools for VS Code
MIT License
39 stars 20 forks source link

The RPGLE language client server crashed 5 times in the last 3 minutes. The server will not be restarted. #254

Closed SJLennon closed 11 months ago

SJLennon commented 1 year ago

Not a major impediment, but reporting anyway. Running latest version of the extension, 0.21.3 in Windows 10..

Very simple steps to recreate:

  1. Start VS Code with no folders open and no tabs open.
  2. Do not connect to IBM i.
  3. Open a local folder with files with an .RPGLE extension.
  4. Open a file with the .RPGLE extension.
  5. This is displayed:

image

There is a mass of stuff in the output. Here's the top: image

This is my very simple folder structure on my C: drive: image

worksofliam commented 1 year ago

Tried to recreate it with no luck. Any chance you can show share the entire output?

SJLennon commented 1 year ago

@worksofliam Sure. Here it is. Output.txt

bmcpherson-srlife commented 1 year ago

Good morning,

I also happened to encounter this issue when opening Visual Studio. It was working fine yesterday with no errors, but when I opened it this morning, the same "client server crashed 4 times in the last 3 minutes" message appeared. I had files open automatically from a previous session, a mixture of SQLRPGLE file members and files (SQL, SQLRPGLE, and RPGLLE) from a project folder on the IFS, if that helps with any attempt at recreating the issue.

Crash Log for RPGLE Extension v0.21.4 rpgle_extension_crashlog.txt

worksofliam commented 1 year ago

Thanks folks. I am going to look further into this next week.

JDubbTX commented 11 months ago

This is also hitting me for the last few days.

JDubbTX commented 11 months ago

https://github.com/JDubbTX/IBMiExamples crashes whenever I open anything in QRPGLESRC. Running in windows > wsl > ubuntu devcontainer

JDubbTX commented 11 months ago

Confirmed v0.20.2 was the last working version of the extension for me.

image image
JDubbTX commented 11 months ago

Forked it and ran locally, here is the output: Debugger listening on ws127.0.0.187.txt debug output.txt

JonFP commented 11 months ago

Haven't experienced this myself but have had some weird things happen when working with a source that includes a /Copy or /Include and I have no IBM I connection active. I notice that this appears to match the situation described by the OP.

worksofliam commented 11 months ago

@JDubbTX You are fantastic. That log was exactly what I needed. Thank you! I am going to make a small release of this today.

Release 0.22.1.

JDubbTX commented 11 months ago

OK, more info: The issue doesn't occur on my work development lpar. It only occurs when I'm connected to PUB400. I think the permissions errors had something to do with it. I'll try out the new release and see if that fixes it on both.

JDubbTX commented 11 months ago

@worksofliam I updated to RPGLE to 0.22.1, did a reload, and now the problem is fixed for me. Thanks!