Goland 2022.3+ crash on linux when running or debugging anything

Completed

Goland version: 2022.3 and 2022.3.1

Debian with: go version go1.19.4 linux/amd64

This simple program:

package main

func main() {}

Right-clicking on `main` and choosing run (or debug) crashes GoLand.

Things I've tried:

  • re-installing GoLand from scratch
  • removing the `.idea/` folder from my project and restarting GoLand
  • setting `dlv.path` in custom properties (because initially I thought this only affected debugging)
No problems on the mac, but working on a laptop is annoying.  Please help, GoLand worked fine for me before 2022.3 on Linux.
0
5 comments

Thank you!  This does work for me.

FWIW, I am not using KDE.  I am on fluxbox and have been launching GoLand through the fluxbox menu (which resulted in crashes).  I just tried starting GoLand by launching it from the cli and I am able to run and debug without crashes even without the change mentioned in the linked ticket.

0

Please add your configuration details to the ticket so we can test it on a similar setup when the fix will be available.

0

I've also been having this issue. I'm on 2022.3.2, ArchLinux, sway 1.8.1 (wayland based), runtime: 19.0.2+7 amd64 OpenJDK. I am using the licensed version. It appears that goland is running in xwayland.

Running goland from the CLI fixes the issue and I'm able to run tests.

0

I also have version GO-223.8836.56, built on March 22, 2023. I'm using arch linux with i3 wm.

Launcher for Goland like this:

[Desktop Entry]
Version=1.0
Type=Application
Name=GoLand
Icon=/opt/GoLand-2022.3/bin/goland.svg
Exec="/opt/GoLand-2022.3/bin/goland.sh" %f
Comment=A cross-platform Go IDE with extended support for JavaScript, TypeScript, and databases
Categories=Development;IDE;
Terminal=false
StartupWMClass=jetbrains-goland
StartupNotify=true

Fix from link https://youtrack.jetbrains.com/issue/IDEA-300226/IDE-exits-with-129-exit-code-on-Linux-when-running-debugging-run-configuration-run-configuration-stops-or-building-project#focus=Comments-27-6424051.0-0 does work for me.

Just remove exec from you bin/goland.sh script.

 

0

Please sign in to leave a comment.