Pulling the latest code from PAPI shows that I get segfaults upon initialization. My tests show a similar traceback:
...
(gdb) where
#0 0x0000000000000000 in ?? ()
#1 0x00007fd86f3e3775 in util_dylib_cupti_version () at components/cuda/papi_cupti_common.c:468
#2 0x00007fd86f3e3f6c in cuptic_determine_runtime_api () at components/cuda/papi_cupti_common.c:662
#3 0x00007fd86f3dedb7 in cuptid_evt_enum (event_code=0x7fff5c5b5dcc, modifier=1)
at components/cuda/cupti_dispatch.c:230
#4 0x00007fd86f3dea5b in cuda_get_evt_count (count=0x7fff5c5b5df4) at components/cuda/linux-cuda.c:663
#5 0x00007fd86f3dc860 in cuda_init_private () at components/cuda/linux-cuda.c:217
#6 0x00007fd86f3dc9b7 in check_n_initialize () at components/cuda/linux-cuda.c:237
#7 0x00007fd86f3dcac6 in cuda_ntv_enum_events (event_code=0x7fff5c5b5e70, modifier=1)
at components/cuda/linux-cuda.c:245
#8 0x00007fd86f35d80d in _papi_hwi_init_global_presets () at papi_internal.c:2233
#9 0x00007fd86f335f8a in PAPI_library_init (version=117571584) at papi.c:1215
....
I have not done extensive papi-only testing so I'll do that and get back more info back you. Please let me know if there would be any helpful testing that would guide you into determining what the problem(s) might be.
Note that I am not requesting any cuda counters nor do I have any cuda modules loaded.
Thanks! Steve