[reported by blelbach] [Trac time Thu Oct 13 02:35:29 2011] Querying counters breaks for all examples, doesn't seem to matter what counter I query.
Hartmut, when did you last test performance counters?
[02:30:21]:wash:/home/wash/hpx/gcc-4.6.1-release$ bin/hello_world --print-counter '/counters/time(locality#1/total)/idle-rate' --print-counter '/counters/time(locality#1/os-thread#0)/idle-rate'
hello world from OS-thread 0 on locality 1
Received Segmentation fault, 11 frames:
0x7fd7badde365 : ??? + 0xbadde365 in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7fd7badd8fe9 : hpx::detail::backtrace() + 0x9 in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7fd7bada15d6 : hpx::termination_handler(int) + 0x16 in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7fd7b99ad020 : ??? + 0xb99ad020 in /lib/x86_64-linux-gnu/libpthread.so.0
0x7fd7bb01fdcc : hpx::performance_counters::stubs::performance_counter::get_value(hpx::naming::id_type const&, hpx::error_code&) + 0xc in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7fd7bb06eba8 : hpx::util::query_counters::evaluate() + 0x1a8 in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7fd7baf58594 : hpx::components::server::runtime_support::call_shutdown_functions(bool) + 0x34 in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7fd7baf8102f : ??? + 0xbaf8102f in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7fd7baf7a07b : ??? + 0xbaf7a07b in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7fd7bae62da6 : ??? + 0xbae62da6 in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7fd7bae63169 : ??? + 0xbae63169 in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
Aborted
[02:31:16]:wash:/home/wash/hpx/gcc-4.6.1-release$ bin/hello_world --print-counter '/counters/time(locality#1/total)/idle-rate' --print-counter-interval 10
[stack_trace]: 9 frames:
0x7fd7f7c3e365 : ??? + 0xf7c3e365 in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7fd7f7c38fe9 : hpx::detail::backtrace() + 0x9 in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7fd7f7c4a141 : void hpx::detail::throw_exception<:exception>(hpx::exception const&, std::string const&, std::string const&, int) + 0x41 in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7fd7f7ecf2ef : hpx::util::query_counters::start() + 0x1cf in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7fd7f7db8514 : hpx::components::server::runtime_support::call_startup_functions() + 0x34 in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7fd7f7c58d59 : ??? + 0xf7c58d59 in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7fd7f7c0bbc8 : ??? + 0xf7c0bbc8 in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7fd7f7cc2da6 : ??? + 0xf7cc2da6 in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7fd7f7cc3169 : ??? + 0xf7cc3169 in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
[what]: unknown performance counter: '/counters/time(locality#1/total)/idle-rate': HPX(bad_parameter)
[locality]: 1
[function]: query_counters
[file]: /home/wash/hpx/src/util/query_counters.cpp
[line]: 32
[os-thread]: 0
[thread_id]: 0000000002112018
[thread_name]: hpx::components::server::runtime_support::call_startup_functions_action
[version]: V0.7.0-trunk (AGAS: V2.1), SVN: 5953:5954M
[boost]: V1.47.0
[build-type]: release
[date]: Oct 13 2011 01:27:46
[platform]: linux
[compiler]: GNU C++ version 4.6.1
[stdlib]: GNU libstdc++ version 20110714
Aborted
</:exception>
[02:33:11]:wash:/home/wash/hpx/gcc-4.6.1-release$ bin/hello_world --print-counter '/counters/parcelqueue(locality#1/total)/length/instantaneous'
hello world from OS-thread 0 on locality 1
Received Segmentation fault, 11 frames:
0x7f13b491a365 : ??? + 0xb491a365 in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7f13b4914fe9 : hpx::detail::backtrace() + 0x9 in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7f13b48dd5d6 : hpx::termination_handler(int) + 0x16 in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7f13b34e9020 : ??? + 0xb34e9020 in /lib/x86_64-linux-gnu/libpthread.so.0
0x7f13b4b5bdcc : hpx::performance_counters::stubs::performance_counter::get_value(hpx::naming::id_type const&, hpx::error_code&) + 0xc in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7f13b4baaba8 : hpx::util::query_counters::evaluate() + 0x1a8 in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7f13b4a94594 : hpx::components::server::runtime_support::call_shutdown_functions(bool) + 0x34 in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7f13b4abd02f : ??? + 0xb4abd02f in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7f13b4ab607b : ??? + 0xb4ab607b in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7f13b499eda6 : ??? + 0xb499eda6 in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7f13b499f169 : ??? + 0xb499f169 in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
Aborted
[02:33:39]:wash:/home/wash/hpx/gcc-4.6.1-release$ bin/hello_world --print-counter '/counters/parcelqueue(locality#1/total)/length/instantaneous' --print-counter-interval 1
[stack_trace]: 9 frames:
0x7f4b713ac365 : ??? + 0x713ac365 in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7f4b713a6fe9 : hpx::detail::backtrace() + 0x9 in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7f4b713b8141 : void hpx::detail::throw_exception<:exception>(hpx::exception const&, std::string const&, std::string const&, int) + 0x41 in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7f4b7163d2ef : hpx::util::query_counters::start() + 0x1cf in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7f4b71526514 : hpx::components::server::runtime_support::call_startup_functions() + 0x34 in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7f4b713c6d59 : ??? + 0x713c6d59 in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7f4b71379bc8 : ??? + 0x71379bc8 in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7f4b71430da6 : ??? + 0x71430da6 in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7f4b71431169 : ??? + 0x71431169 in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
[what]: unknown performance counter: '/counters/parcelqueue(locality#1/total)/length/instantaneous': HPX(bad_parameter)
[locality]: 1
[function]: query_counters
[file]: /home/wash/hpx/src/util/query_counters.cpp
[line]: 32
[os-thread]: 0
[thread_id]: 00000000021d1018
[thread_name]: hpx::components::server::runtime_support::call_startup_functions_action
[version]: V0.7.0-trunk (AGAS: V2.1), SVN: 5953:5954M
[boost]: V1.47.0
[build-type]: release
[date]: Oct 13 2011 01:27:46
[platform]: linux
[compiler]: GNU C++ version 4.6.1
[stdlib]: GNU libstdc++ version 20110714
Aborted
</:exception>
[02:35:23]:wash:/home/wash/hpx/gcc-4.6.1-release$ bin/sheneos_test --print-counter '/counters/parcelqueue(locality#1/total)/length/instantaneous' --file /shared/hdf5/sheneos_220r_180t_50y_extT_analmu_20100322_SVNr28.h5
Create interpolator: 0.902185 [s]
Finished task: 0
Running tests: 0.150494 [s]
Received Segmentation fault, 11 frames:
0x7f05702fd365 : ??? + 0x702fd365 in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7f05702f7fe9 : hpx::detail::backtrace() + 0x9 in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7f05702c05d6 : hpx::termination_handler(int) + 0x16 in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7f056e9c3020 : ??? + 0x6e9c3020 in /lib/x86_64-linux-gnu/libpthread.so.0
0x7f057053edcc : hpx::performance_counters::stubs::performance_counter::get_value(hpx::naming::id_type const&, hpx::error_code&) + 0xc in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7f057058dba8 : hpx::util::query_counters::evaluate() + 0x1a8 in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7f0570477594 : hpx::components::server::runtime_support::call_shutdown_functions(bool) + 0x34 in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7f05704a002f : ??? + 0x704a002f in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7f057049907b : ??? + 0x7049907b in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7f0570381da6 : ??? + 0x70381da6 in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
0x7f0570382169 : ??? + 0x70382169 in /shared/home/wash/hpx/gcc-4.6.1-release/lib/hpx/libhpx.so.0
Aborted
该提问来源于开源项目:STEllAR-GROUP/hpx