edit icon indicating copy to clipboard operation
edit copied to clipboard

Crash on startup on WSL

Open steviator opened this issue 5 months ago • 2 comments

edit binary installed into /usr/bin from the latest release (1.2.0) from the zst file for 64bit linux onto a WSL2 VM using Ubuntu crashes at startup without displaying anything useful on screen.

steve@TV:~$ edit
steve@TV:~$

WSL version: 2.5.9.0 (22H2) Kernel version: 6.6.87.2-1 Windows version: 10.0.19045.5965 Ubuntu version: 24.04 (noble)

Attached strace output below: strace.txt

Please let me know if there is anything else that I can do to help diagnose this bug.

steviator avatar Jun 27 '25 03:06 steviator

I am using WSL2 with fedoralinux-42. It works well. just download manually (without using package manager) try to put the binary in /usr/local/bin.

triilman25 avatar Jun 29 '25 01:06 triilman25

@steviator looks like you're opening the wrong edit!

In Linux there's a name collision with another edit. There are references to perl and mailcap in your trace. That's not part of msedit

When using Linux it was decided the name of the editor to be msedit, so it's good practice to change the name of the binary before moving it to /usr/bin/

zcobol avatar Jun 29 '25 05:06 zcobol

That's exactly it. You may have downloaded "edit", but you're probably missing a ./ or similar when running it.

lhecker avatar Jun 30 '25 13:06 lhecker