Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

segfault when hpx::process::here() is called in fibonacci2 #101

Closed
brycelelbach opened this issue Jul 10, 2012 · 1 comment
Closed

segfault when hpx::process::here() is called in fibonacci2 #101

brycelelbach opened this issue Jul 10, 2012 · 1 comment

Comments

@brycelelbach
Copy link
Member

[reported by blelbach] [Trac time Thu Aug 18 01:27:50 2011] ```
[20:26:47]:wash@vega:/home/wash/hpx/gcc-4.4.5-debug$ bin/fibonacci2
Received Segmentation fault, 25 frames:
0x7fea250b4668 : boost::stack_trace::trace(void*_, int) + 0x20 in /shared/hpx/wash/gcc-4.4.5-debug/lib/libhpx.so.0
0x7fea24b5f56c : boost::backtrace::backtrace(unsigned long) + 0x7c in /shared/hpx/wash/gcc-4.4.5-debug/lib/libhpx.so.0
0x7fea24b5f6dc : boost::trace() + 0x22 in /shared/hpx/wash/gcc-4.4.5-debug/lib/libhpx.so.0
0x7fea24b58c73 : hpx::detail::backtrace() + 0x17 in /shared/hpx/wash/gcc-4.4.5-debug/lib/libhpx.so.0
0x7fea24bca364 : hpx::termination_handler(int) + 0x28 in /shared/hpx/wash/gcc-4.4.5-debug/lib/libhpx.so.0
0x7fea2098e520 : ??? + 0x2098e520 in /lib64/libpthread.so.0
0x5e886c : boost::shared_ptrhpx::naming::detail::id_type_impl::shared_ptr(boost::shared_ptrhpx::naming::detail::id_type_impl const&) + 0x14 in bin/fibonacci2
0x5e88b7 : hpx::naming::id_type::id_type(hpx::naming::id_type const&) + 0x23 in bin/fibonacci2
0x5ea47a : hpx::process::here() const + 0x3a in bin/fibonacci2
0x5e0797 : hpx_main(boost::program_options::variables_map&) + 0x2d6 in bin/fibonacci2
0x659ba9 : int boost::_bi::list1boost::bi::value<boost::program_options::variables_map >::operator()<int, int ()(boost::program_options::variables_map&), boost::_bi::list0>(boost::bi::type, int (&)(boost::program_options::variables_map&), boost::_bi::list0&, long) + 0x45 in bin/fibonacci2
0x6564bd : boost::bi::bind_t<int, int ()(boost::program_options::variables_map&), boost::_bi::list1boost::_bi::value<boost::program_options::variables_map > >::operator()() + 0x3f in bin/fibonacci2
0x653585 : boost::detail::function::function_obj_invoker0<boost::_bi::bind_t<int, int ()(boost::program_options::variables_map&), boost::_bi::list1<boost::_bi::valueboost::program_options::variables_map > >, int>::invoke(boost::detail::function::function_buffer&) + 0x23 in bin/fibonacci2
0x7fea24be83b5 : boost::function0::operator()() const + 0x73 in /shared/hpx/wash/gcc-4.4.5-debug/lib/libhpx.so.0
0x7fea24bdb5d6 : hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler, hpx::threads::policies::callback_notifier>::run_helper(boost::function<int ()()>, int&) + 0x68 in /shared/hpx/wash/gcc-4.4.5-debug/lib/libhpx.so.0
0x7fea24c0b0aa : boost::mfi::mf2hpx::threads::detail::tagged_thread_state<hpx::threads::thread_state_enum, hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler, hpx::threads::policies::callback_notifier>, boost::function<int ()()>, int&>::operator()(hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler, hpx::threads::policies::callback_notifier>, boost::function<int ()()>, int&) const + 0x84 in /shared/hpx/wash/gcc-4.4.5-debug/lib/libhpx.so.0
0x7fea24c08d97 : hpx::threads::detail::tagged_thread_statehpx::threads::thread_state_enum boost::_bi::list3<boost::bi::value<hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler, hpx::threads::policies::callback_notifier>>, boost::_bi::value<boost::function<int ()()> >, boost::reference_wrapper >::operator()hpx::threads::detail::tagged_thread_state<hpx::threads::thread_state_enum, boost::_mfi::mf2hpx::threads::detail::tagged_thread_state<hpx::threads::thread_state_enum, hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler, hpx::threads::policies::callback_notifier>, boost::function<int ()()>, int&>, boost::_bi::list1hpx::threads::thread_state_ex_enum& >(boost::_bi::typehpx::threads::detail::tagged_thread_state<hpx::threads::thread_state_enum >, boost::_mfi::mf2hpx::threads::detail::tagged_thread_state<hpx::threads::thread_state_enum, hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler, hpx::threads::policies::callback_notifier>, boost::function<int ()()>, int&>&, boost::_bi::list1hpx::threads::thread_state_ex_enum&&, long) + 0x97 in /shared/hpx/wash/gcc-4.4.5-debug/lib/libhpx.so.0
0x7fea24c049e4 : hpx::threads::detail::tagged_thread_statehpx::threads::thread_state_enum boost::_bi::bind_thpx::threads::detail::tagged_thread_state<hpx::threads::thread_state_enum, boost::_mfi::mf2hpx::threads::detail::tagged_thread_state<hpx::threads::thread_state_enum, hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler, hpx::threads::policies::callback_notifier>, boost::function<int ()()>, int&>, boost::_bi::list3<boost::bi::value<hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler, hpx::threads::policies::callback_notifier>>, boost::_bi::value<boost::function<int ()()> >, boost::reference_wrapper > >::operator()hpx::threads::thread_state_ex_enum(hpx::threads::thread_state_ex_enum&) + 0x4a in /shared/hpx/wash/gcc-4.4.5-debug/lib/libhpx.so.0
0x7fea24c00a74 : boost::detail::function::function_obj_invoker1boost::_bi::bind_t<hpx::threads::detail::tagged_thread_state<hpx::threads::thread_state_enum, boost::_mfi::mf2hpx::threads::detail::tagged_thread_state<hpx::threads::thread_state_enum, hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler, hpx::threads::policies::callback_notifier>, boost::function<int ()()>, int&>, boost::_bi::list3<boost::bi::value<hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler, hpx::threads::policies::callback_notifier>>, boost::_bi::value<boost::function<int ()()> >, boost::reference_wrapper > >, hpx::threads::thread_state_enum, hpx::threads::thread_state_ex_enum>::invoke(boost::detail::function::function_buffer&, hpx::threads::thread_state_ex_enum) + 0x2d in /shared/hpx/wash/gcc-4.4.5-debug/lib/libhpx.so.0
0x7fea24d2c445 : boost::function1<hpx::threads::thread_state_enum, hpx::threads::thread_state_ex_enum>::operator()(hpx::threads::thread_state_ex_enum) const + 0x7b in /shared/hpx/wash/gcc-4.4.5-debug/lib/libhpx.so.0
0x7fea2504aa46 : boost::coroutines::detail::unpacker_n<boost::coroutines::tuple_traits<hpx::threads::thread_state_ex_enum, boost::tuples::null_type>, 1>::result<boost::function<hpx::threads::thread_state_enum ()(hpx::threads::thread_state_ex_enum)>, boost::tuples::tuple<hpx::threads::thread_state_ex_enum, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> >::type boost::coroutines::detail::unpacker_n<boost::coroutines::tuple_traits<hpx::threads::thread_state_ex_enum, boost::tuples::null_type>, 1>::operator()<boost::function<hpx::threads::thread_state_enum ()(hpx::threads::thread_state_ex_enum)>, boost::tuples::tuple<hpx::threads::thread_state_ex_enum, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> >(boost::function<hpx::threads::thread_state_enum ()(hpx::threads::thread_state_ex_enum)>&, boost::tuples::tuple<hpx::threads::thread_state_ex_enum, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>&) + 0x30 in /shared/hpx/wash/gcc-4.4.5-debug/lib/libhpx.so.0
0x7fea25049997 : boost::coroutines::detail::unpacker_n<boost::coroutines::tuple_traits<hpx::threads::thread_state_ex_enum, boost::tuples::null_type>, boost::coroutines::tuple_traits<hpx::threads::thread_state_ex_enum, boost::tuples::null_type>::length>::result<boost::function<hpx::threads::thread_state_enum ()(hpx::threads::thread_state_ex_enum)>, boost::tuples::tuple<hpx::threads::thread_state_ex_enum, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> >::type boost::coroutines::detail::unpack<boost::coroutines::tuple_traits<hpx::threads::thread_state_ex_enum, boost::tuples::null_type>, boost::function<hpx::threads::thread_state_enum ()(hpx::threads::thread_state_ex_enum)>, boost::tuples::tuple<hpx::threads::thread_state_ex_enum, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> >(boost::function<hpx::threads::thread_state_enum ()(hpx::threads::thread_state_ex_enum)>, boost::tuples::tuple<hpx::threads::thread_state_ex_enum, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>&, boost::coroutines::detail::trait_tag<boost::coroutines::tuple_traits<hpx::threads::thread_state_ex_enum, boost::tuples::null_type> >) + 0x27 in /shared/hpx/wash/gcc-4.4.5-debug/lib/libhpx.so.0
0x7fea250467a1 : boost::disable_ifboost::is_void<hpx::threads::thread_state_enum, void>::type boost::coroutines::detail::coroutine_impl_wrapper<boost::function<hpx::threads::thread_state_enum ()(hpx::threads::thread_state_ex_enum)>, boost::coroutines::coroutine<hpx::threads::thread_state_enum ()(hpx::threads::thread_state_ex_enum), hpx::threads::detail::coroutine_allocator, boost::coroutines::detail::oslinux64::x86_64_linux_context_impl>, boost::coroutines::detail::oslinux64::x86_64_linux_context_impl, hpx::threads::detail::coroutine_allocator>::do_callhpx::threads::thread_state_enum(boost::coroutines::detail::coroutine_impl_wrapper<boost::function<hpx::threads::thread_state_enum ()(hpx::threads::thread_state_ex_enum)>, boost::coroutines::coroutine<hpx::threads::thread_state_enum ()(hpx::threads::thread_state_ex_enum), hpx::threads::detail::coroutine_allocator, boost::coroutines::detail::oslinux64::x86_64_linux_context_impl>, boost::coroutines::detail::oslinux64::x86_64_linux_context_impl, hpx::threads::detail::coroutine_allocator>::dummy<1>) + 0xa1 in /shared/hpx/wash/gcc-4.4.5-debug/lib/libhpx.so.0
0x7fea25041a95 : boost::coroutines::detail::coroutine_impl_wrapper<boost::function<hpx::threads::thread_state_enum ()(hpx::threads::thread_state_ex_enum)>, boost::coroutines::coroutine<hpx::threads::thread_state_enum ()(hpx::threads::thread_state_ex_enum), hpx::threads::detail::coroutine_allocator, boost::coroutines::detail::oslinux64::x86_64_linux_context_impl>, boost::coroutines::detail::oslinux64::x86_64_linux_context_impl, hpx::threads::detail::coroutine_allocator>::operator()() + 0x5d in /shared/hpx/wash/gcc-4.4.5-debug/lib/libhpx.so.0
0x7fea2503b8dc : void boost::coroutines::detail::oslinux64::trampoline<boost::coroutines::detail::coroutine_impl_wrapper<boost::function<hpx::threads::thread_state_enum ()(hpx::threads::thread_state_ex_enum)>, boost::coroutines::coroutine<hpx::threads::thread_state_enum ()(hpx::threads::thread_state_ex_enum), hpx::threads::detail::coroutine_allocator, boost::coroutines::detail::oslinux64::x86_64_linux_context_impl>, boost::coroutines::detail::oslinux64::x86_64_linux_context_impl, hpx::threads::detail::coroutine_allocator> >(boost::coroutines::detail::coroutine_impl_wrapper<boost::function<hpx::threads::thread_state_enum ()(hpx::threads::thread_state_ex_enum)>, boost::coroutines::coroutine<hpx::threads::thread_state_enum ()(hpx::threads::thread_state_ex_enum), hpx::threads::detail::coroutine_allocator, boost::coroutines::detail::oslinux64::x86_64_linux_context_impl>, boost::coroutines::detail::oslinux64::x86_64_linux_context_impl, hpx::threads::detail::coroutine_allocator>
) + 0x18 in /shared/hpx/wash/gcc-4.4.5-debug/lib/libhpx.so.0
Aborted

@brycelelbach
Copy link
Member Author

[comment by blelbach] [Trac time Tue Aug 23 15:55:42 2011] r5403

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant