SlipStreamGUI icon indicating copy to clipboard operation
SlipStreamGUI copied to clipboard

[BUG]

Open mostafa1993 opened this issue 8 months ago • 1 comments

Bug Description

On Linux, the .deb package installs the app under /opt/SlipStream GUI/ (note the space). When launching slipstream-gui, the app fails immediately because it attempts to execve() a truncated path (/opt/SlipStream) instead of the full path. This prevents the application from starting on a default install.

Steps to Reproduce

  1. On Ubuntu/Debian, download SlipStream-GUI-Linux-x64.deb (tested with v1.4.0).
  2. Install it:
    sudo apt install ./SlipStream-GUI-Linux-x64.deb
    
  3. Launch from terminal:
    slipstream-gui
    
    (or launch from the app menu)

Expected Behavior

The application should start normally after installation.

Actual Behavior

The application crashes immediately. Terminal output includes:

LaunchProcess: failed to execvp:
/opt/SlipStream
[FATAL:zygote_host_impl_linux.cc(201)] Check failed: . : Invalid argument (22)
Trace/breakpoint trap (core dumped)

Using strace shows the app tries to execute /opt/SlipStream and passes GUI/chrome-sandbox as a separate argument (suggesting the install path is being split on spaces):

execve("/opt/SlipStream GUI/slipstream-gui", ...) = 0
[pid ...] execve("/opt/SlipStream GUI/slipstream-gui", [..., "--type=zygote", "--no-zygote-sandbox"], ...) = ...
[pid ...] execve("/opt/SlipStream", ["/opt/SlipStream", "GUI/chrome-sandbox", "/opt/SlipStream GUI/slipstream-gui", "--type=zygote"], ...) = -1 ENOENT (No such file or directory)

Screenshots

N/A (terminal output only)

Environment

  • OS: Ubuntu 24.04 LTS (Linux, amd64)
  • App Version: 1.4.0
  • Install method: .deb (sudo apt install ./SlipStream-GUI-Linux-x64.deb)

Logs

Terminal output + strace snippet above.

Additional Context

Workaround: moving the installation directory to a path without spaces fixes the execve("/opt/SlipStream", ...) failure:

sudo mv "/opt/SlipStream GUI" /opt/SlipStream_GUI
/opt/SlipStream_GUI/slipstream-gui

It looks like some internal launch code (Electron/Chromium helper process/sandbox path) is constructing an executable path using a string that gets split on spaces, instead of passing argv properly. Packaging the app to install into a no-space directory (e.g., /opt/SlipStream_GUI) or fixing the internal spawn logic to handle spaces would resolve it.

mostafa1993 avatar Mar 09 '26 09:03 mostafa1993

Thank you for reporting this bug! We have updated the Linux target configuration in package.json by explicitly setting executableName: "slipstream-gui" in the Linux build block. This should prevent electron-builder from using productName (which has a space) for the executable and install path. The next release will use /opt/slipstream-gui/ and properly handle the arguments, resolving the execve() truncation error.

mirzaaghazadeh avatar Mar 09 '26 18:03 mirzaaghazadeh