Skip to content
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

panic in sqlx_mysql/bytes #236

Open
BlinkyStitt opened this issue Nov 16, 2023 · 0 comments
Open

panic in sqlx_mysql/bytes #236

BlinkyStitt opened this issue Nov 16, 2023 · 0 comments

Comments

@BlinkyStitt
Copy link
Contributor

         PanicInfo {
    payload: Any { .. },
    message: Some(
        assertion failed: self.remaining() >= dst.len(),
    ),
    location: Location {
        file: "/root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/buf/buf_impl.rs",
        line: 254,
        col: 9,
    },
    can_unwind: true,
    force_no_backtrace: false,
}
Backtrace [
    { fn: "std::backtrace_rs::backtrace::libunwind::trace", file: "./rustc/fdaaaf9f923281ab98b865259aa40fbf93d72c7a/library/std/src/../../backtrace/src/backtrace/libunwind.rs", line: 104 },
    { fn: "std::backtrace_rs::backtrace::trace_unsynchronized", file: "./rustc/fdaaaf9f923281ab98b865259aa40fbf93d72c7a/library/std/src/../../backtrace/src/backtrace/mod.rs", line: 66 },
    { fn: "std::backtrace::Backtrace::create", file: "./rustc/fdaaaf9f923281ab98b865259aa40fbf93d72c7a/library/std/src/backtrace.rs", line: 331 },
    { fn: "web3_proxy::pagerduty::panic_handler", file: "./app/web3_proxy/src/pagerduty.rs", line: 74 },
    { fn: "web3_proxy_cli::main::{{closure}}", file: "./app/web3_proxy_cli/src/main.rs", line: 282 },
    { fn: "<alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call", file: "./rustc/fdaaaf9f923281ab98b865259aa40fbf93d72c7a/library/alloc/src/boxed.rs", line: 2021 },
    { fn: "std::panicking::rust_panic_with_hook", file: "./rustc/fdaaaf9f923281ab98b865259aa40fbf93d72c7a/library/std/src/panicking.rs", line: 783 },
    { fn: "std::panicking::begin_panic_handler::{{closure}}", file: "./rustc/fdaaaf9f923281ab98b865259aa40fbf93d72c7a/library/std/src/panicking.rs", line: 649 },
    { fn: "std::sys_common::backtrace::__rust_end_short_backtrace", file: "./rustc/fdaaaf9f923281ab98b865259aa40fbf93d72c7a/library/std/src/sys_common/backtrace.rs", line: 170 },
    { fn: "rust_begin_unwind", file: "./rustc/fdaaaf9f923281ab98b865259aa40fbf93d72c7a/library/std/src/panicking.rs", line: 645 },
    { fn: "core::panicking::panic_fmt", file: "./rustc/fdaaaf9f923281ab98b865259aa40fbf93d72c7a/library/core/src/panicking.rs", line: 72 },
    { fn: "core::panicking::panic", file: "./rustc/fdaaaf9f923281ab98b865259aa40fbf93d72c7a/library/core/src/panicking.rs", line: 127 },
    { fn: "<sqlx_mysql::protocol::response::ok::OkPacket as sqlx_core::io::decode::Decode>::decode_with", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-mysql-0.7.2/src/protocol/response/ok.rs" },
    { fn: "sqlx_mysql::protocol::packet::Packet<bytes::bytes::Bytes>::decode_with", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-mysql-0.7.2/src/protocol/packet.rs", line: 56 },
    { fn: "sqlx_mysql::protocol::packet::Packet<bytes::bytes::Bytes>::decode", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-mysql-0.7.2/src/protocol/packet.rs", line: 49 },
    { fn: "sqlx_mysql::protocol::packet::Packet<bytes::bytes::Bytes>::ok", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-mysql-0.7.2/src/protocol/packet.rs", line: 60 },
    { fn: "sqlx_mysql::connection::stream::MySqlStream<S>::wait_until_ready::{{closure}}", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-mysql-0.7.2/src/connection/stream.rs", line: 96 },
    { fn: "<sqlx_mysql::connection::MySqlConnection as sqlx_core::connection::Connection>::ping::{{closure}}", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-mysql-0.7.2/src/connection/mod.rs", line: 69 },
    { fn: "<core::pin::Pin<P> as core::future::future::Future>::poll", file: "./rustc/fdaaaf9f923281ab98b865259aa40fbf93d72c7a/library/core/src/future/future.rs", line: 125 },
    { fn: "sqlx_core::pool::connection::Floating<DB,sqlx_core::pool::connection::Live<DB>>::return_to_pool::{{closure}}", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.7.2/src/pool/connection.rs", line: 267 },
    { fn: "sqlx_core::pool::connection::PoolConnection<DB>::return_to_pool::{{closure}}", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.7.2/src/pool/connection.rs", line: 133 },
    { fn: "<tracing::instrument::Instrumented<T> as core::future::future::Future>::poll", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-0.1.40/src/instrument.rs", line: 321 },
    { fn: "tokio::runtime::task::core::Core<T,S>::poll::{{closure}}", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.34.0/src/runtime/task/core.rs", line: 328 },
    { fn: "tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.34.0/src/loom/std/unsafe_cell.rs", line: 16 },
    { fn: "tokio::runtime::task::core::Core<T,S>::poll", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.34.0/src/runtime/task/core.rs", line: 317 },
    { fn: "tokio::runtime::task::harness::poll_future::{{closure}}", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.34.0/src/runtime/task/harness.rs", line: 485 },
    { fn: "<core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once", file: "./rustc/fdaaaf9f923281ab98b865259aa40fbf93d72c7a/library/core/src/panic/unwind_safe.rs", line: 272 },
    { fn: "std::panicking::try::do_call", file: "./rustc/fdaaaf9f923281ab98b865259aa40fbf93d72c7a/library/std/src/panicking.rs", line: 552 },
    { fn: "std::panicking::try", file: "./rustc/fdaaaf9f923281ab98b865259aa40fbf93d72c7a/library/std/src/panicking.rs", line: 516 },
    { fn: "std::panic::catch_unwind", file: "./rustc/fdaaaf9f923281ab98b865259aa40fbf93d72c7a/library/std/src/panic.rs", line: 142 },
    { fn: "tokio::runtime::task::harness::poll_future", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.34.0/src/runtime/task/harness.rs", line: 473 },
    { fn: "tokio::runtime::task::harness::Harness<T,S>::poll_inner", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.34.0/src/runtime/task/harness.rs", line: 208 },
    { fn: "tokio::runtime::task::harness::Harness<T,S>::poll", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.34.0/src/runtime/task/harness.rs", line: 153 },
    { fn: "tokio::runtime::task::raw::RawTask::poll", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.34.0/src/runtime/task/raw.rs", line: 201 },
    { fn: "tokio::runtime::task::LocalNotified<S>::run", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.34.0/src/runtime/task/mod.rs", line: 408 },
    { fn: "tokio::runtime::scheduler::multi_thread::worker::Context::run_task::{{closure}}", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.34.0/src/runtime/scheduler/multi_thread/worker.rs", line: 577 },
    { fn: "tokio::runtime::coop::with_budget", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.34.0/src/runtime/coop.rs", line: 107 },
    { fn: "tokio::runtime::coop::budget", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.34.0/src/runtime/coop.rs", line: 73 },
    { fn: "tokio::runtime::scheduler::multi_thread::worker::Context::run_task", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.34.0/src/runtime/scheduler/multi_thread/worker.rs", line: 576 },
    { fn: "tokio::runtime::scheduler::multi_thread::worker::Context::run", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.34.0/src/runtime/scheduler/multi_thread/worker.rs", line: 526 },
    { fn: "tokio::runtime::scheduler::multi_thread::worker::run::{{closure}}::{{closure}}", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.34.0/src/runtime/scheduler/multi_thread/worker.rs", line: 491 },
    { fn: "tokio::runtime::context::scoped::Scoped<T>::set", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.34.0/src/runtime/context/scoped.rs", line: 40 },
    { fn: "tokio::runtime::scheduler::multi_thread::worker::run::{{closure}}", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.34.0/src/runtime/scheduler/multi_thread/worker.rs", line: 486 },
    { fn: "tokio::runtime::context::runtime::enter_runtime", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.34.0/src/runtime/context/runtime.rs", line: 65 },
    { fn: "tokio::runtime::scheduler::multi_thread::worker::run", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.34.0/src/runtime/scheduler/multi_thread/worker.rs", line: 478 },
    { fn: "tokio::runtime::scheduler::multi_thread::worker::Launch::launch::{{closure}}", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.34.0/src/runtime/scheduler/multi_thread/worker.rs", line: 447 },
    { fn: "<tokio::runtime::blocking::task::BlockingTask<T> as core::future::future::Future>::poll", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.34.0/src/runtime/blocking/task.rs", line: 42 },
    { fn: "<tracing::instrument::Instrumented<T> as core::future::future::Future>::poll", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-0.1.40/src/instrument.rs", line: 321 },
    { fn: "tokio::runtime::task::core::Core<T,S>::poll::{{closure}}", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.34.0/src/runtime/task/core.rs", line: 328 },
    { fn: "tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.34.0/src/loom/std/unsafe_cell.rs", line: 16 },
    { fn: "tokio::runtime::task::core::Core<T,S>::poll", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.34.0/src/runtime/task/core.rs", line: 317 },
    { fn: "tokio::runtime::task::harness::poll_future::{{closure}}", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.34.0/src/runtime/task/harness.rs", line: 485 },
    { fn: "<core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once", file: "./rustc/fdaaaf9f923281ab98b865259aa40fbf93d72c7a/library/core/src/panic/unwind_safe.rs", line: 272 },
    { fn: "std::panicking::try::do_call", file: "./rustc/fdaaaf9f923281ab98b865259aa40fbf93d72c7a/library/std/src/panicking.rs", line: 552 },
    { fn: "std::panicking::try", file: "./rustc/fdaaaf9f923281ab98b865259aa40fbf93d72c7a/library/std/src/panicking.rs", line: 516 },
    { fn: "std::panic::catch_unwind", file: "./rustc/fdaaaf9f923281ab98b865259aa40fbf93d72c7a/library/std/src/panic.rs", line: 142 },
    { fn: "tokio::runtime::task::harness::poll_future", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.34.0/src/runtime/task/harness.rs", line: 473 },
    { fn: "tokio::runtime::task::harness::Harness<T,S>::poll_inner", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.34.0/src/runtime/task/harness.rs", line: 208 },
    { fn: "tokio::runtime::task::harness::Harness<T,S>::poll", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.34.0/src/runtime/task/harness.rs", line: 153 },
    { fn: "tokio::runtime::task::raw::RawTask::poll", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.34.0/src/runtime/task/raw.rs", line: 201 },
    { fn: "tokio::runtime::task::UnownedTask<S>::run", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.34.0/src/runtime/task/mod.rs", line: 445 },
    { fn: "tokio::runtime::blocking::pool::Task::run", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.34.0/src/runtime/blocking/pool.rs", line: 159 },
    { fn: "tokio::runtime::blocking::pool::Inner::run", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.34.0/src/runtime/blocking/pool.rs", line: 513 },
    { fn: "tokio::runtime::blocking::pool::Spawner::spawn_thread::{{closure}}", file: "./root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.34.0/src/runtime/blocking/pool.rs", line: 471 },
    { fn: "std::sys_common::backtrace::__rust_begin_short_backtrace", file: "./rustc/fdaaaf9f923281ab98b865259aa40fbf93d72c7a/library/std/src/sys_common/backtrace.rs", line: 154 },
    { fn: "std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}", file: "./rustc/fdaaaf9f923281ab98b865259aa40fbf93d72c7a/library/std/src/thread/mod.rs", line: 529 },
    { fn: "<core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once", file: "./rustc/fdaaaf9f923281ab98b865259aa40fbf93d72c7a/library/core/src/panic/unwind_safe.rs", line: 272 },
    { fn: "std::panicking::try::do_call", file: "./rustc/fdaaaf9f923281ab98b865259aa40fbf93d72c7a/library/std/src/panicking.rs", line: 552 },
    { fn: "std::panicking::try", file: "./rustc/fdaaaf9f923281ab98b865259aa40fbf93d72c7a/library/std/src/panicking.rs", line: 516 },
    { fn: "std::panic::catch_unwind", file: "./rustc/fdaaaf9f923281ab98b865259aa40fbf93d72c7a/library/std/src/panic.rs", line: 142 },
    { fn: "std::thread::Builder::spawn_unchecked_::{{closure}}", file: "./rustc/fdaaaf9f923281ab98b865259aa40fbf93d72c7a/library/std/src/thread/mod.rs", line: 528 },
    { fn: "core::ops::function::FnOnce::call_once{{vtable.shim}}", file: "./rustc/fdaaaf9f923281ab98b865259aa40fbf93d72c7a/library/core/src/ops/function.rs", line: 250 },
    { fn: "<alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once", file: "./rustc/fdaaaf9f923281ab98b865259aa40fbf93d72c7a/library/alloc/src/boxed.rs", line: 2007 },
    { fn: "<alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once", file: "./rustc/fdaaaf9f923281ab98b865259aa40fbf93d72c7a/library/alloc/src/boxed.rs", line: 2007 },
    { fn: "std::sys::unix::thread::Thread::new::thread_start", file: "./rustc/fdaaaf9f923281ab98b865259aa40fbf93d72c7a/library/std/src/sys/unix/thread.rs", line: 108 },
    { fn: "start_thread" },
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant