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

Error when querying time performance counters #1200

Closed
parsa opened this Issue Jul 22, 2014 · 0 comments

Comments

Projects
None yet
2 participants
@parsa
Contributor

parsa commented Jul 22, 2014

Continuation of #1198:
Update: Looks like it only occurs for time counters.
Example: <app> --hpx:print-counter=/agas{locality#0/total}/time/resolved_localities
Message: assertion 'traits::component_type_is_compatible< typename action_type::component_type>::call(addr)' failed: HPX(assertion_failure)
Command line:

./build/bin/mini_ghost --hpx:threads 4 \
    --hpx:print-counter=/agas{locality#0/total}/count/resolve_locality \
    --hpx:print-counter=/agas{locality#*/total}/count/bind_gid \
    --hpx:print-counter=/agas{locality#*/total}/count/bind \
    --hpx:print-counter=/agas{locality#0/total}/time/resolved_localities
{env}: 32 entries:
  CPATH=/opt/intel/composer_xe_2013_sp1.2.144/mkl/include:/opt/intel/composer_xe_2013_sp1.2.144/ipp/include:/opt/intel/composer_xe_2013_sp1.2.144/mkl/include:/opt/intel/composer_xe_2013_sp1.2.144/tbb/include
  EDITOR=vim
  GDBSERVER_MIC=/opt/intel/composer_xe_2013_sp1.2.144/debugger/gdb/target/mic/bin/gdbserver
  GDB_CROSS=/opt/intel/composer_xe_2013_sp1.2.144/debugger/gdb/intel64_mic/py27/bin/gdb-mic
  HOME=/home/pamini
  IDB_HOME=/opt/intel/composer_xe_2013_sp1.2.144/bin/intel64
  INCLUDE=/opt/intel/composer_xe_2013_sp1.2.144/mkl/include:/opt/intel/composer_xe_2013_sp1.2.144/mkl/include
  INTEL_LICENSE_FILE=/opt/intel/composer_xe_2013_sp1.2.144/licenses:/opt/intel/licenses:/home/pamini/intel/licenses
  IPPROOT=/opt/intel/composer_xe_2013_sp1.2.144/ipp
  LANG=en_US.UTF-8
  LD_LIBRARY_PATH=/opt/intel/mic/coi/host-linux-release/lib:/opt/intel/mic/myo/lib:/opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/mkl/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64:/opt/intel/mic/coi/host-linux-release/lib:/opt/intel/mic/myo/lib:/opt/intel/composer_xe_2013_sp1.2.144/mpirt/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/ipp/../compiler/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/ipp/lib/intel64:/opt/intel/mic/coi/host-linux-release/lib:/opt/intel/mic/myo/lib:/opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/mkl/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/tbb/lib/intel64/gcc4.4
  LIBRARY_PATH=/opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/mkl/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/ipp/../compiler/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/ipp/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/mkl/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/tbb/lib/intel64/gcc4.4
  LOGNAME=pamini
  LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
  MAIL=/var/mail/pamini
  MANPATH=/opt/intel/composer_xe_2013_sp1.2.144/man/en_US:/opt/intel/composer_xe_2013_sp1.2.144/man/en_US:/opt/intel/composer_xe_2013_sp1.2.144/man/en_US:/opt/intel/composer_xe_2013_sp1.2.144/debugger/gdb/intel64_mic/py27/share/man:/opt/intel/composer_xe_2013_sp1.2.144/debugger/gdb/intel64/py27/share/man:/usr/local/man:/usr/local/share/man:/usr/share/man::/opt/intel/vtune_amplifier_xe_2013/man
  MIC_LD_LIBRARY_PATH=/opt/intel/mic/coi/device-linux-release/lib:/opt/intel/mic/myo/lib:/opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/mic:/opt/intel/composer_xe_2013_sp1.2.144/mkl/lib/mic:/opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/mic:/opt/intel/composer_xe_2013_sp1.2.144/mpirt/lib/mic:/opt/intel/mic/coi/device-linux-release/lib:/opt/intel/mic/myo/lib:/opt/intel/mic/coi/device-linux-release/lib:/opt/intel/mic/myo/lib:/opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/mic:/opt/intel/composer_xe_2013_sp1.2.144/mkl/lib/mic:/opt/intel/composer_xe_2013_sp1.2.144/tbb/lib/mic
  MIC_LIBRARY_PATH=/opt/intel/composer_xe_2013_sp1.2.144/tbb/lib/mic
  MKLROOT=/opt/intel/composer_xe_2013_sp1.2.144/mkl
  NLSPATH=/opt/intel/composer_xe_2013_sp1.2.144/mkl/lib/intel64/locale/%l_%t/%N:/opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64/locale/%l_%t/%N:/opt/intel/composer_xe_2013_sp1.2.144/ipp/lib/intel64/locale/%l_%t/%N:/opt/intel/composer_xe_2013_sp1.2.144/mkl/lib/intel64/locale/%l_%t/%N:/opt/intel/composer_xe_2013_sp1.2.144/debugger/gdb/intel64_mic/py27/share/locale/%l_%t/%N:/opt/intel/composer_xe_2013_sp1.2.144/debugger/gdb/intel64/py27/share/locale/%l_%t/%N:/opt/intel/composer_xe_2013_sp1.2.144/debugger/intel64/locale/%l_%t/%N
  PATH=/opt/intel/vtune_amplifier_xe_2013/bin64:/opt/intel/composer_xe_2013_sp1.2.144/bin/intel64:/opt/intel/composer_xe_2013_sp1.2.144/mpirt/bin/intel64:/opt/intel/composer_xe_2013_sp1.2.144/debugger/gdb/intel64_mic/py27/bin:/opt/intel/composer_xe_2013_sp1.2.144/debugger/gdb/intel64/py27/bin:/opt/intel/composer_xe_2013_sp1.2.144/bin/intel64:/opt/intel/composer_xe_2013_sp1.2.144/bin/intel64_mic:/opt/intel/composer_xe_2013_sp1.2.144/debugger/gui/intel64:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  PWD=/home/pamini/bt
  SHELL=/bin/bash
  SHLVL=2
  SSH_CLIENT=95.211.144.34 57936 22
  SSH_CONNECTION=95.211.144.34 57936 10.1.1.11 22
  SSH_TTY=/dev/pts/7
  TBBROOT=/opt/intel/composer_xe_2013_sp1.2.144/tbb
  TERM=xterm-256color
  USER=pamini
  VTUNE_AMPLIFIER_XE_2013_DIR=/opt/intel/vtune_amplifier_xe_2013
  _=./build/bin/mini_ghost
{locality-id}: 0
{hostname}: 127.0.0.1:0
{process-id}: 25157
{function}: bool hpx::applier::detail::apply_l_p(hpx::actions::continuation*, const hpx::naming::id_type&, const hpx::naming::address&, hpx::threads::thread_priority, Arg0&&) [with Action = hpx::actions::result_action1<hpx::agas::response (hpx::agas::server::primary_namespace::*)(const hpx::agas::request&), &hpx::agas::server::primary_namespace::remote_service, hpx::actions::detail::this_type>; Arg0 = const hpx::agas::request&]
{file}: /home/pamini/bt/repo/hpx/runtime/applier/preprocessed/apply_implementations_5.hpp
{line}: 147
{os-thread}: 1, worker-thread#1
{thread-id}: 00002aaab7c20f80
{thread-description}: create_performance_counter_action
{config}:
  HPX_HAVE_NATIVE_TLS=ON
  HPX_HAVE_STACKTRACES=ON
  HPX_HAVE_COMPRESSION_BZIP2=OFF
  HPX_HAVE_COMPRESSION_SNAPPY=OFF
  HPX_HAVE_COMPRESSION_ZLIB=OFF
  HPX_HAVE_PARCEL_COALESCING=ON
  HPX_HAVE_PARCELPORT_IPC=OFF
  HPX_HAVE_PARCELPORT_IBVERBS=OFF
  HPX_HAVE_VERIFY_LOCKS=ON
  HPX_HAVE_HWLOC=ON
  HPX_HAVE_ITTNOTIFY=OFF
  HPX_LIMIT=5
  HPX_ACTION_ARGUMENT_LIMIT=5
  HPX_COMPONENT_CREATE_ARGUMENT_LIMIT=5
  HPX_FUNCTION_ARGUMENT_LIMIT=8
  HPX_LOCK_LIMIT=5
  HPX_TUPLE_LIMIT=8
  HPX_WAIT_ARGUMENT_LIMIT=5
  HPX_PARCEL_MAX_CONNECTIONS=512
  HPX_PARCEL_MAX_CONNECTIONS_PER_LOCALITY=4
  HPX_INITIAL_AGAS_LOCAL_CACHE_SIZE=256
  HPX_AGAS_LOCAL_CACHE_SIZE_PER_THREAD=32
  HPX_PREFIX=/home/pamini/bt/build:/usr/local
{version}: V0.9.9-trunk (AGAS: V3.0), Git: ec54c216cc6a0744d87dc13e6bd1f08e116cec82
{boost}: V1.55.0
{build-type}: debug
{date}: Jul 22 2014 10:13:06
{platform}: linux
{compiler}: GNU C++ version 4.9.0
{stdlib}: GNU libstdc++ version 20140704
{what}: assertion 'traits::component_type_is_compatible< typename action_type::component_type>::call(addr)' failed: HPX(assertion_failure)

./run-mg.sh: line 3: 25157 Aborted

GDB Trace:

#0  0x00002aaab02821d5 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00002aaab0285388 in __GI_abort () at abort.c:90
#2  0x00002aaaacecc4b6 in hpx::detail::assertion_failed_msg (
    msg=0x2aaaad9ccdf0 "traits::component_type_is_compatible< typename action_type::component_type>::call(addr)", 
    expr=0x2aaaad9ccdf0 "traits::component_type_is_compatible< typename action_type::component_type>::call(addr)", 
    function=0x2aaaad9d3980 <bool hpx::applier::detail::apply_l_p<hpx::actions::result_action1<hpx::agas::response (hpx::agas::server::primary_namespace::*)(hpx::agas::request const&), &hpx::agas::server::primary_namespace::remote_service, hpx::actions::detail::this_type>, hpx::agas::request const&>(hpx::actions::continuation*, hpx::naming::id_type const&, hpx::naming::address const&, hpx::threads::thread_priority, hpx::agas::request const&)::__PRETTY_FUNCTION__> "bool hpx::applier::detail::apply_l_p(hpx::actions::continuation*, const hpx::naming::id_type&, const hpx::naming::address&, hpx::threads::thread_priority, Arg0&&) [with Action = hpx::actions::result_a"..., file=0x2aaaad9cca38 "/home/pamini/bt/repo/hpx/runtime/applier/preprocessed/apply_implementations_5.hpp", line=147)
    at /home/pamini/bt/repo/src/exception.cpp:349
#3  0x00002aaaacecc22e in hpx::detail::assertion_failed (
    expr=0x2aaaad9ccdf0 "traits::component_type_is_compatible< typename action_type::component_type>::call(addr)", 
    function=0x2aaaad9d3980 <bool hpx::applier::detail::apply_l_p<hpx::actions::result_action1<hpx::agas::response (hpx::agas::server::primary_namespace::*)(hpx::agas::request const&), &hpx::agas::server::primary_namespace::remote_service, hpx::actions::detail::this_type>, hpx::agas::request const&>(hpx::actions::continuation*, hpx::naming::id_type const&, hpx::naming::address const&, hpx::threads::thread_priority, hpx::agas::request const&)::__PRETTY_FUNCTION__> "bool hpx::applier::detail::apply_l_p(hpx::actions::continuation*, const hpx::naming::id_type&, const hpx::naming::address&, hpx::threads::thread_priority, Arg0&&) [with Action = hpx::actions::result_a"..., file=0x2aaaad9cca38 "/home/pamini/bt/repo/hpx/runtime/applier/preprocessed/apply_implementations_5.hpp", line=147)
    at /home/pamini/bt/repo/src/exception.cpp:309
#4  0x0000555555e3fa48 in hpx::assertion_failed (
    expr=0x2aaaad9ccdf0 "traits::component_type_is_compatible< typename action_type::component_type>::call(addr)", 
    function=0x2aaaad9d3980 <bool hpx::applier::detail::apply_l_p<hpx::actions::result_action1<hpx::agas::response (hpx::agas::server::primary_namespace::*)(hpx::agas::request const&), &hpx::agas::server::primary_namespace::remote_service, hpx::actions::detail::this_type>, hpx::agas::request const&>(hpx::actions::continuation*, hpx::naming::id_type const&, hpx::naming::address const&, hpx::threads::thread_priority, hpx::agas::request const&)::__PRETTY_FUNCTION__> "bool hpx::applier::detail::apply_l_p(hpx::actions::continuation*, const hpx::naming::id_type&, const hpx::naming::address&, hpx::threads::thread_priority, Arg0&&) [with Action = hpx::actions::result_a"..., file=0x2aaaad9cca38 "/home/pamini/bt/repo/hpx/runtime/applier/preprocessed/apply_implementations_5.hpp", line=147)
    at /home/pamini/bt/repo/hpx/exception.hpp:1503
#5  0x00002aaaad253acc in hpx::applier::detail::apply_l_p<hpx::actions::result_action1<hpx::agas::response (hpx::agas::server::primary_namespace::*)(hpx::agas::request const&), &hpx::agas::server::primary_namespace::remote_service, hpx::actions::detail::this_type>, hpx::agas::request const&> (c=0x2aaab7811670, 
    target=..., addr=..., priority=hpx::threads::thread_priority_default, arg0=...)
    at /home/pamini/bt/repo/hpx/runtime/applier/preprocessed/apply_implementations_5.hpp:146
#6  0x00002aaaad250c73 in hpx::apply_p_cb<hpx::actions::result_action1<hpx::agas::response (hpx::agas::server::primary_namespace::*)(hpx::agas::request const&), &hpx::agas::server::primary_namespace::remote_service, hpx::actions::detail::this_type>, hpx::util::detail::bound<void (*)(boost::intrusive_ptr<hpx::components::managed_component<hpx::lcos::detail::promise<hpx::agas::response, hpx::agas::response>, hpx::components::detail::this_type> >, boost::system::error_code const&), hpx::util::tuple<boost::intrusive_ptr<hpx::components::managed_component<hpx::lcos::detail::promise<hpx::agas::response, hpx::agas::response>, hpx::components::detail::this_type> >, hpx::util::detail::placeholder<1ul>, void, void, void, void, void, void> >, hpx::agas::request const&>(hpx::actions::continuation*, hpx::naming::id_type const&, hpx::threads::thread_priority, hpx::util::detail::bound<void (*)(boost::intrusive_ptr<hpx::components::managed_component<hpx::lcos::detail::promise<hpx::agas::response, hpx::agas::response>, hpx::components::detail::this_type> >, boost::system::error_code const&), hpx::util::tuple<boost::intrusive_ptr<hpx::components::managed_component<hpx::lcos::detail::promise<hpx::agas::response, hpx::agas::response>, hpx::components::detail::this_type> >, hpx::util::detail::placeholder<1ul>, void, void, void, void, void, void> >&&, hpx::agas::request const&) (c=0x2aaab7811670, gid=..., 
    priority=hpx::threads::thread_priority_default, cb=<unknown type in /home/pamini/bt/build/lib/hpx/libhpxd.so.0, CU 0x1be603c, DIE 0x1cc624f>, arg0=...)
    at /home/pamini/bt/repo/hpx/runtime/applier/preprocessed/apply_implementations_callback_5.hpp:171

@parsa parsa changed the title from Error when querying performance counters to Error when querying *time* performance counters Jul 22, 2014

@parsa parsa changed the title from Error when querying *time* performance counters to Error when querying time performance counters Jul 22, 2014

@hkaiser hkaiser added this to the 0.9.9 milestone Jul 22, 2014

@hkaiser hkaiser self-assigned this Jul 22, 2014

@hkaiser hkaiser closed this in c764ba1 Jul 22, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment