Skip to content

Instantly share code, notes, and snippets.

@IceDragon200
Created June 18, 2021 04:52
Show Gist options
  • Save IceDragon200/c63f6e495b8ecffc6cf8fce8760dccdd to your computer and use it in GitHub Desktop.
Save IceDragon200/c63f6e495b8ecffc6cf8fce8760dccdd to your computer and use it in GitHub Desktop.
GNU gdb (GDB) 10.2
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Attaching to process 2153925
[New LWP 2153928]
[New LWP 2153929]
[New LWP 2153930]
[New LWP 2153931]
[New LWP 2153932]
[New LWP 2153933]
[New LWP 2153934]
[New LWP 2153935]
[New LWP 2153937]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
alloc::sync::Arc<futures_executor::local_pool::ThreadNotify>::inner<futures_executor::local_pool::ThreadNotify> (self=0x7fdf720787a0)
at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/alloc/src/sync.rs:1032
(gdb) #0 alloc::sync::Arc<futures_executor::local_pool::ThreadNotify>::inner<futures_executor::local_pool::ThreadNotify> (self=0x7fdf720787a0)
at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/alloc/src/sync.rs:1032
No locals.
#1 0x000055fbe81da77f in alloc::sync::{{impl}}::deref<futures_executor::local_pool::ThreadNotify> (self=0x7fdf720787a0)
at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/alloc/src/sync.rs:1304
No locals.
#2 0x000055fbe7d34fa9 in futures_executor::local_pool::run_executor::{{closure}}<core::result::Result<(), anyhow::Error>,closure-0> (thread_notify=0x7fdf720787a0)
at /home/icy/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-executor-0.3.15/src/local_pool.rs:94
cx = core::task::wake::Context {waker: 0x7fff284065d0, _marker: core::marker::PhantomData<fn(&()) -> &()>}
waker = futures_task::waker_ref::WakerRef {waker: core::mem::manually_drop::ManuallyDrop<core::task::wake::Waker> {value: core::task::wake::Waker {waker: core::task::wake::RawWaker {data: 0x55fbebd966f0, vtable: 0x55fbe8cae1e8}}}, _marker: core::marker::PhantomData<&()>}
f = futures_executor::local_pool::block_on::closure-0 (0x7fff284069c8)
#3 0x000055fbe7bef05f in std::thread::local::LocalKey<alloc::sync::Arc<futures_executor::local_pool::ThreadNotify>>::try_with<alloc::sync::Arc<futures_executor::local_pool::ThreadNotify>,closure-0,core::result::Result<(), anyhow::Error>> (self=0x55fbe8c891c0, f=...) at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/thread/local.rs:272
thread_local = 0x7fdf720787a0
#4 0x000055fbe7bee9a4 in std::thread::local::LocalKey<alloc::sync::Arc<futures_executor::local_pool::ThreadNotify>>::with<alloc::sync::Arc<futures_executor::local_pool::ThreadNotify>,closure-0,core::result::Result<(), anyhow::Error>> (self=0x55fbe8c891c0, f=...) at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/thread/local.rs:248
No locals.
#5 0x000055fbe7d34e92 in futures_executor::local_pool::run_executor<core::result::Result<(), anyhow::Error>,closure-0> (f=...)
at /home/icy/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-executor-0.3.15/src/local_pool.rs:86
_enter = futures_executor::enter::Enter {_priv: ()}
#6 0x000055fbe7d3508e in futures_executor::local_pool::block_on<core::future::from_generator::GenFuture<generator-0>> (f=...)
at /home/icy/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-executor-0.3.15/src/local_pool.rs:315
f = core::pin::Pin<&mut core::future::from_generator::GenFuture<generator-0>> {pointer: 0x7fff28406768}
f = core::future::from_generator::GenFuture<generator-0> (std::path::PathBuf{inner: std::ffi::os_str::OsString {inner: std::sys_common::os_str_bytes::Buf {inner: alloc::vec::Vec<u8, alloc::alloc::Global> {buf: alloc::raw_vec::RawVec<u8, alloc::alloc::Global> {ptr: core::ptr::unique::Unique<u8> {pointer: 0x55fbebd98d70, _marker: core::marker::PhantomData<u8>}, cap: 60, alloc: alloc::alloc::Global}, len: 60}}}})
#7 0x000055fbe7d15275 in helix_term::commands::cmd::write_impl<&&str> (view=0x55fbebb441c0, doc=0x55fbebb47398, path=...) at helix-term/src/commands.rs:1088
autofmt = false
#8 0x000055fbe7d154c3 in helix_term::commands::cmd::write (editor=0x7fff28409578, args=..., event=helix_term::ui::prompt::PromptEvent::Validate) at helix-term/src/commands.rs:1094
view = 0x55fbebb441c0
doc = 0x55fbebb47398
#9 0x000055fbe7cd545a in helix_term::commands::command_mode::{{closure}} (editor=0x7fff28409578, input=..., event=helix_term::ui::prompt::PromptEvent::Validate)
at helix-term/src/commands.rs:1457
cmd = 0x55fbebd82798
parts = alloc::vec::Vec<&str, alloc::alloc::Global> {buf: alloc::raw_vec::RawVec<&str, alloc::alloc::Global> {ptr: core::ptr::unique::Unique<&str> {pointer: 0x55fbebdac360, _marker: core::marker::PhantomData<&str>}, cap: 4, alloc: alloc::alloc::Global}, len: 2}
#10 0x000055fbe7c024a0 in alloc::boxed::{{impl}}::call_mut<(&mut helix_view::editor::Editor, &str, helix_term::ui::prompt::PromptEvent),FnMut<(&mut helix_view::editor::Editor, &str, helix_term::ui::prompt::PromptEvent)>,alloc::alloc::Global> (self=0x55fbebd81ea0, args=...) at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/alloc/src/boxed.rs:1553
No locals.
#11 0x000055fbe7c53bbc in helix_term::ui::prompt::{{impl}}::handle_event (self=0x55fbebd81e30, event=..., cx=0x7fff28407498) at helix-term/src/ui/prompt.rs:336
close_fn = helix_term::compositor::EventResult::Consumed(core::option::Option<alloc::boxed::Box<FnOnce<(&mut helix_term::compositor::Compositor)>, alloc::alloc::Global>>::Some(core::ops::function::Box<FnOnce<(&mut helix_term::compositor::Compositor)>, alloc::alloc::Global> {pointer: 0x1, vtable: 0x55fbe8c83a68}))
event = crossterm::event::KeyEvent {code: crossterm::event::KeyCode::Enter, modifiers: crossterm::event::KeyModifiers {bits: 0}}
#12 0x000055fbe7d5b757 in helix_term::compositor::Compositor::handle_event (self=0x7fff28409500, event=..., cx=0x7fff28407498) at helix-term/src/compositor.rs:113
layer = 0x55fbebb46080
__next = 0x55fbebb46080
iter = core::iter::adapters::rev::Rev<core::slice::iter::IterMut<alloc::boxed::Box<Component, alloc::alloc::Global>>> {iter: core::slice::iter::IterMut<alloc::boxed::Box<Component, alloc::alloc::Global>> {ptr: core::ptr::non_null::NonNull<alloc::boxed::Box<Component, alloc::alloc::Global>> {pointer: 0x55fbebb46070}, end: 0x55fbebb46080, _marker: core::marker::PhantomData<&mut alloc::boxed::Box<Component, alloc::alloc::Global>>}}
#13 0x000055fbe7c4f6b2 in helix_term::application::Application::handle_terminal_events (self=0x7fff28409500, event=...) at helix-term/src/application.rs:146
event = crossterm::event::Event::Key(crossterm::event::KeyEvent {code: crossterm::event::KeyCode::Enter, modifiers: crossterm::event::KeyModifiers {bits: 0}})
cx = helix_term::compositor::Context {editor: 0x7fff28409578, scroll: core::option::Option<usize>::None, callbacks: 0x7fff284096d8}
#14 0x000055fbe7ba07f9 in helix_term::application::{{impl}}::event_loop::{{closure}} () at /home/icy/docs/codes/git/helix-editor/helix/helix-term/src/application.rs:110
event = core::option::Option<core::result::Result<crossterm::event::Event, std::io::error::Error>>::Some(core::result::Result<crossterm::event::Event, std::io::error::Error>::Ok(crossterm::event::Event::Key(crossterm::event::KeyEvent {code: crossterm::event::KeyCode::Enter, modifiers: crossterm::event::KeyModifiers {bits: 0}})))
output = helix_term::application::{{impl}}::event_loop::{{closure}}::util::Out<core::option::Option<core::result::Result<crossterm::event::Event, std::io::error::Error>>, core::option::Option<jsonrpc_core::types::request::Call>, core::option::Option<core::result::Result<alloc::boxed::Box<FnOnce<(&mut helix_view::editor::Editor, &mut helix_term::compositor::Compositor)>, alloc::alloc::Global>, anyhow::Error>>>::_0(core::option::Option<core::result::Result<crossterm::event::Event, std::io::error::Error>>::Some(core::result::Result<crossterm::event::Event, std::io::error::Error>::Ok(crossterm::event::Event::Key(crossterm::event::KeyEvent {code: crossterm::event::KeyCode::Enter, modifiers: crossterm::event::KeyModifiers {bits: 0}}))))
disabled = 7
reader = crossterm::event::stream::EventStream {poll_internal_waker: crossterm::event::sys::unix::waker::Waker {inner: alloc::sync::Arc<std::sync::mutex::Mutex<mio::waker::Waker>> {ptr: core::ptr::non_null::NonNull<alloc::sync::ArcInner<std::sync::mutex::Mutex<mio::waker::Waker>>> {pointer: 0x55fbebb48a30}, phantom: core::marker::PhantomData<alloc::sync::ArcInner<std::sync::mutex::Mutex<mio::waker::Waker>>>}}, stream_wake_task_executed: alloc::sync::Arc<core::sync::atomic::AtomicBool> {ptr: core::ptr::non_null::NonNull<alloc::sync::ArcInner<core::sync::atomic::AtomicBool>> {pointer: 0x55fbebd81870}, phantom: core::marker::PhantomData<alloc::sync::ArcInner<core::sync::atomic::AtomicBool>>}, stream_wake_task_should_shutdown: alloc::sync::Arc<core::sync::atomic::AtomicBool> {ptr: core::ptr::non_null::NonNull<alloc::sync::ArcInner<core::sync::atomic::AtomicBool>> {pointer: 0x55fbebd81890}, phantom: core::marker::PhantomData<alloc::sync::ArcInner<core::sync::atomic::AtomicBool>>}, task_sender: std::sync::mpsc::SyncSender<crossterm::event::stream::Task> {inner: alloc::sync::Arc<std::sync::mpsc::sync::Packet<crossterm::event::stream::Task>> {ptr: core::ptr::non_null::NonNull<alloc::sync::ArcInner<std::sync::mpsc::sync::Packet<crossterm::event::stream::Task>>> {pointer: 0x55fbebb44ee0}, phantom: core::marker::PhantomData<alloc::sync::ArcInner<std::sync::mpsc::sync::Packet<crossterm::event::stream::Task>>>}}}
self = 0x7fff28409500
self = 0x7fff28409500
_task_context = core::future::ResumeTy (core::ptr::non_null::NonNull<core::task::wake::Context> {pointer: 0x7fff28409498})
#15 0x000055fbe7b85f5b in core::future::from_generator::{{impl}}::poll<generator-0> (self=..., cx=0x7fff28409498)
at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/future/mod.rs:80
gen = core::pin::Pin<&mut generator-0> {pointer: 0x7fff28409700}
#16 0x000055fbe7ba4e21 in helix_term::application::{{impl}}::run::{{closure}} () at /home/icy/docs/codes/git/helix-editor/helix/helix-term/src/application.rs:332
pinned = core::future::from_generator::GenFuture<generator-0> ((null))
hook = core::ops::function::Box<Fn<(&core::panic::PanicInfo)>, alloc::alloc::Global> {pointer: 0x1, vtable: 0x7fff284096f0}
stdout = std::io::stdio::Stdout {inner: core::pin::Pin<&std::sys_common::remutex::ReentrantMutex<core::cell::RefCell<std::io::buffered::linewriter::LineWriter<std::io::stdio::StdoutRaw>>>> {pointer: 0x55fbe9d07448 <std::io::stdio::stdout::INSTANCE+8>}}
self = 0x7fff28409500
self = 0x7fff28409500
_task_context = core::future::ResumeTy (core::ptr::non_null::NonNull<core::task::wake::Context> {pointer: 0x7fff28409498})
#17 0x000055fbe7b86099 in core::future::from_generator::{{impl}}::poll<generator-0> (self=..., cx=0x7fff28409498)
at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/future/mod.rs:80
gen = core::pin::Pin<&mut generator-0> {pointer: 0x7fff284096f0}
#18 0x000055fbe7b98873 in hx::main::{{closure}} () at helix-term/src/main.rs:103
pinned = core::future::from_generator::GenFuture<generator-0> ((null))
app = helix_term::application::Application {compositor: helix_term::compositor::Compositor {layers: alloc::vec::Vec<alloc::boxed::Box<Component, alloc::alloc::Global>, alloc::alloc::Global> {buf: alloc::raw_vec::RawVec<alloc::boxed::Box<Component, alloc::alloc::Global>, alloc::alloc::Global> {ptr: core::ptr::unique::Unique<alloc::boxed::Box<Component, alloc::alloc::Global>> {pointer: 0x55fbebb46070, _marker: core::marker::PhantomData<alloc::boxed::Box<Component, alloc::alloc::Global>>}, cap: 4, alloc: alloc::alloc::Global}, len: 2}, terminal: helix_tui::terminal::Terminal<helix_tui::backend::crossterm::CrosstermBackend<std::io::stdio::Stdout>> {backend: helix_tui::backend::crossterm::CrosstermBackend<std::io::stdio::Stdout> {buffer: std::io::stdio::Stdout {inner: core::pin::Pin<&std::sys_common::remutex::ReentrantMutex<core::cell::RefCell<std::io::buffered::linewriter::LineWriter<std::io::stdio::StdoutRaw>>>> {pointer: 0x55fbe9d07448 <std::io::stdio::stdout::INSTANCE+8>}}}, buffers: [
helix_tui::buffer::Buffer {area: helix_tui::layout::Rect {x: 0, y: 0, width: 194, height: 55}, content: alloc::vec::Vec<helix_tui::buffer::Cell, alloc::alloc::Global> {buf: alloc::raw_vec::RawVec<helix_tui::buffer::Cell, alloc::alloc::Global> {ptr: core::ptr::unique::Unique<helix_tui::buffer::Cell> {pointer: 0x7fdf71007010, _marker: core::marker::PhantomData<helix_tui::buffer::Cell>}, cap: 10670, alloc: alloc::alloc::Global}, len: 10670}},
helix_tui::buffer::Buffer {area: helix_tui::layout::Rect {x: 0, y: 0, width: 194, height: 55}, content: alloc::vec::Vec<helix_tui::buffer::Cell, alloc::alloc::Global> {buf: alloc::raw_vec::RawVec<helix_tui::buffer::Cell, alloc::alloc::Global> {ptr: core::ptr::unique::Unique<helix_tui::buffer::Cell> {pointer: 0x7fdf70f9e010, _marker: core::marker::PhantomData<helix_tui::buffer::Cell>}, cap: 10670, alloc: alloc::alloc::Global}, len: 10670}}], current: 1, hidden_cursor: false, viewport: helix_tui::terminal::Viewport {area: helix_tui::layout::Rect {x: 0, y: 0, width: 194, height: 55}, resize_behavior: helix_tui::terminal::ResizeBehavior::Auto}}}, editor: helix_view::editor::Editor {tree: helix_view::tree::Tree {root: helix_view::ViewId (slotmap::KeyData {idx: 1, version: core::num::nonzero::NonZeroU32 (1)}), focus: helix_view::ViewId (slotmap::KeyData {idx: 2, version: core::num::nonzero::NonZeroU32 (1)}), area: helix_tui::layout::Rect {x: 0, y: 0, width: 194, height: 54}, nodes: slotmap::hop::HopSlotMap<helix_view::ViewId, helix_view::tree::Node> {slots: alloc::vec::Vec<slotmap::hop::Slot<helix_view::tree::Node>, alloc::alloc::Global> {buf: alloc::raw_vec::RawVec<slotmap::hop::Slot<helix_view::tree::Node>, alloc::alloc::Global> {ptr: core::ptr::unique::Unique<slotmap::hop::Slot<helix_view::tree::Node>> {pointer: 0x55fbebb44760, _marker: core::marker::PhantomData<slotmap::hop::Slot<helix_view::tree::Node>>}, cap: 4, alloc: alloc::alloc::Global}, len: 3}, num_elems: 2, _k: core::marker::PhantomData<fn(helix_view::ViewId) -> helix_view::ViewId>}, stack: alloc::vec::Vec<(helix_view::ViewId, helix_tui::layout::Rect), alloc::alloc::Global> {buf: alloc::raw_vec::RawVec<(helix_view::ViewId, helix_tui::layout::Rect), alloc::alloc::Global> {ptr: core::ptr::unique::Unique<(helix_view::ViewId, helix_tui::layout::Rect)> {pointer: 0x55fbebb42880, _marker: core::marker::PhantomData<(helix_view::ViewId, helix_tui::layout::Rect)>}, cap: 4, alloc: alloc::alloc::Global}, len: 0}}, documents: slotmap::basic::SlotMap<helix_view::DocumentId, helix_view::document::Document> {slots: alloc::vec::Vec<slotmap::basic::Slot<helix_view::document::Document>, alloc::alloc::Global> {buf: alloc::raw_vec::RawVec<slotmap::basic::Slot<helix_view::document::Document>, alloc::alloc::Global> {ptr: core::ptr::unique::Unique<slotmap::basic::Slot<helix_view::document::Document>> {pointer: 0x55fbebb47270, _marker: core::marker::PhantomData<slotmap::basic::Slot<helix_view::document::Document>>}, cap: 4, alloc: alloc::alloc::Global}, len: 2}, free_head: 2, num_elems: 1, _k: core::marker::PhantomData<fn(helix_view::DocumentId) -> helix_view::DocumentId>}, count: core::option::Option<core::num::nonzero::NonZeroUsize>::None, selected_register: helix_view::register_selection::RegisterSelection {selected: 34 '"', default_name: 34 '"'}, registers: helix_core::register::Registers {inner: std::collections::hash::map::HashMap<char, helix_core::register::Register, std::collections::hash::map::RandomState> {base: hashbrown::map::HashMap<char, helix_core::register::Register, std::collections::hash::map::RandomState, alloc::alloc::Global> {hash_builder: std::collections::hash::map::RandomState {k0: 16231279097813143202, k1: 17196558426150821487}, table: hashbrown::raw::RawTable<(char, helix_core::register::Register), alloc::alloc::Global> {table: hashbrown::raw::RawTableInner<alloc::alloc::Global> {bucket_mask: 0, ctrl: core::ptr::non_null::NonNull<u8> {pointer: 0x55fbe89bcca0}, growth_left: 0, items: 0, alloc: alloc::alloc::Global}, marker: core::marker::PhantomData<(char, helix_core::register::Register)>}}}}, theme: helix_view::theme::Theme {scopes: alloc::vec::Vec<alloc::string::String, alloc::alloc::Global> {buf: alloc::raw_vec::RawVec<alloc::string::String, alloc::alloc::Global> {ptr: core::ptr::unique::Unique<alloc::string::String> {pointer: 0x55fbebb3bc10, _marker: core::marker::PhantomData<alloc::string::String>}, cap: 41, alloc: alloc::alloc::Global}, len: 41}, styles: std::collections::hash::map::HashMap<alloc::string::String, helix_tui::style::Style, std::collections::hash::map::RandomState> {base: hashbrown::map::HashMap<alloc::string::String, helix_tui::style::Style, std::collections::hash::map::RandomState, alloc::alloc::Global> {hash_builder: std::collections::hash::map::RandomState {k0: 16231279097813143194, k1: 17196558426150821487}, table: hashbrown::raw::RawTable<(alloc::string::String, helix_tui::style::Style), alloc::alloc::Global> {table: hashbrown::raw::RawTableInner<alloc::alloc::Global> {bucket_mask: 63, ctrl: core::ptr::non_null::NonNull<u8> {pointer: 0x55fbebb3bbb0}, growth_left: 15, items: 41, alloc: alloc::alloc::Global}, marker: core::marker::PhantomData<(alloc::string::String, helix_tui::style::Style)>}}}}, language_servers: helix_lsp::Registry {inner: std::collections::hash::map::HashMap<alloc::string::String, alloc::sync::Arc<helix_lsp::client::Client>, std::collections::hash::map::RandomState> {base: hashbrown::map::HashMap<alloc::string::String, alloc::sync::Arc<helix_lsp::client::Client>, std::collections::hash::map::RandomState, alloc::alloc::Global> {hash_builder: std::collections::hash::map::RandomState {k0: 16231279097813143201, k1: 17196558426150821487}, table: hashbrown::raw::RawTable<(alloc::string::String, alloc::sync::Arc<helix_lsp::client::Client>), alloc::alloc::Global> {table: hashbrown::raw::RawTableInner<alloc::alloc::Global> {bucket_mask: 0, ctrl: core::ptr::non_null::NonNull<u8> {pointer: 0x55fbe89bcca0}, growth_left: 0, items: 0, alloc: alloc::alloc::Global}, marker: core::marker::PhantomData<(alloc::string::String, alloc::sync::Arc<helix_lsp::client::Client>)>}}}, incoming: futures_util::stream::select_all::SelectAll<tokio_stream::wrappers::mpsc_unbounded::UnboundedReceiverStream<jsonrpc_core::types::request::Call>> {inner: futures_util::stream::futures_unordered::FuturesUnordered<futures_util::stream::stream::into_future::StreamFuture<tokio_stream::wrappers::mpsc_unbounded::UnboundedReceiverStream<jsonrpc_core::types::request::Call>>> {ready_to_run_queue: alloc::sync::Arc<futures_util::stream::futures_unordered::ready_to_run_queue::ReadyToRunQueue<futures_util::stream::stream::into_future::StreamFuture<tokio_stream::wrappers::mpsc_unbounded::UnboundedReceiverStream<jsonrpc_core::types::request::Call>>>> {ptr: core::ptr::non_null::NonNull<alloc::sync::ArcInner<futures_util::stream::futures_unordered::ready_to_run_queue::ReadyToRunQueue<futures_util::stream::stream::into_future::StreamFuture<tokio_stream::wrappers::mpsc_unbounded::UnboundedReceiverStream<jsonrpc_core::types::request::Call>>>>> {pointer: 0x55fbebb3a400}, phantom: core::marker::PhantomData<alloc::sync::ArcInner<futures_util::stream::futures_unordered::ready_to_run_queue::ReadyToRunQueue<futures_util::stream::stream::into_future::StreamFuture<tokio_stream::wrappers::mpsc_unbounded::UnboundedReceiverStream<jsonrpc_core::types::request::Call>>>>>}, head_all: core::sync::atomic::AtomicPtr<futures_util::stream::futures_unordered::task::Task<futures_util::stream::stream::into_future::StreamFuture<tokio_stream::wrappers::mpsc_unbounded::UnboundedReceiverStream<jsonrpc_core::types::request::Call>>>> {p: core::cell::UnsafeCell<*mut futures_util::stream::futures_unordered::task::Task<futures_util::stream::stream::into_future::StreamFuture<tokio_stream::wrappers::mpsc_unbounded::UnboundedReceiverStream<jsonrpc_core::types::request::Call>>>> {value: 0x0}}, is_terminated: core::sync::atomic::AtomicBool {v: core::cell::UnsafeCell<u8> {value: 1}}}}}, status_msg: core::option::Option<(alloc::string::String, helix_core::diagnostic::Severity)>::None}, callbacks: futures_util::stream::futures_unordered::FuturesUnordered<core::pin::Pin<alloc::boxed::Box<Future, alloc::alloc::Global>>> {ready_to_run_queue: alloc::sync::Arc<futures_util::stream::futures_unordered::ready_to_run_queue::ReadyToRunQueue<core::pin::Pin<alloc::boxed::Box<Future, alloc::alloc::Global>>>> {ptr: core::ptr::non_null::NonNull<alloc::sync::ArcInner<futures_util::stream::futures_unordered::ready_to_run_queue::ReadyToRunQueue<core::pin::Pin<alloc::boxed::Box<Future, alloc::alloc::Global>>>>> {pointer: 0x55fbebb44f70}, phantom: core::marker::PhantomData<alloc::sync::ArcInner<futures_util::stream::futures_unordered::ready_to_run_queue::ReadyToRunQueue<core::pin::Pin<alloc::boxed::Box<Future, alloc::alloc::Global>>>>>}, head_all: core::sync::atomic::AtomicPtr<futures_util::stream::futures_unordered::task::Task<core::pin::Pin<alloc::boxed::Box<Future, alloc::alloc::Global>>>> {p: core::cell::UnsafeCell<*mut futures_util::stream::futures_unordered::task::Task<core::pin::Pin<alloc::boxed::Box<Future, alloc::alloc::Global>>>> {value: 0x0}}, is_terminated: core::sync::atomic::AtomicBool {v: core::cell::UnsafeCell<u8> {value: 1}}}}
config = helix_term::config::Config {keymaps: helix_term::keymap::Keymaps (std::collections::hash::map::HashMap<helix_view::document::Mode, helix_term::keymap::Keymap, std::collections::hash::map::RandomState> {base: hashbrown::map::HashMap<helix_view::document::Mode, helix_term::keymap::Keymap, std::collections::hash::map::RandomState, alloc::alloc::Global> {hash_builder: std::collections::hash::map::RandomState {k0: 16231279097813143192, k1: 17196558426150821487}, table: hashbrown::raw::RawTable<(helix_view::document::Mode, helix_term::keymap::Keymap), alloc::alloc::Global> {table: hashbrown::raw::RawTableInner<alloc::alloc::Global> {bucket_mask: 3, ctrl: core::ptr::non_null::NonNull<u8> {pointer: 0x55fbeba7fd10}, growth_left: 0, items: 3, alloc: alloc::alloc::Global}, marker: core::marker::PhantomData<(helix_view::document::Mode, helix_term::keymap::Keymap)>}}})}
conf_dir = std::path::PathBuf {inner: std::ffi::os_str::OsString {inner: std::sys_common::os_str_bytes::Buf {inner: alloc::vec::Vec<u8, alloc::alloc::Global> {buf: alloc::raw_vec::RawVec<u8, alloc::alloc::Global> {ptr: core::ptr::unique::Unique<u8> {pointer: 0x55fbeba8df50, _marker: core::marker::PhantomData<u8>}, cap: 36, alloc: alloc::alloc::Global}, len: 23}}}}
args = helix_term::args::Args {display_help: false, display_version: false, verbosity: 0, files: alloc::vec::Vec<std::path::PathBuf, alloc::alloc::Global> {buf: alloc::raw_vec::RawVec<std::path::PathBuf, alloc::alloc::Global> {ptr: core::ptr::unique::Unique<std::path::PathBuf> {pointer: 0x55fbeba8dee0, _marker: core::marker::PhantomData<std::path::PathBuf>}, cap: 4, alloc: alloc::alloc::Global}, len: 1}}
help = alloc::string::String {vec: alloc::vec::Vec<u8, alloc::alloc::Global> {buf: alloc::raw_vec::RawVec<u8, alloc::alloc::Global> {ptr: core::ptr::unique::Unique<u8> {pointer: 0x55fbeba8db10, _marker: core::marker::PhantomData<u8>}, cap: 610, alloc: alloc::alloc::Global}, len: 407}}
logpath = std::path::PathBuf {inner: std::ffi::os_str::OsString {inner: std::sys_common::os_str_bytes::Buf {inner: alloc::vec::Vec<u8, alloc::alloc::Global> {buf: alloc::raw_vec::RawVec<u8, alloc::alloc::Global> {ptr: core::ptr::unique::Unique<u8> {pointer: 0x55fbeba8dad0, _marker: core::marker::PhantomData<u8>}, cap: 44, alloc: alloc::alloc::Global}, len: 32}}}}
cache_dir = std::path::PathBuf {inner: std::ffi::os_str::OsString {inner: std::sys_common::os_str_bytes::Buf {inner: alloc::vec::Vec<u8, alloc::alloc::Global> {buf: alloc::raw_vec::RawVec<u8, alloc::alloc::Global> {ptr: core::ptr::unique::Unique<u8> {pointer: 0x55fbeba8daa0, _marker: core::marker::PhantomData<u8>}, cap: 36, alloc: alloc::alloc::Global}, len: 22}}}}
_task_context = core::future::ResumeTy (core::ptr::non_null::NonNull<core::task::wake::Context> {pointer: 0x7fff28409498})
#19 0x000055fbe7b85fe9 in core::future::from_generator::{{impl}}::poll<generator-0> (self=..., cx=0x7fff28409498)
at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/future/mod.rs:80
gen = core::pin::Pin<&mut generator-0> {pointer: 0x7fff284094a0}
#20 0x000055fbe7b95760 in tokio::park::thread::{{impl}}::block_on::{{closure}}<core::future::from_generator::GenFuture<generator-0>> ()
at /home/icy/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.6.1/src/park/thread.rs:263
f = core::pin::Pin<&mut core::future::from_generator::GenFuture<generator-0>> {pointer: 0x7fff284094a0}
cx = core::task::wake::Context {waker: 0x7fff28409480, _marker: core::marker::PhantomData<fn(&()) -> &()>}
#21 0x000055fbe7b80702 in tokio::coop::with_budget::{{closure}}<core::task::poll::Poll<core::result::Result<(), anyhow::Error>>,closure-0> (cell=0x7fdf72078734)
at /home/icy/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.6.1/src/coop.rs:106
_guard = tokio::coop::with_budget::ResetGuard {cell: 0x7fdf72078734, prev: tokio::coop::Budget (core::option::Option<u8>::None)}
prev = tokio::coop::Budget (core::option::Option<u8>::None)
f = tokio::park::thread::{{impl}}::block_on::closure-0 (0x7fff28409830, 0x7fff28409498)
budget = tokio::coop::Budget (core::option::Option<u8>::Some(128))
#22 0x000055fbe7b8b0b8 in std::thread::local::LocalKey<core::cell::Cell<tokio::coop::Budget>>::try_with<core::cell::Cell<tokio::coop::Budget>,closure-0,core::task::poll::Poll<core::result::Result<(), anyhow::Error>>> (self=0x55fbe8c7f070, f=...) at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/thread/local.rs:272
thread_local = 0x7fdf72078734
#23 0x000055fbe7b8ac1d in std::thread::local::LocalKey<core::cell::Cell<tokio::coop::Budget>>::with<core::cell::Cell<tokio::coop::Budget>,closure-0,core::task::poll::Poll<core::result::Result<(), anyhow::Error>>> (self=0x55fbe8c7f070, f=...) at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/thread/local.rs:248
No locals.
#24 0x000055fbe7b9544e in tokio::coop::with_budget<core::task::poll::Poll<core::result::Result<(), anyhow::Error>>,closure-0> (budget=..., f=...)
at /home/icy/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.6.1/src/coop.rs:99
No locals.
#25 tokio::coop::budget<core::task::poll::Poll<core::result::Result<(), anyhow::Error>>,closure-0> (f=...)
at /home/icy/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.6.1/src/coop.rs:76
No locals.
#26 tokio::park::thread::CachedParkThread::block_on<core::future::from_generator::GenFuture<generator-0>> (self=0x7fff28409930, f=...)
at /home/icy/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.6.1/src/park/thread.rs:263
f = core::pin::Pin<&mut core::future::from_generator::GenFuture<generator-0>> {pointer: 0x7fff284094a0}
f = core::future::from_generator::GenFuture<generator-0> (<error reading variable>
cx = core::task::wake::Context {waker: 0x7fff28409480, _marker: core::marker::PhantomData<fn(&()) -> &()>}
waker = core::task::wake::Waker {waker: core::task::wake::RawWaker {data: 0x55fbeba8da40, vtable: 0x55fbe8cb0fa8}}
#27 0x000055fbe7b858b1 in tokio::runtime::enter::Enter::block_on<core::future::from_generator::GenFuture<generator-0>> (self=0x7fff28409d20, f=...)
at /home/icy/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.6.1/src/runtime/enter.rs:151
park = tokio::park::thread::CachedParkThread {_anchor: core::marker::PhantomData<alloc::rc::Rc<()>>}
#28 0x000055fbe7b9fa38 in tokio::runtime::thread_pool::ThreadPool::block_on<core::future::from_generator::GenFuture<generator-0>> (self=0x7fff2840a8f0, future=...)
at /home/icy/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.6.1/src/runtime/thread_pool/mod.rs:71
enter = tokio::runtime::enter::Enter {_p: core::marker::PhantomData<core::cell::RefCell<()>>}
#29 0x000055fbe7b9fba3 in tokio::runtime::Runtime::block_on<core::future::from_generator::GenFuture<generator-0>> (self=0x7fff2840a8e8, future=...)
at /home/icy/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.6.1/src/runtime/mod.rs:452
exec = 0x7fff2840a8f0
_enter = tokio::runtime::handle::EnterGuard {handle: 0x7fff2840abc8, guard: tokio::runtime::context::EnterGuard (core::option::Option<tokio::runtime::handle::Handle>::None)}
#30 0x000055fbe7b97984 in hx::main () at helix-term/src/main.rs:105
No locals.
(gdb) #0 alloc::sync::Arc<futures_executor::local_pool::ThreadNotify>::inner<futures_executor::local_pool::ThreadNotify> (self=0x7fdf720787a0)
at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/alloc/src/sync.rs:1032
1032 in /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/alloc/src/sync.rs
(gdb) quit
A debugging session is active.
Inferior 1 [process 2153925] will be detached.
Quit anyway? (y or n) [answered Y; input not from terminal]
Detaching from program: <redacted>/helix-editor/helix/target/debug/hx, process 2153925
[Inferior 1 (process 2153925) detached]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment