Skip to content
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

WSL Ubuntu - Slint Language Server crashed #5039

Closed
lplath opened this issue Apr 10, 2024 · 3 comments
Closed

WSL Ubuntu - Slint Language Server crashed #5039

lplath opened this issue Apr 10, 2024 · 3 comments

Comments

@lplath
Copy link

lplath commented Apr 10, 2024

Platform

WSL:

WSL-Version: 2.1.5.0
Kernelversion: 5.15.146.1-2
WSLg-Version: 1.0.60
MSRDC-Version: 1.2.5105
Direct3D-Version: 1.611.1-81528511
DXCore-Version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows-Version: 10.0.22631.3296

Ubuntu:

Ubuntu 20.04.6 LTS

Steps to reproduce

cargo generate --git https://github.com/slint-ui/slint-rust-template --name memory
cd memory
cargo build
cargo run

Error

Io error: Broken pipe (os error 32)
Io error: Broken pipe (os error 32)
Io error: Broken pipe (os error 32)
Error: Other("Error running winit event loop: Exit Failure: 1")
@hunger
Copy link
Member

hunger commented Apr 11, 2024

That should not happen, thank you for reporting this.

We will take a while to get into this issue as everybody is at the embedded world conference this week. Sorry.

@tronical
Copy link
Member

Duplicate of #4089

@tronical tronical marked this as a duplicate of #4089 Apr 12, 2024
@tronical
Copy link
Member

tronical commented Apr 12, 2024

These errors happen when Weston, running inside the WSLg2 system distro crashes. We've seen this reported before but we also don't know why it crashes - it's a bit out of our hands. I'm hoping that future releases of WSLg fix this. In the meantime, one workaround is to not use Wayland but fall back to X11, by unsetting the WAYLAND_DISPLAY environment variable before running the application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants