Skip to content

Instantly share code, notes, and snippets.

@sheenobu
Created January 19, 2020 22:27
Show Gist options
  • Save sheenobu/426ddcbc647601572d24ca91c94c0974 to your computer and use it in GitHub Desktop.
Save sheenobu/426ddcbc647601572d24ca91c94c0974 to your computer and use it in GitHub Desktop.
(gdb) i thr
Id Target Id Frame
* 1 Thread 0x7f1781b0a0c0 (LWP 9315) "fish" 0x00007f1782122420 in free@plt ()
from /nix/store/784rh7jrfhagbkydjfrv68h9x3g4gqmk-gcc-8.3.0-lib/lib/libstdc++.so.6
2 Thread 0x7f17737fe700 (LWP 9392) "fish" 0x00007f1781cceee2 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /nix/store/wx1vk75bpdr65g6xwxbj4rw0pk04v5j3-glibc-2.27/lib/libpthread.so.0
3 Thread 0x7f1773fff700 (LWP 9401) "fish" 0x00007f1781cceee2 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /nix/store/wx1vk75bpdr65g6xwxbj4rw0pk04v5j3-glibc-2.27/lib/libpthread.so.0
4 Thread 0x7f1779806700 (LWP 9402) "fish" 0x00007f1781cceee2 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /nix/store/wx1vk75bpdr65g6xwxbj4rw0pk04v5j3-glibc-2.27/lib/libpthread.so.0
(gdb) bt
#0 0x00007f1782122420 in free@plt ()
from /nix/store/784rh7jrfhagbkydjfrv68h9x3g4gqmk-gcc-8.3.0-lib/lib/libstdc++.so.6
#1 0x000000000048c4ba in std::__cxx11::_List_base<complete_entry_opt, std::allocator<complete_entry_opt> >::_M_clear() ()
#2 0x0000000000486cac in completer_t::complete_param(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, bool) ()
#3 0x0000000000487a1d in std::_Function_handler<void (std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, unsigned long), completer_t::perform()::{lambda(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, unsigned long)#1}>::_M_invoke(std::_Any_data const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, unsigned long&&) ()
#4 0x00000000004885e3 in walk_wrap_chain(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, source_range_t, std::function<void (std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, unsigned long)> const&, unsigned long) ()
#5 0x000000000048876d in walk_wrap_chain(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, source_range_t, std::function<void (std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, unsigned long)> const&, unsigned long) ()
#6 0x000000000048876d in walk_wrap_chain(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, source_range_t, std::function<void (std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, unsigned long)> const&, unsigned long) ()
#7 0x000000000048876d in walk_wrap_chain(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, source_range_t, std::function<void (std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, unsigned long)> const&, unsigned long) ()
#8 0x000000000048876d in walk_wrap_chain(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, source_range_t, std::function<void (std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, unsigned long)> const&, unsigned long) ()
#9 0x000000000048876d in walk_wrap_chain(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, source_range_t, std::function<void (std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, unsigned long)> const&, unsigned long) ()
#10 0x000000000048876d in walk_wrap_chain(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, source_range_t, std::function<void (std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, unsigned long)> const&, unsigned long) ()
#11 0x000000000048876d in walk_wrap_chain(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, source_range_t, std::function<void (std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, unsigned long)> const&, unsigned long) ()
#12 0x000000000048876d in walk_wrap_chain(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, source_range_t, std::function<void (std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, unsigned long)> const&, unsigned long) ()
#13 0x000000000048876d in walk_wrap_chain(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, source_range_t, std::function<void (std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, unsigned long)> const&, unsigned long) ()
#14 0x000000000048876d in walk_wrap_chain(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, source_range_t, std::function<void (std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, unsigned long)> const&, unsigned long) ()
...
#30 0x000000000048876d in walk_wrap_chain(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, source_range_t, std::function<void (std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, unsigned long)> const&, unsigned long) ()
#31 0x000000000048b648 in completer_t::perform() ()
--Type <RET> for more, q to quit, c to continue without paging--
#32 0x000000000048b8e7 in complete(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::vector<completion_t, std::allocator<completion_t> >*, unsigned int) ()
#33 0x00000000004fdc0a in reader_readline(int) ()
#34 0x00000000004ff349 in reader_read(int, io_chain_t const&) ()
#35 0x000000000043cc57 in main ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment