Skip to content

Instantly share code, notes, and snippets.

@zao
Created November 20, 2017 14:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zao/a28a00555f0ee6ff6d858788dbb96f86 to your computer and use it in GitHub Desktop.
Save zao/a28a00555f0ee6ff6d858788dbb96f86 to your computer and use it in GitHub Desktop.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f6f2b94324d in nanosleep () at ../sysdeps/unix/syscall-template.S:84
84 ../sysdeps/unix/syscall-template.S: No such file or directory.
(gdb) up 2
#2 0x00007f6f4ff2e1a0 in hpx::util::attach_debugger () at /tree/hpx/src/util/debugging.cpp:37
37 sleep(1);
(gdb) set var i = 1
(gdb) cont
Continuing.
terminate called after throwing an instance of 'hpx::detail::exception_with_info<hpx::exception>'
what(): <unknown>: HPX(network_error)
Thread 1 "Test1D" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1 0x00007f6f2b8bf3fa in __GI_abort () at abort.c:89
#2 0x00007f6f2bed20ad in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3 0x00007f6f2bed0066 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x00007f6f2bed00b1 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5 0x00007f6f2bed005a in std::rethrow_exception(std::__exception_ptr::exception_ptr) ()
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
Python Exception <class 'gdb.error'> There is no member named _M_dataplus.:
Python Exception <class 'gdb.error'> There is no member named _M_dataplus.:
#6 0x00007f6f4f1af7b6 in hpx::detail::throw_exception<hpx::exception> (e=..., func=, file=, line=119)
at /tree/hpx/src/exception.cpp:379
Python Exception <class 'gdb.error'> There is no member named _M_dataplus.:
Python Exception <class 'gdb.error'> There is no member named _M_dataplus.:
Python Exception <class 'gdb.error'> There is no member named _M_dataplus.:
#7 0x00007f6f4f2a5183 in hpx::detail::throw_exception (errcode=hpx::network_error, msg=, func=, file=, line=119)
at /tree/hpx/src/throw_exception.cpp:24
#8 0x00007f6f501c2c00 in hpx::parcelset::policies::tcp::connection_handler::do_run (this=0x23a1040)
at /tree/hpx/plugins/parcelport/tcp/connection_handler_tcp.cpp:118
#9 0x00007f6f501c6b58 in hpx::parcelset::parcelport_impl<hpx::parcelset::policies::tcp::connection_handler>::run (
this=0x23a1040, blocking=false) at /tree/hpx/hpx/runtime/parcelset/parcelport_impl.hpp:164
#10 0x00007f6f4f2b90d9 in hpx::agas::addressing_service::initialize (this=0x2347e50, ph=..., rts_lva=37995392,
mem_lva=36873256) at /tree/hpx/src/runtime/agas/addressing_service.cpp:177
#11 0x00007f6f4f264159 in hpx::runtime_impl::runtime_impl (this=0x2347800, rtcfg=...) at /tree/hpx/src/runtime_impl.cpp:178
#12 0x00007f6f4f1e5ba9 in hpx::detail::run_or_start(hpx::util::function<int (boost::program_options::variables_map&), false> const&, boost::program_options::options_description const&, int, char**, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&&, hpx::util::unique_function<void (), false>, hpx::util::unique_function<void (), false>, hpx::runtime_mode, bool) (f=..., desc_cmdline=..., argc=8, argv=0x7ffdf86020a8,
ini_config=<unknown type in /tree/build-debug/lib/libhpxd.so.1, CU 0x467a4, DIE 0xe69c4>, startup=..., shutdown=...,
mode=hpx::runtime_mode_default, blocking=true) at /tree/hpx/src/hpx_init.cpp:647
#13 0x000000000053aaf5 in hpx::init(hpx::util::function<int (boost::program_options::variables_map&), false> const&, boost::program_options::options_description const&, int, char**, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, hpx::util::unique_function<void (), false>, hpx::util::unique_function<void (), false>, hpx::runtime_mode) (f=...,
desc_cmdline=..., argc=8, argv=0x7ffdf86020a8, cfg=std::vector of length 1, capacity 1 = {...}, startup=...,
shutdown=..., mode=hpx::runtime_mode_default) at /tree/hpx/hpx/hpx_init_impl.hpp:74
#14 0x000000000053a8c2 in hpx::init(boost::program_options::options_description const&, int, char**, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, hpx::util::unique_function<void (), false>, hpx::util::unique_function<void (), false>, hpx::runtime_mode) (desc_cmdline=..., argc=8, argv=0x7ffdf86020a8,
cfg=std::vector of length 1, capacity 1 = {...}, startup=..., shutdown=..., mode=hpx::runtime_mode_default)
at /tree/hpx/hpx/hpx_init_impl.hpp:127
#15 0x000000000053a687 in hpx::init (argc=8, argv=0x7ffdf86020a8, cfg=std::vector of length 1, capacity 1 = {...},
mode=hpx::runtime_mode_default) at /tree/hpx/hpx/hpx_init_impl.hpp:148
#16 0x000000000053a334 in main (argc=8, argv=0x7ffdf86020a8) at /tree/hpx/hpx/hpx_main_impl.hpp:35
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment