-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Emulator exited with code/signal 127 before debugger could connect. #242
Comments
seems the emulator crashes before the debugger can connect. Can you try the regular windows version? |
Can confirm the native windows version does work. WSL should be capable of calling to windows if invoking a windows executable, but I did try this on the |
I suspect the problem is if you're using WSL that you're using the Linux version that comes with FS-UAE, probably that's not compatible with WSL. Any specific reason you're not using the native Windows version? |
Hello, I am running this extension native on Linux and stumbled on the same problem. On my machine the bundled fs-uae cannot open There are at least two workarounds:
Note that this might happen with other shared objects too. Try running the bundled fs-uae manually to see what is happening. Alternatively you can print bundled fs-uae shared object dependencies with ldd to see if some shared object dependencies are missing. In addition to this problem I had to manually add execute flag to all bundled binaries. |
@grahambates do we need to bundle that TTF library? |
We do currently bundle |
Hi, I'm not an expert on these things, but my understanding is that Linux doesn't look for dynamic libraries in the current path by default. So my suggestion is to set environment variable Shell script for example: #!/bin/sh
# Set dynamic loader search path to current binary path and pass command line arguments ("$@")
LD_LIBRARY_PATH='$ORIGIN' /path/to/fs-uae "$@" Alternatively, if you compile the emulator yourself, you can tell the linker to add a custom search path using the More details about the dynamic loader here: https://man7.org/linux/man-pages/man8/ld.so.8.html Edit:I had time to investigate bit further and looks like there was already this kind of thing in place: vscode-amiga-debug/src/amigaDebug.ts Line 556 in ae6e6c7
Changing Looks like Quote from manpage:
|
Hi,
whenever I try and launch the init project via VS Code I get a pop-up with this error:
Emulator exited with code/signal 127 before debugger could connect.
Building works fine, I have pointed the config to a valid Kickstart ROM, and I can launch and debug the executable separately in WinUAE, however this is a bit unpleasant. I am using WSL, which may be related, although I am on a version with GUI support. Any pointers as to what this error means or how I could solve it?
The text was updated successfully, but these errors were encountered: