This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug dyninst/15724] New: stapdyn looking for libdyninstAPI_RT.a


http://sourceware.org/bugzilla/show_bug.cgi?id=15724

            Bug ID: 15724
           Summary: stapdyn looking for libdyninstAPI_RT.a
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: dyninst
          Assignee: systemtap at sourceware dot org
          Reporter: dsmith at redhat dot com

Here's a fairly normal stapdyn command:

====
# stap -v --runtime=dyninst -e 'probe process.function("main") { println("hi
from dyninst!") }' -c 'ls'
Pass 1: parsed user script and 32 library script(s) using
191164virt/9356res/2996shr/6204data kb, in 10usr/10sys/14real ms.
Pass 2: analyzed script: 1 probe(s), 0 function(s), 0 embed(s), 0 global(s)
using 193172virt/11740res/3860shr/7604data kb, in 0usr/40sys/148real ms.
Pass 3: using cached
/home/dsmith/.systemtap/cache/d9/stap_d901300581675708014e456630b46d12_1056.c
Pass 4: using cached
/home/dsmith/.systemtap/cache/d9/stap_d901300581675708014e456630b46d12_1056.so
Pass 5: starting run.
stap.txt
Pass 5: run completed in 2500usr/390sys/3184real ms.
====

Notice the probe didn't hit (perhaps "main" is too early in the process'
life?), but that isn't the problem here. Now I run the same command, using
ldconfig instead of ls:

====
# stap -v --runtime=dyninst -e 'probe process.function("main") { println("hi
from dyninst!") }' -c 'ldconfig --help'
Pass 1: parsed user script and 32 library script(s) using
191164virt/8824res/2464shr/6204data kb, in 20usr/10sys/40real ms.
Pass 2: analyzed script: 1 probe(s), 0 function(s), 0 embed(s), 0 global(s)
using 197384virt/12652res/4680shr/8064data kb, in 30usr/30sys/126real ms.
Pass 3: using cached
/home/dsmith/.systemtap/cache/55/stap_550473d97fe423f6c58bcbdf4e19de73_1121.c
Pass 4: using cached
/home/dsmith/.systemtap/cache/55/stap_550473d97fe423f6c58bcbdf4e19de73_1121.so
Pass 5: starting run.
--SERIOUS-- #101: Runtime library /usr/lib64/dyninst/libdyninstAPI_RT.a does
not exist or cannot be accessed!
--FATAL-- #68: Dyninst was unable to create the specified process
--FATAL-- #68: create process failed bootstrap
stapdyn: ERROR: Couldn't create the target process
WARNING: /usr/local/bin/stapdyn exited with status: 1
Pass 5: run completed in 20usr/150sys/1058real ms.
Pass 5: run failed.  [man error::pass5] 
====

For some reason stapdyn is looking for libdyninstAPI_RT.a instead of
libdyninstAPI_RT.so. Very odd.

This is on rawhide - 3.11.0-0.rc0.git2.1.fc20.x86_64.

-- 
You are receiving this mail because:
You are the assignee for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]