This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug dyninst/15724] stapdyn looking for libdyninstAPI_RT.a
- From: "scox at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Tue, 16 May 2017 18:20:26 +0000
- Subject: [Bug dyninst/15724] stapdyn looking for libdyninstAPI_RT.a
- Auto-submitted: auto-generated
- References: <bug-15724-6586@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=15724
Stan Cox <scox at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |scox at redhat dot com
--- Comment #2 from Stan Cox <scox at redhat dot com> ---
With dyninst-XX and systemtap-XX
The first case now works. There were some recent changes to stapdyn
environment variable handling as a result of dyninst changes that perhaps
helped.
stap --runtime=dyninst -e 'probe process.function("main") { println("hi from
dyninst!") }' -c 'ls'
hi from dyninst!
...
However, the ldconfig case, although it now executes, hangs further on:
#0 0x00007fafa8f13c1e in pthread_cond_broadcast@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1 0x00007fafa7a832f6 in boost::condition_variable_any::notify_all() () from
/usr/lib64/dyninst/libpcontrol.so.9.3
#2 0x00007fafa7ab87cd in int_thread::intCont() () from
/usr/lib64/dyninst/libpcontrol.so.9.3
#3 0x00007fafa7ab8a63 in indep_lwp_control_process::plat_syncRunState() ()
from /usr/lib64/dyninst/libpcontrol.so.9.3
#4 0x00007fafa7ab19f3 in int_process::syncRunState() () from
/usr/lib64/dyninst/libpcontrol.so.9.3
#5 0x00007fafa7ab20d8 in int_process::waitAndHandleEvents(bool) () from
/usr/lib64/dyninst/libpcontrol.so.9.3
#6 0x00007fafa7b0fd21 in
Dyninst::ProcControlAPI::Injector::inject(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >) () from
/usr/lib64/dyninst/libpcontrol.so.9.3
#7 0x00007fafa7a9be8d in
Dyninst::ProcControlAPI::Process::addLibrary(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >) () from
/usr/lib64/dyninst/libpcontrol.so.9.3
#8 0x00007fafa9575be0 in PCProcess::loadRTLib() () from
/usr/lib64/dyninst/libdyninstAPI.so.9.3
#9 0x00007fafa957cc9b in PCProcess::bootstrapProcess() () from
/usr/lib64/dyninst/libdyninstAPI.so.9.3
#10 0x00007fafa957de4a in
PCProcess::createProcess(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::vector<std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > > >&, BPatch_hybridMode,
std::vector<std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > > >&,
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>
>, int, int, int) ()
from /usr/lib64/dyninst/libdyninstAPI.so.9.3
#11 0x00007fafa94c59fd in BPatch_process::BPatch_process(char const*, char
const**, BPatch_hybridMode, char const**, int, int, int)
() from /usr/lib64/dyninst/libdyninstAPI.so.9.3
#12 0x00007fafa94a3ffe in BPatch::processCreate(char const*, char const**, char
const**, int, int, int, BPatch_hybridMode) ()
from /usr/lib64/dyninst/libdyninstAPI.so.9.3
#13 0x000055c0489a4b38 in
mutator::create_process(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&) ()
#14 0x000055c0489a0762 in main ()
--
You are receiving this mail because:
You are the assignee for the bug.