Skip to content

Instantly share code, notes, and snippets.

@rtsisyk
Created March 7, 2019 15:37
Show Gist options
  • Save rtsisyk/471d64154f81c0a6d624a9bfef344050 to your computer and use it in GitHub Desktop.
Save rtsisyk/471d64154f81c0a6d624a9bfef344050 to your computer and use it in GitHub Desktop.
```
(gdb) bt
#0 0x0000000000ff0050 in mmap64 ()
#1 0x0000000000fef6ab in malloc ()
#2 0x2e9e77a3bdc5fcfa in ?? ()
#3 0xfffff80000000000 in ?? ()
#4 0x0000000000000027 in ?? ()
#5 0x000000000006d020 in ?? ()
#6 0x000000000230cb50 in ?? ()
#7 0xbe9c6dfbe2275364 in ?? ()
#8 0x061bb4f25231abb0 in ?? ()
#9 0x00000000022d6340 in ?? ()
#10 0x000000000230cb50 in ?? ()
#11 0x0000000000036820 in ?? ()
#12 0x000000000205ad01 in ?? ()
#13 0x000000000205b220 in ?? ()
#14 0x00000000022d6330 in ?? ()
#15 0x0000000000fefb65 in realloc ()
#16 0x322a8bdeaaa62260 in ?? ()
#17 0x000000000006d020 in ?? ()
#18 0x1567efd092651a4e in ?? ()
#19 0x0000000000000100 in ?? ()
#20 0x00007ffff78bcf60 in ?? ()
#21 0x000000000205ad60 in ?? ()
#22 0x000000000205ad01 in ?? ()
#23 0x000000000205b220 in ?? ()
#24 0x000000000006d000 in ?? ()
#25 0x00000000008d6b07 in alloc::alloc::realloc (ptr=0x0, layout=..., new_size=36528944)
at /builddir/rustc-1.32.0-src/src/liballoc/alloc.rs:118
#26 <alloc::alloc::Global as core::alloc::Alloc>::realloc (ptr=..., layout=..., new_size=36528944, self=<optimized out>)
at /builddir/rustc-1.32.0-src/src/liballoc/alloc.rs:173
#27 <alloc::raw_vec::RawVec<T, A>>::reserve_internal (self=0x205b220, used_cap=<optimized out>, needed_extra_cap=<optimized out>,
fallibility=(alloc::raw_vec::Fallibility::Infallible | unknown: 254),
strategy=(alloc::raw_vec::ReserveStrategy::Amortized | unknown: 254)) at /builddir/rustc-1.32.0-src/src/liballoc/raw_vec.rs:677
#28 <alloc::raw_vec::RawVec<T, A>>::reserve (self=0x205b220, used_cap=<optimized out>, needed_extra_cap=<optimized out>)
at /builddir/rustc-1.32.0-src/src/liballoc/raw_vec.rs:502
---Type <return> to continue, or q <return> to quit---
#29 0x0000000000884cc7 in <alloc::vec::Vec<T>>::reserve (self=0x0, additional=1)
at /builddir/rustc-1.32.0-src/src/liballoc/vec.rs:470
#30 <alloc::vec::Vec<T>>::push (self=0x0, value=...) at /builddir/rustc-1.32.0-src/src/liballoc/vec.rs:999
#31 stegos_node::NodeService::handle_consensus_message (self=0x36820, msg=...) at node/src/lib.rs:862
#32 0x0000000000887870 in <stegos_node::NodeService as futures::future::Future>::poll::{{closure}} (msg=...) at node/src/lib.rs:1125
#33 <core::result::Result<T, E>>::and_then (op=..., self=...) at /builddir/rustc-1.32.0-src/src/libcore/result.rs:647
#34 <stegos_node::NodeService as futures::future::Future>::poll (self=<optimized out>) at node/src/lib.rs:1124
#35 0x0000000000a22cf2 in <alloc::boxed::Box<F> as futures::future::Future>::poll (self=<optimized out>)
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.25/src/future/mod.rs:113
#36 <futures::task_impl::Spawn<T>>::poll_future_notify::{{closure}} (f=<optimized out>)
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.25/src/task_impl/mod.rs:326
#37 <futures::task_impl::Spawn<T>>::enter::{{closure}} ()
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.25/src/task_impl/mod.rs:396
#38 futures::task_impl::std::set (task=0x7ffff78bdd90, f=...)
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.25/src/task_impl/std/mod.rs:78
#39 0x0000000000a15b33 in <futures::task_impl::Spawn<T>>::enter (self=<optimized out>, unpark=..., f=...)
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.25/src/task_impl/mod.rs:396
#40 <futures::task_impl::Spawn<T>>::poll_fn_notify (self=<optimized out>, notify=<optimized out>, id=3, f=...)
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.25/src/task_impl/mod.rs:288
#41 <futures::task_impl::Spawn<T>>::poll_future_notify (self=<optimized out>, notify=<optimized out>, id=3)
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.25/src/task_impl/mod.rs:326
#42 tokio_threadpool::task::Task::run::{{closure}} ()
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.11/src/task/mod.rs:141
#43 core::ops::function::FnOnce::call_once () at /builddir/rustc-1.32.0-src/src/libcore/ops/function.rs:238
#44 <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once (self=..., _args=<optimized out>)
at /builddir/rustc-1.32.0-src/src/libstd/panic.rs:319
#45 0x0000000000a19810 in std::panicking::try::do_call (data=0x7ffff78bde58 "\330ދ\367\377\177\000")
at /builddir/rustc-1.32.0-src/src/libstd/panicking.rs:310
#46 0x0000000000f80bea in __rust_maybe_catch_panic ()
#47 0x0000000000a25b57 in std::panicking::try (f=...) at /builddir/rustc-1.32.0-src/src/libstd/panicking.rs:289
#48 std::panic::catch_unwind (f=...) at /builddir/rustc-1.32.0-src/src/libstd/panic.rs:398
#49 tokio_threadpool::task::Task::run (self=<optimized out>, unpark=<optimized out>)
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.11/src/task/mod.rs:127
#50 0x0000000000a13ec1 in tokio_threadpool::worker::Worker::run_task2 (self=<optimized out>, task=0x2052260, notify=<optimized out>)
---Type <return> to continue, or q <return> to quit---
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.11/src/worker/mod.rs:572
#51 tokio_threadpool::worker::Worker::run_task (self=0x7ffff78be358, task=..., notify=0x7ffff78bdfe8)
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.11/src/worker/mod.rs:461
#52 0x0000000000a132ee in tokio_threadpool::worker::Worker::try_steal_task (self=<optimized out>, notify=0x1eb2f20)
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.11/src/worker/mod.rs:421
#53 tokio_threadpool::worker::Worker::try_run_task (self=<optimized out>, notify=<optimized out>)
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.11/src/worker/mod.rs:306
#54 tokio_threadpool::worker::Worker::run (self=0x7ffff78be358)
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.11/src/worker/mod.rs:246
#55 0x0000000000a01bcc in tokio::runtime::threadpool::builder::Builder::build::{{closure}}::{{closure}}::{{closure}}::{{closure}} ()
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.15/src/runtime/threadpool/builder.rs:340
#56 tokio_timer::timer::handle::with_default::{{closure}} (current=...)
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-timer-0.2.10/src/timer/handle.rs:94
#57 <std::thread::local::LocalKey<T>>::try_with (self=<optimized out>,
f=<error reading variable: Cannot access memory at address 0x6e010>) at /builddir/rustc-1.32.0-src/src/libstd/thread/local.rs:309
#58 <std::thread::local::LocalKey<T>>::with (self=<optimized out>, f=...)
at /builddir/rustc-1.32.0-src/src/libstd/thread/local.rs:255
#59 0x0000000000a0185f in tokio_timer::timer::handle::with_default (handle=<optimized out>, enter=<optimized out>, f=...)
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-timer-0.2.10/src/timer/handle.rs:81
#60 tokio::runtime::threadpool::builder::Builder::build::{{closure}}::{{closure}}::{{closure}} (enter=<optimized out>)
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.15/src/runtime/threadpool/builder.rs:339
#61 tokio_timer::clock::clock::with_default::{{closure}} (cell=<optimized out>)
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-timer-0.2.10/src/clock/clock.rs:141
#62 <std::thread::local::LocalKey<T>>::try_with (self=0x1468618 <anon.b652bbac4fea49f58c3e98070f7b2102.1.llvm>, f=...)
at /builddir/rustc-1.32.0-src/src/libstd/thread/local.rs:309
#63 <std::thread::local::LocalKey<T>>::with (self=0x1468618 <anon.b652bbac4fea49f58c3e98070f7b2102.1.llvm>, f=...)
at /builddir/rustc-1.32.0-src/src/libstd/thread/local.rs:255
#64 0x0000000000a01a07 in tokio_timer::clock::clock::with_default (clock=<optimized out>, enter=<optimized out>, f=...)
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-timer-0.2.10/src/clock/clock.rs:124
#65 tokio::runtime::threadpool::builder::Builder::build::{{closure}}::{{closure}} (enter=<optimized out>)
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.15/src/runtime/threadpool/builder.rs:338
#66 tokio_reactor::with_default::{{closure}} (current=...)
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-reactor-0.1.8/src/lib.rs:229
#67 <std::thread::local::LocalKey<T>>::try_with (self=<optimized out>, f=...)
---Type <return> to continue, or q <return> to quit---
at /builddir/rustc-1.32.0-src/src/libstd/thread/local.rs:309
#68 <std::thread::local::LocalKey<T>>::with (self=<optimized out>, f=...)
at /builddir/rustc-1.32.0-src/src/libstd/thread/local.rs:255
#69 0x00000000009fb6be in tokio_reactor::with_default (handle=<optimized out>, enter=0x7ffff78be290,
f=<error reading variable: access outside bounds of object referenced via synthetic pointer>)
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-reactor-0.1.8/src/lib.rs:212
#70 tokio::runtime::threadpool::builder::Builder::build::{{closure}} (w=<optimized out>, enter=0x7ffff78be290)
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.15/src/runtime/threadpool/builder.rs:337
#71 0x0000000000a218c3 in tokio_threadpool::callback::Callback::call (self=<optimized out>, worker=0x6e000, enter=0x3)
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.11/src/callback.rs:21
#72 tokio_threadpool::worker::Worker::do_run::{{closure}}::{{closure}} (enter=0x3)
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.11/src/worker/mod.rs:132
#73 tokio_executor::global::with_default::{{closure}} (cell=<optimized out>)
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-executor-0.1.6/src/global.rs:192
#74 <std::thread::local::LocalKey<T>>::try_with (self=0x14696f0 <anon.468944eea6d5b77bc9dfd4b1d856a4f8.0.llvm>, f=...)
at /builddir/rustc-1.32.0-src/src/libstd/thread/local.rs:309
#75 <std::thread::local::LocalKey<T>>::with (self=0x14696f0 <anon.468944eea6d5b77bc9dfd4b1d856a4f8.0.llvm>, f=...)
at /builddir/rustc-1.32.0-src/src/libstd/thread/local.rs:255
#76 0x0000000000a2169a in tokio_executor::global::with_default (executor=0x17a7880, enter=0x8, f=...)
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-executor-0.1.6/src/global.rs:162
#77 tokio_threadpool::worker::Worker::do_run::{{closure}} (c=<optimized out>)
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.11/src/worker/mod.rs:130
#78 <std::thread::local::LocalKey<T>>::try_with (self=0x14691d0 <anon.507e2351cd091504716e8e4122de141b.3.llvm>, f=...)
at /builddir/rustc-1.32.0-src/src/libstd/thread/local.rs:309
#79 <std::thread::local::LocalKey<T>>::with (self=0x14691d0 <anon.507e2351cd091504716e8e4122de141b.3.llvm>, f=...)
at /builddir/rustc-1.32.0-src/src/libstd/thread/local.rs:255
#80 0x0000000000a1a4ea in tokio_threadpool::worker::Worker::do_run (self=0x17a7880)
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.11/src/worker/mod.rs:121
#81 tokio_threadpool::pool::Pool::spawn_thread::{{closure}} ()
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.11/src/pool/mod.rs:346
#82 std::sys_common::backtrace::__rust_begin_short_backtrace (f=...)
at /builddir/rustc-1.32.0-src/src/libstd/sys_common/backtrace.rs:136
#83 0x0000000000a197dc in std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}} ()
at /builddir/rustc-1.32.0-src/src/libstd/thread/mod.rs:477
---Type <return> to continue, or q <return> to quit---
#84 <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once (self=..., _args=<optimized out>)
at /builddir/rustc-1.32.0-src/src/libstd/panic.rs:319
#85 std::panicking::try::do_call (data=<optimized out>) at /builddir/rustc-1.32.0-src/src/libstd/panicking.rs:310
#86 0x0000000000f80bea in __rust_maybe_catch_panic ()
#87 0x0000000000a228d0 in std::panicking::try (f=...) at /builddir/rustc-1.32.0-src/src/libstd/panicking.rs:289
#88 std::panic::catch_unwind (f=...) at /builddir/rustc-1.32.0-src/src/libstd/panic.rs:398
#89 std::thread::Builder::spawn_unchecked::{{closure}} () at /builddir/rustc-1.32.0-src/src/libstd/thread/mod.rs:476
#90 <F as alloc::boxed::FnBox<A>>::call_box (self=0x1c41320, args=<optimized out>)
at /builddir/rustc-1.32.0-src/src/liballoc/boxed.rs:673
#91 0x0000000000f7052e in std::sys_common::thread::start_thread ()
#92 0x0000000000f5f6a6 in std::sys::unix::thread::Thread::new::thread_start ()
#93 0x0000000000ffb83e in start ()
#94 0x0000000000000000 in ?? ()
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment