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

linux platform crash with BorrowMutError #104

Open
CharlesChen0823 opened this issue Aug 4, 2024 · 3 comments
Open

linux platform crash with BorrowMutError #104

CharlesChen0823 opened this issue Aug 4, 2024 · 3 comments

Comments

@CharlesChen0823
Copy link

warning: profile package spec `cranelift-codegen` in profile `dev` did not match any packages
   Compiling gpui-app v0.1.0 (/home/charles/programming/rust/gpui-component/crates/app)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.75s
     Running `target/debug/gpui-app`
thread 'main' panicked at /home/username/.cargo/git/checkouts/zed-23e65a6dff445450/d18b49a/crates/gpui/src/platform/linux/wayland/client.rs:681:23:
already borrowed: BorrowMutError
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
@qwqtoday
Copy link

qwqtoday commented Aug 7, 2024

@CharlesChen0823
Copy link
Author

yes, that work.

@eastack
Copy link
Contributor

eastack commented Aug 12, 2024

On my other laptop running Arch Linux, this error occurs at startup and the program exits, regardless of whether I'm using a Wayland or X11 environment. However, on my desktop at work, which has the same environment setup, this issue doesn't happen. Instead, the error is triggered when I click the window close button. I still haven't figured out why this happens.

huacnlee added a commit that referenced this issue Oct 2, 2024
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