-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Segmentation fault cargo run #25366
Comments
Another type of error I get:
|
@maxdeviant i know you did some changes there recently, maybe a side effect of that? |
Every time I do: zed/crates/client/src/client.rs Lines 807 to 811 in aba89ba
zed/crates/client/src/client.rs Lines 1005 to 1012 in aba89ba
zed/crates/client/src/client.rs Lines 1222 to 1225 in aba89ba
|
@maxdeviant : I tried to print this part of code that calls the others: async fn authenticate(client: Arc<Client>, cx: &AsyncApp) -> Result<()> {
eprintln!(
"authenticate {}, {}",
stdout_is_a_pty(),
client::IMPERSONATE_LOGIN.is_some()
);
if stdout_is_a_pty() {
if client::IMPERSONATE_LOGIN.is_some() {
client.authenticate_and_connect(false, cx).await?;
} else {
client.authenticate_and_connect(true, cx).await?
}
} else if client.has_credentials(cx).await {
client.authenticate_and_connect(true, cx).await?;
}
Ok::<_, anyhow::Error>(())
} Print:
Then this part is done: |
What happens if you sign in? |
@maxdeviant : After logging in, if I run I get errors like: Or Error like this identical one:
|
@maxdeviant : Zed starts crashing from this commit: Pr: In fact app crashes as soon as I write. This is a problem I identified. @tmickleydoyle : What version of |
I have the same issue on MacOS
Error:
Some part of stacktrace:
|
@maxdeviant : Instead error of opening the Pr: Possible problem this: Lines 724 to 735 in f9a2fac
Previously it was used: |
This is the expected behavior now that #25273 is merged. From the information provided it sounds like this is unrelated to the segfault you are seeing. |
@maxdeviant : Yes, this fixes the crash issue. |
Summary
Steps to trigger the problem:
Or
All this happens when I try to build the latest version of zed.
Safari
browser opens toSign in to GitHub to continue to Zed Industries
page every time i docargo run
and then zed crashes.Last commit: aba89ba12a09d42bbfcb722b102ededd1d6aa608
Error:
Zed Version and System Specs
If applicable, attach your
~/Library/Logs/Zed/Zed.log
file to this issue.Zed.log
The text was updated successfully, but these errors were encountered: