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

adaptive1d throws an exception with the default command line options #143

Closed
brycelelbach opened this issue Jul 10, 2012 · 2 comments

Comments

Projects
None yet
1 participant
@brycelelbach
Copy link
Member

commented Jul 10, 2012

[reported by blelbach] [Trac time Fri Sep 23 20:14:34 2011] invoking adaptive1d with no arguments results in:

[20:07:58]:wash@perseus:/home/wash$ /shared/home/wash/hpx/gcc-4.6.1-debug/bin/adaptive1d 

[stack_trace]: 21 frames:
0x7fb7afe38120  : boost::stack_trace::trace(void**, int) + 0x20 in /shared/home/wash/hpx/gcc-4.6.1-debug/lib/libhpx.so.0
0x7fb7af90a739  : boost::backtrace::backtrace(unsigned long) + 0x7d in /shared/home/wash/hpx/gcc-4.6.1-debug/lib/libhpx.so.0
0x7fb7af90a894  : boost::trace() + 0x1e in /shared/home/wash/hpx/gcc-4.6.1-debug/lib/libhpx.so.0
0x7fb7af904254  : hpx::detail::backtrace() + 0x18 in /shared/home/wash/hpx/gcc-4.6.1-debug/lib/libhpx.so.0
0x7fb7af90d5b1  : void hpx::detail::throw_exception<hpx::exception>(hpx::exception const&, std::string const&, std::string const&, int) + 0x6d in /shared/home/wash/hpx/gcc-4.6.1-debug/lib/libhpx.so.0
0x6cab2d        : hpx_main(boost::program_options::variables_map&) + 0x14bf in /shared/home/wash/hpx/gcc-4.6.1-debug/bin/adaptive1d
0x77a021        : int boost::_bi::list1<boost::_bi::value<boost::program_options::variables_map> >::operator()<int, int (*)(boost::program_options::variables_map&), boost::_bi::list0>(boost::_bi::type<int>, int (*&)(boost::program_options::variables_map&), boost::_bi::list0&, long) + 0x45 in /shared/home/wash/hpx/gcc-4.6.1-debug/bin/adaptive1d
0x776c57        : boost::_bi::bind_t<int, int (*)(boost::program_options::variables_map&), boost::_bi::list1<boost::_bi::value<boost::program_options::variables_map> > >::operator()() + 0x39 in /shared/home/wash/hpx/gcc-4.6.1-debug/bin/adaptive1d
0x772f72        : boost::detail::function::function_obj_invoker0<boost::_bi::bind_t<int, int (*)(boost::program_options::variables_map&), boost::_bi::list1<boost::_bi::value<boost::program_options::variables_map> > >, int>::invoke(boost::detail::function::function_buffer&) + 0x23 in /shared/home/wash/hpx/gcc-4.6.1-debug/bin/adaptive1d
0x7fb7af97abf8  : boost::function0<int>::operator()() const + 0x52 in /shared/home/wash/hpx/gcc-4.6.1-debug/lib/libhpx.so.0
0x7fb7af982e8c  : hpx::runtime_impl<hpx::threads::policies::local_priority_queue_scheduler, hpx::threads::policies::callback_notifier>::run_helper(boost::function<int ()>, int&) + 0x44 in /shared/home/wash/hpx/gcc-4.6.1-debug/lib/libhpx.so.0
0x7fb7af9b11d5  : boost::_mfi::mf2<hpx::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 + 0x81 in /shared/home/wash/hpx/gcc-4.6.1-debug/lib/libhpx.so.0
0x7fb7af9aeffd  : hpx::threads::detail::tagged_thread_state<hpx::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<int> >::operator()<hpx::threads::detail::tagged_thread_state<hpx::threads::thread_state_enum>, boost::_mfi::mf2<hpx::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::list1<hpx::threads::thread_state_ex_enum&> >(boost::_bi::type<hpx::threads::detail::tagged_thread_state<hpx::threads::thread_state_enum> >, boost::_mfi::mf2<hpx::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::list1<hpx::threads::thread_state_ex_enum&>&, long) + 0x97 in /shared/home/wash/hpx/gcc-4.6.1-debug/lib/libhpx.so.0
0x7fb7af9aae02  : hpx::threads::detail::tagged_thread_state<hpx::threads::thread_state_enum> boost::_bi::bind_t<hpx::threads::detail::tagged_thread_state<hpx::threads::thread_state_enum>, boost::_mfi::mf2<hpx::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<int> > >::operator()<hpx::threads::thread_state_ex_enum>(hpx::threads::thread_state_ex_enum&) + 0x44 in /shared/home/wash/hpx/gcc-4.6.1-debug/lib/libhpx.so.0
0x7fb7af9a6fb5  : boost::detail::function::function_obj_invoker1<boost::_bi::bind_t<hpx::threads::detail::tagged_thread_state<hpx::threads::thread_state_enum>, boost::_mfi::mf2<hpx::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<int> > >, 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/home/wash/hpx/gcc-4.6.1-debug/lib/libhpx.so.0
0x7fb7afade572  : boost::function1<hpx::threads::thread_state_enum, hpx::threads::thread_state_ex_enum>::operator()(hpx::threads::thread_state_ex_enum) const + 0x5a in /shared/home/wash/hpx/gcc-4.6.1-debug/lib/libhpx.so.0
0x7fb7afdd5c38  : 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/home/wash/hpx/gcc-4.6.1-debug/lib/libhpx.so.0
0x7fb7afdd4b5f  : 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/home/wash/hpx/gcc-4.6.1-debug/lib/libhpx.so.0
0x7fb7afdd1b9f  : boost::disable_if<boost::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_call<hpx::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/home/wash/hpx/gcc-4.6.1-debug/lib/libhpx.so.0
0x7fb7afdcd1e7  : 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()() + 0x5b in /shared/home/wash/hpx/gcc-4.6.1-debug/lib/libhpx.so.0
0x7fb7afdc7390  : 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/home/wash/hpx/gcc-4.6.1-debug/lib/libhpx.so.0
[what]: nt0 (4) needs to be evenly divisible by refine_every (100) : HPX(bad parameter)
[locality]: 1
[function]: int hpx_main(boost::program_options::variables_map&)
[file]: /home/wash/hpx_clean/examples/adaptive1d/adaptive1d.cpp
[line]: 174
[os-thread]: 0
[thread_id]: 00000000029c7000
[thread_name]: run_helper
[version]: 0.7.0-rc1 (5559)
[boost]: 1.47.0
[platform]: linux
[compiler]: GNU C++ version 4.6.1
[stdlib]: GNU libstdc++ version 20110714

Aborted
@brycelelbach

This comment has been minimized.

Copy link
Member Author

commented Jul 10, 2012

[comment by manderson] [Trac time Fri Sep 23 20:30:39 2011] r5563

@brycelelbach

This comment has been minimized.

Copy link
Member Author

commented Jul 10, 2012

[comment by manderson] [Trac time Fri Sep 23 20:31:38 2011] r5564

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.