-
Notifications
You must be signed in to change notification settings - Fork 119
Open
Description
The documentation should be updated to highlight that the linux binaries may not work if you are on a non-debian-related distro. This should be an easy update to the documentation, so linux users are aware of the shortcomings of the binary in the releases.
To reproduce:
On a non-debian-related linux machine,
- Install pixlet via the following method
curl -LO https://github.com/tidbyt/pixlet/releases/download/v0.33.3/pixlet_0.33.3_linux_amd64.tar.gz
tar -xvf pixlet_0.33.3_linux_amd64.tar.gz
chmod +x ./pixlet
sudo mv pixlet /usr/local/bin/pixlet- Create a file
main.starwith the following contents
load("render.star", "render")
load("http.star", "http")
def main():
url = "https://www.google.com"
http.get(url)
return render.Root(child=render.Text(""))- Run the following
pixlet serve main.star- The following output is generated
2024/08/06 22:25:39 listening at http://127.0.0.1:8080
SIGSEGV: segmentation violation
PC=0x7f52714482a6 m=4 sigcode=1 addr=0x1e83c0
signal arrived during cgo execution
The above is successfully reproduced in Fedora, Arch.
The segmentation fault is not present when done in Debian, Ubuntu.
On Fedora / Arch, building from source makes pixlet serve main.star work successfully.
Metadata
Metadata
Assignees
Labels
No labels