Skip to content

Instantly share code, notes, and snippets.

@sithhell
Created January 23, 2016 21:19
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 sithhell/44bf05eb58c1a9b83eaa to your computer and use it in GitHub Desktop.
Save sithhell/44bf05eb58c1a9b83eaa to your computer and use it in GitHub Desktop.
#0 0x00007f625791659d in nanosleep () from /lib64/libc.so.6
#1 0x00007f6257916441 in sleep () from /lib64/libc.so.6
#2 0x00007f625b419913 in hpx::util::attach_debugger () at /home/heller/hpx/src/util/command_line_handling.cpp:951
#3 0x00007f625ad1c83c in hpx::termination_handler (signum=11) at /home/heller/hpx/src/runtime.cpp:111
#4 <signal handler called>
#5 0x000000000047d31b in hpx::naming::gid_type::operator void (hpx::util::safe_bool<hpx::naming::gid_type>::*)() (this=0x60000000) at /home/heller/hpx/hpx/runtime/naming/name.hpp:155
#6 0x000000000047deef in hpx::naming::id_type::operator void (hpx::util::safe_bool<hpx::naming::id_type>::*)() (this=0x7f62554c6230) at /home/heller/hpx/hpx/runtime/naming/id_type_impl.hpp:66
#7 0x00000000004f30da in hpx::components::migration_support<hpx::components::component_base<test_server>, hpx::lcos::local::spinlock>::unpin (this=0x7f62554c6200)
at /home/heller/hpx/hpx/runtime/components/server/migration_support.hpp:94
#8 0x0000000000580da5 in hpx::components::detail::pinned_ptr<test_server>::unpin (this=0x7f62554d3070) at /home/heller/hpx/hpx/runtime/components/pinned_ptr.hpp:81
#9 0x000000000056d607 in hpx::components::detail::pinned_ptr<test_server>::~pinned_ptr (this=0x7f62554d3070, __in_chrg=<optimized out>) at /home/heller/hpx/hpx/runtime/components/pinned_ptr.hpp:68
#10 0x000000000056d642 in hpx::components::detail::pinned_ptr<test_server>::~pinned_ptr (this=0x7f62554d3070, __in_chrg=<optimized out>) at /home/heller/hpx/hpx/runtime/components/pinned_ptr.hpp:69
#11 0x00000000004994be in std::default_delete<hpx::components::detail::pinned_ptr_base>::operator() (this=0x7f625c39ba00, __ptr=0x7f62554d3070) at /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0/include/g++-v4/bits/unique_ptr.h:76
#12 0x000000000048c069 in std::unique_ptr<hpx::components::detail::pinned_ptr_base, std::default_delete<hpx::components::detail::pinned_ptr_base> >::~unique_ptr (this=0x7f625c39ba00, __in_chrg=<optimized out>)
at /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0/include/g++-v4/bits/unique_ptr.h:236
#13 0x00000000004befc2 in hpx::components::pinned_ptr::~pinned_ptr (this=0x7f625c39ba00, __in_chrg=<optimized out>) at /home/heller/hpx/hpx/runtime/components/pinned_ptr.hpp:88
#14 0x000000000054c2cb in hpx::util::detail::invoke_impl<hpx::threads::thread_state_enum (hpx::components::migration_support<hpx::components::component_base<test_server>, hpx::lcos::local::spinlock>::*)(hpx::threads::thread_state_ex_enum, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>&&, hpx::components::pinned_ptr)>::operator()<hpx::threads::thread_state_enum (hpx::components::migration_support<hpx::components::component_base<test_server>, hpx::lcos::local::spinlock>::*)(hpx::threads::thread_state_ex_enum, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>&&, hpx::components::pinned_ptr), test_server<hpx::threads::thread_state_ex_enum, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>, hpx::components::pinned_ptr>&> (this=0x7f625c39baf7, f=
(hpx::threads::thread_state_enum (hpx::components::migration_support<hpx::components::component_base<test_server>, hpx::lcos::local::spinlock>::*)(hpx::components::migration_support<hpx::components::component_base<test_server>, hpx::lcos::local::spinlock> * const, hpx::threads::thread_state_ex_enum, <unknown type in /home/heller/build/hpx/debug/bin/migrate_component_test, CU 0x0, DIE 0x1a28ce>, hpx::components::pinned_ptr)) 0x518c00 <hpx::components::migration_support<hpx::components::component_base<test_server>, hpx::lcos::local::spinlock>::thread_function(hpx::threads::thread_state_ex_enum, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>&&, hpx::components::pinned_ptr)>, v0=...) at /home/heller/hpx/hpx/util/invoke.hpp:82
#15 0x000000000054a5e4 in hpx::util::detail::invoke_impl<hpx::threads::thread_state_enum (hpx::components::migration_support<hpx::components::component_base<test_server>, hpx::lcos::local::spinlock>::*)(hpx::threads::thread_state_ex_enum, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>&&, hpx::components::pinned_ptr)>::operator()<hpx::threads::thread_state_enum (hpx::components::migration_support<hpx::components::component_base<test_server>, hpx::lcos::local::spinlock>::*)(hpx::threads::thread_state_ex_enum, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>&&, hpx::components::pinned_ptr), test_server<hpx::threads::thread_state_ex_enum, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>, hpx::components::pinned_ptr>*> (this=0x7f625c39baf7, f=
(hpx::threads::thread_state_enum (hpx::components::migration_support<hpx::components::component_base<test_server>, hpx::lcos::local::spinlock>::*)(hpx::components::migration_support<hpx::components::component_base<test_server>, hpx::lcos::local::spinlock> * const, hpx::threads::thread_state_ex_enum, <unknown type in /home/heller/build/hpx/debug/bin/migrate_component_test, CU 0x0, DIE 0x1a28ce>, hpx::components::pinned_ptr)) 0x518c00 <hpx::components::migration_support<hpx::components::component_base<test_server>, hpx::lcos::local::spinlock>::thread_function(hpx::threads::thread_state_ex_enum, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>&&, hpx::components::pinned_ptr)>, v0=<unknown type in /home/heller/build/hpx/debug/bin/migrate_component_test, CU 0x0, DIE 0x28fc57>) at /home/heller/hpx/hpx/util/invoke.hpp:93
#16 0x00000000005489fa in hpx::util::invoke<hpx::threads::thread_state_enum (hpx::components::migration_support<hpx::components::component_base<test_server>, hpx::lcos::local::spinlock>::*)(hpx::threads::thread_state_ex_enum, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>&&, hpx::components::pinned_ptr), test_server*, hpx::threads::thread_state_ex_enum, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>, hpx::components::pinned_ptr>(hpx::threads::thread_state_enum (hpx::components::migration_support<hpx::components::component_base<test_server>, hpx::lcos::local::spinlock>::*&&)(hpx::threads::thread_state_ex_enum, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>&&, hpx::components::pinned_ptr), test_server*&&, hpx::threads::thread_state_ex_enum&&, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>&&, hpx::components::pinned_ptr&&) (f=<unknown type in /home/heller/build/hpx/debug/bin/migrate_component_test, CU 0x0, DIE 0x28e696>)
at /home/heller/hpx/hpx/util/invoke.hpp:121
#17 0x0000000000546b4f in hpx::util::detail::one_shot_wrapper<hpx::threads::thread_state_enum (hpx::components::migration_support<hpx::components::component_base<test_server>, hpx::lcos::local::spinlock>::*)(hpx::threads::thread_state_ex_enum, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>&&, hpx::components::pinned_ptr)>::operator()<test_server*, hpx::threads::thread_state_ex_enum, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>, hpx::components::pinned_ptr>(test_server*&&, hpx::threads::thread_state_ex_enum&&, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>&&, hpx::components::pinned_ptr&&) (this=0x7f62554c6440) at /home/heller/hpx/hpx/util/bind.hpp:377
#18 0x0000000000544de7 in hpx::util::detail::invoke_impl<hpx::util::detail::one_shot_wrapper<hpx::threads::thread_state_enum (hpx::components::migration_support<hpx::components::component_base<test_server>, hpx::lcos::local::spinlock>::*)(hpx::threads::thread_state_ex_enum, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>&&, hpx::components::pinned_ptr)> >::operator()<hpx::util::detail::one_shot_wrapper<hpx::threads::thread_state_enum (hpx::components::migration_support<hpx::components::component_base<test_server>, hpx::lcos::local::spinlock>::*)(hpx::threads::thread_state_ex_enum, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>&&, hpx::components::pinned_ptr)><test_server*, hpx::threads::thread_state_ex_enum, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>, hpx::components::pinned_ptr>&> (this=0x7f625c39bc27, f=...) at /home/heller/hpx/hpx/util/invoke.hpp:30
#19 0x0000000000542943 in hpx::util::invoke<hpx::util::detail::one_shot_wrapper<hpx::threads::thread_state_enum (hpx::components::migration_support<hpx::components::component_base<test_server>, hpx::lcos::local::spinlock>::*)(hpx::threads::thread_state_ex_enum, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>&&, hpx::components::pinned_ptr)>&, test_server*, hpx::threads::thread_state_ex_enum, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>, hpx::components::pinned_ptr>(hpx::util::detail::one_shot_wrapper<hpx::threads::thread_state_enum (hpx::components::migration_support<hpx::components::component_base<test_server>, hpx::lcos::local::spinlock>::*)(hpx::threads::thread_state_ex_enum, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>&&, hpx::components::pinned_ptr)>&, test_server*&&, hpx::threads::thread_state_ex_enum&&, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>&&, hpx::components::pinned_ptr&&) (f=...)
at /home/heller/hpx/hpx/util/invoke.hpp:121
#20 0x000000000053fe63 in hpx::util::detail::bound_impl<hpx::util::detail::one_shot_wrapper<hpx::threads::thread_state_enum (hpx::components::migration_support<hpx::components::component_base<test_server>, hpx::lcos::local::spinlock>::*)(hpx::threads::thread_state_ex_enum, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>&&, hpx::components::pinned_ptr)>, hpx::util::tuple<test_server*, hpx::util::detail::placeholder<1ul>, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>, hpx::components::pinned_ptr>, hpx::util::tuple<hpx::threads::thread_state_ex_enum&&>, 0ul, 1ul, 2ul, 3ul>(hpx::util::detail::one_shot_wrapper<hpx::threads::thread_state_enum (hpx::components::migration_support<hpx::components::component_base<test_server>, hpx::lcos::local::spinlock>::*)(hpx::threads::thread_state_ex_enum, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>&&, hpx::components::pinned_ptr)>&, hpx::util::tuple<test_server*, hpx::util::detail::placeholder<1ul>, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>, hpx::components::pinned_ptr>&, hpx::util::tuple<hpx::threads::thread_state_ex_enum&&>&&, hpx::util::detail::pack_c<unsigned long, 0ul, 1ul, 2ul, 3ul>) (f=..., bound=...,
unbound=<unknown type in /home/heller/build/hpx/debug/bin/migrate_component_test, CU 0x0, DIE 0x2872d0>) at /home/heller/hpx/hpx/util/bind.hpp:231
#21 0x000000000053d2b6 in hpx::util::detail::bound<hpx::util::detail::one_shot_wrapper<hpx::threads::thread_state_enum (hpx::components::migration_support<hpx::components::component_base<test_server>, hpx::lcos::local::spinlock>::*)(hpx::threads::thread_state_ex_enum, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>&&, hpx::components::pinned_ptr)> (test_server*&&, hpx::util::detail::placeholder<1ul> const&, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>&&, hpx::components::pinned_ptr&&)>::operator()<hpx::threads::thread_state_ex_enum>(hpx::threads::thread_state_ex_enum&&) (
this=0x7f62554c6440) at /home/heller/hpx/hpx/util/bind.hpp:277
#22 0x000000000053a327 in hpx::util::detail::invoke_impl<hpx::util::detail::bound<hpx::util::detail::one_shot_wrapper<hpx::threads::thread_state_enum (hpx::components::migration_support<hpx::components::component_base<test_server>, hpx::lcos::local::spinlock>::*)(hpx::threads::thread_state_ex_enum, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>&&, hpx::components::pinned_ptr)> (test_server*&&, hpx::util::detail::placeholder<1ul> const&, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>&&, hpx::components::pinned_ptr&&)> >::operator()<hpx::util::detail::bound<hpx::util::detail::one_shot_wrapper<hpx::threads::thread_state_enum (hpx::components::migration_support<hpx::components::component_base<test_server>, hpx::lcos::local::spinlock>::*)(hpx::threads::thread_state_ex_enum, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>&&, hpx::components::pinned_ptr)> (test_server*&&, hpx::util::detail::placeholder<1ul> const&, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>&&, hpx::components::pinned_ptr&&)><hpx::threads::thread_state_ex_enum>&> (this=0x7f625c39be57, f=...) at /home/heller/hpx/hpx/util/invoke.hpp:30
#23 0x0000000000536c86 in hpx::util::detail::invoke_guard<hpx::threads::thread_state_enum>::operator()<hpx::util::detail::bound<hpx::util::detail::one_shot_wrapper<hpx::threads::thread_state_enum (hpx::components::migration_support<hpx::components::component_base<test_server>, hpx::lcos::local::spinlock>::*)(hpx::threads::thread_state_ex_enum, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>&&, hpx::components::pinned_ptr)> (test_server*&&, hpx::util::detail::placeholder<1ul> const&, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>&&, hpx::components::pinned_ptr&&)>&, hpx::threads::thread_state_ex_enum>(hpx::util::detail::bound<hpx::util::detail::one_shot_wrapper<hpx::threads::thread_state_enum (hpx::components::migration_support<hpx::components::component_base<test_server>, hpx::lcos::local::spinlock>::*)(hpx::threads::thread---Type <return> to continue, or q <return> to quit---
_state_ex_enum, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>&&, hpx::components::pinned_ptr)> (test_server*&&, hpx::util::detail::placeholder<1ul> const&, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>&&, hpx::components::pinned_ptr&&)>&, hpx::threads::thread_state_ex_enum&&) (this=0x7f625c39be97, f=...) at /home/heller/hpx/hpx/util/invoke.hpp:134
#24 0x0000000000533a55 in hpx::util::invoke<hpx::threads::thread_state_enum, hpx::util::detail::bound<hpx::util::detail::one_shot_wrapper<hpx::threads::thread_state_enum (hpx::components::migration_support<hpx::components::component_base<test_server>, hpx::lcos::local::spinlock>::*)(hpx::threads::thread_state_ex_enum, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>&&, hpx::components::pinned_ptr)> (test_server*&&, hpx::util::detail::placeholder<1ul> const&, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>&&, hpx::components::pinned_ptr&&)>&, hpx::threads::thread_state_ex_enum>(hpx::util::detail::bound<hpx::util::detail::one_shot_wrapper<hpx::threads::thread_state_enum (hpx::components::migration_support<hpx::components::component_base<test_server>, hpx::lcos::local::spinlock>::*)(hpx::threads::thread_state_ex_enum, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>&&, hpx::components::pinned_ptr)> (test_server*&&, hpx::util::detail::placeholder<1ul> const&, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>&&, hpx::components::pinned_ptr&&)>&, hpx::threads::thread_state_ex_enum&&) (f=...) at /home/heller/hpx/hpx/util/invoke.hpp:154
#25 0x00000000005300b5 in hpx::util::detail::callable_vtable<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum)>::invoke<hpx::util::detail::bound<hpx::util::detail::one_shot_wrapper<hpx::threads::thread_state_enum (hpx::components::migration_support<hpx::components::component_base<test_server>, hpx::lcos::local::spinlock>::*)(hpx::threads::thread_state_ex_enum, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>&&, hpx::components::pinned_ptr)> (test_server*&&, hpx::util::detail::placeholder<1ul> const&, hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>&&, hpx::components::pinned_ptr&&)> >(void**, hpx::threads::thread_state_ex_enum&&) (f=0x7f6252addc70, vs#0=<unknown type in /home/heller/build/hpx/debug/bin/migrate_component_test, CU 0x0, DIE 0x275fa8>)
at /home/heller/hpx/hpx/util/detail/vtable/callable_vtable.hpp:30
#26 0x00007f625acecdbf in operator() (vs#0=hpx::threads::wait_signaled, this=0x7f6252addc68) at /home/heller/hpx/hpx/util/detail/basic_function.hpp:256
#27 hpx::util::coroutines::detail::coroutine_impl_wrapper<hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>, hpx::util::coroutines::coroutine<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), hpx::threads::detail::coroutine_allocator, hpx::util::coroutines::detail::lx::x86_linux_context_impl>, hpx::util::coroutines::detail::lx::x86_linux_context_impl, hpx::threads::detail::coroutine_allocator>::operator()() (this=0x7f6252addbe0) at /home/heller/hpx/hpx/util/coroutine/detail/coroutine_impl.hpp:270
#28 0x00007f625ace723f in hpx::util::coroutines::detail::lx::trampoline<hpx::util::coroutines::detail::coroutine_impl_wrapper<hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>, hpx::util::coroutines::coroutine<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), hpx::threads::detail::coroutine_allocator, hpx::util::coroutines::detail::lx::x86_linux_context_impl>, hpx::util::coroutines::detail::lx::x86_linux_context_impl, hpx::threads::detail::coroutine_allocator> >(hpx::util::coroutines::detail::coroutine_impl_wrapper<hpx::util::unique_function<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), false>, hpx::util::coroutines::coroutine<hpx::threads::thread_state_enum (hpx::threads::thread_state_ex_enum), hpx::threads::detail::coroutine_allocator, hpx::util::coroutines::detail::lx::x86_linux_context_impl>, hpx::util::coroutines::detail::lx::x86_linux_context_impl, hpx::threads::detail::coroutine_allocator>*) (fun=0x7f6252addbe0) at /home/heller/hpx/hpx/util/coroutine/detail/context_linux_x86.hpp:89
#29 0x0000000000000000 in ?? ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment