Skip to content

Instantly share code, notes, and snippets.

@zao
Created November 20, 2017 15:00
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/fcd57d0a984a4f5bc526aba96569d044 to your computer and use it in GitHub Desktop.
Save zao/fcd57d0a984a4f5bc526aba96569d044 to your computer and use it in GitHub Desktop.
terminate called after throwing an instance of 'hpx::detail::exception_with_info<hpx::exception>'
what(): description is nullptr: HPX(bad_parameter)
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 0x00007f6966fb43fa in __GI_abort () at abort.c:89
#2 0x00007f69675c70ad in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3 0x00007f69675c5066 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x00007f69675c50b1 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5 0x00007f69675c505a 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 0x00007f698a8a47b6 in hpx::detail::throw_exception<hpx::exception> (e=..., func=, file=, line=51) 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 0x00007f698a99a183 in hpx::detail::throw_exception (errcode=hpx::bad_parameter, msg=, func=, file=, line=51) at /tree/hpx/src/throw_exception.cpp:24
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.:
#8 0x00007f698a99a54b in hpx::detail::throws_if (ec=..., errcode=hpx::bad_parameter, msg=, func=, file=, line=51) at /tree/hpx/src/throw_exception.cpp:63
#9 0x00007f698b275003 in hpx::threads::detail::create_thread (scheduler=0x21723c0, data=..., id=..., initial_state=hpx::threads::pending, run_now=true, ec=...)
at /tree/hpx/hpx/runtime/threads/detail/create_thread.hpp:50
#10 0x00007f698b296198 in hpx::threads::detail::scheduled_thread_pool<hpx::threads::policies::local_priority_queue_scheduler<std::mutex, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_fifo, hpx::threads::policies::lockfree_lifo> >::create_thread (this=0x20ec9c0, data=..., id=..., initial_state=hpx::threads::pending, run_now=true,
ec=...) at /tree/hpx/hpx/runtime/threads/detail/scheduled_thread_pool_impl.hpp:492
#11 0x00007f698b3d06b8 in hpx::threads::threadmanager::register_thread (this=0x213a9a0, data=..., id=..., initial_state=hpx::threads::pending, run_now=true, ec=...)
at /tree/hpx/src/runtime/threads/threadmanager.cpp:925
#12 0x00007f698a95b048 in hpx::runtime_impl::start(hpx::util::function<int (), false> const&, bool) (this=0x208f800, func=..., blocking=false) at /tree/hpx/src/runtime_impl.cpp:342
#13 0x00007f698a95c675 in hpx::runtime_impl::run(hpx::util::function<int (), false> const&) (this=0x208f800, func=...) at /tree/hpx/src/runtime_impl.cpp:585
#14 0x00007f698a8da0b6 in hpx::detail::run(hpx::runtime&, hpx::util::function<int (boost::program_options::variables_map&), false> const&, boost::program_options::variables_map&, hpx::runtime_mode, hpx::util::unique_function<void (), false>, hpx::util::unique_function<void (), false>) (rt=..., f=..., vm=..., mode=hpx::runtime_mode_console, startup=...,
shutdown=...) at /tree/hpx/src/hpx_init.cpp:531
#15 0x00007f698a8da5f6 in hpx::detail::run_or_start(bool, std::unique_ptr<hpx::runtime, std::default_delete<hpx::runtime> >, hpx::util::command_line_handling&, hpx::util::unique_function<void (), false>, hpx::util::unique_function<void (), false>) (blocking=true, rt=std::unique_ptr<hpx::runtime> containing 0x208f800, cfg=..., startup=..., shutdown=...)
at /tree/hpx/src/hpx_init.cpp:562
#16 0x00007f698a8dac7b 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=0x7ffc5b85e5f8, 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:649
#17 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=0x7ffc5b85e5f8,
cfg=std::vector of length 1, capacity 1 = {...}, startup=..., shutdown=..., mode=hpx::runtime_mode_default) at /tree/hpx/hpx/hpx_init_impl.hpp:74
#18 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=0x7ffc5b85e5f8, cfg=std::vector of length 1, capacity 1 = {...}, startup=..., shutdown=...,
mode=hpx::runtime_mode_default) at /tree/hpx/hpx/hpx_init_impl.hpp:127
#19 0x000000000053a687 in hpx::init (argc=8, argv=0x7ffc5b85e5f8, cfg=std::vector of length 1, capacity 1 = {...}, mode=hpx::runtime_mode_default)
at /tree/hpx/hpx/hpx_init_impl.hpp:148
#20 0x000000000053a334 in main (argc=8, argv=0x7ffc5b85e5f8) 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