-
Notifications
You must be signed in to change notification settings - Fork 13.9k
Closed
Labels
T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Description
Hello! I have a Rust program that is failing with this assertion failure and associated traceback. There is no unsafe code involved and I'm not doing anything fancy with channels.
Rust version 1.18.0 (stable) (see verbose version info below)
Here's the error and backtrace (the unexpected large number on the left side is different each run; a few examples are 4527882240, 4458676224):
thread 'main' panicked at 'assertion failed: `(left == right)` (left: `4540465152`, right: `0`)', src/libstd/sync/mpsc/shared.rs:253
stack backtrace:
0: std::sys::imp::backtrace::tracing::imp::unwind_backtrace
1: std::panicking::default_hook::{{closure}}
2: std::panicking::default_hook
3: std::panicking::rust_panic_with_hook
4: std::panicking::begin_panic
5: std::panicking::begin_panic_fmt
6: <std::sync::mpsc::shared::Packet<T>>::decrement
7: <std::sync::mpsc::shared::Packet<T>>::recv
8: <std::sync::mpsc::Receiver<T>>::recv_max_until
9: <std::sync::mpsc::Receiver<T>>::recv_timeout
10: <console_server::reactor::Reactor<C>>::poll_command
11: <console_server::reactor::Reactor<C>>::run_one_iteration
12: <console_server::reactor::Reactor<C>>::run
13: console_server::run
14: core_console_test::main
15: __rust_maybe_catch_panic
16: std::rt::lang_start
17: main
rustc 1.18.0 (03fc9d6 2017-06-06)
binary: rustc
commit-hash: 03fc9d6
commit-date: 2017-06-06
host: x86_64-apple-darwin
release: 1.18.0
LLVM version: 3.9
Metadata
Metadata
Assignees
Labels
T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.