Skip to content

Instantly share code, notes, and snippets.

@icefoxen
Created October 19, 2018 21:24
Show Gist options
  • Save icefoxen/35139df6a0b06e9151a6e1dba822ac97 to your computer and use it in GitHub Desktop.
Save icefoxen/35139df6a0b06e9151a6e1dba822ac97 to your computer and use it in GitHub Desktop.
[2018-10-19 17:23:20][TRACE][worlddat::peer] Trying to shut down stream
thread 'main' panicked at 'unknown stream', libcore/option.rs:989:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.
Thread 1 "worlddat" hit Breakpoint 1, quinn_proto::connection::Connection::close (self=0x7ffff7708008, ctx=0x7ffff765b378, now=31534,
conn=ConnectionHandle = {...}, error_code=0, reason=Bytes = {...})
at /home/icefox/.cargo/registry/src/github.com-1ecc6299db9ec823/quinn-proto-0.1.0/src/connection.rs:2097
2097 State::Established(_) => State::Closed(state::Closed {
(gdb) bt
#0 quinn_proto::connection::Connection::close (self=0x7ffff7708008, ctx=0x7ffff765b378, now=31534, conn=ConnectionHandle = {...},
error_code=0, reason=Bytes = {...})
at /home/icefox/.cargo/registry/src/github.com-1ecc6299db9ec823/quinn-proto-0.1.0/src/connection.rs:2097
#1 0x0000555555af83b1 in quinn_proto::endpoint::Endpoint::close (self=0x7ffff765b378, now=31534, conn=ConnectionHandle = {...},
error_code=0, reason=Bytes = {...})
at /home/icefox/.cargo/registry/src/github.com-1ecc6299db9ec823/quinn-proto-0.1.0/src/endpoint.rs:934
#2 0x00005555559aa5d7 in <quinn::ConnectionInner as core::ops::drop::Drop>::drop (self=0x7ffff7622370)
at /home/icefox/.cargo/registry/src/github.com-1ecc6299db9ec823/quinn-0.1.0/src/lib.rs:887
#3 0x00005555559bb471 in core::ptr::drop_in_place () at /checkout/src/libcore/ptr.rs:59
#4 0x00005555559bfa12 in core::ptr::drop_in_place () at /checkout/src/libcore/ptr.rs:59
#5 0x00005555559e540a in <alloc::rc::Rc<T> as core::ops::drop::Drop>::drop (self=0x7ffff762b900) at /checkout/src/liballoc/rc.rs:837
#6 0x00005555555abe8e in core::ptr::drop_in_place () at /checkout/src/libcore/ptr.rs:59
#7 0x00005555555ac0de in core::ptr::drop_in_place () at /checkout/src/libcore/ptr.rs:59
#8 0x00005555555b08fe in core::ptr::drop_in_place () at /checkout/src/libcore/ptr.rs:59
#9 0x00005555555af581 in core::ptr::drop_in_place () at /checkout/src/libcore/ptr.rs:59
#10 0x00005555555aab37 in core::ptr::drop_in_place () at /checkout/src/libcore/ptr.rs:59
#11 0x00005555555b0754 in core::ptr::drop_in_place () at /checkout/src/libcore/ptr.rs:59
#12 0x00005555555acd86 in core::ptr::drop_in_place () at /checkout/src/libcore/ptr.rs:59
#13 0x00005555555acfde in core::ptr::drop_in_place () at /checkout/src/libcore/ptr.rs:59
#14 0x00005555555ab599 in core::ptr::drop_in_place () at /checkout/src/libcore/ptr.rs:59
#15 0x00005555555aca6e in core::ptr::drop_in_place () at /checkout/src/libcore/ptr.rs:59
#16 0x00005555555aab37 in core::ptr::drop_in_place () at /checkout/src/libcore/ptr.rs:59
#17 0x00005555555af4c1 in core::ptr::drop_in_place () at /checkout/src/libcore/ptr.rs:59
#18 0x00005555555aadf0 in core::ptr::drop_in_place () at /checkout/src/libcore/ptr.rs:59
#19 0x00005555555aacfe in core::ptr::drop_in_place () at /checkout/src/libcore/ptr.rs:59
#20 0x00005555555b0b7e in core::ptr::drop_in_place () at /checkout/src/libcore/ptr.rs:59
#21 0x00005555555aae7e in core::ptr::drop_in_place () at /checkout/src/libcore/ptr.rs:59
#22 0x00005555555aab37 in core::ptr::drop_in_place () at /checkout/src/libcore/ptr.rs:59
#23 0x000055555599dd47 in core::ptr::drop_in_place () at /checkout/src/libcore/ptr.rs:59
#24 0x000055555599d94a in core::ptr::drop_in_place () at /checkout/src/libcore/ptr.rs:59
#25 0x000055555599e3ae in core::ptr::drop_in_place () at /checkout/src/libcore/ptr.rs:59
#26 0x000055555599e041 in core::ptr::drop_in_place () at /checkout/src/libcore/ptr.rs:59
#27 0x0000555555996f46 in core::mem::drop (Python Exception <class 'gdb.error'> Cannot convert value to long.:
_x=...) at /checkout/src/libcore/mem.rs:795
#28 0x0000555555990780 in tokio_current_thread::scheduler::release_node (
node=Arc<tokio_current_thread::scheduler::Node<tokio_reactor::Handle>> = {...})
at /home/icefox/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-current-thread-0.1.3/src/scheduler.rs:386
#29 0x00005555559906de in <<tokio_current_thread::scheduler::Scheduler<U>>::tick::Bomb<'a, U> as core::ops::drop::Drop>::drop::{{closure}} () at /home/icefox/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-current-thread-0.1.3/src/scheduler.rs:274
#30 0x000055555598e003 in <tokio_current_thread::Borrow<'a, U>>::enter::{{closure}}::{{closure}} ()
at /home/icefox/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-current-thread-0.1.3/src/lib.rs:779
#31 0x000055555598cfb5 in tokio_current_thread::CurrentRunner::set_spawn (self=0x7ffff7be8718, spawn=&mut SpawnLocal = {...},
f=closure = {...}) at /home/icefox/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-current-thread-0.1.3/src/lib.rs:816
#32 0x000055555598deaa in <tokio_current_thread::Borrow<'a, U>>::enter::{{closure}} (current=0x7ffff7be8718)
at /home/icefox/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-current-thread-0.1.3/src/lib.rs:778
#33 0x0000555555988173 in <std::thread::local::LocalKey<T>>::try_with (self=0x555556044e80, f=closure = {...})
at /checkout/src/libstd/thread/local.rs:294
#34 0x0000555555987927 in <std::thread::local::LocalKey<T>>::with (self=0x555556044e80, f=closure = {...})
at /checkout/src/libstd/thread/local.rs:248
#35 0x000055555598de0d in <tokio_current_thread::Borrow<'a, U>>::enter (self=0x7fffffffc038, f=closure = {...})
at /home/icefox/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-current-thread-0.1.3/src/lib.rs:776
#36 0x000055555599063b in <<tokio_current_thread::scheduler::Scheduler<U>>::tick::Bomb<'a, U> as core::ops::drop::Drop>::drop (
self=0x7fffffffc050)
at /home/icefox/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-current-thread-0.1.3/src/scheduler.rs:274
#37 0x0000555555982191 in core::ptr::drop_in_place () at /checkout/src/libcore/ptr.rs:59
#38 0x0000555555991fb4 in <tokio_current_thread::scheduler::Scheduler<U>>::tick (self=0x7fffffffe0f0, eid=0, enter=0x7fffffffcf20,
num_futures=0x7ffff7620110)
at /home/icefox/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-current-thread-0.1.3/src/scheduler.rs:345
#39 0x000055555598e622 in <tokio_current_thread::Entered<'a, P>>::tick (self=0x7fffffffc3a8)
at /home/icefox/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-current-thread-0.1.3/src/lib.rs:605
#40 0x00005555555a5eee in <tokio_current_thread::Entered<'a, P>>::block_on (self=0x7fffffffc3a8, future=Driver = {...})
at /home/icefox/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-current-thread-0.1.3/src/lib.rs:488
#41 0x000055555559df21 in tokio::runtime::current_thread::runtime::Runtime::block_on::{{closure}} (executor=0x7fffffffc3a8)
at /home/icefox/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.11/src/runtime/current_thread/runtime.rs:187
#42 0x000055555559ddc0 in tokio::runtime::current_thread::runtime::Runtime::enter::{{closure}}::{{closure}}::{{closure}}::{{closure}}
(enter=0x7fffffffcf20)
at /home/icefox/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.11/src/runtime/current_thread/runtime.rs:228
#43 0x000055555559d0de in tokio_executor::global::with_default::{{closure}} (cell=0x7ffff7be8760)
at /home/icefox/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-executor-0.1.5/src/global.rs:192
#44 0x000055555559bd76 in <std::thread::local::LocalKey<T>>::try_with (self=0x555556038e80, f=closure = {...})
at /checkout/src/libstd/thread/local.rs:294
#45 0x000055555559b77f in <std::thread::local::LocalKey<T>>::with (self=0x555556038e80, f=...)
at /checkout/src/libstd/thread/local.rs:248
#46 0x000055555559cf9b in tokio_executor::global::with_default (executor=0x7fffffffc668, enter=0x7fffffffcf20, f=closure = {...})
at /home/icefox/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-executor-0.1.5/src/global.rs:162
#47 0x000055555559dcf6 in tokio::runtime::current_thread::runtime::Runtime::enter::{{closure}}::{{closure}}::{{closure}} (
enter=0x7fffffffcf20)
at /home/icefox/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.11/src/runtime/current_thread/runtime.rs:226
#48 0x00005555555b80d5 in tokio_timer::timer::handle::with_default::{{closure}} (current=0x7ffff7be8950)
at /home/icefox/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-timer-0.2.7/src/timer/handle.rs:94
#49 0x000055555559c27d in <std::thread::local::LocalKey<T>>::try_with (self=0x555556039e68, f=closure = {...})
at /checkout/src/libstd/thread/local.rs:294
#50 0x000055555559b87f in <std::thread::local::LocalKey<T>>::with (self=0x555556039e68, f=...)
at /checkout/src/libstd/thread/local.rs:248
#51 0x00005555555b7f09 in tokio_timer::timer::handle::with_default (handle=0x7fffffffe0d8, enter=0x7fffffffcf20, f=closure = {...})
at /home/icefox/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-timer-0.2.7/src/timer/handle.rs:81
#52 0x000055555559dc7c in tokio::runtime::current_thread::runtime::Runtime::enter::{{closure}}::{{closure}} (enter=0x7fffffffcf20)
at /home/icefox/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.11/src/runtime/current_thread/runtime.rs:219
#53 0x000055555558a9ee in tokio_timer::clock::clock::with_default::{{closure}} (cell=0x7ffff7be8740)
at /home/icefox/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-timer-0.2.7/src/clock/clock.rs:136
#54 0x000055555559c512 in <std::thread::local::LocalKey<T>>::try_with (self=0x555556038d50, f=closure = {...})
at /checkout/src/libstd/thread/local.rs:294
#55 0x000055555559b707 in <std::thread::local::LocalKey<T>>::with (self=0x555556038d50, f=...)
at /checkout/src/libstd/thread/local.rs:248
#56 0x000055555558a8c8 in tokio_timer::clock::clock::with_default (clock=0x7fffffffe0e0, enter=0x7fffffffcf20, f=...)
at /home/icefox/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-timer-0.2.7/src/clock/clock.rs:119
#57 0x000055555559dc26 in tokio::runtime::current_thread::runtime::Runtime::enter::{{closure}} (enter=0x7fffffffcf20)
at /home/icefox/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.11/src/runtime/current_thread/runtime.rs:218
#58 0x00005555555f2b13 in tokio_reactor::with_default::{{closure}} (current=0x7ffff7be8970)
at /home/icefox/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-reactor-0.1.6/src/lib.rs:229
#59 0x000055555559bff9 in <std::thread::local::LocalKey<T>>::try_with (self=0x55555603b2e0, f=closure = {...})
at /checkout/src/libstd/thread/local.rs:294
#60 0x000055555559b805 in <std::thread::local::LocalKey<T>>::with (self=0x55555603b2e0, f=...)
at /checkout/src/libstd/thread/local.rs:248
#61 0x00005555555f28cc in tokio_reactor::with_default (handle=0x7fffffffe0d0, enter=0x7fffffffcf20, f=...)
at /home/icefox/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-reactor-0.1.6/src/lib.rs:212
#62 0x000055555559db66 in tokio::runtime::current_thread::runtime::Runtime::enter (self=0x7fffffffe0d0, f=closure = {...})
at /home/icefox/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.11/src/runtime/current_thread/runtime.rs:217
#63 0x000055555559dedf in tokio::runtime::current_thread::runtime::Runtime::block_on (self=0x7fffffffe0d0, f=Driver = {...})
at /home/icefox/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.11/src/runtime/current_thread/runtime.rs:185
#64 0x00005555555a354c in worlddat::peer::Peer::start_listener (self=0x7fffffffe010) at src/peer.rs:430
#65 0x00005555555a0045 in worlddat::peer::Peer::run (self=0x7fffffffe010) at src/peer.rs:189
#66 0x00005555555fad0a in worlddat::main () at src/main.rs:93
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment