-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
multi threads compile error:deadlock detected #117899
Comments
Only happened once and I can't reproduce it again |
Trigge again when I tring salvo "hello,world" https://next.salvo.rs/book/guide.htm. |
The link is 404 now. Could you provide the minimal example causes the ICE? |
https://next.salvo.rs/book/guide.html
main.rs use salvo::prelude::*;
#[handler]
async fn hello() -> &'static str {
"Hello World"
}
#[tokio::main]
async fn main() {
tracing_subscriber::fmt().init();
let router = Router::new().get(hello);
let acceptor = TcpListener::new("127.0.0.1:5800").bind().await;
Server::new(acceptor).serve(router).await;
} With 100 threads, another ICE came up.
Backtrace
|
Thanks, We should address them separately. I gonna first try to reproduce the deadlock problem using your example. |
Can you reproduce this bug using the latest nightly version to get the new error output? |
but I can't confirm is this the same error.
Full compiler output:
|
I have same error
|
It will be fixed by #118589 |
Code
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: