Without dyninst-debuginfo installed, the API_RT initialization code dies with "could not find necessary internal variable" ... type messages. Let's investigate tweaking the build/package system to preserve API_RT.so debuginfo within that file (unstripped) to make this problem stop.

From IRC:
1) remove dyninst-debuginfo
2) run one of the following:
2a) stap --dyninst -L 'process.function("main@*:*")' -c ./hello
2b) the /tools/dyninst/Sanity/smoke-test testcase
2c) some test from the dyninst-testsuite, for example test4_2

Created attachment 1134607[details]
Missing DLLEXPORT of libdyninstAPI_RT_init_maxthreads
This patch is currently untested. However, it is likely that this will clear up that particular failure to load a variable. The tip off is that there was a similar findVarsByAll("libdyninstAPI_RT_init_localPid", vars) earlier in the same function that did work. Looking for the variable that worked it was found that that libdyninstAPI_RT_init_maxthreads wasn't being exported in dyninstRTEport.h. There might be missing DLLEXPORTs. Will see after testing this patch.

The patched version for dyninst has been built for f24 and rawhide.
Note that there is an issue with libdwarf (rbbz #1316695 - libdwarf not checking whether error is null before attempting to use it for dwarf_srcfiles) that will cause a segfault if the dyninst-debuginfo is installed on the machine.