public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: "scox at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: systemtap@sourceware.org
Subject: [Bug dyninst/15724] stapdyn looking for libdyninstAPI_RT.a
Date: Tue, 16 May 2017 18:20:00 -0000	[thread overview]
Message-ID: <bug-15724-6586-T5VKRZ0R4Q@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <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.

  parent reply	other threads:[~2017-05-16 18:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-10 14:46 [Bug dyninst/15724] New: " dsmith at redhat dot com
2013-07-10 15:17 ` [Bug dyninst/15724] " dsmith at redhat dot com
2017-05-16 18:20 ` scox at redhat dot com [this message]
2017-05-16 18:22 ` scox at redhat dot com
2020-12-11 19:58 ` scox at redhat dot com
2021-05-17 15:48 ` scox at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-15724-6586-T5VKRZ0R4Q@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=systemtap@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).