-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[MySQL] panic in linked-hash-map #747
Comments
linked_hash_map::Node<std::string::String, (u32, mysql::statement::MySqlStatementMetadata)>
uninitialized, which is invalid', /Users/zhouyongjian/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/src/rust/library/core/src/mem/mod.rs:659:9linked_hash_map::Node<std::string::String, (u32, mysql::statement::MySqlStatementMetadata)>
uninitialized, which is invalid'
Can you please post more of the stack trace? It sounds like a bug in |
stack backtrace: as core::future::future::Future>::poll::h629ac43518d2cdf6 as futures_core::stream::Stream>::poll_next::hb2a3b36b389a0085 as futures_core::stream::Stream>::poll_next::hbfcada9940b08362
|
If I re-create a new project, it can run successfully, and I copy someone else’s project and run it wrong. |
It may not trigger all the time in every circumstance. The location of the panic strongly suggests a bug with |
linked_hash_map::Node<std::string::String, (u32, mysql::statement::MySqlStatementMetadata)>
uninitialized, which is invalid'
I have the same error with rust 1.48:
https://github.com/rust-lang/rust/blob/master/RELEASES.md#L39 lru_cache and linked_hash_map is not maintained anymore |
I also just came across this issue on the |
the error message is
thread 'main' panicked at 'attempted to leave type
linked_hash_map::Node<std::string::String, (u32, mysql::statement::MySqlStatementMetadata)>
uninitialized, which is invalid', .rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/src/rust/library/core/src/mem/mod.rs:659:9The text was updated successfully, but these errors were encountered: