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/17360] systemtap in the dyninst mode kills the probed binary


https://sourceware.org/bugzilla/show_bug.cgi?id=17360

--- Comment #2 from Martin Cermak <mcermak at redhat dot com> ---
This seems to be always reproducible with dyninst-8.2.0-1.fc20 too:

# rpm -q dyninst systemtap
dyninst-8.2.0-1.fc20.x86_64
systemtap-2.7-1.mcermak.e454243.fc20.x86_64
# cat test.c 
int main() {while(1); return(0);}
# gcc -g test.c
# ./a.out &
[1] 31298
# pid=$!
# ps -p $pid
  PID TTY          TIME CMD
31298 pts/5    00:00:15 a.out
# stap --runtime=dyninst -x $pid -e 'probe process.function("*"){log(pp());
exit()}'
stapdyn: WARNING: Couldn't convert /root/work/tmp.NxXAFF0jzh/a.out+0 to an
address
stapdyn: WARNING: Couldn't instrument the function containing 0x400430,
/root/work/tmp.NxXAFF0jzh/a.out+0x430
stapdyn: WARNING: Couldn't instrument the function containing 0x400460,
/root/work/tmp.NxXAFF0jzh/a.out+0x460
process("/root/work/tmp.NxXAFF0jzh/a.out").function("main@/root/work/tmp.NxXAFF0jzh/test.c:1")
IRPC on terminated process, ret false!
[1]+  Segmentation fault      ./a.out
# 

Testing box available on demand.

-- 
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]