Skip to content

Instantly share code, notes, and snippets.

@notlesh
Created January 14, 2020 21:17
Show Gist options
  • Save notlesh/b84adefaf7fd9aed62033636947921be to your computer and use it in GitHub Desktop.
Save notlesh/b84adefaf7fd9aed62033636947921be to your computer and use it in GitHub Desktop.
verify_signature_fail.gdb
(gdb) bt
#0 llarp::RouterContact::Verify (this=0x7fffef7fd390, now=1579036559065, allowExpired=true) at /home/stephen/dev/loki-network/llarp/router_contact.cpp:337
#1 0x00005555555f77c9 in crypto_threadworker_verifyrc (user=0x7ffff00c5f30) at /home/stephen/dev/loki-network/llarp/nodedb.cpp:374
#2 0x00005555556042fe in std::__invoke_impl<void, void (*&)(void*), llarp_async_verify_rc*&> (__f=@0x7ffff00ecba0: 0x5555555f7756 <crypto_threadworker_verifyrc(void*)>, __args#0=@0x7ffff00ecba8: 0x7ffff00c5f30)
at /usr/include/c++/8/bits/invoke.h:60
#3 0x0000555555603aa0 in std::__invoke<void (*&)(void*), llarp_async_verify_rc*&> (__fn=@0x7ffff00ecba0: 0x5555555f7756 <crypto_threadworker_verifyrc(void*)>, __args#0=@0x7ffff00ecba8: 0x7ffff00c5f30)
at /usr/include/c++/8/bits/invoke.h:95
#4 0x00005555556028e9 in std::_Bind<void (*(llarp_async_verify_rc*))(void*)>::__call<void, , 0ul>(std::tuple<>&&, std::_Index_tuple<0ul>) (this=0x7ffff00ecba0, __args=...) at /usr/include/c++/8/functional:400
#5 0x0000555555601241 in std::_Bind<void (*(llarp_async_verify_rc*))(void*)>::operator()<, void>() (this=0x7ffff00ecba0) at /usr/include/c++/8/functional:484
#6 0x00005555555fef57 in std::_Function_handler<void (), std::_Bind<void (*(llarp_async_verify_rc*))(void*)> >::_M_invoke(std::_Any_data const&) (__functor=...) at /usr/include/c++/8/bits/std_function.h:297
#7 0x00005555555dc652 in std::function<void ()>::operator()() const (this=0x7fffef7fd608) at /usr/include/c++/8/bits/std_function.h:687
#8 0x0000555555920d60 in llarp::thread::ThreadPool::runJobs (this=0x7ffff0002ab0) at /home/stephen/dev/loki-network/llarp/util/thread/thread_pool.cpp:32
#9 0x0000555555921299 in llarp::thread::ThreadPool::worker (this=0x7ffff0002ab0) at /home/stephen/dev/loki-network/llarp/util/thread/thread_pool.cpp:123
#10 0x00005555559237cc in std::__invoke_impl<void, void (llarp::thread::ThreadPool::*&)(), llarp::thread::ThreadPool*&> (
__f=@0x7ffff0048838: (void (llarp::thread::ThreadPool::*)(llarp::thread::ThreadPool * const)) 0x555555921160 <llarp::thread::ThreadPool::worker()>, __t=@0x7ffff0048848: 0x7ffff0002ab0)
at /usr/include/c++/8/bits/invoke.h:73
#11 0x0000555555923674 in std::__invoke<void (llarp::thread::ThreadPool::*&)(), llarp::thread::ThreadPool*&> (
__fn=@0x7ffff0048838: (void (llarp::thread::ThreadPool::*)(llarp::thread::ThreadPool * const)) 0x555555921160 <llarp::thread::ThreadPool::worker()>, __args#0=@0x7ffff0048848: 0x7ffff0002ab0)
at /usr/include/c++/8/bits/invoke.h:95
#12 0x00005555559234c9 in std::_Bind<void (llarp::thread::ThreadPool::*(llarp::thread::ThreadPool*))()>::__call<void, , 0ul>(std::tuple<>&&, std::_Index_tuple<0ul>) (this=0x7ffff0048838, __args=...)
at /usr/include/c++/8/functional:400
#13 0x000055555592323d in std::_Bind<void (llarp::thread::ThreadPool::*(llarp::thread::ThreadPool*))()>::operator()<, void>() (this=0x7ffff0048838) at /usr/include/c++/8/functional:484
#14 0x0000555555922e6d in std::__invoke_impl<void, std::_Bind<void (llarp::thread::ThreadPool::*(llarp::thread::ThreadPool*))()>>(std::__invoke_other, std::_Bind<void (llarp::thread::ThreadPool::*(llarp::thread::ThreadPool*))()>&&) (__f=...) at /usr/include/c++/8/bits/invoke.h:60
#15 0x0000555555922487 in std::__invoke<std::_Bind<void (llarp::thread::ThreadPool::*(llarp::thread::ThreadPool*))()>>(std::_Bind<void (llarp::thread::ThreadPool::*(llarp::thread::ThreadPool*))()>&&) (__fn=...)
at /usr/include/c++/8/bits/invoke.h:95
#16 0x0000555555923936 in std::thread::_Invoker<std::tuple<std::_Bind<void (llarp::thread::ThreadPool::*(llarp::thread::ThreadPool*))()> > >::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x7ffff0048838)
at /usr/include/c++/8/thread:244
#17 0x00005555559238f7 in std::thread::_Invoker<std::tuple<std::_Bind<void (llarp::thread::ThreadPool::*(llarp::thread::ThreadPool*))()> > >::operator()() (this=0x7ffff0048838) at /usr/include/c++/8/thread:253
#18 0x00005555559238cc in std::thread::_State_impl<std::thread::_Invoker<std::tuple<std::_Bind<void (llarp::thread::ThreadPool::*(llarp::thread::ThreadPool*))()> > > >::_M_run() (this=0x7ffff0048830)
at /usr/include/c++/8/thread:196
#19 0x00007ffff7d82630 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#20 0x00007ffff7b30182 in start_thread (arg=<optimized out>) at pthread_create.c:486
#21 0x00007ffff7a59b1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment