-
-
Notifications
You must be signed in to change notification settings - Fork 573
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
Copy hash freeze gitui #1497
Comments
please share the log after the |
When i write |
I can see this as well and tried to look at what happens using gdb. When I copy the hash gdb displays the following:
gitui then freezes. If I dump the stack trace it seems like the main thread is waiting for a read:
Without having looked at the code, I'd guess that maybe the child process invoked to copy to the clipboard crashed or did not run and the main thread is waiting for its status or output with a blocking read that never returns? |
I am unable to reproduce this, would need help figuring that one out or how to reproduce on a Mac or in some docker container. volunteers? |
Hallo @extrawurst The reproduction is straightforward.
pacman -Sy
pacman -S git gitui
git config --global user.email "asdf@asdf.com"
git config --global user.name "asdf"
git init
git commit -m "test message" --allow-empty
|
Hello, I think the problem only happens when
|
unfortunately does not work on arm64 mac :(
|
@quentin-bettoum Uninstalling @extrawurst, any ideas as to why having |
@AnonymouX47 yeah on unix systems it tries to use |
Is it possible to update Readme/documentation to mention this xclip/xsel problem on linux systems? Or better yet, use some rust crate that deals with clipboard? |
@extrawurst I see, thanks. |
related: #1586 |
Describe the bug
When I copy the hash of a commit on gitui. It crashes.
But it copies the hash well.
To Reproduce
Steps to reproduce the behavior:
Context (please complete the following information):
The text was updated successfully, but these errors were encountered: