prb28 / vscode-amiga-assembly

Amiga Assembly extension for Visual Studio Code
GNU General Public License v3.0
178 stars 12 forks source link

FS-UAE/Linux: Example workspace: Unable to load UAEquit: Error code 121 #285

Closed Jasmin68k closed 2 months ago

Jasmin68k commented 9 months ago

Using the example workspace on a Debian Sid box, UAEquit fails with `Unable to load UAEquit: Error code 121' in the Amiga Shell.

I tested V1.8.6 and V1.8.2.

I also noticed that LD_LIBRARY_PATH seems not to be used, since I had to install libsdl2-ttf-2.0-0 to get the bundled fs-uae to run from VSCode (otherwise "[EMU] No suitable emulator binary" error). Maybe this is related to the issue.

Hope you can reproduce and fix the problem.

prb28 commented 7 months ago

Can you please check:

Jasmin68k commented 7 months ago

Just ran into this https://github.com/prb28/vscode-amiga-assembly/issues/291, when I wanted to test it again, so I installed the 1.8.7 pre-release first in order to get it to work.

All I did was create the example workspace and run it and it was just UAEquit that failed after the example had been executed by the startup-sequence. Manually typing UAEquit in the shell throws the same error.

UAEquit is in c and is loaded, but quits as described. It did not get x permissions (the example binary did), when created, but adding them had no effect.

So permissions and file locations should be fine.

Note: I had to use "noDebug": true or run without the debugger, due to https://github.com/prb28/vscode-amiga-assembly/issues/284. Also, libsdl2-ttf-2.0-0 is still required as described (did not expect this to change with 1.8.7 just being the VSCode bugfix).

prb28 commented 7 months ago

Thanks, I'm preparing a new debian vm to check it.

prb28 commented 7 months ago

With a debian 12 and the workaround to run the 1.8.7. UAEQuit worked for me.

Jasmin68k commented 7 months ago

@prb28 Hmm, thanks.

Should I ever find the cause of the issue, I'll report back.