bash-language-server: Constantly Bombarded by Error Message: Request textDocument/hover failed.

Code editor

Codium

Platform

Fedora 38

Version

v1.38.0

What do you see instead?

image

Additional information

bashIde.explainshellEndpoint is blank in the Settings

Issue started randomly from today.

About this issue

  • Original URL
  • State: open
  • Created 3 years ago
  • Reactions: 2
  • Comments: 17

Most upvoted comments

ok, coming back to this…

I was able to get v1.43 installed in VS Codium via the VSIX Manager plugin, (available here: https://open-vsx.org/extension/zokugun/vsix-manager).

@skovhus Thus far, over the course of a few weeks, I have not had a single crash or error message since installing this update. So from that perspective, I think this issue may be fixed in v1.43!

That said, it would be nice if this updated release were available in the open-vsx marketplace as well, since they currently only provide access to v1.38 and older releases. Anyone using these older versions are likely to find their way to this bug report when they encounter the issue. The open-vsx page for the extension (the open-vsx.org URL linked in my last post) says it has no owner, and requests that someone claim it. I imagine anyone using a variant of VS Code that isn’t a Microsoft release version would be using the open-vsx marketplace rather than the official VS Code marketplace.

For more information on claiming the plugin, I found this link: https://github.com/eclipse/openvsx/wiki/Publishing-Extensions

Thanks for the help, and hopefully my reply here can help others as well!

@ColorfulRhino since you were also on the same version 1.38 that I was on, consider checking out the VSIX Manager plugin or manually downloading and installing the VSIX plugin from MS VS store to update your plugin if you haven’t already.

latest version v1.41.0 using language server v5.2.0 on macOS VSCode 1.91

You’re lucky, the version on https://open-vsx.org/extension/mads-hartmann/bash-ide-vscode is still stuck on 1.38.0

For what it’s worth, the updated plugin isn’t showing for me in VS Codium either.

According to the open-vsx website, 1.38.0 is still the latest: https://open-vsx.org/extension/mads-hartmann/bash-ide-vscode

I see 1.43 here: https://marketplace.visualstudio.com/items?itemName=mads-hartmann.bash-ide-vscode but that isn’t very easy to install in VS Codium.

@skovhus Any chance you could update on open-vsx too? Or are they just slow to update their listed versions?

In the meantime, I’m trying a workaround to install v1.43.0, and I’ll report back if I can provide more feedback on this issue.

I’m getting the same bug on the latest version v1.41.0 using language server v5.2.0 on macOS VSCode 1.91

It makes the extensions fully unusable unfortunately (I love it in general!)

Code 2024-07-07 18 16 18
[Error - 16:23:12] Request textDocument/documentHighlight failed.
  Message: Request textDocument/documentHighlight failed with message: memory access out of bounds
  Code: -32603 
[Error - 17:01:14] Request textDocument/hover failed.
  Message: Request textDocument/hover failed with message: memory access out of bounds
  Code: -32603 
[Error - 17:01:14] Request textDocument/documentHighlight failed.
  Message: Request textDocument/documentHighlight failed with message: memory access out of bounds
  Code: -32603 
[Error - 17:01:14] Request textDocument/hover failed.
  Message: Request textDocument/hover failed with message: memory access out of bounds
  Code: -32603 
[Error - 17:01:15] Request textDocument/hover failed.
  Message: Request textDocument/hover failed with message: memory access out of bounds
  Code: -32603 
[Error - 17:01:18] Request textDocument/documentHighlight failed.
  Message: Request textDocument/documentHighlight failed with message: memory access out of bounds
  Code: -32603 
[Error - 17:01:18] Request textDocument/documentHighlight failed.
  Message: Request textDocument/documentHighlight failed with message: memory access out of bounds
  Code: -32603 
[Error - 17:01:25] Request textDocument/documentHighlight failed.
  Message: Request textDocument/documentHighlight failed with message: memory access out of bounds
  Code: -32603 
[Error - 17:01:29] Request textDocument/documentSymbol failed.
  Message: Request textDocument/documentSymbol failed with message: memory access out of bounds
  Code: -32603 
[Error - 17:01:32] Request textDocument/hover failed.
  Message: Request textDocument/hover failed with message: memory access out of bounds
  Code: -32603 
[Error - 17:01:39] Request textDocument/documentHighlight failed.
  Message: Request textDocument/documentHighlight failed with message: memory access out of bounds
  Code: -32603 
[Error - 18:13:47] Request textDocument/documentHighlight failed.
  Message: Request textDocument/documentHighlight failed with message: memory access out of bounds
  Code: -32603 
[Error - 18:13:47] Request textDocument/documentSymbol failed.
  Message: Request textDocument/documentSymbol failed with message: memory access out of bounds
  Code: -32603 
[Error - 18:13:48] Request textDocument/documentHighlight failed.
  Message: Request textDocument/documentHighlight failed with message: memory access out of bounds
  Code: -32603
...

Can you reproduce this with the newest server version (5.0)?